/*
Theme Name: VIN Technosoft Premium
Theme URI: https://vintechnosoft.com
Author: VIN Technosoft
Author URI: https://vintechnosoft.com
Description: A premium, high-end digital agency theme featuring glassmorphism, smooth scrolling, and modern animations.
Version: 1.0
Text Domain: vin-technosoft
*/

/* ==========================================================================
   1. LENIS SMOOTH SCROLL (BASE)
   ========================================================================== */
html.lenis, html.lenis body { height: auto; width: 100%; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ==========================================================================
   2. HIGH-END THEME VARIABLES
   ========================================================================== */
:root {
    /* Accents */
    --accent-primary: #2563eb;   /* Royal Blue */
    --accent-glow: rgba(37, 99, 235, 0.3);
    --accent-secondary: #4f46e5; /* Indigo */
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Light Theme (Default) */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-hover: #f1f5f9;
    --bg-input: #f1f5f9;
    --text-main: #475569;
    --text-muted: #64748b;
    --heading-color: #0f172a;
    --border-color: rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px -4px rgba(0, 0, 0, 0.08);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --filter-logo: brightness(0); 
}

[data-theme="dark"] {
    /* Dark Theme Overrides */
    --bg-body: #0a0a0a;
    --bg-surface: #121212;
    --bg-surface-hover: #1a1a1a;
    --bg-input: #1f1f1f;
    --text-main: #a3a3a3;
    --text-muted: #94a3b8; 
    --heading-color: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-lg: 0 20px 40px -4px rgba(0, 0, 0, 0.5);
    --nav-bg: rgba(10, 10, 10, 0.95);
    --filter-logo: brightness(1); 
}

/* ==========================================================================
   3. BASE TYPOGRAPHY & BODY
   ========================================================================== */
.online-chat{
	display:none;
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.text-muted { color: var(--text-muted) !important; transition: color 0.4s ease; }

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn-elite, .badge-elite, .sec-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--heading-color);
    transition: color 0.4s ease;
}

p { color: var(--text-main); line-height: 1.7; transition: color 0.4s ease; }

/************************************Solution Landing Page  *******************/
    .solution-showcase-row {
        align-items: center;
        margin-bottom: 120px;
    }
    .solution-showcase-row:last-child {
        margin-bottom: 0;
    }
    .solution-visual {
        position: relative;
        border-radius: var(--radius-xl);
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-color);
        height: 500px;
    }
    .solution-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s ease;
    }
    .solution-showcase-row:hover .solution-visual img {
        transform: scale(1.05);
    }
    
    /* Floating Badges */
    .solution-floating-badge {
        position: absolute;
        bottom: 30px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px 25px;
        border-radius: var(--radius-md);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        border: 1px solid rgba(255,255,255,0.5);
        z-index: 3;
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .badge-left {
        left: -30px;
        animation: floatBadge 6s ease-in-out infinite;
    }
    .badge-right {
        right: -30px;
        animation: floatBadge 7s ease-in-out infinite reverse;
    }
    [data-theme="dark"] .solution-floating-badge {
        background: rgba(15, 23, 42, 0.85);
        border-color: rgba(255,255,255,0.1);
    }
    @keyframes floatBadge { 
        0%, 100% { transform: translateY(0); } 
        50% { transform: translateY(-15px); } 
    }
    
    .solution-icon-wrap {
        width: 60px; height: 60px;
        background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
        color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
        font-size: 1.5rem; box-shadow: 0 10px 20px var(--accent-glow);
    }
    
    .solution-features-list { list-style: none; padding: 0; margin: 30px 0; }
    .solution-features-list li {
        display: flex; align-items: center; gap: 15px; margin-bottom: 15px;
        font-size: 1.05rem; font-weight: 500; color: var(--heading-color);
    }
    .solution-features-list i { color: var(--accent-primary); font-size: 1.2rem; }

    @media (max-width: 991px) {
        .solution-showcase-row { margin-bottom: 80px; }
        .solution-visual { height: 400px; margin-bottom: 40px; }
        .badge-left, .badge-right { left: 20px !important; right: auto !important; bottom: -20px; }
    }

/* ==========================================================================
   4. SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-up.active { opacity: 1 !important; transform: translateY(0) !important; }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.no-js .reveal-up { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   5. ELITE NAVBAR
   ========================================================================== */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
    z-index: 1000;
    border-bottom: 1px solid transparent;
}

.logo-head {
    height: 35px;
    transition: filter 0.4s ease;
}

.nav-link {
    color: var(--heading-color) !important; 
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 15px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0%; height: 2px;
    background: var(--accent-primary);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.navbar-toggler i { color: var(--heading-color); transition: color 0.3s ease; }

#themeToggle {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--heading-color);
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#themeToggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: rotate(15deg);
}

.navbar.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   6. BUTTONS & PILLS
   ========================================================================== */
