:root {
    --primary-purple: #482D8F;
    --primary-purple-light: #6D53B5;
    --primary-red: #E63946;
    --bg-white: #ffffff;
    --bg-light: #F8F9FA;
    --text-dark: #0B0E2A;
    --text-muted: #4A4A4A;
    --text-white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 60px rgba(72, 45, 143, 0.12);
    --border-radius: 12px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(-10px) rotate(45deg); }
    100% { transform: translateY(0px) rotate(45deg); }
}

/* ==========================================================================
   TAB TRANSITION ANIMATIONS — each tab gets a unique entrance effect
   ========================================================================== */

/* 1. Fade + Scale Pop (used for "All" tab) */
@keyframes tabFadeScalePop {
    0% { opacity: 0; transform: scale(0.85); }
    60% { opacity: 1; transform: scale(1.03); }
    100% { opacity: 1; transform: scale(1); }
}

/* 2. Slide from Left (slide + subtle rotate) */
@keyframes tabSlideFromLeft {
    0% { opacity: 0; transform: translateX(-60px) rotate(-3deg); }
    70% { opacity: 1; transform: translateX(5px) rotate(0.5deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0deg); }
}

/* 3. Slide from Right (mirror of left) */
@keyframes tabSlideFromRight {
    0% { opacity: 0; transform: translateX(60px) rotate(3deg); }
    70% { opacity: 1; transform: translateX(-5px) rotate(-0.5deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0deg); }
}

/* 4. Flip Up (3D card flip) */
@keyframes tabFlipUp {
    0% { opacity: 0; transform: perspective(800px) rotateX(25deg) translateY(30px); }
    60% { opacity: 1; transform: perspective(800px) rotateX(-4deg) translateY(-4px); }
    100% { opacity: 1; transform: perspective(800px) rotateX(0deg) translateY(0); }
}

/* 5. Zoom Blur In (expand from center with blur) */
@keyframes tabZoomBlurIn {
    0% { opacity: 0; transform: scale(0.6); filter: blur(8px); }
    60% { opacity: 1; transform: scale(1.04); filter: blur(0px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0px); }
}

/* 6. Rise Rotate (rise up with subtle twist) */
@keyframes tabRiseRotate {
    0% { opacity: 0; transform: translateY(50px) rotate(5deg) scale(0.92); }
    60% { opacity: 1; transform: translateY(-6px) rotate(-1deg) scale(1.02); }
    100% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
}

/* 7. Cascade Down (stagger waterfall effect) */
@keyframes tabCascadeDown {
    0% { opacity: 0; transform: translateY(-40px) scaleY(0.8); }
    50% { opacity: 0.8; transform: translateY(8px) scaleY(1.02); }
    100% { opacity: 1; transform: translateY(0) scaleY(1); }
}

