/* Global Site Header, Navigation & Footer Design */
:root {
    --bg-dark: #000000;
    --bg-card: #0e1017;
    --bg-card-hover: #151822;
    --primary-orange: #EF4A23;
    --primary-orange-hover: #d63d18;
    --primary-yellow: #F8EE06;
    --border-dark: #1e222d;
    --border-orange: rgba(239, 74, 35, 0.4);
    --text-main: #FFFFFF;
    --text-muted: #94a3b8;
    --header-bg: rgba(0, 0, 0, 0.95);
}

body.light-mode {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --border-dark: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #475569;
    --header-bg: rgba(255, 255, 255, 0.95);
}

body.light-mode .sleek-card-body h3 {
    color: #0f172a !important;
}
body.light-mode .footer-col h3 {
    color: #0f172a !important;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    width: 100%;
}
body {
    overflow-x: clip;
    width: 100%;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, .font-brand { font-family: 'Outfit', sans-serif; }
.highlight-yellow { color: var(--primary-yellow) !important; }
.highlight-orange { color: var(--primary-orange) !important; }

/* Sticky Header Wrapper (Binds both top-bar and header together seamlessly) */
.sticky-header-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1100;
    width: 100%;
}

/* Top Header Bar */
.top-bar {
    background: #050608;
    padding: 0.55rem 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: #94a3b8;
    border-bottom: 1px solid var(--border-dark);
}
body.light-mode .top-bar {
    background: #f1f5f9;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-dark);
}
.top-bar-left { display: flex; gap: 1.8rem; align-items: center; }
.top-bar-left a { color: #94a3b8; text-decoration: none; transition: color 0.2s; font-size: 0.88rem; }
body.light-mode .top-bar-left a { color: var(--text-muted); }
.top-bar-left a:hover { color: var(--primary-orange); }

.top-bar-right { display: flex; gap: 1.5rem; align-items: center; }
.top-nav-links { display: flex; gap: 1.4rem; align-items: center; }
.top-nav-item { position: relative; }
.top-nav-link {
    color: #cbd5e1; text-decoration: none; font-weight: 500; font-size: 0.88rem;
    display: inline-flex; align-items: center; gap: 4px; transition: color 0.2s;
    padding: 0.25rem 0;
}
body.light-mode .top-nav-link { color: var(--text-muted); }
.top-nav-link:hover, .top-nav-item:hover > .top-nav-link { color: var(--primary-orange); }
.top-dropdown {
    top: calc(100% + 6px); min-width: 250px; font-size: 0.9rem;
}
.top-nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.top-socials { display: flex; gap: 0.85rem; align-items: center; }
.top-socials a, .top-search-btn {
    color: #94a3b8; text-decoration: none; font-size: 0.92rem;
    background: none; border: none; cursor: pointer; transition: color 0.2s, transform 0.2s;
}
body.light-mode .top-socials a, body.light-mode .top-search-btn { color: var(--text-muted); }
.top-socials a:hover, .top-search-btn:hover { color: var(--primary-yellow); transform: scale(1.1); }
body.light-mode .top-socials a:hover, body.light-mode .top-search-btn:hover { color: var(--primary-orange); }

/* Main Header Navigation - Balanced, Confident & Non-Crowded */
header {
    background: var(--header-bg); backdrop-filter: blur(16px);
    padding: 0.85rem 3.5rem; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border-dark);
}
.logo-img { height: 60px; width: auto; object-fit: contain; }
body.light-mode .logo-dark-mode { display: none !important; }
body.light-mode .logo-light-mode { display: inline-block !important; }
nav { display: flex; gap: 1.4rem; align-items: center; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
    color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 0.95rem;
    padding: 0.5rem 0.4rem; display: inline-flex; align-items: center; gap: 5px;
    white-space: nowrap; transition: color 0.2s;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active { color: var(--primary-orange); }
.caret { font-size: 0.72rem; transition: transform 0.2s; opacity: 0.7; }
.nav-item:hover .caret, .top-nav-item:hover .caret { transform: rotate(180deg); color: var(--primary-orange); }

.mobile-only-nav-item, .mobile-drawer-only { display: none; }
.mobile-menu-toggle, .mobile-menu-close { display: none; }

.dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 290px;
    background: #090b10; border: 1px solid var(--border-dark);
    border-radius: 12px; padding: 0.7rem 0; box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1200;
}
body.light-mode .dropdown-menu { background: #ffffff; border-color: #e2e8f0; box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-item {
    display: block; padding: 0.65rem 1.25rem; color: var(--text-muted);
    text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: all 0.2s ease;
    white-space: nowrap;
}
.dropdown-item:hover { color: var(--primary-orange); background: rgba(239, 74, 35, 0.08); padding-left: 1.55rem; }