.btn-elite {
    background: var(--heading-color);
    color: var(--bg-body) !important;
    border: 1px solid var(--heading-color);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-elite:hover {
    background: transparent;
    color: var(--heading-color) !important;
    transform: translateY(-3px);
}
.btn-elite-primary {
    background: var(--accent-primary);
    color: #ffffff !important;
    border-color: var(--accent-primary);
    box-shadow: 0 10px 20px var(--accent-glow);
}
.btn-elite-primary:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: #ffffff !important;
    box-shadow: 0 15px 25px rgba(79, 70, 229, 0.4);
}
.btn-outline-custom {
    background: transparent !important;
    color: var(--heading-color) !important;
    border: 2px solid var(--border-color) !important;
}
.btn-outline-custom:hover {
    border-color: var(--heading-color) !important;
}
.btn-white {
    background: #fff !important;
    color: var(--accent-primary) !important;
    border-color: #fff !important;
}
.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.btn-outline-white {
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.5) !important;
}
.btn-outline-white:hover {
    background: #fff !important;
    color: var(--accent-primary) !important;
    border-color: #fff !important;
}

.hero-pill {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px;
    background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: 50px; color: var(--heading-color); font-weight: 600;
    font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem;
    margin-bottom: 30px; box-shadow: var(--shadow-sm);
}

.pulse-dot {
    width: 10px; height: 10px; background-color: var(--accent-primary); border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* ==========================================================================
   7. ULTRA-PREMIUM INTERACTIVE HERO (FRONT PAGE)
   ========================================================================== */
.premium-hero-section {
    position: relative;
    height: 100vh;
    min-height: 850px;
    background: var(--bg-body);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.absolute-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
}
.absolute-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slowPan 25s infinite alternate ease-in-out;
}
@keyframes slowPan {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, -2%); }
}

.hero-glass-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.85) 45%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2;
}
[data-theme="dark"] .hero-glass-layer {
    background: linear-gradient(90deg, rgba(10,10,10,0.98) 0%, rgba(18,18,18,0.85) 45%, rgba(10,10,10,0.1) 100%);
}

.hero-content-layer {
    position: relative;
    z-index: 3;
    padding-top: 80px;
    padding-bottom: 120px; 
    width: 100%;
}

.hero-title-huge {
    font-size: 5.5rem; font-weight: 800; letter-spacing: -0.03em;
    line-height: 1.05; color: var(--heading-color); margin-bottom: 30px;
}
.hero-title-huge span {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem; color: var(--text-main); max-width: 600px;
    margin-bottom: 45px; line-height: 1.6; font-weight: 400;
}

/* Floating UI Cards (Hero) */
.floating-ui-card {
    background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15); padding: 25px;
    transition: transform 0.3s ease; text-align: left;
}
[data-theme="dark"] .floating-ui-card {
    background: rgba(30, 41, 59, 0.7); border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@keyframes floatBounce1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes floatBounce2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatBounce3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(15px); } }

.ui-skeleton-header { display: flex; gap: 8px; margin-bottom: 20px; }
.ui-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-color); }
.ui-dot.r { background: #ff5f56; } .ui-dot.y { background: #ffbd2e; } .ui-dot.g { background: #27c93f; }

.ui-bar { height: 8px; border-radius: 4px; background: var(--border-color); margin-bottom: 12px; }
.ui-bar.w-70 { width: 70%; } .ui-bar.w-50 { width: 50%; } .ui-bar.w-90 { width: 90%; }
.ui-bar.primary { background: var(--accent-primary); }

.ui-icon-circle {
    width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff; margin-bottom: 15px;
}

/* Segmented Progress Nav */
.carousel-indicators.segmented-nav {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    margin: 0; padding: 0;
    display: flex;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
}
[data-theme="dark"] .carousel-indicators.segmented-nav {
    background: rgba(10, 10, 10, 0.5);
    border-top-color: rgba(255, 255, 255, 0.1);
}
.carousel-indicators.segmented-nav [data-bs-target] {
    flex: 1; height: auto; text-indent: 0; border: none;
    background: transparent; margin: 0; padding: 0;
    position: relative; transition: 0.3s;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}
[data-theme="dark"] .carousel-indicators.segmented-nav [data-bs-target] {
    border-right-color: rgba(255, 255, 255, 0.05);
}
.carousel-indicators.segmented-nav [data-bs-target]:last-child { border-right: none; }

.carousel-indicators.segmented-nav [data-bs-target]:hover {
    background: rgba(255, 255, 255, 0.2);
}
[data-theme="dark"] .carousel-indicators.segmented-nav [data-bs-target]:hover {
    background: rgba(255, 255, 255, 0.05);
}

.seg-progress {
    width: 100%; height: 4px;
    background: rgba(0,0,0,0.05);
    position: absolute; top: 0; left: 0;
}
[data-theme="dark"] .seg-progress { background: rgba(255,255,255,0.05); }

.seg-progress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}
.carousel-indicators.segmented-nav .active .seg-progress-fill {
    animation: segLoad 6s linear forwards;
}
@keyframes segLoad { 0% { width: 0%; } 100% { width: 100%; } }

.seg-text {
    padding: 25px 30px;
    display: flex; align-items: center; gap: 15px;
    text-align: left;
}
.seg-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem; font-weight: 700;
    color: var(--text-muted); opacity: 0.5;
    transition: 0.3s;
}
.seg-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem; font-weight: 600;
    color: var(--text-main);
    transition: 0.3s;
}
.carousel-indicators.segmented-nav .active .seg-num,
.carousel-indicators.segmented-nav .active .seg-title {
    color: var(--accent-primary); opacity: 1;
}
[data-theme="dark"] .carousel-indicators.segmented-nav .active .seg-title {
    color: #fff;
}

