/* ==========================================================================
   STYLE.CSS - Base, Grid, Theme Variables, Layout & Responsiveness
   ========================================================================== */

:root {
    --bg-primary: #f8f9fa;
    --bg-card: rgba(255, 255, 255, 0.96);
    --text-primary: #1f2937;
    --text-muted: #6b7280;
    --accent-blue: #0062cc;
    --accent-cyan: #00d2ff;
    --accent-glow: rgba(0, 98, 204, 0.25);
    --border-color: #e5e7eb;
    --topbar-bg: #0d1b2a;
    --nav-bg: rgba(255, 255, 255, 0.98);
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    --tech-font: 'Orbitron', 'Rajdhani', sans-serif;
    --body-font: 'Roboto', sans-serif;

    /* Dynamic Fluid Spacing Scale (Optimized for FHD 1080p and lower resolutions) */
    --space-xs: clamp(0.25rem, 0.4vw, 0.5rem);
    --space-sm: clamp(0.5rem, 0.8vw, 0.875rem);
    --space-md: clamp(0.875rem, 1.5vw, 1.5rem);
    --space-lg: clamp(1.25rem, 2.5vw, 2.5rem);
    /* Auto gap between main sections (Scales from 2rem on mobile to ~4rem on 1080p desktop) */
    --space-xl: clamp(2rem, 4vw + 0.5rem, 4.25rem);
}

[data-theme="dark"] {
    --bg-primary: #0a0f1d;
    --bg-card: rgba(16, 24, 48, 0.92);
    --text-primary: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-blue: #00d2ff;
    --accent-cyan: #0062cc;
    --accent-glow: rgba(0, 210, 255, 0.3);
    --border-color: #1e293b;
    --topbar-bg: #030712;
    --nav-bg: rgba(10, 15, 29, 0.98);
    --card-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--body-font);
    font-size: clamp(13px, 0.8vw + 8px, 18px);
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* Reduced motion preference fix for accessibility & performance */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.2s ease, color 0.2s ease;
    /* Enable GPU rendering boost for scroll smoothness */
    -webkit-overflow-scrolling: touch;
}

/* Dynamic Fluid Heading Scale for All Devices */
h1 { font-size: clamp(1.6rem, 3.5vw + 0.5rem, 3.8rem); line-height: 1.15; }
h2 { font-size: clamp(1.35rem, 2.5vw + 0.4rem, 2.8rem); line-height: 1.2; }
h3 { font-size: clamp(0.95rem, 1.6vw + 0.3rem, 1.75rem); line-height: 1.25; }
h4 { font-size: clamp(0.85rem, 1.2vw + 0.2rem, 1.35rem); line-height: 1.3; }
h5 { font-size: clamp(0.78rem, 0.9vw + 0.2rem, 1.15rem); line-height: 1.35; }
h6 { font-size: clamp(0.7rem, 0.7vw + 0.2rem, 0.95rem); line-height: 1.4; }

/* Background Texture Canvas */
#techCanvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
    will-change: transform;
}

/* Section Vertical Spacing */
.page-section {
    padding: var(--space-xl) 0; /* Balanced auto top/bottom gap */
    scroll-margin-top: 28px; /* Aligns smooth scroll offset under sticky header */
}

/* Typography & Utility */
a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

ul { list-style: none; }
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

.container {
    width: min(92%, 1400px);
    margin: 0 auto;
    padding: 0 clamp(10px, 2vw, 30px);
}

.container-narrow {
    width: min(92%, 950px);
    margin: 0 auto;
}

