:root {
    /* Microsoft-inspired Palette */
    --primary-blue: #0078D4;
    --dark-blue: #002050;
    --background: #FFFFFF;
    --off-white: #F8F9FA;
    --beige: #F5F5DC;
    --text-main: #242424;
    --text-muted: #5F6368;
    --white: #FFFFFF;
    --accent-glow: rgba(0, 120, 212, 0.15);

    /* Layout */
    --header-height: clamp(56px, 8vh, 64px);
    --container-max: 1200px;
    --section-padding: clamp(30px, 8vh, 70px) 15px;

    /* Fluid Typography System - Enhanced Mobile Adaptation */
    --fs-h1: clamp(1.8rem, 6vw + 0.5rem, 3.2rem);
    --fs-h2: clamp(1.5rem, 5vw + 0.4rem, 2.4rem);
    --fs-h3: clamp(1.1rem, 3vw + 0.7rem, 1.6rem);
    --fs-body: clamp(0.9rem, 0.5vw + 0.8rem, 1.05rem);
    --fs-nav: 0.95rem;
    /* Fixed size for mobile menu legibility */

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: var(--fs-h1);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

/* Continuous float animation for the hero title */
.hero-float {
    animation: heroFloat 5s ease-in-out infinite;
    transform-origin: center center;
    will-change: transform;
}

@keyframes heroFloat {
    0% {
        transform: translateY(0px) scale(1);
    }

    30% {
        transform: translateY(-10px) scale(1.005);
    }

    60% {
        transform: translateY(-5px) scale(1.002);
    }

    100% {
        transform: translateY(0px) scale(1);
    }
}

h2,
.section-title {
    font-size: var(--fs-h2);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: var(--fs-h3);
    line-height: 1.3;
}

p {
    font-size: var(--fs-body);
}


a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

/* Header & Nav */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: #fcfaf7;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    /* Contain blobs without clipping the dropdown */
}

.header-bg-elements .dot-grid-background {
    opacity: 0.3;
}

.header-bg-elements .glow-blob {
    width: 300px;
    height: 300px;
}

.header-bg-elements .background-shape {
    opacity: 0.1;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    z-index: 1100;
    /* Above header z-index so dropdown overlaps page content */
}

.logo a.brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    text-decoration: none;
    line-height: 1;
    position: relative;
    z-index: 10;
}

.brand-main {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark-blue);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
}

.brand-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.52rem;
    font-weight: 300;
    color: var(--primary-blue);
    letter-spacing: 0.45em;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.nav-logo-img {
    height: 40px;
    /* Adjust height as needed */
    width: auto;
}

.logo a {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 40px;
    /* Adjust height as needed */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 25px;
    /* Slightly tighter gap */
}

.nav-links li a {
    font-size: 0.8rem;
    /* Even smaller for more professional look */
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    /* More professional header style */
    transition: var(--transition-smooth);
}

.nav-links li a:hover {
    color: var(--primary-blue);
}

.nav-actions-mobile {
    display: none;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        /* Changed from header-height to 0 for full overlay */
        right: 0;
        width: 80%;
        /* Sidebar style instead of full width */
        max-width: 320px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        /* Align left for cleaner list */
        justify-content: flex-start;
        padding-top: 80px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        display: flex;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        z-index: 2000;
        overflow-y: auto;
    }

    /* Overlay for when menu is open */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: 1999;
    }

    body.menu-open .menu-overlay {
        opacity: 1;
        visibility: visible;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    }

    .nav-links li a {
        display: block;
        padding: 18px 25px;
        font-size: 0.95rem;
        letter-spacing: 1px;
        color: var(--dark-blue);
    }

    .nav-actions-mobile {
        width: 100%;
        padding: 25px;
        margin-top: auto;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        display: block;
    }

    .nav-actions-mobile .btn {
        color: var(--white) !important;
        /* Ensure white text on mobile button */
    }

    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 2100;
    }

    /* Dropdown mobile adaptations - Enhanced */
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8fafd;
        display: none;
        width: 100%;
        padding: 5px 0;
        border-radius: 0;
        border-left: 3px solid var(--primary-blue);
    }

    .dropdown.active-mobile .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 12px 35px !important;
        font-size: 0.88rem !important;
        text-transform: none !important;
        letter-spacing: 0.5px !important;
        color: var(--text-muted) !important;
        border-bottom: none !important;
    }

    .dropbtn i {
        transition: transform 0.3s ease;
        margin-left: auto;
        /* Push arrow to the right */
    }

    .dropdown.active-mobile .dropbtn i {
        transform: rotate(180deg);
    }
}