/* Slide Setup Animations */
.carousel-item.active .anim-up.d-1 { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.carousel-item.active .anim-up.d-2 { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.carousel-item.active .anim-up.d-3 { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.carousel-item.active .anim-up.d-4 { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

/* ==========================================================================
   8. INNER PAGE HERO (ABOUT)
   ========================================================================== */
.inner-hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--bg-surface);
    overflow: hidden;
    text-align: center;
}
.inner-hero-mesh {
    position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
    width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(60px); z-index: 0; opacity: 0.6;
}
.inner-hero-content { position: relative; z-index: 2; }
.inner-hero-title { font-size: 4.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; }
.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   9. GLOBAL SECTIONS
   ========================================================================== */
.section-padding { padding: 120px 0; }
.bg-alt { background-color: var(--bg-surface); }

.sec-subtitle {
    color: var(--accent-primary); font-size: 0.9rem; text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 15px; display: block; font-weight: 700;
}
.sec-title {
    font-size: 3.2rem; font-weight: 700; margin-bottom: 20px;
    line-height: 1.15; letter-spacing: -0.02em;
}

/* About Us Wrapper (Front & Inner) */
.about-wrapper { position: relative; padding-left: 20px; }
.about-img-tall {
    width: 100%; max-width: 480px; height: 650px;
    object-fit: cover; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); border: 1px solid var(--border-color);
    margin-left: auto; display: block;
}
.about-floating-stat {
    position: absolute; bottom: 60px; left: -40px;
    background: var(--bg-surface); padding: 35px 40px;
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex; align-items: center; gap: 20px; z-index: 2;
}
.about-floating-stat h3 { font-size: 4rem; color: var(--accent-primary); margin: 0; line-height: 1; }
.about-floating-stat span { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--heading-color); line-height: 1.3; }

.about-features-list { list-style: none; padding: 0; margin: 40px 0; }
.about-features-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; font-size: 1.1rem; font-weight: 500; color: var(--heading-color); }
.about-features-list i { color: var(--accent-primary); background: var(--bg-input); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.9rem; }

/* About Intro Grid (Inner Page) */
.about-intro-image {
    width: 100%; height: 600px; object-fit: cover;
    border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
.mini-feature-card {
    background: var(--bg-body); border: 1px solid var(--border-color);
    padding: 20px; border-radius: var(--radius-md); display: flex; align-items: center; gap: 15px;
    transition: 0.3s;
}
.mini-feature-card:hover { border-color: var(--accent-primary); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.mini-feature-icon {
    width: 45px; height: 45px; background: var(--bg-surface); color: var(--accent-primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.mini-feature-card h6 { margin: 0; font-weight: 700; color: var(--heading-color); }

/* Bento Conversion Section */
.bento-main-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-xl); padding: 80px 60px; position: relative;
    overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.bento-glow {
    position: absolute; top: -30%; right: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.4) 0%, transparent 70%);
    border-radius: 50%; z-index: 0; animation: floatBento 8s ease-in-out infinite;
}
.bento-visuals {
    position: relative; z-index: 2; height: 100%; min-height: 400px;
    display: flex; align-items: center; justify-content: center;
}
.bento-img-main {
    width: 100%; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); position: relative; z-index: 1;
}
.bento-stat-card {
    background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.15);
    padding: 20px 24px; border-radius: var(--radius-md); position: absolute;
    color: #fff; box-shadow: 0 15px 30px rgba(0,0,0,0.3); z-index: 2;
}
.bsc-1 { top: 5%; right: -20px; animation: floatBento 6s ease-in-out infinite; }
.bsc-2 { bottom: 10%; left: -30px; animation: floatBento 7s ease-in-out infinite reverse; }

@keyframes floatBento { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* Services Grid */
.service-card {
    background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); overflow: visible !important;
    display: flex; flex-direction: column; height: 100%;
    transition: all 0.4s ease; box-shadow: var(--shadow-sm);
}
.service-img-wrapper { position: relative; height: 240px; overflow: visible !important; }
.service-img-wrapper img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md) var(--radius-md) 0 0; transition: transform 0.6s ease; }
.service-card:hover .service-img-wrapper img { transform: scale(1.05); }

.service-icon {
    position: absolute; bottom: -24px; left: 24px; width: 55px; height: 55px;
    background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--accent-primary); z-index: 10 !important;
    box-shadow: var(--shadow-sm); transition: 0.3s;
}
.service-card:hover .service-icon { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }

.service-body { padding: 45px 24px 24px; flex-grow: 1; display: flex; flex-direction: column; }
.service-body h4 { font-size: 1.35rem; font-weight: 600; margin-bottom: 12px; }
.service-body p { margin-bottom: 24px; flex-grow: 1; }

.btn-read-more {
    font-family: 'Space Grotesk', sans-serif; font-weight: 600;
    color: var(--heading-color); text-decoration: none; display: inline-flex;
    align-items: center; gap: 8px; font-size: 0.95rem; padding: 10px 0;
    border-top: 1px solid var(--border-color); transition: 0.3s;
}
.btn-read-more i { transition: transform 0.3s; color: var(--accent-primary); }
.btn-read-more:hover { color: var(--accent-primary); }
.btn-read-more:hover i { transform: translateX(5px); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--accent-glow); }

