

:root {
    --primary-dark: var(--secondary-blue);
    --primary-light: #1E293B;
    --primary-teal: var(--primary-main);
    --accent-orange: var(--primary-orange);
    --accent-orange-hover: #EA580C;
    --accent-teal: var(--primary-teal);
    --text-main: #334155;
    --text-muted: #64748B;
    --bg-white: #FFFFFF;
    --bg-slate-50: var(--bg-main);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-dark: rgba(30, 41, 59, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-premium: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: var(--font-size-base);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-body);
}

#globe-hologram-container {
    position: absolute;
    bottom: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    z-index: 5;
    pointer-events: none;
    opacity: 0.8;
    filter: drop-shadow(0 0 30px var(--primary-teal));
}

/* Globe mobile override moved to main mobile block below */

.btn-primary {
    background: var(--accent-teal);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    background: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(20, 184, 166, 0.4);
}

.mini-icon {
    width: 1.4rem;
    height: 1.4rem;
    fill: none;
    stroke: var(--accent-teal);
    stroke-width: 2.5;
    flex-shrink: 0;
}

.premium-figure figcaption {
    background: var(--bg-white);
    border: 1px solid var(--accent-teal);
}

.faq-card:hover {
    border-color: var(--accent-teal) !important;
}

.btn-outline {
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
}

.btn-outline:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.glass-dark {
    background: var(--glass-bg-dark);
    color: white;
}

/* Header Styles */
#main-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1000;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        top 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.6s ease,
        padding 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-radius 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem 0;
    background: transparent;
    will-change: transform, width, top;
}


#main-header.scrolled {
    top: 15px;
    width: calc(100% - 40px);
    max-width: 1400px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    #main-header {
        padding: 1rem 0;
    }

    .logo img {
        height: 45px !important;
    }
}


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 15px;
    /* Decreased padding */
    box-sizing: border-box;
    max-width: 1600px;
    /* Wider layout */
    margin: 0 auto;
}


.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    max-width: 100%;
    object-fit: contain;
}


.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    /* Vertical alignment fix */
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

#main-header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.nav-link:hover {
    color: var(--accent-orange);
}

/* Navigation Dropdowns */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-orange);
    padding-left: 25px;
}

.nav-caret {
    font-size: 0.75rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-caret {
    transform: rotate(180deg);
}

/* Mobile Nav Dropdowns */
.mobile-dropdown {
    width: 100%;
}

.mobile-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: white;
    width: 100%;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0;
    cursor: pointer;
}

.mobile-dropdown-menu {
    list-style: none;
    padding-left: 15px;
    display: none;
    margin-top: 15px;
    margin-bottom: 5px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-menu li {
    margin-bottom: 15px;
}

.mobile-dropdown-menu .mobile-link {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.mobile-dropdown.open .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown.open .nav-caret {
    transform: rotate(180deg);
}


/* Partners Marquee Section */
.partners-marquee-section {
    background: var(--bg-white);
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.marquee-label {
    background: var(--bg-white);
    padding: 0 3rem;
    z-index: 10;
    position: relative;
}

.marquee-label span {
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0.5;
}

.marquee-container {
    flex-grow: 1;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 5rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.partner-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    filter: grayscale(1);
    opacity: 0.4;
    transition: all 0.4s ease;
}

.partner-logo-box:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.partner-logo-box img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

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

@media (max-width: 768px) {
    .marquee-label {
        display: none;
    }

    .marquee-content {
        gap: 3rem;
        animation-duration: 20s;
    }
}

/* 
   ==========================================================================
   HERO & GLOBE LAYERING FIX
   ========================================================================== 
*/
.hero {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 120px 0 150px;
    min-height: 85vh;
    background: #0F172A;
    display: flex;
    align-items: center;
}

.scroll-content {
    position: relative;
    z-index: 2;
    background: transparent; /* Allows hero to show through negative margins */
}

/* Consolidated below */

.hero-main-container {
    position: relative;
    z-index: 100 !important;
    width: 100%;
}

#globe-hologram-container {
    position: absolute;
    bottom: -55%;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    height: 1400px;
    z-index: 10;
    pointer-events: none !important;
    opacity: 0;
    transition: opacity 2s ease;
}

#globe-hologram-container.fade-in {
    opacity: 0.9;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 100;
    position: relative;
    padding: 2.5rem;
    /* Removed backdrop-filter from here */
}

.hero-full-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.6) 100%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 50;
    /* Above globe, below content */
    pointer-events: none;
}