/* Multi-column Mega Menu */
.dropdown-menu.megamenu-cols {
    display: flex; gap: 1.8rem; padding: 1.4rem 1.6rem;
    min-width: 620px;
}
.dropdown-menu.megamenu-cols-3 {
    min-width: 820px;
}
.dropdown-menu.align-right {
    left: auto; right: 0;
}
.megamenu-col {
    flex: 1; min-width: 230px;
}
.megamenu-title {
    display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--primary-orange); padding: 0 0 0.55rem 0;
    margin-bottom: 0.5rem; border-bottom: 1px solid var(--border-dark);
}
body.light-mode .megamenu-title {
    border-bottom-color: #f1f5f9;
}
.megamenu-col .dropdown-item {
    padding: 0.5rem 0.6rem; border-radius: 6px; font-size: 0.92rem;
}
.megamenu-col .dropdown-item:hover {
    padding-left: 0.9rem;
}
.dropdown-menu.megamenu-grid { min-width: 330px; max-height: 480px; overflow-y: auto; }

.theme-toggle-btn {
    background: var(--bg-card); border: 1px solid var(--border-dark);
    color: var(--text-main); width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all 0.2s ease;
}
.theme-toggle-btn:hover { border-color: var(--primary-orange); transform: scale(1.05); }

.btn-orange {
    background: var(--primary-orange); color: #ffffff;
    padding: 0.75rem 1.6rem; border-radius: 30px; font-weight: 700;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;
    box-shadow: 0 4px 15px rgba(239, 74, 35, 0.3); transition: transform 0.2s, background-color 0.2s;
}
.btn-orange:hover { transform: translateY(-2px); background: var(--primary-orange-hover); }

.btn-outline {
    background: transparent; color: var(--text-main);
    padding: 0.75rem 1.6rem; border-radius: 30px; font-weight: 700;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border-dark); cursor: pointer;
    transition: transform 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-outline:hover {
    transform: translateY(-2px); background: transparent; border-color: var(--primary-orange); color: var(--primary-orange);
}

/* Improved Footer Design matching exact screenshot */
.site-footer {
    background: #000000;
    border-top: 1px solid var(--border-dark);
    padding: 4rem 5rem 2rem 5rem;
    color: var(--text-muted);
}
body.light-mode .site-footer {
    background: #f8fafc;
    border-top: 1px solid var(--border-dark);
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 1.4rem;
    font-weight: 700;
    position: relative;
}
.footer-col h3::after {
    content: '';
    display: block;
    width: 35px;
    height: 3px;
    background: var(--primary-orange);
    margin-top: 0.4rem;
    border-radius: 2px;
}

.footer-logo-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 1.2rem; }
.footer-logo { height: 48px; width: auto; }
.footer-tagline { color: var(--text-main); font-size: 0.92rem; line-height: 1.3; }
.footer-tagline strong { color: var(--primary-yellow); }

.footer-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 1.5rem;
}
body.light-mode .footer-desc {
    color: var(--text-muted);
}

.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
    width: 38px; height: 38px; border-radius: 50%;
    background: #1e222d; border: 1px solid #1e222d;
    display: flex; align-items: center; justify-content: center;
    color: #ffffff; text-decoration: none; font-size: 0.95rem; font-weight: bold;
    transition: all 0.2s ease;
}
body.light-mode .footer-socials a {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: var(--text-main);
}
.footer-socials a:hover {
    background: var(--primary-orange); border-color: var(--primary-orange); color: #ffffff; transform: translateY(-3px);
}
body.light-mode .footer-socials a:hover {
    color: #ffffff;
}