/* Advantages */
.advantage-card {
    background: var(--bg-surface); padding: 40px 30px;
    border-radius: var(--radius-md); border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm); transition: all 0.3s ease; text-align: center; height: 100%;
}
.advantage-card:hover { border-color: var(--accent-primary); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.advantage-icon {
    width: 70px; height: 70px; background: var(--bg-input); color: var(--accent-primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 20px; transition: 0.3s;
}
.advantage-card:hover .advantage-icon { background: var(--accent-primary); color: #fff; }

/* Workflow */
.workflow-step {
    position: relative; padding: 40px 30px; background: var(--bg-surface);
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    transition: 0.4s ease; z-index: 1; overflow: hidden; height: 100%;
}
.workflow-step:hover { border-color: var(--heading-color); box-shadow: var(--shadow-lg); }
.workflow-num {
    position: absolute; top: -20px; right: -10px;
    font-family: 'Space Grotesk', sans-serif; font-size: 8rem; font-weight: 700;
    color: var(--border-color); line-height: 1; z-index: -1; transition: 0.4s ease;
}
.workflow-step:hover .workflow-num { color: var(--accent-glow); transform: scale(1.1); }
.workflow-content h4 { font-size: 1.5rem; margin-bottom: 15px; }

/* Contact */
.contact-card {
    background: var(--bg-surface); border: 1px solid var(--border-color);
    padding: 50px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
}
.form-control-custom {
    background: var(--bg-input); border: 1px solid transparent; color: var(--text-main);
    padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px;
    width: 100%; transition: 0.3s; font-family: 'Inter', sans-serif;
}
.form-control-custom:focus {
    outline: none; background: var(--bg-surface); border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* Features List (Inner Page) */
.feature-list-item {
    display: flex; align-items: flex-start; gap: 20px; margin-bottom: 30px;
}
.feature-list-icon {
    width: 50px; height: 50px; background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: var(--accent-primary); font-size: 1.3rem; flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.feature-list-text h5 { font-weight: 700; color: var(--heading-color); margin-bottom: 5px; }
.feature-list-text p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Vision & Mission Split (Inner Page) */
.vision-mission-section {
    background: #050505;
    color: #fff;
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vm-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 100%; background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 60%);
    z-index: 0; pointer-events: none;
}
.vm-card {
    background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1); padding: 50px; border-radius: var(--radius-lg);
    height: 100%; transition: 0.4s; position: relative; z-index: 1;
}
.vm-card:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); transform: translateY(-10px); }
.vm-icon {
    width: 70px; height: 70px; background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff; margin-bottom: 30px; box-shadow: 0 10px 20px rgba(37,99,235,0.3);
}
.vm-card h3 { color: #fff; font-size: 2.2rem; margin-bottom: 20px; }
.vm-card p { color: rgba(255,255,255,0.7); font-size: 1.1rem; line-height: 1.8; margin: 0; }

/* Core Values Grid (Inner Page) */
.value-card {
    background: var(--bg-surface); border: 1px solid var(--border-color);
    padding: 40px 30px; border-radius: var(--radius-md); text-align: center;
    height: 100%; transition: 0.4s ease; box-shadow: var(--shadow-sm);
}
.value-card:hover { border-color: var(--accent-primary); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.value-icon {
    font-size: 3rem; color: var(--accent-primary); margin-bottom: 25px; transition: 0.3s;
}
.value-card:hover .value-icon { transform: scale(1.1); color: var(--accent-secondary); }
.value-card h4 { font-weight: 700; color: var(--heading-color); margin-bottom: 15px; }

/* CTA Banner (Inner Page) */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    padding: 100px 0; text-align: center; border-radius: var(--radius-xl); position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; top: -50%; left: -10%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%); border-radius: 50%;
}
.cta-banner h2 { color: #fff; font-size: 4rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; position: relative; z-index: 2; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.25rem; max-width: 600px; margin: 0 auto 40px auto; position: relative; z-index: 2; }
.cta-banner .btn-white { position: relative; z-index: 2; font-size: 1.1rem; padding: 18px 40px; background: #fff !important; color: var(--accent-primary) !important; border-color: #fff !important; }


/* ==========================================================================
   10. ULTRA-MODERN FOOTER
   ========================================================================== */
.footer-ultra {
    background-color: #050505; color: #a3a3a3;
    padding: 100px 0 0 0; position: relative;
    overflow: hidden; border-top: 1px solid #1f1f1f;
}

.footer-cta-card {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: var(--radius-md); padding: 60px; margin-bottom: 80px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 30px; box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    position: relative; overflow: hidden;
}
.footer-cta-card::before {
    content: ''; position: absolute; top: -50%; left: -20%;
    width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.footer-cta-card h3 {
    color: #fff; font-size: 2.8rem; margin: 0; max-width: 500px; line-height: 1.2;
    position: relative; z-index: 2;
}
.footer-cta-buttons { position: relative; z-index: 2; }

.footer-col-title { color: #ffffff; font-size: 1.2rem; margin-bottom: 25px; letter-spacing: 1px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #a3a3a3; text-decoration: none; transition: 0.3s; font-size: 1rem; }
.footer-links a:hover { color: #fff; padding-left: 8px; }

.social-links { display: flex; gap: 15px; margin-top: 30px; }
.social-links a {
    width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
    color: #ffffff; text-decoration: none; transition: 0.4s ease;
}
.social-links a:hover { background: var(--accent-primary); border-color: var(--accent-primary); transform: translateY(-5px); }

.footer-bottom-flex {
    margin-top: 60px; padding-bottom: 30px; display: flex; justify-content: space-between;
    align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); position: relative; z-index: 2;
}

.footer-watermark {
    font-family: 'Space Grotesk', sans-serif; font-size: 8vw; font-weight: 800; line-height: 0.8;
    color: rgba(255,255,255,0.03); text-align: center; margin-top: 20px; margin-bottom: -2%;
    user-select: none; white-space: nowrap; overflow: hidden;
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
    /* Hero Adjustments */
    .premium-hero-section { min-height: auto; padding-bottom: 0; height: auto; }
    .hero-content-layer { padding-bottom: 160px; padding-top: 130px; }
    .hero-title-huge { font-size: 3.5rem; }
    
    /* Segmented Nav Mobile Fixes */
    .seg-text { padding: 15px; flex-direction: column; align-items: flex-start; gap: 5px; }
    .seg-title { font-size: 0.9rem; }
    
    /* Inner Page Fixes */
    .inner-hero-title { font-size: 3.5rem; }
    .about-intro-image { height: 400px; margin-bottom: 30px; }
    .cta-banner h2 { font-size: 3rem; }
    
    /* General Section Fixes */
    .sec-title { font-size: 2.5rem; }
    .bento-main-card { padding: 50px 30px; }
    .bsc-1, .bsc-2 { position: relative; inset: auto; margin-bottom: 20px; animation: none; width: 100%; }
    .about-floating-stat { left: 20px; bottom: 20px; padding: 20px; } 
    .footer-cta-card { padding: 40px 30px; text-align: center; justify-content: center; flex-direction: column; }
    
    /* Navbar Collapse Styling */
    .navbar-collapse {
        background: var(--bg-surface); padding: 20px; border-radius: var(--radius-md);
        margin-top: 15px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color);
    }
    .nav-link { color: var(--heading-color) !important; margin: 10px 0; }
}

@media (max-width: 768px) {
    .hero-title-huge { font-size: 2.8rem; }
    .section-padding { padding: 80px 0; overflow-x: hidden;}
    .contact-card { padding: 30px 20px; }
    #themeToggle { width: 30px !important; height: 30px !important; }
    
    .inner-hero-title { font-size: 2.8rem; }
    .cta-banner h2 { font-size: 2.5rem; }
    .vm-card { padding: 30px; }
    
    .about-floating-stat h3 { font-size: 2.5rem; }
    .footer-cta-card h3 { font-size: 2rem; }
    .footer-bottom-flex { flex-direction: column; gap: 15px; text-align: center; }
    .footer-watermark { font-size: 18vw; }
    
    /* Hide segmented numbers on small screens to save horizontal space */
    .seg-num { display: none; } 
    .seg-text { text-align: center; align-items: center; }
}

/* ==========================================================================
   12. SINGLE POST STYLES
   ========================================================================== */
 /* Cinematic Post Hero */
    .single-post-hero {
        position: relative;
        min-height: 65vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #0f172a;
        overflow: hidden;
        padding-top: 100px;
        text-align: center;
    }
    
    .single-post-hero .absolute-bg {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden;
    }
    .single-post-hero .absolute-bg img {
        width: 100%; height: 100%; object-fit: cover; opacity: 0.4;
        transform: scale(1.05); animation: slowPan 25s infinite alternate ease-in-out;
    }
    
    .single-post-hero .hero-glass-layer {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background: linear-gradient(0deg, rgba(15,23,42,1) 0%, rgba(15,23,42,0.3) 100%);
        z-index: 2;
    }

    .single-hero-content {
        position: relative;
        z-index: 3;
        max-width: 900px;
        padding: 0 20px;
    }

    .single-post-title {
        font-size: 3.5rem; font-weight: 800; color: #ffffff;
        line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px;
    }

    .single-post-meta {
        display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px;
        color: rgba(255,255,255,0.8); font-size: 1.05rem; font-weight: 500;
    }
    .single-post-meta img.avatar {
        border-radius: 50%; width: 40px; height: 40px; border: 2px solid rgba(255,255,255,0.2);
    }

    /* Article Content Typography */
    .post-content-wrapper {
        max-width: 800px; margin: -60px auto 0 auto;
        background: var(--bg-surface); position: relative; z-index: 10;
        border-radius: var(--radius-lg); padding: 60px 80px;
        box-shadow: var(--shadow-lg); border: 1px solid var(--border-color);
    }
    
    .post-content { font-size: 1.15rem; line-height: 1.8; color: var(--text-main); }
    .post-content p { margin-bottom: 1.8rem; }
    .post-content h2, .post-content h3, .post-content h4 {
        font-family: 'Space Grotesk', sans-serif; color: var(--heading-color);
        font-weight: 700; margin-top: 2.5rem; margin-bottom: 1.2rem; letter-spacing: -0.01em;
    }
    .post-content img {
        max-width: 100%; height: auto; border-radius: var(--radius-md);
        margin: 2rem 0; box-shadow: var(--shadow-sm);
    }
    .post-content a { color: var(--accent-primary); text-decoration: none; border-bottom: 1px solid transparent; transition: 0.3s; }
    .post-content a:hover { border-bottom-color: var(--accent-primary); }
    
    /* Editorial Blockquote */
    .post-content blockquote {
        border-left: 4px solid var(--accent-primary); padding: 30px 40px;
        font-size: 1.4rem; font-style: italic; color: var(--heading-color);
        margin: 3rem 0; background: var(--bg-input); border-radius: 0 var(--radius-md) var(--radius-md) 0;
        font-family: 'Space Grotesk', sans-serif;
    }

    /* Author Box */
    .author-box {
        background: var(--bg-input); border: 1px solid var(--border-color);
        border-radius: var(--radius-md); padding: 40px; margin-top: 60px;
        display: flex; align-items: flex-start; gap: 25px;
    }
    .author-box img.avatar { border-radius: 50%; width: 90px; height: 90px; box-shadow: var(--shadow-sm); }
    .author-box-content h4 { margin: 0 0 10px 0; font-weight: 700; color: var(--heading-color); }
    .author-box-content p { margin: 0; font-size: 1rem; color: var(--text-muted); }

    /* Post Navigation */
    .post-navigation { display: flex; justify-content: space-between; margin-top: 60px; border-top: 1px solid var(--border-color); padding-top: 40px; }
    .post-nav-link { max-width: 45%; text-decoration: none; }
    .post-nav-link span { display: block; font-size: 0.85rem; text-transform: uppercase; color: var(--accent-primary); font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
    .post-nav-link h5 { color: var(--heading-color); font-weight: 600; line-height: 1.4; transition: 0.3s; }
    .post-nav-link:hover h5 { color: var(--accent-primary); }
    .post-nav-next { text-align: right; }

    @media (max-width: 768px) {
        .single-post-title { font-size: 2.5rem; }
        .post-content-wrapper { padding: 40px 20px; border-radius: 0; margin-top: 0; border: none; box-shadow: none; }
        .author-box { flex-direction: column; text-align: center; align-items: center; }
        .post-navigation { flex-direction: column; gap: 30px; }
        .post-nav-link { max-width: 100%; text-align: center; }
        .post-content blockquote { padding: 20px; font-size: 1.2rem; }
    }

/* ==========================================================================
   13. CUSTOM FAQ ACCORDION
   ========================================================================== */
.custom-accordion .accordion-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.custom-accordion .accordion-item:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.custom-accordion .accordion-button {
    background: transparent;
    color: var(--heading-color);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 25px;
    box-shadow: none !important;
}
.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--accent-primary);
    background: transparent;
}
/* Custom Animated Plus/Minus Icons */
.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23475569'%3E%3Cpath fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2Z'/%3E%3C/svg%3E");
    transition: all 0.4s ease;
    width: 20px; height: 20px; background-size: contain;
}
.custom-accordion .accordion-button:not(.collapsed):after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232563eb'%3E%3Cpath fill-rule='evenodd' d='M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8Z'/%3E%3C/svg%3E");
    transform: rotate(180deg);
}
/* Dark Mode Icon Overrides */
[data-theme="dark"] .custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2394a3b8'%3E%3Cpath fill-rule='evenodd' d='M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2Z'/%3E%3C/svg%3E");
}
[data-theme="dark"] .custom-accordion .accordion-button:not(.collapsed):after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2360a5fa'%3E%3Cpath fill-rule='evenodd' d='M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8Z'/%3E%3C/svg%3E");
}
.custom-accordion .accordion-body {
    padding: 0 25px 25px 25px;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}
 