.section-title-tech {
    font-family: var(--tech-font);
    text-align: center;
    font-size: clamp(1.3rem, 2.2vw + 0.4rem, 2.6rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sub-section-title {
    font-family: var(--tech-font);
    font-size: clamp(0.95rem, 1.4vw + 0.2rem, 1.6rem);
    color: var(--accent-blue);
    margin: var(--space-md) 0 var(--space-sm) 0;
    border-left: 4px solid var(--accent-blue);
    padding-left: 10px;
}

.section-lead {
    font-size: clamp(0.85rem, 0.95vw + 0.2rem, 1.2rem);
    color: var(--text-muted);
    max-width: min(100%, 850px);
    margin: 0 auto var(--space-lg) auto;
}

/* Layout Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(15px, 2vw, 30px); scroll-margin-top: 55px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(15px, 2vw, 30px); scroll-margin-top: 55px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(15px, 2vw, 30px); scroll-margin-top: 55px; }

/* Corporate Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(6px, 0.7vw, 12px) clamp(12px, 1.3vw, 26px);
    font-family: var(--tech-font);
    font-size: clamp(0.7rem, 0.8vw, 0.9rem);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), #004085);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-glow); }

.btn-outline { border: 2px solid var(--accent-blue); color: var(--accent-blue); background: transparent; }
.btn-outline:hover { background: var(--accent-blue); color: #ffffff; }

.btn-quote { background: #ff6b00; color: #ffffff; }
.btn-quote:hover { background: #e05d00; }

.btn-support { background: #10b981; color: #ffffff; }
.btn-support:hover { background: #059669; }

.btn-info { background: #6366f1; color: #ffffff; }

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    font-size: clamp(0.8rem, 0.9vw, 1rem);
    padding: clamp(8px, 0.9vw, 14px) clamp(16px, 1.8vw, 28px);
}

.btn-sm { padding: 5px 12px; font-size: clamp(0.65rem, 0.75vw, 0.8rem); }
.btn-xs { padding: 3px 6px; font-size: clamp(0.6rem, 0.65vw, 0.72rem); border-radius: 3px; background: var(--border-color); color: var(--text-primary); }
.btn-block { display: flex; width: 100%; text-align: center; }

/* Top Bar */
.top-bar {
    background: var(--topbar-bg);
    color: #d1d5db;
    font-size: clamp(0.7rem, 0.75vw, 0.85rem);
    padding: clamp(5px, 0.4vw, 8px) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-container {
    width: min(92%, 1400px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span { margin-right: 15px; }
.top-info a { color: #d1d5db; }

.top-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch-btn, .theme-toggle-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #ffffff;
    padding: 3px 8px;
    font-size: clamp(0.65rem, 0.7vw, 0.8rem);
    border-radius: 3px;
    cursor: pointer;
}

/* Sticky Navbar - Hardware Accelerated for Smooth Scrolling */
.navbar-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--nav-bg);
    box-shadow: var(--card-shadow);
    border-bottom: 1px solid var(--border-color);
    transform: translateZ(0); /* Hardware Acceleration */
}

.nav-container {
    width: min(92%, 1400px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: clamp(50px, 4vw, 70px);
}

.brand-logo { display: flex; flex-direction: column; }

.logo-text, .logo-text1 {
    font-family: var(--tech-font);
    font-size: clamp(1.1rem, 1.4vw, 1.7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 3.5px;
}
.logo-text { color: var(--text-primary); }
.logo-text1 { color: var(--accent-blue); }
.logo-text1 .highlight, .logo-text .highlight { color: #ff6b00; }

.logo-sub { 
    font-size: clamp(0.42rem, 0.5vw, 0.6rem); 
    color: var(--text-muted); 
    letter-spacing: 0.7px; 
    font-weight: 900; 
    text-transform: uppercase; 
}

.desktop-nav .nav-links {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 18px);
}

.nav-link {
    font-family: var(--tech-font);
    font-size: clamp(0.65rem, 0.75vw, 0.85rem);
    font-weight: 600;
    color: var(--text-primary);
    padding: 8px 0;
    position: relative;
}

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

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-primary);
    cursor: pointer;
}

/* Compact Mega Menu Height & Auto-fit Headings */
.has-megamenu { position: relative; }

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: max-content;
    min-width: clamp(300px, 80vw, 880px);
    max-width: 95vw;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    border-radius: 6px;
    padding: clamp(8px, 1vw, 14px);
    display: grid;
    grid-template-columns: repeat(3, minmax(max-content, 1fr));
    gap: clamp(12px, 1.5vw, 20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1100;
}

.mega-menu.dual-column { 
    width: max-content;
    min-width: clamp(280px, 65vw, 600px); 
    grid-template-columns: repeat(2, minmax(max-content, 1fr)); 
}

.has-megamenu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu.is-closed {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-50%) translateY(10px) !important;
}

.mega-column h3 {
    font-family: var(--tech-font);
    font-size: clamp(0.68rem, 0.75vw, 0.82rem);
    color: var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 3px;
    margin-bottom: 6px;
    line-height: 1.2;
    white-space: nowrap;
}

.mega-column ul li { margin-bottom: 4px; }

.mega-column ul li a {
    color: var(--text-primary);
    font-size: clamp(0.68rem, 0.72vw, 0.8rem);
    display: block;
    padding: 2px 0;
}

.mega-column ul li a:hover { color: var(--accent-blue); transform: translateX(3px); }

/* Mobile Navigation Drawer */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1999;
    opacity: 0; 
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-drawer {
    position: fixed;
    top: 0; 
    right: -300px; 
    width: 300px; 
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-card);
    z-index: 2000;
    box-shadow: -5px 0 25px rgba(0,0,0,0.3);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

body.drawer-open .mobile-drawer { transform: translateX(-300px); }
body.drawer-open .mobile-drawer-overlay { opacity: 1; visibility: visible; }

.mobile-drawer-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-drawer-close { background: none; border: none; font-size: 1.4rem; color: var(--text-primary); cursor: pointer; }
.mobile-drawer-body { padding: 16px; overflow-y: auto; flex: 1; }

.mobile-nav-list li { margin-bottom: 10px; }
.mobile-nav-list a { color: var(--text-primary); font-family: var(--tech-font); font-size: clamp(0.8rem, 1vw, 0.9rem); display: block; }

.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--tech-font);
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    cursor: pointer;
}