/* Animation utility classes applied by JS */
.tab-anim-fade-scale { animation: tabFadeScalePop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.tab-anim-slide-left { animation: tabSlideFromLeft 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.tab-anim-slide-right { animation: tabSlideFromRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }
.tab-anim-flip-up { animation: tabFlipUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.tab-anim-zoom-blur { animation: tabZoomBlurIn 0.55s cubic-bezier(0.23, 1, 0.32, 1) both; }
.tab-anim-rise-rotate { animation: tabRiseRotate 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.tab-anim-cascade-down { animation: tabCascadeDown 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both; }

/* Coordinated child animations for a layered, classy look */

/* All / Fade Scale Tab: Smooth zoom on image, soft fade-in rise on text */
.tab-anim-fade-scale img {
    animation: imageZoomIn 0.75s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}
.tab-anim-fade-scale h3, .tab-anim-fade-scale h4, .tab-anim-fade-scale p, .tab-anim-fade-scale span, .tab-anim-fade-scale .case-meta, .tab-anim-fade-scale .resource-meta {
    animation: textFadeInUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) both;
    animation-delay: 0.1s;
}

/* Resource / Slide Left Tab: Image slides in with inertia, text follows quickly */
.tab-anim-slide-left img {
    animation: imageSlideLeft 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.1) both;
}
.tab-anim-slide-left h3, .tab-anim-slide-left h4, .tab-anim-slide-left p, .tab-anim-slide-left span, .tab-anim-slide-left .case-meta, .tab-anim-slide-left .resource-meta {
    animation: textSlideLeft 0.55s cubic-bezier(0.165, 0.84, 0.44, 1) both;
    animation-delay: 0.08s;
}

/* Governance / Slide Right Tab: Image slides in from right with custom curve, text follows */
.tab-anim-slide-right img {
    animation: imageSlideRight 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.1) both;
}
.tab-anim-slide-right h3, .tab-anim-slide-right h4, .tab-anim-slide-right p, .tab-anim-slide-right span, .tab-anim-slide-right .case-meta, .tab-anim-slide-right .resource-meta {
    animation: textSlideRight 0.55s cubic-bezier(0.165, 0.84, 0.44, 1) both;
    animation-delay: 0.08s;
}

/* Strategy / Flip Up Tab: Elegant 3D tilt on image, classy step entrance for text */
.tab-anim-flip-up img {
    animation: imageFlipUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.tab-anim-flip-up h3, .tab-anim-flip-up h4, .tab-anim-flip-up p, .tab-anim-flip-up span, .tab-anim-flip-up .case-meta, .tab-anim-flip-up .resource-meta {
    animation: textFlipUp 0.65s cubic-bezier(0.23, 1, 0.32, 1) both;
    animation-delay: 0.12s;
}

/* Capacity / Zoom Blur Tab: Soft cinematic scale on image, zoom-in on text */
.tab-anim-zoom-blur img {
    animation: imageZoomBlur 0.75s cubic-bezier(0.23, 1, 0.32, 1) both;
}
.tab-anim-zoom-blur h3, .tab-anim-zoom-blur h4, .tab-anim-zoom-blur p, .tab-anim-zoom-blur span, .tab-anim-zoom-blur .case-meta, .tab-anim-zoom-blur .resource-meta {
    animation: textZoomBlur 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
    animation-delay: 0.1s;
}

/* Meal / Rise Rotate Tab: Image floats upward with rotation, text rises with spring */
.tab-anim-rise-rotate img {
    animation: imageRiseRotate 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.tab-anim-rise-rotate h3, .tab-anim-rise-rotate h4, .tab-anim-rise-rotate p, .tab-anim-rise-rotate span, .tab-anim-rise-rotate .case-meta, .tab-anim-rise-rotate .resource-meta {
    animation: textRiseRotate 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: 0.1s;
}

/* Cascade Down Tab: Image clips/slides down elegantly, text cascades with delay */
.tab-anim-cascade-down img {
    animation: imageCascadeDown 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.tab-anim-cascade-down h3, .tab-anim-cascade-down h4, .tab-anim-cascade-down p, .tab-anim-cascade-down span, .tab-anim-cascade-down .case-meta, .tab-anim-cascade-down .resource-meta {
    animation: textCascadeDown 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.08s;
}

/* Coordinated child keyframe definitions for maximum classiness */
@keyframes imageZoomIn {
    0% { opacity: 0; transform: scale(1.15); filter: brightness(1.2); }
    100% { opacity: 1; transform: scale(1); filter: brightness(1); }
}
@keyframes textFadeInUp {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes imageSlideLeft {
    0% { opacity: 0; transform: translateX(-40px) scale(0.96) rotate(-2deg); }
    100% { opacity: 1; transform: translateX(0) scale(1) rotate(0deg); }
}
@keyframes textSlideLeft {
    0% { opacity: 0; transform: translateX(-25px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes imageSlideRight {
    0% { opacity: 0; transform: translateX(40px) scale(0.96) rotate(2deg); }
    100% { opacity: 1; transform: translateX(0) scale(1) rotate(0deg); }
}
@keyframes textSlideRight {
    0% { opacity: 0; transform: translateX(25px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes imageFlipUp {
    0% { opacity: 0; transform: perspective(600px) rotateX(15deg) translateY(20px) scale(0.95); }
    100% { opacity: 1; transform: perspective(600px) rotateX(0deg) translateY(0) scale(1); }
}
@keyframes textFlipUp {
    0% { opacity: 0; transform: perspective(600px) rotateX(-20deg) translateY(10px); }
    100% { opacity: 1; transform: perspective(600px) rotateX(0deg) translateY(0); }
}

@keyframes imageZoomBlur {
    0% { opacity: 0; transform: scale(0.85); filter: blur(6px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0px); }
}
@keyframes textZoomBlur {
    0% { opacity: 0; transform: scale(0.95); filter: blur(4px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0px); }
}

@keyframes imageRiseRotate {
    0% { opacity: 0; transform: translateY(30px) rotate(4deg) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
}
@keyframes textRiseRotate {
    0% { opacity: 0; transform: translateY(20px) rotate(-1deg); }
    100% { opacity: 1; transform: translateY(0) rotate(0deg); }
}

@keyframes imageCascadeDown {
    0% { opacity: 0; transform: translateY(-30px) scaleY(0.9); }
    100% { opacity: 1; transform: translateY(0) scaleY(1); }
}
@keyframes textCascadeDown {
    0% { opacity: 0; transform: translateY(-15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Fade-out before switching */
.tab-anim-exit {
    animation: tabFadeOut 0.2s ease-out both;
}

@keyframes tabFadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.96); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    padding: 0.6rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
}

.logo-container {
    flex-shrink: 0;
}

.logo-container img,
.nav-logo {
    width: 160px;
    height: auto;
    transition: var(--transition);
}

.footer-brand img {
    max-width: 160px !important;
    height: auto !important;
    transition: var(--transition);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: white;
    cursor: pointer;
    z-index: 1002;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links > li {
    position: relative;
}

.nav-links a,
.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.35rem 0.65rem;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-dropdown-trigger:hover {
    color: var(--primary-purple);
}

.nav-links a.active {
    color: var(--text-dark);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0;
    height: 2px;
    background: var(--primary-red);
    border-radius: 2px;
}

.nav-dropdown-trigger .fa-chevron-down {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-dropdown-trigger .fa-chevron-down {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    list-style: none;
    padding: 0.5rem;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 1001;
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-dropdown-menu a::after {
    display: none !important;
}

.nav-dropdown-menu a:hover {
    background: rgba(72, 45, 143, 0.06);
    color: var(--primary-purple);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-purple);
    color: white !important;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(72, 45, 143, 0.25);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(72, 45, 143, 0.35);
    color: white !important;
}

.nav-cta::after {
    display: none !important;
}

/* Language selector in header */
.language-selector-container {
    position: relative;
}

.language-selector-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 160px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1001;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.lang-option:hover,
.lang-option.active {
    background: rgba(72, 45, 143, 0.08);
}

/* Pill filter tabs (case studies, etc.) */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    margin: 2rem auto 3rem;
    max-width: 100%;
    padding: 0 0.5rem;
}

.filter-tab {
    padding: 0.55rem 1.15rem;
    border-radius: 50px;
    border: 1px solid #E0E0E0;
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.filter-tab:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.filter-tab.active {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
    box-shadow: 0 4px 12px rgba(72, 45, 143, 0.25);
}

/* Resource category icon tabs */
.resource-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.category-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.25rem 0.65rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.category-card:hover {
    border-color: rgba(72, 45, 143, 0.35);
    transform: translateY(-2px);
}

.category-card.active {
    border-color: var(--primary-purple);
    box-shadow: 0 8px 24px rgba(72, 45, 143, 0.12);
}

.category-card i {
    display: block;
    color: var(--primary-purple);
    font-size: 1.4rem;
    margin-bottom: 0.65rem;
}

.category-card span {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.35;
}

body.nav-open {
    overflow: hidden;
}

body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(11, 14, 42, 0.45);
    z-index: 1000;
}

@media (max-width: 1100px) {
    .nav-links {
        gap: 0;
    }

    .nav-links a,
    .nav-dropdown-trigger {
        font-size: 0.88rem;
        padding: 0.45rem 0.6rem;
    }
}

@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
    }

    .nav-panel {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 88vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 5rem 1.25rem 2rem;
        background: white;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-panel.is-open {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.25rem;
    }

    .nav-links a,
    .nav-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 0.85rem 0.5rem;
        font-size: 1rem;
    }

    .nav-links a.active::after {
        left: 0.5rem;
        right: auto;
        width: 3rem;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 1rem;
        display: none;
        margin-top: 0.25rem;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: block;
    }

    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-cta {
        justify-content: center;
        width: 100%;
    }

    .resource-category-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        gap: 0.75rem;
    }

    .category-card {
        min-width: 110px;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .filter-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .filter-tab {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* ==========================================================================
   HERO AREA
   ========================================================================== */
.hero {
    padding: 12rem 0 8rem 0;
    background: linear-gradient(135deg, #F9F8FF 0%, #F3F0FF 100%);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-tag {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-image-container img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--text-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.35);
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-purple);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary-purple);
}

.secondary-button:hover {
    background-color: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
}

/* ==========================================================================
   CARD LAYOUT GRIDS
   ========================================================================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 2.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 450px), 1fr));
    gap: 3rem;
}

.text-center { text-align: center; }

/* Service Mini Card UI */
.service-mini-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.service-mini-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-mini-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: rgba(72, 45, 143, 0.06);
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-mini-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-mini-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.learn-more-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    transition: transform 0.2s ease;
}

.learn-more-link:hover {
    transform: translateX(5px);
}

/* Featured Resources Elements */
.resource-featured-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.resource-featured-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.resource-thumb-wrapper {
    position: relative;
    height: 190px;
    background-color: #F3F1FA;
    overflow: hidden;
}

.resource-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    color: var(--primary-purple);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.resource-card-body {
    padding: 2rem;
}

.resource-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.resource-card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.resource-action-link {
    text-decoration: none;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Case Study Blocks */
.case-card-v2 {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.case-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.case-v2-img-wrapper {
    position: relative;
    height: 240px;
}

.case-v2-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-v2-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    color: white;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.case-v2-icon-overlap {
    position: absolute;
    bottom: -25px;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.3rem;
    z-index: 2;
}

.case-v2-body {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-v2-body h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.case-v2-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.case-v2-details {
    display: flex;
    border-top: 1px solid #ECEFF5;
    padding-top: 1.2rem;
    margin-bottom: 1.5rem;
}

.detail-v2-item {
    flex: 1;
}

.detail-v2-item .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.detail-v2-item .value {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Blog Interface Design System */
.blog-card-v2 {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.blog-v2-img-wrapper {
    position: relative;
    height: 210px;
}

.blog-v2-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-v2-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 4px;
}

.blog-v2-content {
    padding: 2rem;
}

.blog-v2-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.blog-v2-content h3 {
    font-size: 1.25rem;
    line-height: 1.35;
    margin-bottom: 0.8rem;
}

.blog-v2-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   SUB PAGE HEADER AREAS & DETAIL CONTAINERS
   ========================================================================== */
.page-header, .services-header-section {
    padding: 10rem 0 4rem 0;
    background: linear-gradient(135deg, #0B0E2A 0%, #22144A 100%);
    color: white;
    text-align: center;
}

/* Ensure the back button is visible and not hidden under the fixed header */
.blog-detail-container, .detail-container {
    padding-top: 8rem !important;
}

.page-header h1, .services-header-section h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-header p, .services-header-section p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   FOOTER BLOCK
   ========================================================================== */
footer {
    background-color: #0B0E2A;
    color: white;
    padding: 5rem 0 2rem 0;
    margin-top: 6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: #D1D5E3;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #D1D5E3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #D1D5E3;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   HIGH-FIDELITY REDESIGN STYLES & RESPONSIVE COMPONENT LAYOUTS
   ========================================================================== */

/* Hero Rotated Shapes Backdrop */
.hero {
    position: relative;
    overflow: hidden;
}
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.shape-purple {
    position: absolute;
    top: 35%;
    right: 48%;
    width: 110px;
    height: 110px;
    background: var(--primary-purple);
    border-radius: 24px;
    transform: rotate(45deg);
    opacity: 0.9;
    box-shadow: 0 10px 30px rgba(72, 45, 143, 0.2);
    animation: float 6s ease-in-out infinite;
}
.shape-red {
    position: absolute;
    top: 28%;
    right: 45%;
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 10px;
    transform: rotate(45deg);
    opacity: 0.95;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.2);
    animation: float 4s ease-in-out infinite alternate;
}

/* Hero Curved Right Border */
.hero-image-container {
    position: relative;
    z-index: 2;
}
.hero-image-container img,
.about-hero-image-wrapper img {
    border-radius: 0 120px 0 120px !important;
    border: 8px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 25px 60px rgba(11, 14, 42, 0.1) !important;
}

/* Hero Badge */
.hero-tag {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.hero-content h1 span {
    color: var(--primary-purple);
}

/* Reality Section styling */
.reality-section {
    background-color: #FAF9FF;
    border-top: 1px solid rgba(72, 45, 143, 0.05);
    border-bottom: 1px solid rgba(72, 45, 143, 0.05);
    padding: 2.5rem 0;
}
.reality-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(5, 1fr);
    gap: 1.5rem;
    align-items: center;
}
.reality-title {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.reality-title-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(72, 45, 143, 0.2);
}
.reality-title-text h4 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
}
.reality-title-text p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
}
.reality-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
}
.reality-item i {
    font-size: 1.6rem;
    color: var(--primary-red);
    transition: transform 0.3s ease;
}
.reality-item:hover i {
    transform: scale(1.1);
}
.reality-item span {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--text-dark);
    line-height: 1.2;
}
.reality-item p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.2;
}

/* Strategic Outcomes Grid */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}
.outcome-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}
.outcome-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.outcome-icon.purple { background: var(--primary-purple); }
.outcome-icon.red { background: var(--primary-red); }
.outcome-body h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}
.outcome-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Impact stats numbers banner */
.impact-banner {
    background: var(--primary-purple);
    color: white;
    padding: 3.5rem 3rem;
    border-radius: 24px;
    margin: 5rem 0;
    box-shadow: 0 15px 40px rgba(72, 45, 143, 0.15);
}
.impact-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 2rem;
    align-items: center;
}
.impact-title h3 {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: white;
}
.impact-title p {
    font-size: 0.85rem;
    opacity: 0.8;
}
.impact-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.impact-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.impact-stat-body h2 {
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    color: white;
}
.impact-stat-body p {
    font-size: 0.76rem;
    opacity: 0.85;
    margin: 0.2rem 0 0;
    line-height: 1.2;
}

/* Testimonial slider elements */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}
.testimonial-quote-icon {
    color: rgba(72, 45, 143, 0.08);
    font-size: 3rem;
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    pointer-events: none;
}
.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.6;
}
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(72, 45, 143, 0.1);
}
.testimonial-user-info h5 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}
.testimonial-user-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0.1rem 0 0 0;
    font-style: normal;
}
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D1D5DB;
    cursor: pointer;
    transition: var(--transition);
}
.slider-dot.active {
    background: var(--primary-purple);
    width: 24px;
    border-radius: 4px;
}

/* Bottom CTA Banner block */
.transform-banner {
    background: linear-gradient(135deg, #1A0D4A 0%, #482D8F 100%);
    color: white;
    padding: 4rem 4rem;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5rem 0;
    box-shadow: 0 20px 45px rgba(72, 45, 143, 0.18);
}
.transform-banner::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    background: url('collaboration_hands.png') no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    mix-blend-mode: overlay;
    pointer-events: none;
    border-radius: 0 28px 28px 0;
}
.transform-content {
    max-width: 58%;
    position: relative;
    z-index: 2;
}
.transform-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    line-height: 1.25;
    color: white;
}
.transform-content p {
    font-size: 1rem;
    opacity: 0.88;
    margin: 0;
}
.transform-actions {
    display: flex;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}
.btn-white {
    background: white !important;
    color: var(--primary-purple) !important;
}
.btn-white:hover {
    background: #F4F2FC !important;
    transform: translateY(-2px);
}
.btn-red {
    background: var(--primary-red) !important;
    color: white !important;
}
.btn-red:hover {
    background: #D32F2F !important;
    transform: translateY(-2px);
}
.btn-outline-white {
    background: transparent !important;
    color: white !important;
    border: 2px solid white !important;
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px);
}