/* ==========================================================================
   14. ULTIMATE MAGAZINE SINGLE POST DESIGN
   ========================================================================== */

/* Force Navbar Visibility on Single Posts */
.single-post #mainNavbar {
    background: var(--nav-bg) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 12px 0 !important;
}

/* Reading Progress Bar */
.reading-progress-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 4px;
    background: transparent; z-index: 99999; pointer-events: none;
}
.reading-progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 0 10px var(--accent-glow);
}

/* Magazine Hero Section */
.magazine-hero {
    padding: 160px 0 80px;
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}
.magazine-hero-mesh {
    position: absolute; top: 0; right: 0; width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    z-index: 0; filter: blur(80px); opacity: 0.7;
}
.magazine-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
    color: var(--heading-color); position: relative; z-index: 2; margin-bottom: 30px;
}
.magazine-meta-box {
    display: flex; align-items: center; gap: 20px;
    padding: 20px; background: var(--bg-body);
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    position: relative; z-index: 2; display: inline-flex;
}
.magazine-image-wrap {
    position: relative; z-index: 2; border-radius: var(--radius-xl);
    overflow: hidden; box-shadow: 0 30px 60px -15px rgba(0,0,0,0.3);
    border: 8px solid var(--bg-surface);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.magazine-image-wrap:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
    box-shadow: 0 40px 70px -10px rgba(0,0,0,0.4);
}
.magazine-image-wrap img { width: 100%; height: auto; display: block; object-fit: cover; }