.accordion-content {
    display: none;
    padding-left: 10px;
    margin-top: 6px;
    border-left: 2px solid var(--accent-blue);
}

.accordion-content strong { display: block; font-size: clamp(0.65rem, 0.7vw, 0.75rem); color: var(--accent-blue); margin-top: 6px; text-transform: uppercase; }
.accordion-content a { font-size: clamp(0.72rem, 0.78vw, 0.82rem); margin-top: 3px; color: var(--text-muted); }

/* Hero Section */
/* Full-Screen Hero Section Responsive Fix */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Fills full vertical screen space on load */
    height: 100dvh; /* Dynamic viewport height fix for mobile browsers */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(2rem, 5vh, 6rem) clamp(1rem, 3vw, 3rem);
    overflow: hidden;
}
/* Ensure inner container occupies full vertical distribution nicely */
.hero-section .container,
.hero-section .container-narrow {
    width: min(92%, 1400px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-family: var(--tech-font);
    font-size: clamp(1.6rem, 3.6vw + 0.5rem, 4rem);
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
    background: linear-gradient(165deg, var(--text-primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.2vw + 0.1rem, 1.4rem);
    color: var(--text-muted);
    max-width: min(100%, 850px);
    margin: 0 auto var(--space-md) auto;
}

.hero-dynamic-text-box {
    font-family: var(--tech-font);
    font-size: clamp(0.95rem, 1.3vw + 0.1rem, 1.6rem);
    color: #ff6b00;
    min-height: 2.2rem;
    margin-bottom: var(--space-md);
}

.hero-cta-group { 
    display: flex; 
    justify-content: center; 
    gap: clamp(8px, 1.5vw, 20px); 
    flex-wrap: wrap; 
}

/* Tech Box Cards */
.tech-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: clamp(14px, 1.5vw, 26px);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 65px;
}

.tech-box h3 {
    font-family: var(--tech-font);
    font-size: clamp(0.9rem, 1.1vw + 0.2rem, 1.35rem);
    margin-bottom: 8px;
    color: var(--accent-blue);
    line-height: 1.25;
}

.tech-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 5px;
    font-size: clamp(0.78rem, 0.85vw, 0.95rem);
}