@media (max-width: 768px) {
    #globe-hologram-container {
        width: 600px;
        height: 600px;
        bottom: 20%;
    }
}


/* 
   ==========================================================================
   REFINED BUTTON SYSTEM
   ========================================================================== 
*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.8rem;
    /* Refined smaller padding */
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    /* Refined smaller font */
}

.btn-primary {
    background: var(--accent-teal) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.3);
}

.btn-primary:hover {
    background: var(--primary-teal) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(20, 184, 166, 0.5);
}

.outline-white {
    background: transparent !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    color: white !important;
}

.outline-white:hover {
    background: white !important;
    color: var(--primary-dark) !important;
    border-color: white !important;
}

/* Fix for Navbar Contact Us Button */
#main-header .btn-primary {
    padding: 0.5rem 1.3rem !important;
    font-size: 0.8rem;
    margin-left: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1.5rem;
    /* Reduced margin */
}

.hero-visual-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

/* Fluid Mesh Blobs */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: moveBlob 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    right: -10%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0) 70%);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, rgba(20, 184, 166, 0) 70%);
    animation-delay: -5s;
    width: 800px;
    height: 800px;
}

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

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

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.4;
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 4.5rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Optimized Hero Typography & Layout */
.hero-main-container {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 950px;
    margin: 0 auto;
}

.hero-subtitle {
    color: var(--accent-orange);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: var(--font-size-hero) !important;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-description {
    margin: 0 auto 3rem !important;
    font-size: 1.5rem !important;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 800px !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 1.4rem 3rem !important;
    font-size: 1.2rem !important;
    border-radius: 50px !important;
}

.outline-white {
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: white !important;
}

.outline-white:hover {
    border-color: white !important;
    background: white !important;
    color: var(--primary-dark) !important;
}

.text-orange {
    color: var(--accent-orange);
}


/* Premium Half-Overlap Stats */
.stats-overlap-section {
    position: relative;
    z-index: 100;
    margin-top: -120px; /* Pull it up into the hero */
    /* 
       The "Half Empty / Half Fill" look:
       Top part is transparent (shows hero)
       Bottom part is solid white (matches page content)
    */
    background: linear-gradient(to bottom, transparent 50%, var(--bg-white) 50%);
    padding: 40px 0;
}

.stats-bar-optimized {
    background: white;
    border-radius: 40px;
    /* Glassy border for premium feel */
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    /* High-end floating shadow */
    box-shadow: 
        0 10px 1px rgba(0,0,0,0.01),
        0 20px 40px rgba(0,0,0,0.1),
        0 40px 80px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    z-index: 2;
    /* Subtle hover lift */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stats-bar-optimized:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 2px rgba(0,0,0,0.01),
        0 30px 60px rgba(0,0,0,0.12),
        0 50px 100px rgba(0,0,0,0.08);
}

.stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

@media (max-width: 1024px) {
    .stat-value {
        font-size: 3rem;
    }

    .stat-suffix {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .stat-value {
        font-size: 3.5rem;
    }

    .stat-suffix {
        font-size: 2.5rem;
    }

    .stat-item {
        padding: 1.5rem 0;
    }
}

.stat-suffix {
    color: var(--accent-orange) !important;
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.stat-divider {
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05), transparent);
}





.orbit-1 {
    top: 20%;
    left: 10%;
    animation: orbiting1 12s infinite linear;
}

.orbit-2 {
    bottom: 20%;
    right: 10%;
    animation: orbiting2 18s infinite linear;
}

@keyframes floatingOrb {

    0%,
    100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: translateY(-40px) rotateX(15deg) rotateY(15deg);
    }
}

@keyframes pulseGlow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0.8;
    }
}

@keyframes orbiting1 {
    from {
        transform: rotate(0deg) translateX(180px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(180px) rotate(-360deg);
    }
}

@keyframes orbiting2 {
    from {
        transform: rotate(360deg) translateX(210px) rotate(-360deg);
    }

    to {
        transform: rotate(0deg) translateX(210px) rotate(0deg);
    }
}



/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: -250px;
    position: relative;
    z-index: 10;
}