/* Article Body & Sticky Sidebar */
.sticky-share-sidebar {
    position: sticky; top: 120px; display: flex; flex-direction: column; gap: 15px;
}
.share-btn-round {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    background: var(--bg-surface); border: 1px solid var(--border-color);
    color: var(--text-main); transition: 0.3s; box-shadow: var(--shadow-sm);
}
.share-btn-round:hover {
    background: var(--accent-primary); color: #fff;
    border-color: var(--accent-primary); transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.article-body-premium { font-size: 1.2rem; line-height: 1.8; color: var(--text-main); }
.article-body-premium p { margin-bottom: 2rem; }
.article-body-premium h2, .article-body-premium h3 {
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--heading-color); margin: 3rem 0 1.5rem; letter-spacing: -0.01em;
}
.article-body-premium blockquote {
    padding: 40px; margin: 50px 0; border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--bg-input) 0%, var(--bg-surface) 100%);
    border: 1px solid var(--border-color); border-left: 6px solid var(--accent-primary);
    font-size: 1.4rem; font-style: italic; font-weight: 600; color: var(--heading-color);
    box-shadow: var(--shadow-sm);
}
.article-body-premium img { width: 100%; height: auto; border-radius: var(--radius-md); margin: 2rem 0; box-shadow: var(--shadow-sm); }

 /* ==========================================================================
   15. MODERN 2-COLUMN SPLIT MODAL (UPDATED FOR DARK MODE & MOBILE)
   ========================================================================== */