.tech-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 0.5rem;
    top: 3px;
}

.box-tag {
    font-family: var(--tech-font);
    font-size: clamp(0.65rem, 0.7vw, 0.75rem);
    color: #ff6b00;
    margin-top: 10px;
    font-weight: 600;
}

/* Ribbons */
.ribbon {
    position: absolute;
    top: 12px;
    right: -30px;
    transform: rotate(45deg);
    width: 110px;
    text-align: center;
    font-family: var(--tech-font);
    font-size: clamp(0.55rem, 0.6vw, 0.65rem);
    font-weight: 700;
    color: #ffffff;
    padding: 2px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.ribbon-popular { background: #ff6b00; }
.ribbon-enterprise { background: #0062cc; }
.ribbon-retail { background: #10b981; }

/* Product Accordion Horizontal UI */
.product-accordion-wrapper { display: flex; flex-direction: column; gap: 8px; }

.prod-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.prod-header {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--tech-font);
    font-weight: 600;
    font-size: clamp(0.85rem, 1vw, 1.1rem);
}

.prod-body {
    display: none;
    padding: 15px;
    border-top: 1px solid var(--border-color);
}

.prod-split { display: grid; grid-template-columns: minmax(120px, 160px) 1fr; gap: 44px; align-items: center; }
.prod-img img { width: 100%; height: 100px; object-fit: cover; border-radius: 4px; }

/* ==========================================================================
   PRODUCTS SECTION COLOR & TYPOGRAPHY STYLING (THEME VARIABLE ALIGNED)
   ========================================================================== */

/* 1. Main Heading Accent */
#products .section-title-tech {
    color: var(--text-primary);
    letter-spacing: 2px;
    position: relative;
    transition: color 0.2s ease;
}
/* Product section-title-tech Disabled */
/*
#products .section-title-tech u {
    text-decoration: none;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 4px;
}
*/

/* 2. Product Title (H4) & Paragraph Description */
.prod-desc h4 {
    color: var(--accent-blue);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.prod-desc p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

/* 3. Product Features Item List */
.prod-desc {
    display: flex;
    flex-direction: column;
}

.prod-desc .prod-list li {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.45rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

/* Custom Tech Bullet Icon before each <li> */
.prod-desc .prod-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-blue);
    font-size: 1.1rem;
    line-height: 1;
    transition: color 0.2s ease;
}

/* 4. Badges / Tags Styling */
.badge-border-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0 1rem 0;
}

.badge-border {
    background: var(--accent-glow);
    color: var(--accent-blue);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
}

.badge-border:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* 5. Inquire Button Enhancements */
.prod-desc .btn-support {
    align-self: flex-start;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    color: #ffffff;
    border: none;
    padding: 0.55rem 1.25rem;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px var(--accent-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prod-desc .btn-support:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--accent-glow);
}

/* 5. Inquire Button Enhancements */
.prod-desc .btn-support {
    align-self: flex-start;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    color: #ffffff;
    border: none;
    padding: 0.55rem 1.25rem;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prod-desc .btn-support:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 210, 255, 0.4);
}



/* Team Section */
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.team-img-wrapper { position: relative; height: clamp(150px, 13vw, 230px); overflow: hidden; }
.team-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.team-card:hover .team-img-wrapper img { transform: scale(1.05); }

.team-socials {
    position: absolute;
    bottom: -40px;
    left: 0; width: 100%;
    background: rgba(0,0,0,0.7);
    padding: 5px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    transition: bottom 0.25s ease;
}