/* Sidebar Columns layout for subpages */
.resource-main-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3.5rem;
    margin-top: 3.5rem;
}
.sidebar-box {
    background: #FAF9FF;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(72, 45, 143, 0.05);
}
.sidebar-box h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    border-left: 3.5px solid var(--primary-purple);
    padding-left: 0.8rem;
    color: var(--text-dark);
}
.popular-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.popular-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.popular-number {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary-purple);
    opacity: 0.8;
}
.popular-info h5 {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.35;
    margin: 0;
}
.popular-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.newsletter-box {
    background: linear-gradient(135deg, #1A0D4A 0%, #482D8F 100%);
    color: white;
    border-radius: 20px;
    padding: 2.2rem 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(72, 45, 143, 0.12);
}
.newsletter-box i {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
}
.newsletter-box h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: white;
}
.newsletter-box p {
    font-size: 0.82rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.newsletter-form input {
    padding: 0.85rem 1.25rem;
    border-radius: 50px;
    border: none;
    font-family: inherit;
    outline: none;
    font-size: 0.9rem;
    text-align: center;
}
.newsletter-form button {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 0.85rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.newsletter-form button:hover {
    background: #D32F2F;
}

/* Timeline graphics used on About & Services */
.timeline-section {
    padding: 6rem 0;
    background: #FAF9FF;
}
.timeline-wrapper {
    position: relative;
    margin-top: 4rem;
}
.timeline-line {
    position: absolute;
    top: 25px;
    left: 4%;
    right: 4%;
    height: 3px;
    background: #E5E7EB;
    z-index: 1;
}
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}
.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.timeline-number-node {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 3px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.timeline-step:hover .timeline-number-node {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    transform: scale(1.1);
}
.timeline-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(72, 45, 143, 0.06);
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    transition: var(--transition);
}
.timeline-step:hover .timeline-icon-circle {
    background: var(--primary-purple);
    color: white;
}
.timeline-step h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}
.timeline-step p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

