/*** Internal Audit & Risk Advisory CSS - Custom Styling ***/

:root {
    --ia-primary: #FF6B35;
    --ia-secondary: #E93C05;
    --ia-light-bg: #FFF4F0;
    --ia-text: #555555;
    --ia-dark: #1A1A1A;
}


/*** ANIMATIONS ***/

@keyframes iaFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes iaFloatSlow {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-15px) translateX(10px); }
}

@keyframes iaPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes iaShimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes iaFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iaScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes iaBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


/*** HERO SECTION ***/

.ia-hero-section {
    background: linear-gradient(135deg, var(--ia-primary) 0%, #FF8C5A 50%, var(--ia-light-bg) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.ia-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;
}

.ia-hero-graffiti {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 200px;
    height: 200px;
    border: 3px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    transform: rotate(10deg);
    pointer-events: none;
    z-index: 1;
    animation: iaFloat 7s ease-in-out infinite;
}

.ia-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: 15px;
}

.ia-hero-content {
    z-index: 2;
}

.ia-hero-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.ia-hero-pill:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ia-hero-title {
    color: white;
    font-weight: 700;
    margin-top: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: iaFadeInUp 0.8s ease;
}

.ia-hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.6;
    animation: iaFadeInUp 0.8s ease 0.1s both;
}

.ia-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    animation: iaScaleIn 0.8s ease 0.2s both;
}

.ia-hero-image-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    width: 100%;
    height: 100%;
    padding: 40px;
    box-shadow: inset 0 8px 32px 0 rgba(255, 255, 255, 0.1);
    animation: iaBounce 3s ease-in-out infinite;
}

.ia-hero-image-inner i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.ia-hero-image-inner h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 10px;
}

.ia-hero-image-inner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}


/*** WHY IT MATTERS SECTION ***/

.ia-importance-section {
    padding: 80px 0;
}

.ia-section-pill {
    display: inline-block;
    background: var(--ia-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.ia-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ia-checklist li {
    padding: 12px 0;
    font-size: 1rem;
    color: var(--ia-text);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    animation: iaFadeInUp 0.6s ease forwards;
}

.ia-checklist li i {
    color: var(--ia-primary);
    margin-right: 15px;
    font-size: 1.1rem;
}

.ia-checklist li:hover {
    transform: translateX(8px);
    color: var(--ia-primary);
}

.ia-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: linear-gradient(135deg, var(--ia-primary) 0%, var(--ia-secondary) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(var(--ia-primary), 0.3);
    transition: all 0.3s ease;
}

.ia-image-placeholder:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(233, 60, 5, 0.4);
}

.ia-image-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    background: rgba(0, 0, 0, 0.1);
}

.ia-image-content i {
    font-size: 60px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.ia-image-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.ia-image-content p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0;
}


/*** SERVICES SECTION ***/

.ia-services-section {
    padding: 80px 0;
}

.ia-service-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid var(--ia-primary);
}

.ia-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ia-service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
    border-left-color: var(--ia-secondary);
}

.ia-service-card:hover::before {
    opacity: 1;
}

.ia-service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ia-primary);
    opacity: 0.1;
}

.ia-service-card h5 {
    color: var(--ia-dark);
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.ia-service-card:hover h5 {
    color: var(--ia-primary);
}

.ia-service-card p {
    color: var(--ia-text);
    font-size: 0.95rem;
    margin: 0;
    position: relative;
    z-index: 1;
}


/*** APPROACH SECTION ***/

.ia-approach-section {
    padding: 80px 0;
}

.ia-approach-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ia-approach-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.ia-approach-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--ia-primary);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.ia-approach-card:hover .ia-approach-number {
    transform: scale(1.15) rotate(5deg);
    background: var(--ia-secondary);
}

.ia-approach-card h5 {
    color: var(--ia-dark);
    font-weight: 600;
    margin-bottom: 12px;
}

.ia-approach-card p {
    color: var(--ia-text);
    font-size: 0.9rem;
    margin: 0;
}


/*** BENEFITS SECTION ***/

.ia-benefits-section {
    padding: 80px 0;
}

.ia-benefit-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.ia-benefit-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(255, 107, 53, 0.15);
    border-top-color: var(--ia-primary);
}