.team-card:hover .team-socials { bottom: 0; }
.team-socials a { color: #ffffff; font-size: 0.8rem; }

.team-info { padding: 10px; }
.team-info h4 { font-family: var(--tech-font); font-size: clamp(0.8rem, 0.95vw, 1.1rem); margin-bottom: 2px; }
.team-info p { font-size: clamp(0.7rem, 0.75vw, 0.85rem); color: var(--text-muted); }

/* Promo Limited Section */
.promo-banner-box {
    background: var(--bg-card);
    border: 2px solid #ff6b00;
    border-radius: 12px;
    padding: clamp(16px, 3vw, 40px) clamp(10px, 2vw, 25px);
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.12);
}

.price-display { margin: 12px 0; }
.price-num { font-family: var(--tech-font); font-size: clamp(1.8rem, 3.5vw + 0.3rem, 3.8rem); font-weight: 900; color: #ff6b00; display: inline-block; }
.currency-label { font-family: var(--tech-font); font-size: clamp(0.8rem, 1.1vw, 1.2rem); margin-left: 4px; color: var(--text-primary); }

.promo-feature-list { max-width: 450px; margin: 12px auto; text-align: left; }
.promo-feature-list li { margin-bottom: 5px; font-size: clamp(0.78rem, 0.85vw, 0.95rem); }
.promo-feature-list i { color: #10b981; margin-right: 6px; }

/* Contact Forms */
.form-group { margin-bottom: 10px; text-align: left; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.form-group label { display: block; font-size: clamp(0.7rem, 0.75vw, 0.82rem); font-family: var(--tech-font); margin-bottom: 3px; }

.form-control {
    width: 100%;
    padding: 7px 10px;
    font-size: clamp(0.78rem, 0.85vw, 0.92rem);
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.04);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--body-font);
}

.arabic-company-title { font-size: clamp(0.9rem, 1vw, 1.15rem); font-weight: 700; color: var(--accent-blue); margin-bottom: 4px; }
.contact-info-list li { margin-bottom: 8px; font-size: clamp(0.78rem, 0.85vw, 0.92rem); }
.contact-info-list i { color: var(--accent-blue); width: 20px; }

/* Floating Action Bar - Optimized for High FPS Scroll */
.floating-actions-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1500;
    padding: 8px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateZ(0);
}

[data-theme="dark"] .floating-actions-wrapper {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
}

.float-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    position: relative;
    transition: transform 0.2s ease;
}

.float-theme {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--text-primary);
    color: var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-theme:hover { color: var(--accent-blue); border-color: var(--accent-blue); }
.float-btn:hover { transform: scale(1.08); }