/* Dropdown */
.dropdown {
    position: relative;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    border-radius: 4px;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background: var(--off-white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #005A9E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.btn-primary-small {
    padding: 10px 24px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #0078D4 0%, #00bcff 100%);
    color: var(--white);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 188, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn-primary-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary-small:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 188, 255, 0.5);
}

.btn-primary-small:hover::before {
    left: 100%;
}

.mobile-menu-btn {
    display: none;
    /* Only visible on mobile */
    background: var(--off-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-blue);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
    background: var(--white);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hero-service-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
    z-index: 10;
}

.btn-service-link {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 188, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-service-link:hover {
    background: rgba(0, 188, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 255, 0.2);
}

@media (max-width: 768px) {
    .hero-service-links {
        gap: 8px;
    }

    .btn-service-link {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

/* Hero Section */
.hero-section {
    padding-top: calc(var(--header-height) + clamp(30px, 5vh, 60px));
    padding-bottom: clamp(30px, 6vh, 60px);
    display: flex;
    align-items: center;
    min-height: clamp(500px, 75vh, 800px);
    gap: clamp(15px, 4vw, 40px);
    width: 100%;
    margin: 0 auto;
}


.hero-section.centralized {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    max-width: 100%;
    /* background-color: #000; Removed to allow bg-cosmic */
    position: relative;
    overflow: hidden;
}

/* Old star system removed in favor of bg-cosmic */

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero-section.centralized .hero-content {
    max-width: 1200px;
    /* Wider as requested */
    margin: 0 auto;
}

.hero-title {
    margin-bottom: clamp(16px, 4vh, 32px);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


.white-text {
    color: #FFFFFF !important;
}

.light-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.35rem);
    color: var(--text-muted);
    margin-bottom: clamp(24px, 5vh, 48px);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}


.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-main {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: var(--transition-smooth);
}

.hero-img-main:hover {
    transform: scale(1.02);
}

.glass-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: 1;
}

.bg-light {
    background-color: var(--off-white);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: clamp(40px, 8vh, 80px);
}

.section-header.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    animation: sectionFloat 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes sectionFloat {
    0% {
        transform: translateY(0px);
    }

    40% {
        transform: translateY(-6px);
    }

    70% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Override color for inverted (dark) sections */
.inverted .section-title {
    color: #ffffff;
    animation: sectionFloat 6s ease-in-out infinite;
}

.section-desc {
    font-size: clamp(0.9rem, 0.4vw + 0.9rem, 1.1rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}


/* Global Background Utilities */
.bg-dark {
    background-color: #030508;
    color: #ffffff;
}

.bg-image-strip {
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.bg-history-strip {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.bg-cosmic {
    background: radial-gradient(circle at center, #001a35 0%, #000a1a 100%);
    position: relative;
    overflow: hidden;
}

.cosmic-background-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.stars-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars-layer.small {
    background: radial-gradient(1px 1px at 20% 30%, #fff, transparent),
        radial-gradient(1px 1px at 40% 70%, #fff, transparent),
        radial-gradient(1px 1px at 50% 10%, #fff, transparent),
        radial-gradient(1px 1px at 80% 40%, #fff, transparent),
        radial-gradient(1px 1px at 90% 90%, #fff, transparent),
        radial-gradient(1px 1px at 15% 85%, #fff, transparent);
    background-size: 300px 300px;
    animation: twinkle 4s infinite linear;
}

.stars-layer.medium {
    background: radial-gradient(2px 2px at 10% 10%, #fff, transparent),
        radial-gradient(2px 2px at 30% 50%, #fff, transparent),
        radial-gradient(2px 2px at 60% 80%, #fff, transparent),
        radial-gradient(2px 2px at 85% 20%, #fff, transparent);
    background-size: 450px 450px;
    animation: twinkle 6s infinite linear 1s;
}

.stars-layer.large {
    background: radial-gradient(3px 3px at 50% 50%, #fff, transparent),
        radial-gradient(3px 3px at 20% 80%, #fff, transparent),
        radial-gradient(3px 3px at 80% 15%, #fff, transparent);
    background-size: 600px 600px;
    animation: twinkle 8s infinite linear 2s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

.bg-dark-deep {
    background-color: #010204;
    color: #ffffff;
}

.inverted {
    color: #ffffff;
}

.inverted .section-title {
    color: #ffffff;
}

.inverted .section-desc {
    color: rgba(255, 255, 255, 0.7);
    /* Brighter for dark background */
}

.inverted .badge {
    background: rgba(0, 120, 212, 0.2);
    color: var(--primary-blue);
    border: 1px solid rgba(0, 120, 212, 0.4);
}

/* Services Interactive Grid */
.services-interactive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 100%, 320px), 1fr));
    gap: clamp(15px, 2vw, 30px);
    margin-top: clamp(20px, 4vh, 40px);
}


.service-module {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: clamp(20px, 3vw, 30px);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}


.service-module:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-blue);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.service-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.service-module:hover::before {
    transform: scaleY(1);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.module-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-blue);
}

.module-hook {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-blue);
    background: rgba(0, 120, 212, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
}

.service-module h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.module-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    /* Much brighter for readability */
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.module-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.module-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #ffffff;
    /* Pure white for list items */
}

.module-list li i {
    width: 16px;
    height: 16px;
    color: var(--primary-blue);
}

.module-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-label {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.module-footer strong {
    color: #fff;
    font-size: 0.95rem;
}

/* Full Width Module Variant */
.full-width-module {
    grid-column: span 3;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 120, 212, 0.05) 100%);
}

.full-module-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.full-module-info {
    flex: 1.5;
}

.full-module-content .module-list {
    flex: 1;
    margin-bottom: 0;
}



@media (max-width: 992px) {
    .services-interactive-grid {
        grid-template-columns: 1fr 1fr;
    }

    .full-width-module {
        grid-column: span 2;
    }

    .full-module-content {
        flex-direction: column;
        gap: 30px;
    }


}

@media (max-width: 768px) {
    .services-interactive-grid {
        grid-template-columns: 1fr;
    }

    .full-width-module {
        grid-column: span 1;
    }


}

/* High-Contrast Proposal Section (Beige + Dark Blue + Gold) */
#explore-proposal {
    background-color: #fcfaf7;
    /* Warm Off-White / Beige */
    position: relative;
    overflow: hidden;
}

.dot-grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: 0;
}

.background-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.15;
}

.shape-blue {
    width: 500px;
    height: 500px;
    background: #00264d;
    top: -100px;
    right: -100px;
}

.shape-beige {
    width: 400px;
    height: 400px;
    background: #d4af37;
    bottom: -100px;
    left: -100px;
}

.glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 120, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: blobFloat 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: -200px;
    right: -200px;
}

.blob-2 {
    bottom: -200px;
    left: -200px;
    animation-delay: -5s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 100px) scale(1.1);
    }
}

/* Proposal Section Layout & Animated Cards */
/* Proposal Section Layout & Animated Cards */
/* Refactored Proposal Section: List Layout with Tooltips */
.proposal-list-wrapper {
    max-width: 1000px;
    margin: 40px auto 0;
}

.proposal-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.proposal-item {
    position: relative;
    display: inline-block;
}

.proposal-btn {
    background: var(--white);
    border: 1px solid rgba(0, 38, 77, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.proposal-btn i {
    width: 16px;
    height: 16px;
    color: var(--primary-blue);
}

.proposal-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.2);
}

.proposal-btn:hover i {
    color: var(--white);
}

/* Tooltip Styles */
.proposal-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 260px;
    background: rgba(45, 55, 72, 0.95);
    color: #ffffff;
    padding: 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    line-height: 1.4;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.proposal-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(45, 55, 72, 0.95) transparent transparent transparent;
}

.proposal-item:hover .proposal-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .proposal-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }

    .proposal-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        background: var(--white);
        border-radius: 16px;
        border: 1px solid rgba(0, 38, 77, 0.05);
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    }

    .proposal-btn {
        width: 100%;
        background: transparent;
        border: none;
        padding: 18px 20px;
        border-radius: 0;
        box-shadow: none;
        justify-content: flex-start;
    }

    .proposal-btn:hover {
        transform: none;
        box-shadow: none;
    }

    .proposal-tooltip {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        background: transparent;
        color: var(--text-muted);
        padding: 0 20px 18px 44px;
        /* Align with text after icon */
        text-align: left;
        box-shadow: none;
        pointer-events: auto;
    }

    .proposal-tooltip::after {
        display: none;
    }

    .proposal-tooltip p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* Staggered Animations for Services */
.service-module:nth-child(1) {
    transition-delay: 0.1s;
}

.service-module:nth-child(2) {
    transition-delay: 0.2s;
}

.service-module:nth-child(3) {
    transition-delay: 0.3s;
}

.service-module:nth-child(4) {
    transition-delay: 0.4s;
}

.service-module:nth-child(5) {
    transition-delay: 0.5s;
}

.service-module:nth-child(6) {
    transition-delay: 0.6s;
}

.service-module:nth-child(7) {
    transition-delay: 0.7s;
}



.ms-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--dark-blue);
}

.ms-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex: 1;
}