.stat-item {
    padding: 2.5rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-orange);
    display: block;
}

.stat-label {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.feature-card {
    padding: 3rem;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-premium);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-orange);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Inverse Rounded Corners utility has been moved to /public/css/inverse-corners.css */





/* Minimalist Icon Styles */
.mini-icon {
    width: 1.2rem;
    height: 1.2rem;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Ensure main content has a background to cover sticky footer */
main {
    background: white;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Modern Reveal Footer Styles */
#main-footer {
    background: #0f172a;
    color: white;
    padding: 100px 0 0;
    position: sticky;
    bottom: 0;
    z-index: -1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 1024px) {
    #main-footer {
        position: relative;
        z-index: 1;
        padding: 60px 0 0;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    padding-bottom: 80px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}


.footer-logo:hover {
    transform: scale(1.05);
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: white;
    position: relative;
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-bottom: 2px;
}

/* Arrow Underline Hover Effect */
.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-link:hover::before {
    content: '→';
    position: absolute;
    left: -15px;
    color: var(--accent-orange);
    font-weight: bold;
    animation: slideArrow 0.3s forwards;
}

@keyframes slideArrow {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #94a3b8;
}

.contact-item svg {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--accent-orange);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* Ensure main content has a background to cover sticky footer */
main {
    background: white;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mobile Sidebar & Responsive Styles */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

header.scrolled .mobile-toggle span {
    background: white;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    z-index: 2000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    will-change: transform;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

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

.close-sidebar {
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-link {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0;
    transform: translateX(50px);
    display: block;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    will-change: opacity;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Grid Utilities */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 3.5rem;
    /* Increased for better breathing room */
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 3.8rem !important;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .stats-bar-optimized {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 2.5rem 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .premium-figure.service-figure {
        --_x: 100px; /* Reduced for tablet */
    }

    .premium-figure.director-figure:hover {
        --_x: 120px; /* Reduced for tablet */
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.8rem !important;
    }

    .hero-description {
        font-size: 1.1rem !important;
    }

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .stats-bar-optimized {
        grid-template-columns: 1fr;
        border-radius: 24px;
        margin-top: -60px;
    }

    .section-padding {
        padding: 60px 0;
    }

    #main-header.scrolled {
        width: calc(100% - 20px);
        top: 10px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-logo {
        margin: 0 auto 2rem;
    }

    .contact-item {
        justify-content: center;
    }

    .premium-figure.service-figure {
        --_x: 80px; /* Further reduced for mobile */
    }

    .premium-figure.director-figure:hover {
        --_x: 100px;
    }

    .stat-value {
        font-size: 2.5rem;
    }
}

/* Blogs & Insights Carousel Styles */
.blog-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    padding: 20px 2rem 60px;
    /* Match container padding */
    margin: 0 -2rem;
    /* Pull back to edge */
    cursor: grab;
    scroll-snap-type: x mandatory;
    scroll-padding: 2rem;
}

.blog-carousel::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.blog-carousel.active {
    cursor: grabbing;
}

.blog-card {
    min-width: 400px;
    flex: 0 0 400px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 20px;
}

.blog-tag {
    background: var(--accent-orange);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.blog-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    width: fit-content;
}

.blog-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.blog-link:hover::after {
    width: 100%;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-dark);
}

.carousel-btn:hover {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Blog & Content Utilities */
.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .blog-carousel {
        gap: 15px;
        padding-bottom: 40px;
    }

    .blog-card {
        min-width: calc(100% - 40px);
        flex: 0 0 calc(100% - 40px);
    }

    .hero-title {
        font-size: 2.5rem !important;
    }
}

.membership-cta-card {
    padding: 8rem 4rem;
}

@media (max-width: 1024px) {
    .membership-cta-card {
        padding: 5rem 2rem;
    }
}

@media (max-width: 768px) {
    .membership-cta-card {
        padding: 4rem 1.5rem;
    }
}

/* Vision Card Responsive Styles */
.vision-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.vision-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-orange);
    transform: translateY(-10px);
}

.vision-card-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-orange);
    margin-bottom: 2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vision-card-title {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.vision-card-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .vision-card {
        padding: 2.5rem;
    }

    .vision-card-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .vision-card {
        padding: 2rem;
        text-align: center;
    }

    .vision-card-icon {
        margin: 0 auto 1.5rem;
    }

    .vision-card-title {
        font-size: 1.6rem;
    }
}