.footer-links-list, .footer-contact-list { list-style: none; padding: 0; }
.footer-links-list li { margin-bottom: 0.7rem; }
.footer-links-list a {
    color: #94a3b8; text-decoration: none; font-size: 0.95rem; transition: all 0.2s ease;
}
body.light-mode .footer-links-list a {
    color: var(--text-muted);
}
.footer-links-list a:hover { color: var(--primary-orange); padding-left: 6px; }

.footer-contact-list li {
    margin-bottom: 0.9rem; font-size: 0.95rem; line-height: 1.5; color: #94a3b8;
}
body.light-mode .footer-contact-list li {
    color: var(--text-muted);
}
.footer-contact-list a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
body.light-mode .footer-contact-list a {
    color: var(--text-muted);
}
.footer-contact-list a:hover { color: var(--primary-yellow); }
body.light-mode .footer-contact-list a:hover {
    color: var(--primary-orange);
}

.footer-bottom-bar {
    max-width: 1400px; margin: 0 auto;
    padding-top: 2rem; border-top: 1px solid #1e222d;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.85rem; color: #94a3b8;
}
body.light-mode .footer-bottom-bar {
    border-top: 1px solid var(--border-dark);
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .top-bar, header, .site-footer { padding-left: 2rem; padding-right: 2rem; }
    .footer-container { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Page Banners & Common Layout Components */
.page-banner {
    background: linear-gradient(180deg, #090b10 0%, var(--bg-dark) 100%);
    padding: 3.5rem 5rem 3rem 5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-dark);
}
.breadcrumbs {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}
.breadcrumbs a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--primary-yellow); }
.breadcrumbs .current { color: var(--text-muted); font-weight: 500; }

.page-banner h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 1rem; }
.page-banner p { font-size: 1.15rem; color: var(--text-muted); max-width: 780px; margin: 0 auto; }

.tech-section, .about-section, .details-section { padding: 4rem 5rem; max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 0.8rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }

/* Pillars Grid & Cards (About Page) */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin: 2.5rem 0 3.5rem 0;
}
.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 14px;
    padding: 1.8rem 1.4rem;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.pillar-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
}
.pillar-icon { font-size: 2.2rem; display: block; margin-bottom: 0.8rem; }
.pillar-card h4 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text-main); }
.pillar-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

.stats-banner {
    background: linear-gradient(135deg, rgba(239,74,35,0.1) 0%, rgba(248,238,6,0.05) 100%);
    border: 1px solid var(--border-orange);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    margin-top: 2.5rem;
}
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--primary-yellow); margin-bottom: 0.3rem; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }

