/*** Process Optimisation CSS - Custom Styling ***/

:root {
    --po-primary: #FF6B35;
    --po-secondary: #E93C05;
    --po-light-bg: #FFF4F0;
    --po-text: #555555;
    --po-dark: #1A1A1A;
}


/*** ANIMATIONS ***/

@keyframes poFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes poFloatSlow {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-15px) translateX(10px); }
}

@keyframes poPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes poShimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes poFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes poScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes poBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


/*** HERO SECTION ***/

.po-hero-section {
    background: linear-gradient(135deg, var(--po-primary) 0%, #FF8C5A 50%, var(--po-light-bg) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.po-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(255, 140, 90, 0.8) 50%, rgba(255, 244, 240, 0.7) 100%);
    pointer-events: none;
    z-index: 0;
}

.po-hero-graffiti {
    position: absolute;
    top: 40px;
    right: 60px;
    width: 220px;
    height: 220px;
    border: 3px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    transform: rotate(-8deg);
    pointer-events: none;
    z-index: 1;
    animation: poFloat 7s ease-in-out infinite;
}

.po-hero-graffiti::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.po-hero-graffiti:hover {
    transform: rotate(5deg) scale(1.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.po-hero-content {
    z-index: 2;
}

.po-hero-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: poScaleIn 0.6s ease;
    transition: all 0.3s ease;
}

.po-hero-pill:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.po-hero-title {
    color: white;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
    animation: poFadeInUp 0.8s ease;
}

.po-hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    line-height: 1.7;
    animation: poFadeInUp 1s ease;
}

.po-hero-section .btn {
    animation: poScaleIn 1.2s ease;
    position: relative;
    overflow: hidden;
}

.po-hero-section .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.po-hero-section .btn:hover::before {
    width: 300px;
    height: 300px;
}

.po-hero-image {
    position: relative;
    height: 400px;
    animation: poFloat 6s ease-in-out infinite;
}

.po-hero-image-inner {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(233, 60, 5, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.po-hero-image-inner:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(233, 60, 5, 0.35);
    background: rgba(255, 255, 255, 0.22);
}

.po-hero-image-inner i {
    font-size: 5rem;
    color: white;
    margin-bottom: 20px;
    animation: poBounce 2s ease-in-out infinite;
}

.po-hero-image-inner:hover i {
    animation: poBounce 0.6s ease-in-out infinite;
}

.po-hero-image-inner h5 {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.po-hero-image-inner p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}


/*** IMPORTANCE SECTION ***/

.po-importance-section {
    padding: 80px 0;
}

.po-section-pill {
    display: inline-block;
    background: var(--po-light-bg);
    color: var(--po-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.po-section-pill:hover {
    background: var(--po-primary);
    color: white;
    transform: scale(1.05);
}

.po-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.po-checklist li {
    padding: 12px 0;
    color: var(--po-text);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.po-checklist li:hover {
    transform: translateX(8px);
    color: var(--po-primary);
}

.po-checklist li i {
    color: var(--po-primary);
    font-size: 1.3rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.po-checklist li:hover i {
    transform: scale(1.2);
    color: var(--po-secondary);
}

.po-image-placeholder {
    position: relative;
    height: 450px;
    background: linear-gradient(135deg, var(--po-light-bg) 0%, white 100%);
    border: 3px dashed var(--po-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1);
}

.po-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.05), transparent);
    transform: rotate(45deg);
    animation: poShimmer 3s infinite;
}

.po-image-placeholder:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
    border-color: var(--po-secondary);
}

.po-image-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.po-image-content i {
    font-size: 5rem;
    color: var(--po-primary);
    margin-bottom: 20px;
    display: block;
    animation: poBounce 2s ease-in-out infinite;
}

.po-image-placeholder:hover .po-image-content i {
    animation: poBounce 0.6s ease-in-out infinite;
}

.po-image-content h5 {
    color: var(--po-dark);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.po-image-content p {
    color: var(--po-text);
    margin: 0;
}


/*** APPROACH SECTION ***/

.po-approach-section {
    padding: 80px 0;
}

.po-approach-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 53, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.po-approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--po-primary), var(--po-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.po-approach-card:hover::before {
    transform: scaleX(1);
}

.po-approach-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
    border-color: var(--po-primary);
}

.po-approach-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.po-approach-card:hover::after {
    opacity: 1;
}

.po-approach-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--po-light-bg), white);
    color: var(--po-primary);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid var(--po-primary);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.po-approach-card:hover .po-approach-number {
    background: linear-gradient(135deg, var(--po-primary), var(--po-secondary));
    color: white;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.po-approach-card h5 {
    color: var(--po-dark);
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.po-approach-card:hover h5 {
    color: var(--po-primary);
}


/*** BENEFITS SECTION ***/

.po-benefits-section {
    padding: 80px 0;
}

.po-benefit-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 53, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.po-benefit-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.05), transparent);
    transition: top 0.4s ease;
}

.po-benefit-card:hover::before {
    top: 0;
}

.po-benefit-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
    border-color: var(--po-primary);
}

.po-benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--po-light-bg), white);
    color: var(--po-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    border: 2px solid var(--po-primary);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
}