/* About Badge Styles */
.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    padding: 2rem;
    background: var(--accent-orange);
    color: white;
    border: none;
    z-index: 2;
}

.about-badge-val {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.about-badge-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .about-badge {
        bottom: -15px;
        right: -15px;
        padding: 1.5rem;
    }

    .about-badge-val {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .about-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin: -40px auto 0;
        width: fit-content;
        border-radius: 20px;
    }
}

/* Newsletter Mobile Optimization */
.newsletter-section {
    padding: 100px 0;
}

.newsletter-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5rem;
    border-radius: 40px;
}

.newsletter-blob {
    opacity: 0.1;
    width: 500px;
    height: 500px;
}

@media (max-width: 1024px) {
    .newsletter-card {
        padding: 4rem 3rem;
    }

    .newsletter-card h2 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 60px 0;
    }

    .newsletter-card {
        padding: 3rem 1.5rem;
        text-align: center;
        border-radius: 30px;
    }

    .newsletter-card h2 {
        font-size: 2rem !important;
    }

    .newsletter-card form {
        flex-direction: column;
    }

    .newsletter-card form button {
        padding: 1.2rem !important;
    }
}

/* Performance Optimizations */
.marquee-content {
    will-change: transform;
}

.counter {
    will-change: contents;
}

/* ─── Frontend Edit Mode ────────────────────────────── */
[x-cloak] { display: none !important; }

.edit-mode-active [data-key]:not(.editing) {
    outline: 2px dashed rgba(249, 115, 22, 0);
    transition: outline 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border-radius: 4px;
}

.edit-mode-active [data-key]:hover:not(.editing) {
    outline: 2px dashed var(--accent-orange);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}

.edit-mode-active [data-key].editing {
    outline: 2px solid var(--accent-orange);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    caret-color: var(--accent-orange);
}

[data-key].saving {
    opacity: 0.6;
    pointer-events: none;
}

[data-key].saved {
    outline: 2px solid #22c55e !important;
    background: rgba(34, 197, 94, 0.05);
}

.edit-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary-teal);
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.edit-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

.edit-toggle svg {
    width: 24px;
    height: 24px;
}

.edit-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}

.edit-bar-label {
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.edit-bar-divider {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.15);
}

.edit-bar-badge {
    background: var(--accent-orange);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.edit-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.edit-bar-btn svg {
    width: 16px;
    height: 16px;
}

.edit-bar-btn.primary {
    background: var(--primary-teal);
    color: white;
}

.edit-bar-btn.primary:hover {
    background: #0d9488;
}

.edit-bar-btn.secondary {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}

.edit-bar-btn.secondary:hover {
    background: rgba(255,255,255,0.18);
}

.edit-bar-btn.danger {
    background: transparent;
    color: rgba(255,255,255,0.5);
    margin-left: auto;
}

.edit-bar-btn.danger:hover {
    color: #ef4444;
    background: rgba(239,68,68,0.1);
}

.edit-toast {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 9999;
    background: #1e293b;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: toastIn 0.3s ease;
    pointer-events: none;
}

.edit-toast.error {
    background: #dc2626;
}

.edit-toast.fade {
    opacity: 0;
    transition: opacity 0.4s;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.edit-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.edit-modal-content {
    background: #1e293b;
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.edit-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 600;
}

.edit-modal-header button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 24px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.edit-modal-header button:hover { color: white; }

.edit-textarea {
    width: 100%;
    min-height: 200px;
    max-height: 60vh;
    padding: 20px;
    background: #0f172a;
    color: #e2e8f0;
    border: none;
    outline: none;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    tab-size: 2;
}

.edit-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.edit-modal-preview {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    max-height: 120px;
    overflow: hidden;
    text-align: center;
    background: rgba(0,0,0,0.15);
}

.edit-modal-preview img {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.edit-modal-preview.html-preview {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.4;
}