.float-shop { background: #8b5cf6; }
.float-wa { background: #25d366; }
.float-call { background: #0062cc; }
.float-quote { background: #ff6b00; }

.float-tooltip {
    position: absolute;
    left: 48px;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 0.68rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.float-btn:hover .float-tooltip { opacity: 1; }

/* Circular AED 499 Promo Floating Button */
.circular-float-promo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: clamp(70px, 6vw, 90px);
    height: clamp(70px, 6vw, 90px);
    cursor: pointer;
    z-index: 1500;
    transform: translateZ(0);
}

.circular-text-svg {
    width: 100%;
    height: 100%;
    animation: rotateCircle 12s linear infinite;
    will-change: transform;
}

@keyframes rotateCircle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.inner-circle-badge {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(40px, 3.5vw, 52px);
    height: clamp(40px, 3.5vw, 52px);
    border-radius: 50%;
    background: #ff6b00;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.5);
    animation: heartbeat 1.8s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.06); }
}

.inner-circle-badge .currency { font-size: clamp(0.45rem, 0.5vw, 0.55rem); font-weight: 700; line-height: 1; }
.inner-circle-badge .price { font-family: var(--tech-font); font-size: clamp(0.8rem, 0.9vw, 1rem); font-weight: 900; line-height: 1; }

/* Scroll-To-Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 120px;
    right: 25px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 98, 204, 0.2);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1400;
    transform: translateZ(0);
}

.scroll-to-top.show { opacity: 1; visibility: visible; }

/* Footer */
.site-footer {
    background: var(--topbar-bg);
    color: #9ca3af;
    padding: var(--space-xl) 0 var(--space-md) 0;
    font-size: clamp(0.75rem, 0.8vw, 0.9rem);
    border-top: 1px solid var(--border-color);
}

.site-footer h4 {
    font-family: var(--tech-font);
    color: #ffffff;
    font-size: clamp(0.8rem, 0.9vw + 0.1rem, 1.1rem);
    margin-bottom: 10px;
}

.footer-links li { margin-bottom: 5px; }
.footer-links a { color: #9ca3af; }
.footer-links a:hover { color: var(--accent-blue); }
.footer-contact-line { margin-bottom: 6px; }
.footer-bottom { margin-top: 30px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.72rem; }

/* RTL Arabic Direction Handling */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .text-center { text-align: center; }
[dir="rtl"] .sub-section-title { border-left: none; border-right: 4px solid var(--accent-blue); padding-left: 0; padding-right: 10px; }
[dir="rtl"] .tech-list li { padding-left: 0; padding-right: 14px; }
[dir="rtl"] .tech-list li::before { left: auto; right: 0; }
[dir="rtl"] .ribbon { right: auto; left: -30px; transform: rotate(-45deg); }
[dir="rtl"] .floating-actions-wrapper { left: auto; right: 20px; }
[dir="rtl"] .circular-float-promo { right: auto; left: 20px; }
[dir="rtl"] .float-tooltip { left: auto; right: 48px; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (min-width: 2000px) {
    .container { max-width: 1700px; }
    .hero-subtitle, .section-lead { max-width: 1050px; }
}

/* Standard Desktop / Full HD Displays (1980x1020 / 1920x1080 Viewports) */
@media (max-width: 1980px) {
    .page-section {
        padding: clamp(2.5rem, 3.5vw, 4rem) 0;
    }
}



@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }

    .has-megamenu { position: static; }

    .mega-menu {
        position: fixed;
        top: 40px;
        left: 50% !important;
        transform: translateX(-50%) translateY(10px) !important;
        width: 92vw !important;
        max-width: 820px;
        grid-template-columns: repeat(3, minmax(max-content, 1fr));
        padding: 10px;
        gap: 12px;
    }
	
.page-section {
        padding: clamp(2rem, 3vw, 3rem) 0;
    }
	
    .mega-menu.dual-column {
        width: 80vw !important;
        max-width: 560px;
        grid-template-columns: repeat(2, minmax(max-content, 1fr));
    }

    .mega-column h3 { 
        white-space: nowrap;
        font-size: clamp(0.65rem, 0.7vw, 0.78rem); 
        padding-bottom: 2px; 
        margin-bottom: 4px; 
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    .page-section {
        padding: clamp(1.75rem, 4vw, 2.25rem) 0;
    }
	.top-info span:not(:first-child) { display: none; }
    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
    .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .prod-split { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .circular-float-promo { display: none !important; }

    .floating-actions-wrapper {
        bottom: 10px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 6px 12px;
        border-radius: 25px;
        max-width: 90vw;
        width: auto;
    }

    [dir="rtl"] .floating-actions-wrapper {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .float-tooltip { display: none; }
}

/* Micro Mobile Screens (< 400px) */
@media (max-width: 400px) {
.page-section {
        padding: 1.5rem 0;
    }   
   .floating-actions-wrapper {
        bottom: 6px;
        padding: 4px 8px;
        gap: 5px;
        border-radius: 20px;
        max-width: 95vw;
    }

    .float-btn, .float-theme {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .scroll-to-top {
        bottom: 70px;
        right: 10px;
        width: 32px;
        height: 32px;
    }
}

/* Specific Wrap Trigger at 200px Viewport */
@media (max-width: 200px) {
    .floating-actions-wrapper {
        flex-wrap: wrap !important;
        justify-content: center;
        max-width: 100vw;
        padding: 4px;
        gap: 4px;
        border-radius: 16px;
    }

    .float-btn, .float-theme {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
}