@media (max-width: 1024px) {
    .grid-2, .grid-3, .pillars-grid, .stats-banner { grid-template-columns: repeat(2, 1fr); }
    .page-banner, .tech-section, .about-section, .details-section { padding-left: 2rem; padding-right: 2rem; }
    .top-bar { display: none; } /* Hide top bar on tablets/mobile */
    header { padding-left: 2rem; padding-right: 2rem; }
    nav { gap: 1rem; }
    .nav-link { font-size: 0.85rem; padding: 0.4rem; }
    .btn-orange { padding: 0.5rem 1rem; font-size: 0.8rem; }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .pillars-grid, .stats-banner { grid-template-columns: 1fr; }
    
    /* Header & Side Drawer adjustments for mobile */
    header { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; padding: 0.9rem 1.4rem; justify-content: space-between !important; align-items: center !important; width: 100%; }
    .logo-link { display: flex; align-items: center; max-width: 75vw; }
    .logo-img { height: 42px !important; width: auto !important; max-width: 100% !important; object-fit: contain; }
    
    .mobile-menu-toggle {
        display: flex; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; padding: 6px;
    }
    .mobile-menu-toggle span {
        width: 26px; height: 3px; background: var(--text-main); border-radius: 2px; transition: 0.3s;
    }

    /* Modern Mobile Slide-Over Drawer Container (Bigger & Cleaner) */
    .mobile-drawer-only { display: block !important; }
    .desktop-only-control { display: none !important; }

    nav.nav-menu { 
        position: fixed; top: 0; right: -100%; width: 92vw; max-width: 440px; height: 100vh; height: 100dvh;
        background: #090b10;
        flex-direction: column; justify-content: flex-start;
        align-items: stretch; padding: 0; margin: 0;
        box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85);
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1200; gap: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }
    body.light-mode nav.nav-menu {
        background: #ffffff;
        border-left: 1px solid #e2e8f0;
        box-shadow: -15px 0 50px rgba(0, 0, 0, 0.18);
    }
    nav.nav-menu.open { right: 0; }

    /* Drawer Header with Logo & Close Button */
    .drawer-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 1.1rem 1.4rem;
        background: #0d1117;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        position: sticky;
        top: 0;
        z-index: 10;
    }
    body.light-mode .drawer-header {
        background: #f8fafc;
        border-bottom: 1px solid #e2e8f0;
    }
    .drawer-logo-wrap { display: flex; align-items: center; }
    .drawer-logo { height: 38px; width: auto; object-fit: contain; }

    .mobile-menu-close {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--text-main);
        font-size: 1.2rem;
        line-height: 1;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    body.light-mode .mobile-menu-close {
        background: #e2e8f0;
        border-color: #cbd5e1;
        color: #0f172a;
    }
    .mobile-menu-close:hover {
        background: var(--primary-orange);
        border-color: var(--primary-orange);
        color: #ffffff;
    }

    /* Main Level Navigation Items */
    .nav-item { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
    body.light-mode .nav-item { border-bottom: 1px solid #f1f5f9; }
    
    .nav-link { 
        font-size: 1.05rem; font-weight: 600; padding: 1.05rem 1.4rem; width: 100%;
        display: flex; justify-content: space-between; align-items: center;
        border-bottom: none;
        color: var(--text-main);
        transition: background 0.2s, color 0.2s;
    }
    .nav-link.active, .nav-link:hover {
        background: rgba(239, 74, 35, 0.08);
        color: var(--primary-orange);
    }
    .mobile-only-nav-item { display: block !important; }

    /* Animated Submenu Caret Indicator */
    .caret {
        display: inline-flex; align-items: center; justify-content: center;
        width: 26px; height: 26px; border-radius: 6px;
        background: rgba(255, 255, 255, 0.06);
        font-size: 0.8rem; color: var(--text-muted);
        transition: transform 0.25s ease, background 0.2s, color 0.2s;
    }
    body.light-mode .caret {
        background: #f1f5f9;
        color: #475569;
    }
    .nav-item.mobile-dropdown-open > .nav-link .caret {
        transform: rotate(180deg);
        background: var(--primary-orange);
        color: #ffffff;
    }

    /* Accordion Mega Menu Submenus */
    .dropdown-menu, .dropdown-menu.megamenu-grid, .dropdown-menu.megamenu-cols, .dropdown-menu.megamenu-cols-3 { 
        position: static; opacity: 1; visibility: visible; transform: none; 
        box-shadow: none; border: none; background: rgba(0, 0, 0, 0.4); 
        display: none; width: 100%; min-width: 100%; max-height: max-content; 
        flex-direction: column; padding: 0.4rem 0 0.8rem 0; gap: 0.3rem;
        border-left: 3px solid var(--primary-orange);
    }
    body.light-mode .dropdown-menu {
        background: #f8fafc;
        border-left: 3px solid var(--primary-orange);
    }
    .nav-item.mobile-dropdown-open > .dropdown-menu { display: flex; }

    /* Accordion Groups inside Mega Menu */
    .megamenu-col {
        min-width: 100%;
        padding: 0.2rem 0;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    }
    .megamenu-col:last-child { border-bottom: none; }
    body.light-mode .megamenu-col {
        border-bottom: 1px dashed #e2e8f0;
    }
    
    .megamenu-title { 
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1.4rem 0.4rem 1.5rem;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: var(--primary-orange);
        border-bottom: none;
        cursor: pointer;
    }
    .megamenu-col-toggle::after {
        content: '▾';
        font-size: 0.85rem;
        transition: transform 0.2s ease;
    }
    .megamenu-col.sub-open .megamenu-col-toggle::after {
        transform: rotate(180deg);
    }

    .dropdown-item { 
        padding: 0.65rem 1.4rem 0.65rem 2rem;
        font-size: 0.94rem;
        color: var(--text-muted);
        white-space: normal;
        line-height: 1.4;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .dropdown-item:hover {
        color: var(--primary-orange);
        background: rgba(239, 74, 35, 0.05);
        padding-left: 2.3rem;
    }

    /* Drawer Bottom Utilities (Language, Theme & CTA) */
    .drawer-utilities {
        padding: 1.3rem 1.4rem 2.2rem 1.4rem;
        margin-top: 1.2rem;
        background: rgba(255, 255, 255, 0.02);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        flex-direction: column;
        gap: 1.1rem;
    }
    body.light-mode .drawer-utilities {
        background: #f8fafc;
        border-top: 1px solid #e2e8f0;
    }

    .drawer-controls-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .drawer-select-wrap {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .drawer-control-label {
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--text-muted);
    }
    .drawer-lang-select {
        width: 100%;
        background: #131722;
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: var(--text-main);
        font-size: 0.88rem;
        font-weight: 600;
        padding: 0.55rem 0.75rem;
        border-radius: 8px;
        cursor: pointer;
        outline: none;
    }
    body.light-mode .drawer-lang-select {
        background: #ffffff;
        border-color: #cbd5e1;
        color: #0f172a;
    }

    /* Upgraded Drawer Theme Toggle Button */
    .drawer-theme-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #131722;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        color: var(--text-main);
        padding: 0.55rem 0.75rem;
        cursor: pointer;
        align-self: flex-end;
        height: 38px;
        font-size: 0.88rem;
        font-weight: 600;
        transition: all 0.2s ease;
    }
    body.light-mode .drawer-theme-btn {
        background: #ffffff;
        border-color: #cbd5e1;
        color: #0f172a;
    }
    .drawer-theme-btn:hover {
        border-color: var(--primary-orange);
        color: var(--primary-orange);
    }
    .drawer-theme-icon { font-size: 1.1rem; }

    /* Elevated, High-Impact Drawer CTA Button */
    .drawer-cta-btn {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        background: linear-gradient(135deg, #ef4a23 0%, #ff6b3d 100%);
        color: #ffffff !important;
        font-size: 1.02rem;
        font-weight: 700;
        padding: 0.95rem 1.4rem;
        border-radius: 10px;
        text-decoration: none;
        box-shadow: 0 8px 25px rgba(239, 74, 35, 0.35);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        margin-top: 0.2rem;
    }
    .drawer-cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(239, 74, 35, 0.45);
    }
    .drawer-cta-arrow {
        font-size: 1.25rem;
        transition: transform 0.2s ease;
    }
    .drawer-cta-btn:hover .drawer-cta-arrow {
        transform: translateX(4px);
    }
    
    /* Footer adjustments */
    .site-footer { padding: 3rem 2rem 2rem 2rem; }
    .footer-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom-bar { flex-direction: column; text-align: center; gap: 1rem; }
}
@media (max-width: 480px) {
    .page-banner h1 { font-size: 2.2rem; }
    .section-header h2 { font-size: 1.8rem; }
    .contact-container { padding: 2rem 1.5rem; }
    .map-section { padding: 0 1.5rem; }
}

/* Cards & Content Elements */
.tech-card, .about-card, .service-box, .contact-info-card, .quote-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tech-card:hover, .about-card:hover, .service-box:hover, .contact-info-card:hover, .quote-form-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: 0 12px 30px rgba(239, 74, 35, 0.12);
}

