/* =========================================================================
   1. SHARED VARIABLES & RESET
   ========================================================================= */
:root {
    /* Palette: Deep Tech Core */
    --bg-body: #0a0c10;       
    --bg-card: #161b22;       
    --text-main: #ffffff;
    --text-muted: #8b949e;

    /* Primary Accents */
    --accent: #4f46e5;        
    --accent-glow: #818cf8;   
    --accent-gold: #fbbf24;
    
    /* Access Control Accents */
    --accent-mobile: #10b981; 
    --accent-bio: #3b82f6;    
    --accent-intercom: #f59e0b; 
    --accent-cloud: #8b5cf6;  

    /* A/V Systems Accents */
    --accent-tv: #3b82f6;      
    --accent-audio: #8b5cf6;   
    --accent-walls: #06b6d4;   
    --accent-cinema: #ef4444;  

    /* Spacing & Borders */
    --radius: 16px;
    --padding: 2rem;
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { 
    scroll-behavior: smooth; 
    overflow-x: hidden !important; 
    width: 100%; 
    position: relative; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
}

/* =========================================================================
   2. TYPOGRAPHY & HEADINGS
   ========================================================================= */
h1 {
    font-weight: 800; 
    letter-spacing: -2px; 
    margin-bottom: 20px; 
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff, #9ca3af);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
}
.hero-title-big { font-size: clamp(3rem, 7vw, 6.5rem); display: block; }
.hero-title-sub { font-size: clamp(2rem, 5vw, 4.5rem); display: block; }

.subtitle { font-size: 1.3rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 40px; font-weight: 300; }
.section-header { margin-bottom: 40px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px; color: var(--accent-glow); opacity: 0.8; text-align: center; }

/* =========================================================================
   3. BUTTONS & BADGES
   ========================================================================= */
.primary-btn {
    display: inline-block; background: white; color: black; padding: 10px 25px; 
    border-radius: 50px; text-decoration: none; font-weight: 700; transition: transform 0.3s; font-size: 0.9rem;
}
.primary-btn:hover { transform: scale(1.05); background: #f3f4f6; }

.cta-button {
    background-color: var(--accent); color: white; padding: 1rem 2.5rem; border-radius: 50px; 
    text-decoration: none; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 0 20px rgba(79, 70, 229, 0.4); 
    border: 1px solid rgba(255,255,255,0.1); display: inline-block;
}
.cta-button:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 0 40px rgba(79, 70, 229, 0.8); background-color: #4338ca; }

.hero-badge { 
    background: var(--accent); color: white; padding: 6px 14px; border-radius: 4px; 
    font-weight: 700; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 25px; display: inline-block; box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.badge {
    display: inline-block; background: rgba(16, 185, 129, 0.1); color: #34d399; padding: 6px 14px;
    border-radius: 100px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.5px;
    margin-bottom: 20px; border: 1px solid rgba(52, 211, 153, 0.2); width: fit-content;
}

.tech-btn {
    background: transparent; border: none; color: var(--text-muted); padding: 10px 25px; 
    border-radius: 40px; cursor: pointer; font-weight: 700; font-size: 0.85rem; transition: all 0.3s ease; margin: 3px;
}
.tech-btn.active { background: white; color: black; box-shadow: 0 4px 15px rgba(255,255,255,0.2); }

/* =========================================================================
   4. NAVIGATION BAR (Includes Dropdown)
   ========================================================================= */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; padding: 30px 5%; 
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; background: transparent; border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(10, 12, 16, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05); padding: 15px 5%; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: slideDownNav 0.3s ease-out;
}
@keyframes slideDownNav { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.logo-img { height: 45px; width: auto; display: block; transition: height 0.3s ease; }
.navbar.scrolled .logo-img { height: 35px; }
.logo-img:hover { opacity: 0.8; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-link, .nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s ease; position: relative; cursor: pointer; }
.nav-link:hover, .nav-links a:hover { color: var(--text-main); }

/* Dropdowns */
.nav-item-dropdown { position: relative; padding: 10px 0; }
.dropdown-menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px);
    background: #161b22; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 10px; min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 1100;
}
.dropdown-menu.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-item {
    display: block; padding: 10px 15px; color: var(--text-muted); text-decoration: none; font-size: 0.95rem; border-radius: 6px; transition: all 0.2s; cursor: pointer;
}
.dropdown-item:hover { background: rgba(255,255,255,0.05); color: white; }
.submenu {
    display: none; margin-left: 15px; margin-top: 5px; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 5px; background: rgba(0,0,0,0.2); border-radius: 0 0 6px 6px;
}
.submenu.open { display: block; animation: slideDown 0.3s ease; }
.submenu-item { display: block; padding: 10px; color: var(--accent); text-decoration: none; font-size: 0.85rem; font-weight: 700; }
.submenu-item:hover { text-decoration: underline; }

@media (max-width: 768px) { .nav-links { display: none; } }

/* =========================================================================
   5. GLOBAL LAYOUTS & GRIDS
   ========================================================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 50px 20px; }
.full-width-breakout { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }
.bento-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; grid-auto-rows: minmax(320px, auto); }

/* =========================================================================
   6. HERO SECTIONS
   ========================================================================= */
.hero {
    min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; 
    text-align: center; background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.15) 0%, transparent 60%); 
    padding: 100px 20px 80px; position: relative;
}
.hero::before {
    content: ''; position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    top: -100px; border-radius: 50%; animation: pulse-glow 8s infinite ease-in-out; z-index: -1;
}
@keyframes pulse-glow { 0% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.2); opacity: 0.8; } 100% { transform: scale(1); opacity: 0.5; } }