.split-quote-modal {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.6);
}

.split-quote-modal .modal-dialog {
    max-width: 900px;
}

.split-quote-modal .modal-content {
    background: transparent;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

.btn-close-split {
    position: absolute;
    top: 25px; right: 25px; z-index: 10;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-body); border: 1px solid var(--border-color);
    color: var(--heading-color); display: flex;
    justify-content: center; align-items: center;
    font-size: 1.1rem; cursor: pointer; transition: all 0.3s ease;
}
.btn-close-split:hover {
    background: var(--accent-primary); color: #fff;
    border-color: var(--accent-primary); transform: rotate(90deg);
}

/* LEFT COLUMN */
.split-left-panel {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff; padding: 50px 40px; display: flex;
    flex-direction: column; justify-content: space-between;
    position: relative; overflow: hidden;
}
.split-left-mesh {
    position: absolute; top: -50px; left: -50px;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%); z-index: 0;
}
.split-left-content { position: relative; z-index: 2; }

.contact-item-split {
    display: flex; align-items: center; gap: 15px;
    margin-bottom: 20px; font-weight: 500;
}
.contact-item-split i {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.15); display: flex;
    justify-content: center; align-items: center; font-size: 1rem;
}

/* RIGHT COLUMN (THE FORM) */
.split-right-panel {
    background: var(--bg-surface); padding: 50px 40px; position: relative;
}
textarea {
    height: 100px;
}
/* --- DARK MODE EXPLICIT TEXT FIXES --- */
[data-theme="dark"] .split-right-panel h3 { color: #ffffff !important; }
[data-theme="dark"] .split-right-panel p { color: #a1a1aa !important; }

.split-input {
    width: 100%; background: var(--bg-body);
    border: 1px solid var(--border-color); border-radius: 8px;
    padding: 15px 20px; color: var(--heading-color);
    font-size: 0.95rem; transition: all 0.3s ease; margin-bottom: 20px;
}
.split-input::placeholder { color: #9ca3af; opacity: 1; }

[data-theme="dark"] .split-input {
    background: var(--bg-input); color: #ffffff; border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .split-input option {
    background: var(--bg-surface); color: #ffffff;
}

.split-input:focus {
    outline: none; border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--accent-glow); background: transparent;
}

.split-submit-btn {
    width: 100%; padding: 18px; border-radius: 8px;
    background: var(--heading-color); color: var(--bg-body); border: none;
    font-weight: 700; font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem; transition: all 0.3s ease; margin-top: 10px;
}
.split-submit-btn:hover {
    background: var(--accent-primary); color: #fff;
    transform: translateY(-2px); box-shadow: 0 10px 20px var(--accent-glow);
}
[data-theme="dark"] .split-submit-btn { background: var(--accent-primary); color: #ffffff; }

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 991px) {
    .split-left-panel { display: none !important; } /* Hides Left Panel */
    .split-right-panel { 
        padding: 40px 30px; 
        border-radius: 20px; /* Restores rounded corners for mobile */
    }
    .btn-close-split { top: 15px; right: 15px; }
}

/* ==========================================================================
   16. MOBILE BOTTOM QUICK MENU (APP BAR)
   ========================================================================== */

/* Hide on Desktop */
@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* Mobile Styling */
@media (max-width: 991px) {
    body {
        /* Adds space at the bottom so the footer doesn't get hidden behind the menu */
        padding-bottom: 80px !important; 
    }
    
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 75px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.08);
        padding-bottom: env(safe-area-inset-bottom); /* Fix for iPhones with home bars */
    }

    /* Dark Mode Glass */
    [data-theme="dark"] .mobile-bottom-nav {
        background: rgba(15, 23, 42, 0.85);
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.75rem;
        font-weight: 700;
        font-family: 'Space Grotesk', sans-serif;
        transition: all 0.3s ease;
        flex: 1;
        height: 100%;
        padding-top: 5px;
    }

    .bottom-nav-item i {
        font-size: 1.35rem;
        margin-bottom: 5px;
        transition: all 0.3s ease;
    }

    /* Hover & Active States */
    .bottom-nav-item:hover, 
    .bottom-nav-item:active {
        color: var(--accent-primary);
    }

    .bottom-nav-item:hover i,
    .bottom-nav-item:active i {
        transform: translateY(-4px);
        color: var(--accent-primary);
    }
    
    /* Make the Chat button pop slightly with WhatsApp Green */
    .bottom-nav-item.chat-btn i {
        color: #25D366; 
    }
    .bottom-nav-item.chat-btn:hover i {
        filter: drop-shadow(0 5px 10px rgba(37, 211, 102, 0.4));
    }
}