/* Services Mockup specific designs */
.thematic-section {
    padding: 6rem 0;
    background: white;
    text-align: center;
}
.thematic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem;
    margin: 3.5rem 0;
}
.thematic-card {
    background: white;
    border: 1px solid rgba(72, 45, 143, 0.08);
    border-radius: 16px;
    padding: 1.8rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.thematic-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 8px 24px rgba(72, 45, 143, 0.08);
}
.thematic-card i {
    font-size: 1.6rem;
    color: var(--primary-purple);
}
.thematic-card span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.35;
}
.btn-outline-purple {
    background: transparent;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}
.btn-outline-purple:hover {
    background: var(--primary-purple);
    color: white;
}

/* Contact Mockup specific designs */
.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #FAF8FE;
    border: 1px solid rgba(72, 45, 143, 0.1);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 2rem;
}
.contact-badge i {
    font-size: 1.05rem;
}
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}
.contact-sidebar-box {
    background: #FAF9FF;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(72, 45, 143, 0.04);
}
.contact-sidebar-box h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}
.connect-channels {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.connect-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.connect-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(72, 45, 143, 0.06);
    color: var(--primary-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.connect-item:hover .connect-icon {
    background: var(--primary-purple);
    color: white;
}
.connect-info {
    display: flex;
    flex-direction: column;
}
.connect-info span {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.connect-info h5 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0.1rem 0 0 0;
}
.map-embed-wrapper {
    background: white;
    border: 1px solid #ECEFF5;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
    height: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.map-embed-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2-column Form row fields helper */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* ==========================================================================
   MEDIA RESPONSIVENESS OVERRIDES (Complete multi-device support)
   ========================================================================== */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    .reality-grid {
        grid-template-columns: 1.5fr repeat(5, 1fr);
        gap: 1rem;
    }
    .outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.2rem;
    }
    .impact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .impact-title {
        grid-column: span 2;
    }
    .resource-main-layout {
        gap: 2rem;
        grid-template-columns: 1fr 300px;
    }
}

@media (max-width: 992px) {
    .reality-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .reality-title {
        flex-direction: column;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .transform-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 3.5rem 2.5rem;
        gap: 2rem;
    }
    .transform-banner::before {
        width: 100%;
        border-radius: 28px;
    }
    .transform-content {
        max-width: 100%;
    }
    .transform-actions {
        justify-content: center;
    }
    .resource-main-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .timeline-line {
        display: none;
    }
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .timeline-step {
        flex-direction: row;
        text-align: left;
        gap: 1.5rem;
    }
    .timeline-number-node {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .outcomes-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .impact-title {
        grid-column: span 1;
        text-align: center;
    }
    .impact-stat {
        justify-content: center;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 576px) {
    .transform-actions {
        flex-direction: column;
        width: 100%;
    }
    .transform-actions .cta-button,
    .transform-actions .secondary-button {
        width: 100%;
        text-align: center;
    }
    .thematic-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   DETAIL PAGE RESPONSIVES & BACK BUTTON VISIBILITY
   ========================================================================== */
.detail-container {
    padding-top: 8rem !important; /* Ensure content starts clear of the fixed header */
    transition: var(--transition);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 700 !important;
    margin-bottom: 2rem;
    font-size: 0.95rem !important;
}

.back-link i {
    transition: transform 0.2s ease;
}

.back-link:hover i {
    transform: translateX(-4px); /* Classy micro-animation when hovering back arrow */
}

@media (max-width: 768px) {
    .detail-container {
        padding-top: 6.5rem !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .detail-container {
        padding-top: 6rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* ==========================================================================
   ADDITIONAL RESPONSIVE OVERRIDES
   ========================================================================== */

/* Tablet Portrait & Smaller (992px) */
@media (max-width: 992px) {
    /* About page inline grids */
    main > section:nth-of-type(2) > .container[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    main > section:nth-of-type(2) .container[style*="display: grid"] > div[style*="display: grid"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.25rem !important;
    }
    .values-grid-wrapper {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.25rem !important;
        margin-top: 2.5rem !important;
    }
    main > section:nth-of-type(4) .container > div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    /* Logo scaling */
    .logo-container img,
    .nav-logo {
        width: 140px;
    }
    .footer-brand img {
        max-width: 140px !important;
    }
    /* Scale down decorative shapes for tablets */
    .shape-purple {
        width: 80px !important;
        height: 80px !important;
        border-radius: 16px !important;
    }
    .shape-red {
        width: 30px !important;
        height: 30px !important;
        border-radius: 8px !important;
    }
}

/* Mobile & Smaller (768px) */
@media (max-width: 768px) {
    /* Scale down decorative shapes to act as tiny subtle background accents */
    .shape-purple {
        width: 20px !important;
        height: 20px !important;
        top: 5% !important;
        right: 5% !important;
        border-radius: 6px !important;
    }
    .shape-red {
        width: 12px !important;
        height: 12px !important;
        top: 2% !important;
        right: 10% !important;
        border-radius: 4px !important;
    }
    /* Prevent large desktop border-radii and borders from distorting/clipping mobile images */
    .hero-image-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 2rem auto 0 auto !important; /* Space it beautifully below the text */
    }
    .hero-image-container img,
    .about-hero-image-wrapper img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        border-radius: 0 40px 0 40px !important;
        border-width: 4px !important;
        box-shadow: 0 15px 35px rgba(11, 14, 42, 0.08) !important;
    }
    /* Reduce desktop vertical grid gap so image is visible on-screen right below hero text */
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    /* Hero reduction */
    .hero {
        padding: 6rem 0 2rem 0 !important;
    }
    /* Page headers */
    .page-header, .services-header-section {
        padding: 6rem 0 2rem 0 !important;
    }
    /* Fix for detail pages hidden back button under fixed header */
    .blog-detail-container, .detail-container {
        padding-top: 6rem !important;
    }
    .page-header h1, .services-header-section h1 {
        font-size: 2rem !important;
    }
    .hero-content h1 {
        font-size: 2.4rem !important;
        line-height: 1.2 !important;
    }
    /* Values Grid */
    .values-grid-wrapper {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    /* Case studies page stats grid */
    .cases-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    /* Logo scaling */
    .logo-container img,
    .nav-logo {
        width: 130px;
    }
    .footer-brand img {
        max-width: 130px !important;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    /* Container padding */
    .container {
        padding: 0 1rem !important;
    }
    /* Page headers */
    .page-header h1, .services-header-section h1 {
        font-size: 1.6rem !important;
    }
    .hero-content h1 {
        font-size: 2rem !important;
    }
    /* About who-we-are stats */
    main > section:nth-of-type(2) .container[style*="display: grid"] > div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
    }
    /* Values Grid */
    .values-grid-wrapper {
        grid-template-columns: 1fr !important;
    }
    /* Case studies stats grid */
    .cases-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    /* Impact stats banner */
    .impact-banner {
        padding: 2rem 1.5rem !important;
        margin: 3rem 0 !important;
    }
    /* Transform bottom banner */
    .transform-banner {
        padding: 2.5rem 1.5rem !important;
        margin: 3rem 0 !important;
    }
    /* Logo scaling */
    .logo-container img,
    .nav-logo {
        width: 110px;
    }
    .footer-brand img {
        max-width: 110px !important;
    }
}

/* ==========================================================================
   SMOOTH PAGE TRANSITIONS
   ========================================================================== */
body {
    opacity: 0;
    background-color: var(--bg-white);
    transition: opacity 0.4s ease-in-out;
}
body.page-loaded {
    opacity: 1;
}
body.page-fade-out {
    opacity: 0;
}

/* ==========================================================================
   GOOGLE TRANSLATE CUSTOM CLEANUP OVERRIDES
   ========================================================================== */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-gadget-simple,
.goog-te-gadget-icon,
.goog-te-menu-value {
    display: none !important;
}
body {
    top: 0 !important;
}
.skiptranslate {
    display: none !important;
}
iframe.skiptranslate {
    visibility: hidden !important;
    display: none !important;
}
font {
    background-color: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
}