.btn-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

.btn-link:hover {
    gap: 12px;
}

/* Service Blocks */
.service-block {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.service-block.alt {
    flex-direction: row-reverse;
}

.service-info {
    flex: 1;
}

.service-info h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--dark-blue);
}

.benefit {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.service-info p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.service-features {
    display: grid;
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-main);
}

.service-features li i {
    color: #4CAF50;
    width: 20px;
}

.service-media {
    flex: 1;
}

.media-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Animation classes & Reveal Effects */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
        transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-down {
    transform: translateY(-50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Delay modifiers */
.delay-1 {
    transition-delay: 0.1s !important;
}

.delay-2 {
    transition-delay: 0.3s !important;
}

.delay-3 {
    transition-delay: 0.5s !important;
}

.delay-4 {
    transition-delay: 0.7s !important;
}

/* Team Section */
.team-block {
    display: flex;
    align-items: center;
    gap: clamp(30px, 5vw, 60px);
}

@media (max-width: 992px) {
    .team-block {
        flex-direction: column;
        text-align: center;
    }

    .photo-placeholder {
        margin: 0 auto;
    }

    .experience-list li {
        justify-content: center;
    }
}


.photo-placeholder {
    width: 300px;
    height: 380px;
    background: var(--off-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.experience-list {
    margin-top: 24px;
}

.experience-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.experience-list i {
    color: var(--primary-blue);
}

/* Testimonials */
.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: clamp(25px, 5vw, 40px);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}


.quote-icon {
    color: var(--accent-glow);
    margin-bottom: 20px;
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 24px;
}

.client-info strong {
    display: block;
    color: var(--dark-blue);
}

.client-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-contact-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact-list li i {
    width: 16px;
    height: 16px;
    color: var(--primary-blue);
}

.contact-separator {
    height: 1px;
    background: #e2e8f0;
    margin: 15px 0;
    width: 50%;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Community Box */
.community-box {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 40px 30px;
    border-radius: 16px;
    color: var(--white);
    text-align: center;
}

.community-box h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.community-box p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Dynamic Split CTA Redesign */
.cta-split-redesign {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    /* Contrast with dark header/footer */
    padding: clamp(60px, 10vh, 100px) 0;
}

.animated-rays-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ray {
    position: absolute;
    width: 300px;
    height: 800px;
    background: linear-gradient(to bottom, rgba(0, 120, 212, 0.03) 0%, transparent 100%);
    filter: blur(60px);
    transform: rotate(35deg);
    animation: rayFloat 10s infinite ease-in-out;
}

.ray-1 {
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.ray-2 {
    top: 100px;
    right: -150px;
    transform: rotate(-15deg);
    animation-delay: 2s;
}

.ray-3 {
    bottom: -300px;
    left: 20%;
    animation-delay: 4s;
}

@keyframes rayFloat {

    0%,
    100% {
        transform: translateY(0) rotate(35deg);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-30px) rotate(38deg);
        opacity: 0.8;
    }
}

.contact-grid-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    position: relative;
    z-index: 10;
}

.contact-branding-column {
    text-align: left;
}

.section-desc-left {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--text-muted);
    margin: 20px 0 35px;
    line-height: 1.7;
    max-width: 500px;
}

.contact-cta-wrapper {
    margin-bottom: 40px;
}

.split-separator {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.split-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent);
}

.split-separator span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Glass Form Card */
.contact-form-column {
    position: relative;
}

.glass-form-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 120, 212, 0.08);
    border-radius: 24px;
    padding: clamp(30px, 4vw, 50px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 120, 212, 0.05);
    transition: var(--transition-smooth);
}