/* Feature Heroes (Subpages) */
.feature-hero { text-align: center; padding: 150px 20px 50px; max-width: 900px; margin: 0 auto; }
.feature-hero h2 { font-size: 3rem; margin-bottom: 20px; color: white; }

/* =========================================================================
   7. CARDS (Tech, Feature, Process)
   ========================================================================= */
/* Main UI Card */
.card {
    background: var(--bg-card); border: 1px solid transparent; border-radius: var(--radius); padding: var(--padding);
    display: flex; flex-direction: column; justify-content: flex-start; transition: all 0.3s ease; position: relative; overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); text-align: left;
}
.card::before {
    content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 40px -10px rgba(79, 70, 229, 0.3); }

/* Spotlight Effect for All Cards */
.spotlight-overlay {
    pointer-events: none; position: absolute; width: 100%; height: 100%; top: 0; left: 0;
    background: radial-gradient(600px circle at var(--x) var(--y), rgba(79, 70, 229, 0.15), transparent 40%);
    opacity: 0; transition: opacity 0.3s; z-index: 1;
}

/* Make sure all cards can contain the overlay */
.card, .tech-card, .feature-card, .device-item, .pricing-card, .review-card {
    position: relative; 
    overflow: hidden;
}

/* Trigger opacity on hover for all card types */
.card:hover .spotlight-overlay,
.tech-card:hover .spotlight-overlay,
.feature-card:hover .spotlight-overlay,
.device-item:hover .spotlight-overlay,
.pricing-card:hover .spotlight-overlay,
.review-card:hover .spotlight-overlay {
    opacity: 1;
}

/* Rest of your card styling */
.card[onclick] { cursor: pointer; }
.card h3, .card p, .card .icon-box, .card .badge, .horizontal-card-inner { position: relative; z-index: 2; }
.card h3 { font-size: 1.5rem; margin-bottom: 10px; font-weight: 600; color: white; }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

.card-large { grid-column: span 2; min-height: 350px; }
.horizontal-card-inner { display: flex; gap: 30px; align-items: center; height: 100%; width: 100%; }

/* Standard Subpage Cards */
.tech-card, .device-item, .feature-card {
    background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius);
    padding: 30px; display: flex; flex-direction: column; transition: transform 0.3s ease, border-color 0.3s ease; position: relative; overflow: hidden;
}
.tech-card:hover, .device-item:hover, .feature-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); }
.tech-card h3, .feature-card h3 { margin-bottom: 10px; font-size: 1.4rem; color: white; }
.tech-card p, .feature-card p { color: var(--text-muted); font-size: 0.95rem; }
.tech-icon, .feature-icon { margin-bottom: 20px; color: var(--accent); }

/* Icons */
.icon-box {
    width: 130px; height: 130px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); border-radius: 12px; margin-bottom: 30px; flex-shrink: 0;
}
.icon-placeholder { width: 55%; height: 55%; object-fit: contain; opacity: 0.9; }