.badge {
    background: rgba(239, 74, 35, 0.15); color: var(--primary-orange);
    padding: 0.35rem 0.8rem; border-radius: 20px; font-size: 0.78rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; display: inline-block; margin-bottom: 1rem;
}

.tech-card h3, .about-card h3, .service-box h3, .contact-info-card h3, .quote-form-card h3 {
    font-size: 1.35rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--text-main);
}
.tech-card p, .about-card p, .service-box p, .contact-info-card p {
    color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.2rem;
}

/* Languages Card (Specialized Services) */
.languages-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 3rem;
    margin-top: 3.5rem;
    text-align: center;
}
.languages-card h3 {
    font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-main);
}
.lang-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.lang-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}
.lang-pill:hover {
    background: rgba(239, 74, 35, 0.15);
    border-color: var(--primary-orange);
    transform: translateY(-3px);
}
body.light-mode .lang-pill {
    background: #f8fafc;
    border-color: #e2e8f0;
}

/* Spec Tables & Lists */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.88rem; }
.spec-table th, .spec-table td { padding: 0.65rem 0.5rem; text-align: left; border-bottom: 1px solid var(--border-dark); }
.spec-table th { color: var(--text-muted); font-weight: 600; width: 35%; }
.spec-table td { color: var(--text-main); font-weight: 500; }