.glass-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 120, 212, 0.08);
    border-color: rgba(0, 120, 212, 0.2);
}

.contact-form-innovative {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 992px) {
    .contact-grid-split {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .contact-branding-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-desc-left {
        margin-left: auto;
        margin-right: auto;
    }

    .split-separator {
        justify-content: center;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.contact-form-innovative label {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-blue);
    margin-bottom: 10px;
    display: block;
}

.contact-form-innovative input,
.contact-form-innovative textarea {
    background: #fff;
    border: 2px solid #e2e8f0;
    color: var(--text-main);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form-innovative input::placeholder,
.contact-form-innovative textarea::placeholder {
    color: #a0aec0;
}

.contact-form-innovative input:focus,
.contact-form-innovative textarea:focus {
    border-color: var(--primary-blue);
    background: #fff;
    outline: none;
    box-shadow: 0 0 20px rgba(0, 120, 212, 0.1);
    transform: translateY(-2px);
}

/* Casual Form Options */
.casual-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.option-item {
    cursor: pointer;
    position: relative;
}

.option-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-item span {
    display: inline-block;
    padding: 10px 20px;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.option-item input:checked+span {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 120, 212, 0.3);
}

.option-item:hover span {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: #fff;
}

.contact-form-innovative .btn-primary {
    width: 100%;
    margin-top: 10px;
    border: none;
    display: block;
    text-align: center;
}


/* Right Rotation for Team/Images */
.rotating-container {
    perspective: 1000px;
}

.rotating-right {
    transform: rotateY(15deg);
    transition: var(--transition-smooth);
}

.rotating-right:hover {
    transform: rotateY(0deg);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 10000;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.big-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 5px;
    line-height: 1;
}



/* High Impact Metrics Dashboard */
.bg-dark-deep {
    background-color: #05070a;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 120, 212, 0.1);
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
}

.metrics-dashboard {
    display: grid;
    grid-template-columns: repeat(var(--metrics-cols, 3), 1fr);
    gap: clamp(10px, 2vw, 20px);
    margin-top: 30px;
}

@media (max-width: 992px) {
    .metrics-dashboard {
        --metrics-cols: 1;
    }

    .metric-block {
        padding: 40px 20px !important;
    }
}


.metric-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
}

.metric-block:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-blue);
    transform: translateY(-10px);
}

