/* ══════════════════════════════════════════════════════════════════════
   EXPERTISE SECTION-SPECIFIC STYLING DEFINITIONS
   ══════════════════════════════════════════════════════════════════════ */

/* --- Hero Layout Parameters --- */
main{
    zoom: 1.1;
}
.expertise-hero {
    background-color: #ffffff;
    padding: 60px 0 40px 0;
    position: relative;
    overflow: hidden;
}

.hero-flex-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-left-pane {
    flex: 1;
    max-width: 550px;
    z-index: 5;
}

.hero-main-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #808080;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-main-title .red-dot {
    color: var(--gi-red);
}

.hero-description {
    font-size: 0.95rem;
    color: var(--gi-gray);
    line-height: 1.7;
}

.hero-right-pane {
    flex: 1.2;
    position: relative;
    height: 480px;
}


/* --- Structural Row Layouts (Mission / Vision) --- */
.statement-section {
    padding: 70px 0;
    background-color: #ffffff;
}


.statement-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.reverse-grid {
    grid-template-columns: 1.2fr 1fr;
}




.statement-visual .image-wrapper {
     width: 70%;
    height: 90%;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.4); /* shadow here, outside overflow:hidden */
}


.statement-visual .fluid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.statement-content {
    position: relative;
    width: 85%;
    margin-left: -180px;
    margin-top: 40px;
}
.statement-content2 {
    position: relative;
    width: 100%;
    margin-left: 90px;
}
.section-badge-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4rem;
    color: #808080;
    font-weight: 700;
    display: block;
    margin-bottom: 30px;
}

.statement-headline {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    max-width: 500px;
}

.statement-paragraph {
    font-size: 0.9rem;
    color: var(--gi-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* --- Values Segment Card System --- */
.values-section {
    padding: 80px 0 100px 0;
    background-color: #ffffff;
}

.values-header {
    margin-bottom: 45px;
}

.values-main-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.8rem;
    color: #808080;
    font-weight: 700;
    display: inline-block;
}

.values-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-node-card {
  text-align: center;
    background: #ededef;
    border: 1px solid #ededed;
    border-radius: 20px;
    padding: 35px 25px 30px 25px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0,0,0,0.115);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-node-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.card-header-meta {


    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.value-icon-box i {
    font-size: 12rem;
}

.numeric-index-badge {
    background: #f8f8f8;
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 3px 3px 6px rgba(0,0,0,0.08),
        inset -3px -3px 6px rgba(255,255,255,0.9);
}

.numeric-index-badge .red {
    color: #e14d43 !important;
}

.value-node-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gi-dark);
    margin-bottom: 15px;
}

.value-node-desc {
    font-size: 0.8rem;
    color: #666666;
    line-height: 1.6;
}

/* Bottom Border Accent Color Variations */
.accent-red { border-bottom: 10px solid #ff0000; }
.accent-red .value-icon-box i { color: #e14d43; }

.accent-green { border-bottom: 10px solid #00cc66; }
.accent-green .value-icon-box i { color: #00cc66; }

.accent-orange { border-bottom: 10px solid #ff9933; }
.accent-orange .value-icon-box i { color: #ff9933; }

.accent-blue { border-bottom: 10px solid #0099ff; }
.accent-blue .value-icon-box i { color: #0099ff; }


/* --- Intermediary Marquee & Floating CTA System --- */
.bottom-cta-banner {
    background-color: var(--gi-red);
    padding: 40px 0 100px 0;
    position: relative;
    text-align: center;
    margin-bottom: -80px;
}

.cta-marquee-text {
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
}

.cta-floating-widget {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    width: calc(100% - 40px);
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gi-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    z-index: 20;
}

.widget-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.widget-icon i {
    font-size: 1.8rem;
    color: #777777;
}

.widget-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #4d4d4d;
}

.widget-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-widget-filled {
    background-color: var(--gi-red);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid var(--gi-red);
}

.btn-widget-outline {
    background-color: #ffffff;
    color: #333333;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #bcbcbc;
}


/* ══════════════════════════════════════════════════════════════════════
   MEDIA QUERIES — RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .statement-grid,
    .reverse-grid {
        gap: 40px;
    }
    .statement-content {
        width: 70%;
        margin-left: -40px;
    }
    .statement-content2 {
        margin-left: 60px;
    }
    .values-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    /* Hero */
    .hero-flex-wrapper {
        margin-top: 200px;
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
        gap: 30px;
    }
    .hero-left-pane {
        margin-left: 0 !important;
        max-width: 100%;
    }
    .hero-right-pane {
        display: none;
    }

    /* Mission / Vision grids */
    .statement-grid,
    .reverse-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 24px;
    }

    /* Reset all the desktop positioning */
    .statement-visual {
        margin-left: 0 !important;
    }
    .statement-visual .image-wrapper {
        width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
    }
    .statement-content {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }
    .statement-content2 {
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }

    /* Vision: text above image on mobile */
    .reverse-grid .statement-content2 { order: 1; }
    .reverse-grid .statement-visual   { order: 2; }

    .statement-headline {
        font-size: 1.2rem;
        max-width: 100%;
    }
    .section-badge-label {
        font-size: 1.1rem;
    }

    /* Values */
    .values-section .gi-container {
        padding: 0 24px;
    }
    .values-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CTA */
    .cta-marquee-text {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    .cta-floating-widget {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        bottom: -90px;
        padding: 24px;
    }
    .widget-left {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    /* Hero */
    .hero-flex-wrapper {
                margin-top: 200px;

        padding: 32px 16px;
    }
    .hero-main-title {
        font-size: 1.6rem;
    }

    /* Mission / Vision */
    .statement-section {
        padding: 48px 0;
    }
    .statement-grid,
    .reverse-grid {
        padding: 0 16px;
        gap: 24px;
    }
    .statement-headline {
        font-size: 1.4rem;
    }
    .section-badge-label {
        font-size: 1rem;
    }

    /* Values */
    .values-section {
        padding: 60px 0 80px;
    }
    .values-section .gi-container {
        padding: 0 16px;
    }
    .values-cards-container {
        grid-template-columns: 1fr;
    }
    .value-node-card {
        padding: 28px 20px 24px;
    }

    /* CTA */
    .bottom-cta-banner {
        padding: 36px 0 110px;
    }
    .cta-marquee-text {
        font-size: 0.95rem;
        letter-spacing: 0;
        padding: 0 16px;
    }
    .widget-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-widget-filled,
    .btn-widget-outline {
        width: 100%;
        text-align: center;
    }
}