.feature-list { list-style: none; padding: 0; margin-top: 1rem; }
.feature-list li { margin-bottom: 0.6rem; color: var(--text-muted); font-size: 0.92rem; position: relative; padding-left: 1.4rem; }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-orange); font-weight: bold; }

/* Contact Container & Forms */
.contact-container { max-width: 1400px; margin: 0 auto; padding: 4rem 5rem; display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
@media (max-width: 1024px) { .contact-container { grid-template-columns: 1fr; padding-left: 2rem; padding-right: 2rem; } }

.form-group { margin-bottom: 1.4rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--text-main); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.85rem 1rem; background: #06070a; border: 1px solid var(--border-dark);
    border-radius: 10px; color: var(--text-main); font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s;
}
body.light-mode .form-group input, body.light-mode .form-group select, body.light-mode .form-group textarea { background: #ffffff; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-orange); }

.success-toast {
    display: none;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}
/* Interactive Regional Map Section */
.map-section {
    max-width: 1400px;
    margin: 0 auto 4rem auto;
    padding: 0 5rem;
}
.map-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 2rem;
    overflow: hidden;
}
.map-card h3 {
    font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-main);
}
.map-card p {
    color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem;
}
.map-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-dark);
}
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) contrast(1.1);
}
body.light-mode .map-wrapper iframe {
    filter: none;
}
@media (max-width: 1024px) {
    .map-section { padding: 0 2rem; }
    .map-wrapper { height: 320px; }
}

/* --- Services Premium Layout (Inspired by DLC Concept) --- */
.service-hero {
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--border-dark); /* Fallback if image fails */
    display: flex;
    align-items: flex-end;
}
.service-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.service-title-tab {
    position: relative;
    z-index: 2;
    background: var(--bg-card); /* Changed to card to stand out in dark mode */
    padding: 1.5rem 4rem;
    border-radius: 30px 30px 0 0;
    margin-left: 5%;
    transform: translateY(1px); /* Prevent gap */
    display: inline-block;
    border-top: 1px solid var(--border-orange);
    border-left: 1px solid var(--border-orange);
    border-right: 1px solid var(--border-orange);
}
.service-title-tab h1 {
    margin: 0;
    font-size: 2.2rem;
    color: var(--text-main);
}

.service-zigzag {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.zigzag-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}
.zigzag-row.reverse {
    flex-direction: row-reverse;
}
.zigzag-text {
    flex: 1;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}
.zigzag-text h2 {
    color: var(--text-main);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.zigzag-image {
    flex: 1;
}
.zigzag-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    object-fit: cover;
}

.service-cta-ribbon {
    background: #040507;
    padding: 4rem 5%;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.cta-ribbon-text {
    text-align: left;
}
.cta-ribbon-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-yellow);
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto 5rem auto;
}
.faq-accordion h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: var(--text-main);
}
.faq-item {
    border-bottom: 1px solid var(--border-dark);
    padding: 1.5rem 0;
}
.faq-question {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    margin-top: 1rem;
    color: var(--text-muted);
    display: none;
    line-height: 1.6;
}
.faq-question.active + .faq-answer {
    display: block;
}

@media (max-width: 900px) {
    .zigzag-row, .zigzag-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    .service-cta-ribbon {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .cta-ribbon-text { text-align: center; }
}

/* ========================================================
   BLOG & ARTICLES SYSTEM
   ======================================================== */
.blog-filter-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3.5rem;
}
.blog-filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    color: var(--text-muted);
    padding: 0.55rem 1.3rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.blog-filter-btn:hover, .blog-filter-btn.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(239, 74, 35, 0.3);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    margin-bottom: 4rem;
}
@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
}
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* Featured Hero Blog Card */
.blog-featured-card {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
}
.blog-featured-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-orange);
    box-shadow: 0 15px 40px rgba(239, 74, 35, 0.15);
}
.blog-featured-img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}
.blog-featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 900px) {
    .blog-featured-card { grid-template-columns: 1fr; }
    .blog-featured-img { min-height: 240px; max-height: 300px; }
    .blog-featured-content { padding: 2rem 1.6rem; }
}