.metric-visual {
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.massive-number {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    display: block;
    text-shadow: 0 0 15px rgba(0, 120, 212, 0.4);
}

.efficiency-number {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    letter-spacing: -1px;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

/* Progress Ring Component */
.progress-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.progress-ring__circle-bg {
    fill: transparent;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 6;
}

.progress-ring__circle {
    fill: transparent;
    stroke: var(--primary-blue);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s ease-out;
}

/* Data Stream Component */
.data-stream-container {
    display: flex;
    gap: 15px;
    height: 60px;
    margin-bottom: 10px;
}

.stream-line {
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.stream-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: var(--primary-blue);
    box-shadow: 0 0 15px var(--primary-blue);
    animation: streamFlow 1.5s linear infinite;
}

.stream-line:nth-child(2)::after {
    animation-delay: 0.4s;
}

.stream-line:nth-child(3)::after {
    animation-delay: 0.8s;
}

.stream-line:nth-child(4)::after {
    animation-delay: 1.2s;
}

@keyframes streamFlow {
    0% {
        top: -40%;
    }

    100% {
        top: 100%;
    }
}

/* Savings Chart Component */
.savings-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 60px;
    margin-bottom: 10px;
}

.bar-grow {
    width: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.bar-grow.highlight {
    background: #ef4444;
    /* Alert color for savings impact */
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

/* Museum Projection Styles for Leadership */
.bg-dark-museum {
    background-color: #030508;
    position: relative;
    overflow: hidden;
}

.museum-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.light-ray {
    position: absolute;
    width: 200px;
    height: 1000px;
    background: linear-gradient(to bottom, rgba(0, 120, 212, 0.05) 0%, transparent 100%);
    filter: blur(80px);
    transform: rotate(25deg);
}

.ray-1 {
    top: -200px;
    left: -100px;
}

.ray-2 {
    bottom: -200px;
    right: -100px;
    transform: rotate(-25deg);
}

.museum-stage {
    position: relative;
    z-index: 10;
    perspective: 1500px;
    padding: 60px 0;
}

.team-block-immersive {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-image-museum {
    position: relative;
    width: 400px;
    flex-shrink: 0;
}

.image-frame-glow {
    position: relative;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 120, 212, 0.2);
    box-shadow: 0 0 50px rgba(0, 120, 212, 0.2);
    border-radius: 8px;
    z-index: 2;
    transform: rotateY(-10deg);
    transition: var(--transition-smooth);
}

.image-frame-glow:hover {
    transform: rotateY(0deg) scale(1.02);
    box-shadow: 0 0 80px rgba(0, 120, 212, 0.4);
}

.photo-placeholder-museum {
    height: 450px;
    background: #0a0c10;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.holographic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 120, 212, 0.1) 50%, transparent 50%);
    background-size: 100% 4px;
    opacity: 0.3;
    pointer-events: none;
    animation: scan-line 4s linear infinite;
}

@keyframes scan-line {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100%);
    }
}

.projection-beam {
    position: absolute;
    bottom: -100px;
    left: 150px;
    width: 100px;
    height: 400px;
    background: conic-gradient(from 180deg at 50% 100%, rgba(0, 120, 212, 0.15) 0deg, transparent 40deg, transparent 320deg, rgba(0, 120, 212, 0.15) 360deg);
    filter: blur(20px);
    z-index: 1;
    pointer-events: none;
    animation: projection-flicker 3s infinite;
}

@keyframes projection-flicker {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }

    70% {
        opacity: 0.9;
    }
}