.ia-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--ia-primary) 0%, var(--ia-secondary) 100%);
    border-radius: 12px;
    color: white;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.ia-benefit-card:hover .ia-benefit-icon {
    transform: scale(1.2) rotate(-5deg);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.ia-benefit-card h5 {
    color: var(--ia-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.ia-benefit-card p {
    color: var(--ia-text);
    font-size: 0.9rem;
    margin: 0;
}


/*** CHALLENGES SECTION ***/

.ia-challenges-section {
    padding: 80px 0;
}

.ia-challenge-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.ia-challenge-item:last-child {
    border-bottom: none;
}

.ia-challenge-item:hover {
    padding-left: 10px;
    padding-right: -10px;
    transform: translateX(8px);
}

.ia-challenge-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 60, 5, 0.1);
    border-radius: 50%;
    color: var(--ia-secondary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.ia-challenge-item:hover .ia-challenge-icon {
    background: var(--ia-secondary);
    color: white;
    transform: scale(1.2);
}

.ia-challenge-item h6 {
    color: var(--ia-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.ia-challenge-item p {
    color: var(--ia-text);
    font-size: 0.9rem;
    margin: 0;
}

.ia-image-placeholder-large {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    background: linear-gradient(135deg, var(--ia-primary) 0%, var(--ia-secondary) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.ia-image-placeholder-large:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 70px rgba(233, 60, 5, 0.4);
}

.ia-image-placeholder-large .ia-image-content {
    padding: 60px 40px;
}

.ia-image-placeholder-large i {
    font-size: 80px;
}


/*** FAQ SECTION ***/

.ia-faq-section {
    padding: 80px 0;
}

.ia-faq-image-wrapper {
    position: relative;
    height: 450px;
}

.ia-decorative-circle-1 {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation: iaFloat 6s ease-in-out infinite;
}

.ia-decorative-circle-2 {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(233, 60, 5, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    right: 10%;
    animation: iaFloatSlow 8s ease-in-out infinite;
}

.ia-faq-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ia-faq-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ia-primary) 0%, var(--ia-secondary) 100%);
    border-radius: 15px;
    width: 85%;
    height: 85%;
    color: white;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.ia-faq-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 60px rgba(233, 60, 5, 0.4);
}

.ia-faq-placeholder i {
    font-size: 70px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.ia-faq-placeholder h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.ia-faq-placeholder p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.ia-faq-accordion {
    gap: 15px;
    display: flex;
    flex-direction: column;
}

.ia-faq-item {
    border: 1px solid rgba(255, 107, 53, 0.2) !important;
    border-radius: 10px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ia-faq-item:hover {
    border-color: var(--ia-primary) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
    transform: translateY(-4px);
}

.accordion-button {
    background: white;
    color: var(--ia-dark);
    font-weight: 600;
    padding: 20px;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(233, 60, 5, 0.05) 100%);
    color: var(--ia-primary);
    box-shadow: none;
}

.accordion-button:hover {
    background: rgba(255, 107, 53, 0.05);
    color: var(--ia-primary);
}

.accordion-button::after {
    background-color: var(--ia-primary);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(0deg);
}

.accordion-body {
    padding: 25px;
    background: white;
    color: var(--ia-text);
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.ia-faq-item .accordion-button i {
    color: var(--ia-primary);
    transition: all 0.3s ease;
}

.ia-faq-item:hover .accordion-button i {
    color: var(--ia-secondary);
    transform: scale(1.1);
}


/*** CTA SECTION ***/

.ia-cta-card {
    background: linear-gradient(135deg, var(--ia-primary) 0%, var(--ia-secondary) 100%);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 20px;
}

.ia-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: iaPulse 3s ease-in-out infinite;
}

.ia-cta-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(233, 60, 5, 0.4);
}

.ia-cta-card .display-5 {
    position: relative;
    z-index: 1;
    animation: iaFadeInUp 0.6s ease;
}

.ia-cta-card p {
    position: relative;
    z-index: 1;
}

.ia-cta-card .btn {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.ia-cta-card .btn:hover {
    transform: scale(1.08);
}


/*** RESPONSIVE DESIGN ***/

@media (max-width: 991px) {
    .ia-hero-section {
        padding: 60px 0;
        min-height: auto;
    }

    .ia-hero-graffiti {
        display: none;
    }

    .ia-hero-image {
        height: 300px;
        margin-top: 30px;
    }

    .ia-image-placeholder {
        height: 300px;
    }

    .ia-image-placeholder-large {
        height: 350px;
    }

    .ia-faq-image-wrapper {
        height: 350px;
        margin-bottom: 30px;
    }

    .ia-faq-placeholder {
        width: 80%;
        height: 80%;
    }

    .ia-service-card,
    .ia-benefit-card,
    .ia-approach-card {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .ia-importance-section,
    .ia-services-section,
    .ia-approach-section,
    .ia-benefits-section,
    .ia-challenges-section {
        padding: 50px 0;
    }

    .ia-hero-title {
        font-size: 2rem;
    }

    .ia-hero-subtitle {
        font-size: 1rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 15px !important;
    }

    .d-flex.gap-3 .btn {
        width: 100%;
    }

    .ia-image-placeholder,
    .ia-image-placeholder-large {
        height: 250px;
        margin: 30px 0;
    }

    .ia-service-card,
    .ia-benefit-card,
    .ia-approach-card {
        padding: 25px;
    }

    .ia-faq-image-wrapper {
        height: 300px;
    }

    .ia-cta-card {
        padding: 30px 20px !important;
    }

    .ia-cta-card .display-5 {
        font-size: 1.5rem;
    }

    .ia-section-pill {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
}


/*** UTILITY CLASSES ***/

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.circle-lg {
    display: block !important;
}

.circle-sm {
    display: block !important;
}


/*** 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;
}