/* Component Lists inside Cards */
.feature-list, .feature-list-detail { list-style: none; margin-top: 15px; padding: 0;}
.feature-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-muted); margin-bottom: 12px; font-size: 0.95rem; line-height: 1.5; }
.feature-list li svg { color: var(--accent); flex-shrink: 0; width: 20px; height: 20px; transform: translateY(2px); }
.feature-list-detail li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: #d1d5db; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.feature-list-detail li:last-child { border-bottom: none; }
.feature-tag { font-size: 0.7rem; background: #333; padding: 2px 6px; border-radius: 4px; margin-left: auto; color: #aaa; }

@media (max-width: 768px) {
    .card-large { grid-column: span 1; }
    .horizontal-card-inner { flex-direction: column; text-align: center; justify-content: center; gap: 20px; }
    .horizontal-card-inner .icon-box { margin: 0 auto; }
}

/* =========================================================================
   8. SLIDER SECTIONS (For Tech Overviews)
   ========================================================================= */
/* Hero Index Slider */
.slider-card { padding: 0; display: block; }
.slider-viewport { width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius); position: relative; z-index: 2;}
.slider-track { display: flex; height: 100%; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.slide { min-width: 100%; height: 100%; padding: var(--padding); padding-bottom: 50px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.slide h3 { font-size: 1.8rem; margin-bottom: 10px; background: linear-gradient(to right, #fff, #a5b4fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.slider-dots { position: absolute; bottom: 20px; left: 0; width: 100%; display: flex; justify-content: center; gap: 10px; z-index: 10; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); cursor: pointer; transition: all 0.3s ease; }
.dot.active { background: var(--accent); transform: scale(1.2); box-shadow: 0 0 10px var(--accent); }

/* Common Section Slider Styles */
.tech-slide, .access-slide, .av-slide, .rural-slide, .cctv-slide { display: none; opacity: 0; transition: opacity 0.5s ease; animation: fadeIn 0.5s ease forwards; }
.tech-slide.active, .access-slide.active, .av-slide.active, .rural-slide.active, .cctv-slide.active { display: block; opacity: 1; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Shared Grid Layout for Sliders */
.fibra-grid, .access-grid, .av-grid, .rural-grid, .cctv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.fibra-badge, .access-badge, .av-badge, .rural-badge, .cctv-badge { display: inline-block; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.2); }
.fibra-list, .access-list, .av-list, .rural-list, .cctv-list { list-style: none; margin-top: 30px; }
.fibra-list li, .access-list li, .av-list li, .rural-list li, .cctv-list li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 12px; color: #d1d5db; }

/* Dynamic Background Sections */
.access-slider-section, .av-slider-section, .rural-slider-section, .cctv-slider-section {
    padding: 100px 20px; border-top: 1px solid rgba(255,255,255,0.05); min-height: 700px; display: flex; align-items: center; transition: background 0.8s ease;
}

/* Background states for Javascript toggles */
.bg-mobile { background: radial-gradient(circle at center, #064e3b 0%, #0a0c10 80%); } 
.bg-bio { background: radial-gradient(circle at center, #1e3a8a 0%, #0a0c10 80%); } 
.bg-intercom { background: radial-gradient(circle at center, #78350f 0%, #0a0c10 80%); } 
.bg-cloud { background: radial-gradient(circle at center, #4c1d95 0%, #0a0c10 80%); } 
.av-bg-tv { background: radial-gradient(circle at center, #172554 0%, #0a0c10 80%); } 
.av-bg-audio { background: radial-gradient(circle at center, #4c1d95 0%, #0a0c10 80%); } 
.av-bg-walls { background: radial-gradient(circle at center, #164e63 0%, #0a0c10 80%); } 
.av-bg-cinema { background: radial-gradient(circle at center, #7f1d1d 0%, #0a0c10 80%); }

@media(max-width: 768px) {
    .fibra-grid, .access-grid, .av-grid, .rural-grid, .cctv-grid { grid-template-columns: 1fr; text-align: center; }
    .fibra-list li, .access-list li, .av-list li, .rural-list li, .cctv-list li { justify-content: center; }
}

/* =========================================================================
   9. MODALS & FORMS
   ========================================================================= */
/* Shared Modal Overlay */
.contact-modal-overlay, .ls-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px;
}
.contact-modal-overlay.open, .ls-modal-overlay.open { display: flex; }

.contact-modal, .ls-modal {
    background: var(--bg-card); width: 100%; max-width: 500px; border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    position: relative; padding: 40px; animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); text-align: center;
}
@keyframes modalPop { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.close-modal-btn {
    position: absolute; top: 15px; right: 20px; background: none; border: none;
    color: #888; font-size: 2rem; cursor: pointer; line-height: 1; transition: color 0.2s;
}
.close-modal-btn:hover { color: white; }

/* Contact Form Components */
.contact-section { padding: 100px 0; margin-top: 50px; border-top: 1px solid rgba(255,255,255,0.05); background: linear-gradient(to top, #050608, var(--bg-body)); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1000px; margin: 0 auto; align-items: start; }
.contact-info h2 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; color: white;}
.contact-detail { margin-top: 30px; display: flex; align-items: center; gap: 15px; color: var(--text-muted); }

.contact-form { background: var(--bg-card); padding: 40px; border-radius: var(--radius); border: var(--border-glass); box-shadow: 0 20px 40px rgba(0,0,0,0.3); text-align: left; position: relative; overflow: hidden;}
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.form-input, .form-textarea { width: 100%; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); padding: 12px 16px; border-radius: 8px; color: white; font-family: inherit; font-size: 1rem; transition: all 0.3s ease; }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--accent); background: rgba(0,0,0,0.4); }
.form-textarea { resize: vertical; min-height: 120px; }
.submit-btn { width: 100%; background: var(--accent); color: white; border: none; padding: 14px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: background 0.3s ease; }
.submit-btn:hover { background: #4338ca; }

/* Form Success Animation */
.form-success-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-card); border-radius: var(--radius);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 10; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease;
}
.form-success-overlay.show { opacity: 1; visibility: visible; }
.success-icon-container { position: relative; width: 80px; height: 80px; margin-bottom: 20px; }
.fly-plane { position: absolute; top: 0; left: 0; width: 100%; height: 100%; color: var(--accent); opacity: 1; }
.form-success-overlay.show .fly-plane { animation: flyAway 0.8s ease forwards; }
.success-tick { position: absolute; top: 0; left: 0; width: 100%; height: 100%; color: #34d399; opacity: 0; transform: scale(0.5); }
.form-success-overlay.show .success-tick { animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s forwards; }
.success-text { text-align: center; opacity: 0; transform: translateY(10px); }
.form-success-overlay.show .success-text { animation: slideUpFade 0.5s ease 0.8s forwards; }
@keyframes flyAway { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 50% { transform: translate(20px, -20px) scale(1.1); opacity: 1; } 100% { transform: translate(100px, -100px) scale(0); opacity: 0; } }
@keyframes popIn { 0% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes slideUpFade { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .contact-info { text-align: center; } .contact-detail { justify-content: center; } }

/* =========================================================================
   10. PRICING & HARDWARE SECTIONS
   ========================================================================= */
.pricing-section { padding: 80px 20px; text-align: center; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 450px)); justify-content: center; gap: 40px; max-width: 1000px; margin: 50px auto 0; }
.pricing-card { background: var(--bg-card); border: var(--border-glass); border-radius: var(--radius); padding: 40px 30px; position: relative; display: flex; flex-direction: column; transition: transform 0.3s ease; }
.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.popular { border: 1px solid var(--accent); background: linear-gradient(to bottom, rgba(79, 70, 229, 0.1), var(--bg-card)); box-shadow: 0 0 40px rgba(79, 70, 229, 0.1); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: white; padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }

.price-amount { font-size: 3rem; font-weight: 800; color: white; margin-bottom: 10px; line-height: 1; }
.price-features { list-style: none; margin: 30px 0; text-align: left; }
.price-features li { margin-bottom: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 12px; font-size: 1rem; }
.price-btn { margin-top: auto; display: block; background: rgba(255,255,255,0.05); color: white; padding: 14px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; text-align: center;}
.pricing-card.popular .price-btn { background: var(--accent); }
.price-btn:hover { background: white; color: black; }

/* Custom Sliders */
.slider-container { margin-bottom: 20px; margin-top: 10px; }
.user-slider { -webkit-appearance: none; width: 100%; height: 6px; border-radius: 5px; background: rgba(255,255,255,0.2); outline: none; }
.user-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 2px solid white; }
.user-slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 2px solid white; }

/* =========================================================================
   11. MISC COMPONENTS (Process, FAQ, Reviews, Gallery)
   ========================================================================= */
/* Process Steps */
.process-section { padding: 80px 20px; text-align: center; background: linear-gradient(to top, rgba(255,255,255,0.02), transparent); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1000px; margin: 50px auto 0; }
.step-card { position: relative; }
.step-number { font-size: 4rem; font-weight: 800; color: rgba(255,255,255,0.03); position: absolute; top: -30px; left: 50%; transform: translateX(-50%); z-index: 0; }
.step-content { position: relative; z-index: 1; }

/* FAQ */
.faq-section { max-width: 800px; margin: 0 auto; padding: 80px 20px; }
.faq-item { background: var(--bg-card); border: var(--border-glass); border-radius: 12px; margin-bottom: 15px; overflow: hidden; transition: border-color 0.3s ease; }
.faq-item:hover { border-color: var(--accent); }
summary { padding: 20px; cursor: pointer; font-weight: 600; color: white; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.5rem; color: var(--accent); transition: transform 0.3s ease; }
details[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 20px; color: var(--text-muted); font-size: 0.95rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }

/* Reviews */
.reviews-section { padding: 80px 20px; background: #0d1117; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1200px; margin: 40px auto 0; }
.review-card { background: var(--bg-card); border: var(--border-glass); border-radius: var(--radius); padding: var(--padding); display: flex; flex-direction: column; }
.review-quote { font-size: 1rem; color: var(--text-main); margin-bottom: 20px; font-style: italic; line-height: 1.6; }
.review-author { margin-top: auto; display: flex; align-items: center; gap: 15px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold;}

/* Gallery */
.filter-container { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn { background: var(--bg-card); border: var(--border-glass); color: var(--text-muted); padding: 8px 20px; border-radius: 50px; cursor: pointer; transition: all 0.3s ease; font-family: inherit; font-size: 0.9rem; }
.filter-btn:hover, .filter-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 20px; max-width: 1400px; margin: 0 auto; padding: 0 20px 100px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; border: var(--border-glass); break-inside: avoid; margin-bottom: 20px; cursor: pointer; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; background: #21262d; }
.gallery-item:hover .gallery-img { transform: scale(1.05); }

/* =========================================================================
   12. WHATSAPP WIDGET
   ========================================================================= */
.whatsapp-container { position: fixed; bottom: 30px; left: 30px; z-index: 9999; }
.wa-toggle-btn { width: 60px; height: 60px; background-color: #c084fc; border: none; border-radius: 50px; box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.wa-toggle-btn:hover { transform: translateY(-4px) scale(1.05); box-shadow: 2px 6px 20px rgba(192, 132, 252, 0.4); }
.wa-toggle-icon { width: 32px; height: 32px; fill: white; }
.wa-chat-box { position: absolute; bottom: 80px; left: 0; width: 350px; background: #e5ddd5; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.wa-chat-box.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* WhatsApp Header (Fixed Layout) */
.wa-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background-color: #295F4E; 
    padding: 15px 20px;
    border-radius: 12px 12px 0 0;
    color: white;
}
.wa-header-info { display: flex; align-items: center; gap: 15px; }
.wa-header-icon { width: 40px !important; height: 40px !important; fill: white; flex-shrink: 0; }
.wa-header-info h4 { margin: 0 0 2px 0; font-size: 1.05rem; color: white; font-weight: 700; }
.wa-header-info span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.8); }
.wa-close { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; padding: 0; line-height: 1; }
.wa-close:hover { opacity: 1; }

.wa-body { padding: 20px; height: 200px; background-size: cover; }
.wa-message { background: white; padding: 12px 15px; border-radius: 0 10px 10px 10px; color: #333; font-size: 0.9rem; line-height: 1.4; position: relative; max-width: 85%; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.wa-footer { background: #f0f0f0; padding: 15px; display: flex; gap: 10px; }
#wa-input { flex-grow: 1; border: none; padding: 12px 15px; border-radius: 50px; outline: none; font-size: 0.9rem; }
.wa-send { background: #008f68; color: white; border: none; width: 42px; height: 42px; border-radius: 50px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
@media screen and (max-width: 480px) { .wa-chat-box { width: 300px; } }

/* =========================================================================
   13. FOOTER
   ========================================================================= */
.footer { background-color: #050608; border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 60px 0 30px; font-size: 0.9rem; width: 100%; }
.footer-container { max-width: 100%; padding: 0 5%; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); margin-top: 15px; max-width: 300px; }
.footer-col h4 { color: white; margin-bottom: 20px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--accent-walls); }
.footer-bottom { max-width: 100%; padding: 30px 5% 0; margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, 0.05); display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.8rem; }
.content-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =========================================================================
   14. AJAX SECURITY PAGE SPECIFIC (FIXES FOR ICONS & LAYOUT)
   ========================================================================= */
/* Fix List Icons (Fibra/Jeweller) */
.fibra-list svg, .superior-item svg, .ls-feat-icon { width: 20px; height: 20px; flex-shrink: 0; }
.fibra-list svg { margin-top: 4px; }

/* The Hardware / Device Grid */
.device-section { padding: 50px 20px 100px; }
.section-title { text-align: center; margin-bottom: 60px; font-size: 2.5rem; color: white; }
.device-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.device-item { text-align: center; padding: 20px; align-items: center; } 
.device-img-box { height: 180px; width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; filter: drop-shadow(0 0 15px rgba(255,255,255,0.05)); }
.device-placeholder { width: 120px; height: 120px; opacity: 0.9; color: #e2e8f0; } /* FIXES MASSIVE HARDWARE ICONS */
.device-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 5px; color: white; }
.device-desc { color: var(--text-muted); font-size: 0.9rem; margin: 0 auto; }

/* Superior Section */
.superior-section { padding: 50px 20px; }
.superior-banner { background: linear-gradient(to right, rgba(251, 191, 36, 0.05), transparent); border: 1px solid rgba(251, 191, 36, 0.2); border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.superior-content h2 { font-size: 2rem; margin-bottom: 10px; color: white; }
.superior-content span { color: var(--accent-gold); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.superior-list { display: flex; gap: 30px; margin-top: 20px; flex-wrap: wrap; }
.superior-item { display: flex; align-items: center; gap: 10px; color: #d1d5db; font-size: 0.95rem; }
.superior-item svg { color: var(--accent-gold); }

/* LightSwitch Section */
.ls-section { padding: 120px 20px; background: radial-gradient(circle at top right, #1f2937 0%, #0a0c10 60%); position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.05); }
.ls-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 60px; flex-wrap: wrap-reverse; }
.ls-content { flex: 1; min-width: 320px; z-index: 2; }
.ls-visuals { flex: 1; min-width: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.ls-tag { color: var(--accent-gold); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 15px; display: block; }
.ls-title { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; color: white; }
.ls-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; max-width: 500px; }
.ls-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.ls-feat-item { display: flex; align-items: center; gap: 10px; color: #e2e8f0; font-weight: 500; }
.ls-feat-icon { color: var(--accent); }

/* --- Interactive Switch Explorer --- */
.interactive-switch-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; 
    width: 100%;
}

.switch-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.control-group {
    display: flex;
    background: rgba(0,0,0,0.5);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.1);
}

.switch-toggle, .bl-toggle {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

.switch-toggle.active, .bl-toggle.active {
    background: rgba(255,255,255,0.15);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* The Stage */
.switch-stage {
    position: relative;
    width: 220px; 
    height: 200px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LED Halo */
.backlight-halo {
    position: absolute;
    width: 200px;
    height: 200px; 
    border-radius: 12px;
    background: transparent;
    box-shadow: 
        0 0 15px 4px rgba(255, 255, 255, 0.4),
        0 0 35px 12px rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}
.backlight-halo.active { opacity: 1; }

/* The Physical Switch Panel */
.physical-switch {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    box-shadow: 
        inset 0 3px 6px rgba(255,255,255,0.5), 
        inset 0 -5px 15px rgba(0,0,0,0.2), 
        0 15px 30px rgba(0,0,0,0.6);
    transition: background-color 0.4s ease;
    display: flex;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
}

/* 2-Gang Center Line */
.center-groove {
    width: 2px;
    height: 100%;
    background: rgba(0,0,0,0.15);
    box-shadow: inset 1px 0 2px rgba(0,0,0,0.3), inset -1px 0 2px rgba(255,255,255,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    position: relative;
}
.center-groove.show { opacity: 1; }

/* 2-Gang Center Glow Bleed */
.groove-glow {
    position: absolute;
    top: 5%;
    height: 90%;
    width: 4px;
    left: -1px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.groove-glow.active { opacity: 1; }

/* Solid Color Block Palettes */
.palette-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px; 
    padding: 15px 20px;  
    background: rgba(16, 20, 26, 0.6); 
    border-radius: 20px; 
    border: 1px solid rgba(255,255,255,0.05); 
    backdrop-filter: blur(10px); 
}
.swatch-wrapper { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 10px; 
}
.swatch { 
    display: block; 
    width: 55px; 
    height: 55px; 
    border-radius: 12px; 
    cursor: pointer; 
    border: 2px solid rgba(255,255,255,0.1); 
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.2), 0 5px 15px rgba(0,0,0,0.5); 
    transition: transform 0.2s ease, border-color 0.2s ease; 
    flex-shrink: 0; 
}
.swatch:hover { 
    transform: translateY(-2px); 
    border-color: rgba(255,255,255,0.5); 
}
.swatch.active {
    transform: scale(1.15);
    border-color: white;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.4), 0 0 20px rgba(255,255,255,0.3);
}
.swatch-name { font-size: 0.8rem; color: #a1a1aa; font-weight: 500; letter-spacing: 0.5px;}

.app-section { padding: 100px 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.app-container { max-width: 1000px; margin: 0 auto; display: flex; gap: 50px; align-items: center; flex-wrap: wrap; }
.app-text { flex: 1; min-width: 300px; }
.app-visual { flex: 1; min-width: 300px; height: 400px; background: #161b22; border-radius: 20px; border: 1px solid #333; display: flex; align-items: center; justify-content: center; overflow: hidden; }

/* =========================================================================
   15. CCTV PAGE SPECIFIC STYLES
   ========================================================================= */
/* Ajax Ecosystem Section */
.ajax-section { padding: 100px 20px; background: #0f1218; border-top: 1px solid rgba(255,255,255,0.05); position: relative; }
.ajax-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ajax-content h2 { font-size: 2.5rem; margin-bottom: 20px; color: white; }
.ajax-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 30px; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.feature-box { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); padding: 20px; border-radius: 12px; transition: border-color 0.3s; }
.feature-box:hover { border-color: var(--accent); }
.feature-box strong { display: block; color: white; margin-bottom: 5px; font-size: 1.1rem; }
.feature-box span { color: #888; font-size: 0.9rem; }

/* Visual Column */
.ajax-visuals { display: flex; flex-direction: column; gap: 30px; }

.visual-card { 
    background: radial-gradient(circle at center, #161b22 0%, #0a0c10 100%); 
    border: 1px solid rgba(255,255,255,0.1); 
    border-radius: 24px; 
    padding: 40px 20px 20px; 
    text-align: center; 
    position: relative; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: space-between; 
    min-height: 250px; 
    gap: 30px; 
}
.visual-label { 
    color: white; font-size: 0.9rem; font-weight: 700; background: rgba(0,0,0,0.8); 
    padding: 6px 18px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); 
    margin-top: auto; z-index: 2;
}

/* Comparison Section (4K vs 5MP) */
.comparison-section { padding: 100px 20px; background: linear-gradient(to right, #0a0c10, #161b22); border-top: 1px solid rgba(255,255,255,0.05); }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto; }
.resolution-box { 
    position: relative; width: 100%; height: 350px; background: #050505; border: 1px solid #333; 
    border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.res-overlay { 
    position: absolute; width: 100%; height: 100%; top: 0; left: 0; 
    background-image: radial-gradient(#ffffff 1px, transparent 1px); background-size: 20px 20px; opacity: 0.1; z-index: 1; 
}

/* Flex Install Section */
.flex-section { padding: 80px 20px; }
.flex-banner { background: linear-gradient(to right, rgba(255, 255, 255, 0.05), transparent); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 50px; text-align: center; max-width: 900px; margin: 0 auto; }

/* =========================================================================
   16. HOMEPAGE FIXES
   ========================================================================= */
/* Restore the massive Hero Title size for the homepage */
.hero h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.1;
}

/* Restore the 3-column grid for the sub-feature sections */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
}

/* Ensure the feature cards don't stretch unnaturally */
.feature-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Push the feature lists to the bottom if cards are different heights */
.feature-list-detail {
    margin-top: auto;
}

/* =========================================================================
   17. MOBILE RESPONSIVENESS OVERRIDES
   ========================================================================= */
@media (max-width: 1024px) {
    .container { padding: 40px 20px; }
    .hero-title-big { font-size: 4rem; }
    .hero-title-sub { font-size: 2.5rem; }
}

@media (max-width: 900px) { 
    .ajax-grid { grid-template-columns: 1fr; } 
    .ajax-visuals { order: -1; } 
}

@media (max-width: 768px) {
    /* Prevent horizontal scroll wiggle */
    .full-width-breakout {
        width: 100% !important;
        left: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Scaling Typography */
    .hero { min-height: 80vh; padding: 120px 20px 60px; }
    .hero-title-big { font-size: 3.2rem !important; }
    .hero-title-sub { font-size: 2.2rem !important; }
    .subtitle { font-size: 1.1rem !important; }

    /* Flatten Grids to 1 column */
    .bento-grid, 
    .grid-3, 
    .feature-grid, 
    .device-grid, 
    .comparison-grid,
    .contact-grid,
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Card & Slider Adjustments */
    .card-large { grid-column: span 1 !important; min-height: auto !important; }
    .horizontal-card-inner { flex-direction: column; text-align: center; }
    .icon-box { margin: 0 auto 20px !important; width: 100px; height: 100px; }

    .fibra-grid, .access-grid, .av-grid, .rural-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .fibra-list li, .access-list li, .av-list li, .rural-list li {
        justify-content: center;
        text-align: left;
    }

    /* Superior Section & Lightswitch Adjustments for Mobile */
    .superior-banner { flex-direction: column; align-items: flex-start; gap: 20px; }
    .ls-container { flex-direction: column-reverse; text-align: center; } 
    .ls-desc { margin: 0 auto 30px; } 
    .ls-features { text-align: left; } 
    .ls-title { font-size: 2.5rem; } 
    .palette-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 15px;}
    .swatch { width: 45px; height: 45px; }

    /* Hide standard nav for mobile toggle */
    .nav-links { display: none !important; }
    .navbar { padding: 15px 5% !important; }
}
/* =========================================================================
   18. FINAL MOBILE OVERFLOW & MENU FIXES
   ========================================================================= */

/* 1. Force all SVGs and Images to respect mobile screen limits */
svg, img {
    max-width: 100%;
    height: auto;
}

/* 2. Google reCAPTCHA Overflow Fix */
.grecaptcha-badge {
    max-width: 100vw !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* 3. Remove hardcoded minimum widths from sub-pages */
.ls-content, .ls-visuals, .app-text, .app-visual, .pricing-card {
    min-width: 100% !important;
}

/* 4. Mobile Burger Button Styling */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* Burger Animation to 'X' */
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* 5. Mobile Menu Drawer */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex; /* Show burger on mobile */
    }

    .nav-links {
        display: flex !important; /* Override previous hiding */
        position: fixed;
        top: 0;
        right: -100%; /* Hide off-screen by default */
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(10, 12, 16, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1500;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        gap: 40px;
    }

    .nav-links.active {
        right: 0; /* Slide in */
    }

    .nav-link {
        font-size: 1.5rem !important; /* Larger text for touch */
    }
    
    .nav-item-dropdown {
        text-align: center;
    }
    
    /* Make dropdown show inline on mobile rather than floating */
    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        margin-top: 0;
        display: none; /* THIS REMOVES THE INVISIBLE GAP */
    }
    
    .dropdown-menu.show {
        transform: none;
        display: block; /* THIS PUSHES A/V DOWN ONLY WHEN CLICKED */
        margin-top: 15px;
        animation: slideDown 0.3s ease; /* Adds a nice smooth pop-in */
    }
}
/* =========================================================================
   19. HERO TEXT MOBILE PADDING & WORD-WRAP FIX
   ========================================================================= */

/* Ensure all massive headings wrap instead of blowing out the screen */
.hero h1, 
.hero-title-big, 
.hero-title-sub {
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    -webkit-hyphens: auto;
    hyphens: auto;
}

@media (max-width: 768px) {
    /* Increase side padding on tablets */
    .hero {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (max-width: 480px) {
    /* Force strict side padding on small phones */
    .hero {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    /* Slightly reduce the maximum size so it fits elegantly with the new padding */
    .hero-title-big { 
        font-size: 2.2rem !important; 
    }
    .hero-title-sub { 
        font-size: 1.6rem !important; 
    }
    
    /* Add padding to subtitles so they don't touch the screen edges */
    .subtitle {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title-big { font-size: 2.5rem !important; }
    .hero-title-sub { font-size: 1.8rem !important; }
    .section-title { font-size: 1.8rem; }
    .primary-btn, .cta-button { width: 100%; text-align: center; }
    .device-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important; }
}