/* Standard Blog Card */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
}
.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: 0 14px 35px rgba(239, 74, 35, 0.14);
}
.blog-card-media {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0d1117;
}
.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}
.blog-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(9, 11, 16, 0.85);
    backdrop-filter: blur(8px);
    color: var(--primary-orange);
    border: 1px solid rgba(239, 74, 35, 0.4);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
}
.blog-card-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}
.blog-meta span { display: inline-flex; align-items: center; gap: 4px; }
.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}
.blog-card:hover .blog-card-title {
    color: var(--primary-orange);
}
.blog-card-excerpt {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.4rem;
    flex: 1;
}
.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-orange);
}
body.light-mode .blog-card-footer {
    border-top: 1px solid #f1f5f9;
}
.blog-read-arrow {
    transition: transform 0.2s ease;
}
.blog-card:hover .blog-read-arrow {
    transform: translateX(4px);
}

/* Full Article Pages */
.article-header {
    padding: 3.5rem 5% 2.5rem 5%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.article-tag {
    display: inline-block;
    background: rgba(239, 74, 35, 0.15);
    color: var(--primary-orange);
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.article-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 1.3rem;
}
.article-meta-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    flex-wrap: wrap;
}
.article-hero-wrap {
    max-width: 1200px;
    margin: 0 auto 3.5rem auto;
    padding: 0 5%;
}
.article-hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--border-dark);
}
@media (max-width: 768px) {
    .article-header h1 { font-size: 2rem; }
    .article-hero-img { height: 260px; }
}

.article-layout {
    max-width: 1200px;
    margin: 0 auto 5rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 3.5rem;
    align-items: start;
}
@media (max-width: 992px) {
    .article-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

.article-content {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #cbd5e1;
}
body.light-mode .article-content {
    color: #334155;
}
.article-content h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 2.5rem 0 1rem 0;
    line-height: 1.3;
}
.article-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 2rem 0 0.8rem 0;
}
.article-content p {
    margin-bottom: 1.4rem;
}
.article-content ul, .article-content ol {
    margin: 1.2rem 0 1.6rem 1.8rem;
}
.article-content li {
    margin-bottom: 0.6rem;
}

/* Callout Box / Key Takeaways */
.article-takeaways {
    background: linear-gradient(135deg, rgba(239, 74, 35, 0.08) 0%, rgba(248, 238, 6, 0.04) 100%);
    border: 1px solid var(--border-orange);
    border-left: 5px solid var(--primary-orange);
    border-radius: 12px;
    padding: 1.8rem 2rem;
    margin: 2.2rem 0;
}
.article-takeaways h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.article-takeaways ul {
    margin: 0 0 0 1.2rem;
    padding: 0;
}
.article-takeaways li {
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

/* Blockquote */
.article-quote {
    border-left: 4px solid var(--primary-yellow);
    padding: 1rem 1.6rem;
    margin: 2rem 0;
    font-style: italic;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 12px 12px 0;
    color: var(--text-main);
    font-size: 1.15rem;
    line-height: 1.6;
}
body.light-mode .article-quote {
    background: #f8fafc;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.article-sidebar-box {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 1.8rem;
}
.article-sidebar-box h4 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 1.2rem;
    position: relative;
}
.article-sidebar-box h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary-orange);
    margin-top: 0.4rem;
    border-radius: 2px;
}
.sidebar-author {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 1rem;
}
.sidebar-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary-orange);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.sidebar-author-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}
.sidebar-author-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.sidebar-recent-link {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.92rem;
    line-height: 1.4;
    transition: color 0.2s ease, padding 0.2s ease;
}
body.light-mode .sidebar-recent-link {
    border-bottom: 1px solid #f1f5f9;
}
.sidebar-recent-link:last-child { border-bottom: none; }
.sidebar-recent-link:hover {
    color: var(--primary-orange);
    padding-left: 6px;
}