.projection-base {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 10px;
    background: #0078D4;
    box-shadow: 0 0 30px #0078D4;
    border-radius: 50%;
    z-index: 1;
}

.team-info-museum {
    flex: 1;
}

.massive-text {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 20px;
    color: #fff;
}

.strategic-vision {
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.manifesto {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-style: italic;
}

.data-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.tag i {
    color: var(--primary-blue);
}

.tag:hover {
    background: rgba(0, 120, 212, 0.1);
    border-color: var(--primary-blue);
}

@media (max-width: 992px) {
    .team-block-immersive {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .team-image-museum {
        width: 100%;
        max-width: 350px;
    }

    .projection-beam {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Metric Chart Styles */
.metric-chart {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.bar-horizontal {
    height: 8px;
    background: var(--primary-blue);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.bar-horizontal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.dots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.dot {
    width: 6px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 50%;
}

.dot.active {
    background: var(--primary-blue);
    box-shadow: 0 0 10px var(--primary-blue);
}

.wave-chart svg {
    width: 100px;
    height: auto;
}

/* Footer Improvements */
.main-footer {
    background-color: #030508;
    /* Darker for higher contrast with content */
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(var(--footer-cols, 4), 1fr);
    gap: clamp(20px, 4vw, 40px);
    margin-bottom: clamp(30px, 6vh, 50px);
}

@media (max-width: 1200px) {
    .footer-grid {
        --footer-cols: 2;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        --footer-cols: 1;
        gap: 40px;
    }
}


.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h5 {
    color: var(--primary-blue);
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.specialties ul,
.nav-col ul {
    list-style: none;
    padding: 0;
}

.specialties ul li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.specialties ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.legal-item {
    margin-bottom: 25px;
}

.legal-item p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-info h5 {
    margin-top: 30px;
}

.footer-contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
}

.footer-contact-list li i {
    color: var(--primary-blue);
    width: 18px;
    margin-top: 2px;
}

.footer-contact-list li strong {
    color: #fff;
    display: block;
    margin-bottom: 2px;
}

.nav-col ul li {
    margin-bottom: 12px;
}

.nav-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
    font-size: 0.85rem;
}

.nav-col ul li a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.institutional-msg {
    font-style: italic;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 30px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.footer-bottom-content p {
    font-size: 0.75rem;
    margin: 0;
}

.trademark {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
}

.dev-note {
    max-width: 600px;
    opacity: 0.7;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        text-align: left;
        align-items: flex-start;
    }
}

/* =============================================
   SERVICE PAGES
   ============================================= */

.service-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.service-hero-content {
    position: relative;
    z-index: 10;
    padding: clamp(60px, 10vh, 100px) 20px;
    max-width: 800px;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 120, 212, 0.15);
    border: 1px solid rgba(0, 120, 212, 0.3);
    border-radius: 50px;
    color: #7ab8f5;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.service-badge i {
    width: 14px;
    height: 14px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.back-link:hover {
    color: #fff;
    transform: translateX(-4px);
}

.back-link i {
    width: 16px;
    height: 16px;
}

/* Service Image Block */
.service-image-section {
    background: var(--off-white);
}

.service-image-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.service-image-placeholder {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
}

.service-img-icon {
    width: 56px;
    height: 56px;
    color: var(--primary-blue);
    opacity: 0.4;
}

.service-image-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.service-image-placeholder span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Service Detail Grid */
.service-description {
    background: #fff;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.service-detail-main h2 {
    margin-bottom: 24px;
}

.service-detail-main>p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.75;
}

/* Feature Items */
.service-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-item>i {
    width: 22px;
    height: 22px;
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 3px;
}

.feature-item h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 6px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Service CTA Card (aside) */
.service-cta-card {
    background: #fcfaf7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: clamp(24px, 4vw, 36px);
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.service-cta-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.service-benefit {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.3;
    margin-bottom: 20px;
}

.service-cta-card hr {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin: 20px 0;
}

.service-aside-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-aside-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.service-aside-list li i {
    width: 16px;
    height: 16px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

/* Responsive Service Pages */
@media (max-width: 900px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-cta-card {
        position: static;
    }
}

@media (max-width: 600px) {
    .service-hero-content {
        padding: 50px 15px;
    }

    .service-image-placeholder {
        min-height: 260px;
    }
}

/* =============================================
   EXPERIENCIA PAGE
   ============================================= */

/* Global Metrics Bar */
.exp-metrics-bar {
    background: var(--dark-blue);
    padding: 28px 20px;
}

.exp-metrics-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.exp-metric-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    min-width: 140px;
    flex: 1 1 140px;
    max-width: 180px;
    text-align: center;
}

.exp-metric-num {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
}

.exp-metric-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    line-height: 1.3;
}

/* Cases Section */
.exp-cases-section {
    background: var(--off-white);
}

.exp-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.exp-case-card {
    background: #fff;
    border-radius: 20px;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exp-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 120, 212, 0.1);
}

.exp-case-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.exp-case-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 120, 212, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.exp-case-icon i {
    width: 22px;
    height: 22px;
    color: var(--primary-blue);
}

.exp-case-sector {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 4px;
}

.exp-case-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.3;
}

.exp-case-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}

.exp-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.exp-case-tags span {
    padding: 4px 12px;
    background: rgba(0, 120, 212, 0.07);
    border: 1px solid rgba(0, 120, 212, 0.15);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.exp-case-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.exp-result-item {
    text-align: center;
}

.exp-result-item strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 900;
    color: var(--dark-blue);
    line-height: 1;
    margin-bottom: 4px;
}

.exp-result-item p {
    font-size: 0.68rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Domains Section */
.exp-domains-section {
    background: #fff;
}

.exp-domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.exp-domain-card {
    padding: 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    background: #fcfaf7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exp-domain-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 120, 212, 0.08);
}

.exp-domain-card>i {
    width: 28px;
    height: 28px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.exp-domain-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.exp-domain-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Experiencia CTA */
.exp-cta-section {
    position: relative;
    overflow: hidden;
}

/* Responsive Experiencia */
@media (max-width: 768px) {
    .exp-metrics-row {
        gap: 10px;
    }

    .exp-metric-pill {
        min-width: 120px;
        padding: 12px 16px;
    }

    .exp-cases-grid {
        grid-template-columns: 1fr;
    }

    .exp-case-results {
        grid-template-columns: repeat(3, 1fr);
    }

    .exp-domains-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .exp-metric-pill {
        flex: 1 1 calc(50% - 8px);
        max-width: none;
    }

    .exp-case-results {
        grid-template-columns: 1fr 1fr;
    }

    .exp-domains-grid {
        grid-template-columns: 1fr;
    }
}