/* ==========================================================================
   17. CINEMATIC FULL-SCREEN MOBILE MENU (THEME ADAPTIVE)
   ========================================================================== */

/* The Custom Animated Hamburger */
.elite-hamburger {
    width: 45px; height: 45px; border-radius: 50%;
    background: var(--bg-input); border: 1px solid var(--border-color);
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    cursor: pointer; z-index: 99999; transition: 0.3s; padding: 0;
}
.elite-hamburger span {
    display: block; width: 20px; height: 2px;
    background: var(--heading-color); transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hamburger 'X' Animation State (Adapts to Light/Dark) */
.elite-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--heading-color); }
.elite-hamburger.is-active span:nth-child(2) { opacity: 0; }
.elite-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--heading-color); }
.elite-hamburger.is-active { background: transparent; border-color: var(--border-color); }

/* The Full Screen Overlay (Adapts to Light/Dark) */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(248, 250, 252, 0.98); /* Light mode frosted glass */
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    z-index: 99998; opacity: 0; visibility: hidden;
    transition: all 0.4s ease; display: flex; flex-direction: column;
    padding: 120px 30px 40px; overflow-y: auto;
}
[data-theme="dark"] .mobile-menu-overlay {
    background: rgba(15, 23, 42, 0.98); /* Dark mode frosted glass */
}
.mobile-menu-overlay.menu-open { opacity: 1; visibility: visible; }

/* Staggered Link Animations */
.mobile-nav-list { list-style: none; padding: 0; margin: auto 0; }
.mobile-nav-list li { margin-bottom: 25px; transform: translateY(40px); opacity: 0; transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.mobile-menu-overlay.menu-open .mobile-nav-list li { transform: translateY(0); opacity: 1; }

/* Staggered delays */
.mobile-nav-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-list li:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav-list li:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav-list li:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav-list li:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav-list li:nth-child(6) { transition-delay: 0.35s; }
.mobile-nav-list li:nth-child(7) { transition-delay: 0.4s; }
.mobile-nav-list li:nth-child(8) { transition-delay: 0.45s; }

/* The Huge Typography Links (Forces visibility over WordPress defaults) */
.mobile-menu-overlay .mobile-nav-list li a {
    font-size: clamp(2.5rem, 10vw, 3.5rem); font-family: 'Space Grotesk', sans-serif; font-weight: 800;
    color: var(--text-muted) !important; text-decoration: none; display: inline-block; transition: 0.3s ease;
    line-height: 1.1; letter-spacing: -0.02em;
}
.mobile-menu-overlay .mobile-nav-list li a:hover, 
.mobile-menu-overlay .mobile-nav-list li.current-menu-item > a {
    color: var(--heading-color) !important; transform: translateX(10px);
}

/* Mobile Menu Footer Info */
.mobile-menu-footer {
    margin-top: auto; border-top: 1px solid var(--border-color); padding-top: 30px;
    transform: translateY(20px); opacity: 0; transition: all 0.5s ease 0.4s;
}
.mobile-menu-overlay.menu-open .mobile-menu-footer { transform: translateY(0); opacity: 1; }

/* Override hardcoded HTML text colors for Light Theme */
.mobile-menu-footer .text-white { color: var(--heading-color) !important; }
[data-theme="dark"] .mobile-menu-footer .text-white { color: #ffffff !important; }

/* FIX: Force Modal to sit above the fixed header */
.split-quote-modal {
    z-index: 100005 !important; 
}
.modal-backdrop {
    z-index: 100004 !important; 
}

/* ==========================================================================
   19. MODERN SPLIT COUNTER SECTION (STAGGERED GRID)
   ========================================================================== */
.premium-counter-wrap {
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

.staggered-counter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    position: relative;
}

.counter-mesh-glow {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    filter: blur(50px); z-index: 0; pointer-events: none;
}

/* Glassmorphic Stat Cards */
.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    position: relative; z-index: 2;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    display: flex; flex-direction: column; justify-content: center;
}

[data-theme="dark"] .stat-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-lg);
}

/* Staggering the grid layout */
.sc-1 { grid-column: 1 / 2; grid-row: 1 / 3; margin-top: 40px; margin-bottom: -40px; }
.sc-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.sc-3 { grid-column: 2 / 3; grid-row: 2 / 3; }

/* Internal Card Typography & Icons */
.stat-icon {
    width: 55px; height: 55px; border-radius: 50%;
    background: var(--bg-input); color: var(--accent-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 20px; transition: 0.4s ease;
}
.stat-card:hover .stat-icon { 
    background: var(--accent-primary); color: #fff; 
    transform: scale(1.1) rotate(10deg); 
    box-shadow: 0 10px 20px var(--accent-glow);
}

.stat-number { 
    font-size: clamp(3rem, 4vw, 4rem); 
    font-weight: 800; 
    color: var(--heading-color); 
    line-height: 1; 
    margin-bottom: 5px; 
    display: flex; align-items: baseline; 
}
.stat-number span.count-up { color: var(--heading-color); }

.stat-label { 
    font-size: 1rem; font-weight: 600; color: var(--text-muted); 
    margin: 0; text-transform: uppercase; letter-spacing: 1px; 
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .staggered-counter-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
    .sc-1 { margin: 0; grid-column: auto; grid-row: auto; }
    .sc-2, .sc-3 { grid-column: auto; grid-row: auto; }
    .stat-card { padding: 30px 25px; align-items: center; text-align: center; }
}