.po-benefit-card:hover .po-benefit-icon {
    background: linear-gradient(135deg, var(--po-primary), var(--po-secondary));
    color: white;
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.po-benefit-icon i {
    transition: transform 0.3s ease;
}

.po-benefit-card:hover .po-benefit-icon i {
    transform: scale(1.1);
}

.po-benefit-card h5 {
    color: var(--po-dark);
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.po-benefit-card:hover h5 {
    color: var(--po-primary);
}

.po-benefit-card p {
    position: relative;
    z-index: 1;
}


/*** PROBLEMS SECTION ***/

.po-problems-section {
    padding: 80px 0;
}

.po-image-placeholder-large {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--po-light-bg) 0%, white 100%);
    border: 3px dashed var(--po-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1);
}

.po-image-placeholder-large::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.05), transparent);
    transform: rotate(45deg);
    animation: poShimmer 3s infinite;
}

.po-image-placeholder-large:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
    border-color: var(--po-secondary);
}

.po-problems-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.po-problems-list li {
    padding: 15px 0;
    color: var(--po-text);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.po-problems-list li:last-child {
    border-bottom: none;
}

.po-problems-list li:hover {
    padding-left: 15px;
    background: rgba(255, 107, 53, 0.03);
}

.po-problems-list li i {
    color: var(--po-secondary);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.po-problems-list li:hover i {
    transform: scale(1.3);
    color: var(--po-primary);
}


/*** FAQ SECTION ***/

.po-faq-section {
    padding: 80px 0;
}

.po-faq-image-wrapper {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.po-faq-placeholder {
    position: relative;
    width: 90%;
    height: 90%;
    background: linear-gradient(135deg, var(--po-primary) 0%, var(--po-secondary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
    animation: poFloat 6s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.po-faq-placeholder:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 30px 80px rgba(255, 107, 53, 0.4);
}

.po-faq-content {
    text-align: center;
    color: white;
}

.po-faq-content i {
    font-size: 5rem;
    margin-bottom: 20px;
    display: block;
    opacity: 0.9;
    animation: poPulse 3s ease-in-out infinite;
}

.po-faq-content h5 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.po-faq-content p {
    margin: 0;
    opacity: 0.9;
}

.po-accordion .accordion-item {
    border: 2px solid rgba(255, 107, 53, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.po-accordion .accordion-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
    border-color: var(--po-primary);
}

.po-accordion .accordion-button {
    background: white;
    color: var(--po-dark);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 20px 25px;
    border: none;
    transition: all 0.3s ease;
}

.po-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--po-primary), var(--po-secondary));
    color: white;
    box-shadow: none;
}

.po-accordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.po-accordion .accordion-button i {
    color: var(--po-primary);
    transition: all 0.3s ease;
}

.po-accordion .accordion-button:not(.collapsed) i {
    color: white;
    transform: scale(1.2);
}

.po-accordion .accordion-button::after {
    filter: brightness(0) saturate(100%) invert(45%) sepia(99%) saturate(1573%) hue-rotate(346deg) brightness(101%) contrast(101%);
    transition: all 0.3s ease;
}

.po-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
    transform: rotate(180deg) scale(1.1);
}

.po-accordion .accordion-body {
    padding: 25px;
    background: var(--po-light-bg);
    color: var(--po-text);
    line-height: 1.8;
    border-top: 2px solid rgba(255, 107, 53, 0.1);
}


/*** CTA SECTION ***/

.po-cta-card {
    background: linear-gradient(135deg, var(--po-primary) 0%, var(--po-secondary) 100%);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.po-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: poPulse 3s ease-in-out infinite;
}

.po-cta-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(233, 60, 5, 0.4);
}

.po-cta-card .display-5 {
    position: relative;
    z-index: 1;
    animation: poFadeInUp 0.6s ease;
}

.po-cta-card p {
    position: relative;
    z-index: 1;
}

.po-cta-card .btn {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.po-cta-card .btn:hover {
    transform: scale(1.08);
}


/*** RESPONSIVE DESIGN ***/

@media (max-width: 991px) {
    .po-hero-section {
        padding: 60px 0;
        min-height: auto;
    }

    .po-hero-graffiti {
        display: none;
    }

    .po-hero-image {
        height: 300px;
        margin-top: 30px;
    }

    .po-image-placeholder {
        height: 300px;
    }

    .po-image-placeholder-large {
        height: 350px;
    }

    .po-faq-image-wrapper {
        height: 350px;
        margin-bottom: 30px;
    }

    .po-faq-placeholder {
        width: 80%;
        height: 80%;
    }

    .po-approach-card,
    .po-benefit-card {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .po-importance-section,
    .po-approach-section,
    .po-benefits-section,
    .po-problems-section,
    .po-faq-section {
        padding: 50px 0;
    }

    .po-hero-title {
        font-size: 2rem;
    }

    .po-hero-subtitle {
        font-size: 1rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 15px !important;
    }

    .d-flex.gap-3 .btn {
        width: 100%;
    }

    .po-image-placeholder,
    .po-image-placeholder-large {
        height: 250px;
        margin: 30px 0;
    }

    .po-approach-card,
    .po-benefit-card {
        padding: 25px;
    }

    .po-faq-image-wrapper {
        height: 300px;
    }

    .po-cta-card {
        padding: 30px 20px !important;
    }

    .po-cta-card .display-5 {
        font-size: 1.5rem;
    }

    .po-section-pill {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
}


/*** UTILITY CLASSES ***/

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}


/*** SMOOTH TRANSITIONS ***/

* {
    scroll-behavior: smooth;
}

button, a, [role="button"] {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wow {
    visibility: visible;
}
