/* ==========================================================================
   1. CORE RESET & STRICT MOBILE CONTAINMENT
   ========================================================================== */
*, *::before, *::after { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    max-width: 100%;
}

:root {
    --primary-red: #d31818;        
    --navy-dark: #0f172a;          
    --navy-tint: #1e293b;         
    --bg-frost: #f8fafc;          
    --bg-lite-green: #f0fdf4;        
    --border-green: #bbf7d0;        
    --bg-subtle-slate: #f1f5f9;
    --border-subtle-slate: #e2e8f0;
    --text-primary: #0f172a;      
    --text-secondary: #475569;  
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --radius: 8px;              
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --slide-transition: 0.85s cubic-bezier(0.77, 0, 0.175, 1);
    --header-height: 80px;
}

html { scroll-behavior: smooth; width: 100%; max-width: 100vw; overflow-x: hidden; }
body { 
    font-family: 'Inter', sans-serif; 
    background: #ffffff; 
    color: var(--text-primary); 
    line-height: 1.65; 
    width: 100%; 
    max-width: 100vw; 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased; 
}

/* Utilities */
p, h1, h2, h3, h4, h5, h6, li, span, input, textarea, button, a, div { text-transform: none !important; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; color: var(--navy-dark); background: var(--bg-subtle-slate); padding: 6px 14px; border-radius: 4px; margin-bottom: 16px; border: 1px solid var(--border-light); }
.section-tag::before { content: ''; width: 6px; height: 6px; background: var(--primary-red); border-radius: 50%; flex-shrink: 0; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: var(--navy-dark); word-wrap: break-word; }
.section-title .highlight { color: var(--primary-red); }
.section-sub { font-size: clamp(0.9rem, 1.8vw, 1.02rem); color: var(--text-secondary); margin-top: 12px; max-width: 650px; }
.text-red { color: var(--primary-red) !important; font-weight: 700; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 32px; border-radius: 6px; font-weight: 700; font-size: 0.92rem; transition: var(--transition); cursor: pointer; border: none; white-space: nowrap; }
.btn-primary-red { background: var(--primary-red); color: #fff; }
.btn-primary-red:hover { background: #b51212; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(211,24,24,0.25); }
.btn-outline-navy { border: 1.5px solid var(--navy-dark); color: var(--navy-dark); background: transparent; }
.btn-outline-navy:hover { background: rgba(15, 23, 42, 0.05); transform: translateY(-2px); }
.btn-full { width: 100%; font-size: 1rem; padding: 16px; margin-top: 20px; }

/* ==========================================================================
   2. HEADER NAV BAR & DESKTOP DROPDOWN MENU
   ========================================================================== */
.header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); z-index: 10000; display: flex; align-items: center; transition: all var(--transition); background: #ffffff; border-bottom: 1px solid var(--border-light); }
.header.scrolled { --header-height: 90px; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px); box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.nav-container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo-img { height: 70px; width: auto; object-fit: contain; }
.brand-logo-text { font-size: 1.5rem; font-weight: 900; color: var(--navy-dark); letter-spacing: -0.03em; }
.highlight-red { color: var(--primary-red); }
.nav-menu-wrapper { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; font-size: 0.9rem; font-weight: 600; }
.nav-links a { color: var(--text-secondary); transition: var(--transition); }
.nav-links a:hover { color: var(--primary-red); }

/* Multi-Page Dropdown Menu */
.nav-item-dropdown { position: relative; display: flex; align-items: center; }
.nav-item-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: #ffffff; min-width: 240px; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12); border-radius: 8px; border: 1px solid var(--border-light); padding: 8px 0; list-style: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 10005; }
.nav-item-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { display: block; width: 100%; }
.dropdown-menu a { display: flex !important; align-items: center; gap: 10px; padding: 10px 20px; font-size: 0.88rem; color: var(--text-secondary); transition: var(--transition); border-bottom: none !important; }
.dropdown-menu a:hover { background: var(--bg-frost); color: var(--primary-red) !important; padding-left: 26px; }
.dropdown-menu i { color: var(--primary-red); width: 16px; text-align: center; }

.btn-call-us { background: var(--navy-dark); color: #ffffff !important; padding: 12px 24px; border-radius: 6px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.btn-call-us:hover { background: var(--primary-red); color: #ffffff !important; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(211, 24, 24, 0.25); }

.hamburger-premium { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 18px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 10001; }
.hamburger-premium span { display: block; height: 2px; background: var(--navy-dark); transition: all 0.3s ease; border-radius: 2px; }
.hamburger-premium .bar-top { width: 100%; }
.hamburger-premium .bar-mid { width: 75%; align-self: flex-end; }
.hamburger-premium .bar-bot { width: 50%; align-self: flex-end; }
.hamburger-premium.active .bar-top { transform: translateY(8px) rotate(45deg); background: var(--primary-red); }
.hamburger-premium.active .bar-mid { opacity: 0; }
.hamburger-premium.active .bar-bot { transform: translateY(-8px) rotate(-45deg); width: 100%; background: var(--primary-red); align-self: flex-start; }

/* ==========================================================================
   3. HERO SLIDER (WITH KEN BURNS ZOOM ANIMATION)
   ========================================================================== */
.hero-slider { position: relative; height: calc(100vh - var(--header-height)); min-height: 550px; margin-top: var(--header-height); display: flex; align-items: center; background: #ffffff; overflow: hidden; width: 100%; }
.hero-background-carousel { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.bg-slide-track { display: flex; width: 100%; height: 100%; transition: transform var(--slide-transition); }
.bg-img-slide { flex: 0 0 100%; height: 100%; position: relative; width: 100%; background: #f8fafc; overflow: hidden; }
.bg-img-slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.12; filter: grayscale(10%); transform: scale(1); transition: transform 8s ease-out; }

.bg-img-slide.active-ken-burns img { animation: kenBurnsZoom 10s infinite alternate cubic-bezier(0.25, 0.46, 0.45, 0.94); }
@keyframes kenBurnsZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

.slides-content-container { position: relative; z-index: 3; width: 100%; }
.slide-window { width: 100%; overflow: hidden; }
.slides { display: flex; width: 100%; transition: transform var(--slide-transition); }
.slide { flex: 0 0 100%; padding: 40px 0; width: 100%; }
.welcome-text { font-size: 0.85rem; font-weight: 800; color: var(--navy-dark); background: var(--bg-subtle-slate); display: inline-block; padding: 6px 16px; border-radius: 4px; margin-bottom: 20px; border: 1px solid var(--border-light); }
.slide-content h1 { font-size: clamp(1.8rem, 4.5vw, 3.8rem); font-weight: 900; line-height: 1.15; margin-bottom: 24px; color: var(--navy-dark); word-wrap: break-word; }
.slide-content h1 .accent { color: var(--primary-red); }
.slide-content h1 .light { font-weight: 500; color: var(--text-secondary); }
.slide-content p { font-size: clamp(0.95rem, 1.8vw, 1.15rem); color: var(--text-secondary); margin-bottom: 36px; max-width: 680px; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.slider-controls { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; background: var(--bg-subtle-slate); padding: 8px 14px; border-radius: 30px; border: 1px solid var(--border-light); }
.dot-btn { width: 10px; height: 10px; border-radius: 50%; border: none; background: #cbd5e1; cursor: pointer; transition: var(--transition); }
.dot-btn.active { background: var(--navy-dark); width: 24px; border-radius: 30px; }
.slider-arrows { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding: 0 20px; z-index: 10; pointer-events: none; }
.slider-arrows button { pointer-events: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-light); background: #ffffff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--navy-dark); font-size: 1rem; transition: var(--transition); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.slider-arrows button:hover { background: var(--primary-red); color: #ffffff; border-color: var(--primary-red); }

/* ==========================================================================
   4. ABOUT US SECTION (DESKTOP FLOATING LAYOUT)
   ========================================================================== */
.about-section { padding: 100px 0; background: #ffffff; width: 100%; border-bottom: 1px solid var(--border-light); overflow: hidden; }
.about-grid-modern { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; width: 100%; }
.about-lead { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--navy-dark); font-weight: 600; margin: 20px 0 16px; }
.about-body { color: var(--text-secondary); margin-bottom: 36px; font-size: 0.95rem; }

.about-geometric-composition { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; padding: 20px 0; }
.geo-badge { position: absolute; top: 5%; left: 2%; background: var(--primary-red); color: #ffffff; padding: 18px 24px; border-radius: 16px; z-index: 10; box-shadow: 0 12px 25px rgba(211, 24, 24, 0.35); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }

.animate-float { animation: floatBounce 4s ease-in-out infinite; }
@keyframes floatBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.geo-badge .number { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.geo-badge .text { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

.geo-img-top { width: 340px; height: 295px; position: relative; margin-left: 25%; z-index: 2; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12); transition: transform 0.4s ease; }
.geo-img-top img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.geo-img-top:hover img { transform: scale(1.08); }

.geo-img-bottom-row { display: flex; gap: 20px; margin-top: -45px; z-index: 1; width: 100%; justify-content: center; }
.geo-img-left, .geo-img-right { width: 260px; height: 220px; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12); transition: transform 0.4s ease; }
.geo-img-left img, .geo-img-right img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.geo-img-left:hover img, .geo-img-right:hover img { transform: scale(1.08); }

/* ==========================================================================
   5. WHY CHOOSE US
   ========================================================================== */
.lite-section { padding: 100px 0; background: var(--bg-frost); border-bottom: 1px solid var(--border-light); width: 100%; }
.features-split-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; gap: 20px; flex-wrap: wrap; }
.lite-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.lite-feature-card { background: #ffffff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-light); box-shadow: 0 4px 16px rgba(15,23,42,0.04); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.lite-feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(15,23,42,0.08); }
.card-img-header { position: relative; height: 180px; width: 100%; overflow: hidden; background: #e2e8f0; }
.card-img-header img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.lite-feature-card:hover .card-img-header img { transform: scale(1.08); }
.card-icon-badge { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #ffffff; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.badge-red { background: #ef4444; }
.badge-blue { background: #3b82f6; }
.badge-emerald { background: #10b981; }
.badge-amber { background: #f59e0b; }
.badge-purple { background: #8b5cf6; }
.badge-cyan { background: #06b6d4; }
.card-body { padding: 22px 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: flex-start; }
.card-body h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 8px; }
.card-body p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* ==========================================================================
   6. SERVICES SECTION
   ========================================================================== */
.services-section { padding: 100px 0; background: #ffffff; width: 100%; border-bottom: 1px solid var(--border-light); }
.services-header-box { margin-bottom: 30px; }
.srv-filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; background: var(--bg-subtle-slate); padding: 6px; border-radius: 50px; border: 1px solid var(--border-light); width: fit-content; max-width: 100%; }
.srv-tab-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 40px; font-size: 0.85rem; font-weight: 700; color: var(--text-secondary); background: transparent; border: none; cursor: pointer; transition: 0.3s ease; }
.srv-tab-btn:hover { color: var(--navy-dark); background: rgba(255,255,255,0.8); }
.srv-tab-btn.active { background: var(--navy-dark); color: #ffffff; box-shadow: 0 4px 12px rgba(15,23,42,0.15); }
.srv-tab-btn.active i { color: var(--primary-red); }

.srv-lite-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; width: 100%; transition: all 0.4s ease; }
.srv-lite-card { background: #ffffff; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-light); box-shadow: 0 8px 24px rgba(15,23,42,0.05); transition: transform 0.4s ease, opacity 0.4s ease; display: flex; flex-direction: column; }
.srv-lite-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(15,23,42,0.1); }
.srv-lite-card.card-filtering-out { opacity: 0; pointer-events: none; }
.srv-lite-card.card-hidden { display: none !important; }

.srv-img-top { position: relative; height: 240px; width: 100%; overflow: hidden; background: #e2e8f0; }
.srv-img-top img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.srv-lite-card:hover .srv-img-top img { transform: scale(1.08); }

.srv-content-box { padding: 28px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.srv-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.srv-icon-badge { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #ffffff; flex-shrink: 0; }
.srv-title-row h3 { font-size: 1.25rem; font-weight: 800; color: var(--navy-dark); }
.srv-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.srv-divider { width: 40px; height: 3px; background: var(--primary-red); margin-bottom: 16px; }
.srv-checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; flex-grow: 1; }
.srv-checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.5; }
.srv-checklist i { color: var(--primary-red); margin-top: 4px; font-size: 0.95rem; flex-shrink: 0; }
.srv-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border-light); font-size: 0.82rem; font-weight: 700; color: var(--navy-dark); flex-wrap: wrap; gap: 10px; }
.srv-link-btn { color: var(--primary-red); display: inline-flex; align-items: center; gap: 6px; }
.srv-link-btn:hover { text-decoration: underline; }

.srv-lite-grid.filtered-view { grid-template-columns: 1fr !important; }
@media (min-width: 992px) {
    .srv-lite-grid.filtered-view .srv-lite-card:not(.card-hidden) { display: grid !important; grid-template-columns: 1fr 1fr; align-items: stretch; }
    .srv-lite-grid.filtered-view .srv-img-top { height: 100%; min-height: 380px; }
}

/* ==========================================================================
   7. TURNKEY BOQ ESTIMATOR
   ========================================================================== */
.estimator-section { padding: 80px 0; background: var(--bg-frost); border-bottom: 1px solid var(--border-light); width: 100%; max-width: 100vw; overflow-x: hidden; }
.estimator-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; width: 100%; max-width: 100%; }
.estimator-info { width: 100%; max-width: 100%; }
.estimator-benefits { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; width: 100%; }
.benefit-item { display: flex; align-items: flex-start; gap: 12px; width: 100%; }
.benefit-item i { font-size: 1.3rem; color: var(--primary-red); margin-top: 2px; flex-shrink: 0; }
.benefit-item h5 { font-size: 0.98rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 4px; line-height: 1.3; }
.benefit-item p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; word-wrap: break-word; }

.estimator-card { background: #ffffff; border: 1px solid var(--border-light); border-radius: 16px; padding: 32px; box-shadow: 0 16px 40px rgba(15,23,42,0.06); width: 100%; max-width: 100%; box-sizing: border-box; overflow: hidden; }
.estimator-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy-dark); line-height: 1.3; margin-bottom: 4px; word-wrap: break-word; }
.card-subtitle { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 22px; line-height: 1.4; }
.calc-form { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 100%; }
.calc-group { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 100%; }
.calc-group label { font-size: 0.88rem; font-weight: 700; color: var(--navy-dark); line-height: 1.3; }

select.calc-input, .calc-input { width: 100% !important; max-width: 100% !important; padding: 12px 14px; font-size: 0.9rem; font-family: inherit; border: 1px solid #cbd5e1; border-radius: 6px; background: #ffffff; color: var(--navy-dark); box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.calc-slider { -webkit-appearance: none; width: 100% !important; max-width: 100% !important; height: 8px; border-radius: 5px; background: #e2e8f0; outline: none; margin: 12px 0; box-sizing: border-box; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-red); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.2); transition: transform 0.2s; }
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider-limits { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); width: 100%; }

.checkbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; width: 100%; max-width: 100%; }
.custom-checkbox { display: flex; align-items: center; gap: 8px; font-size: 0.8rem !important; font-weight: 600 !important; cursor: pointer; background: var(--bg-subtle-slate); padding: 10px 8px; border-radius: 6px; border: 1px solid var(--border-light); transition: var(--transition); box-sizing: border-box; word-break: break-word; line-height: 1.3; min-width: 0; }
.custom-checkbox input { accent-color: var(--primary-red); width: 16px; height: 16px; flex-shrink: 0; }

.calc-results-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--bg-subtle-slate); padding: 16px; border-radius: 10px; border: 1px solid var(--border-light); margin-top: 4px; width: 100%; max-width: 100%; box-sizing: border-box; }
.result-box { display: flex; flex-direction: column; text-align: center; min-width: 0; padding: 4px; }
.result-title { font-size: 0.74rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; line-height: 1.2; word-wrap: break-word; }
.result-value { font-size: 1.3rem; font-weight: 900; color: var(--navy-dark); margin: 6px 0 2px; word-wrap: break-word; }
.result-note { font-size: 0.68rem; color: var(--text-muted); line-height: 1.2; }

/* ==========================================================================
   8. PROJECTS & CASE STUDIES SECTION
   ========================================================================== */
.projects-section { padding: 100px 0; background: #ffffff; border-bottom: 1px solid var(--border-light); width: 100%; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.project-card { background: #ffffff; border: 1px solid var(--border-light); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(15,23,42,0.04); transition: var(--transition); display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(15,23,42,0.08); }
.project-img { position: relative; height: 200px; width: 100%; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-img img { transform: scale(1.08); }
.project-tag { position: absolute; top: 14px; left: 14px; background: var(--primary-red); color: #ffffff; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.project-content { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.project-client { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 6px; }
.project-content h4 { font-size: 1.15rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 8px; }
.project-content p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 18px; flex-grow: 1; }
.project-metrics { display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; font-weight: 600; color: var(--navy-dark); background: var(--bg-subtle-slate); padding: 10px 12px; border-radius: 6px; border: 1px solid var(--border-light); }
.project-metrics span { color: var(--text-muted); }

/* ==========================================================================
   9. INDUSTRIES SERVED (DESKTOP SLANTED ACCORDION LAYOUT)
   ========================================================================== */
.industries-section-modern { padding: 100px 0; background: #f8fafc; border-bottom: 1px solid var(--border-light); width: 100%; overflow: hidden; }
.ind-banner-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; background: #ffffff; border-radius: 20px; padding: 40px 0 40px 48px; margin-bottom: 50px; border: 1px solid var(--border-light); box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04); position: relative; overflow: hidden; }
.ind-banner-text { z-index: 2; padding-right: 20px; }
.ind-banner-title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 900; line-height: 1.1; color: var(--navy-dark); margin: 12px 0 16px 0; letter-spacing: -0.02em; }
.ind-banner-title .highlight-red { color: var(--primary-red); }
.ind-title-underline { width: 60px; height: 4px; background: var(--primary-red); border-radius: 2px; margin-bottom: 20px; }
.ind-banner-desc { font-size: 0.98rem; color: var(--text-secondary); line-height: 1.7; max-width: 480px; }

/* Desktop Slanted Image Accordion */
.ind-slanted-gallery { display: flex; height: 340px; width: 110%; margin-right: -5%; gap: 10px; transform: skewX(-14deg); overflow: hidden; }
.slanted-slice { flex: 1; height: 100%; overflow: hidden; position: relative; background: #0f172a; transition: flex 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); cursor: pointer; border-left: 2px solid rgba(255,255,255,0.15); }
.ind-slanted-gallery:hover .slanted-slice:hover { flex: 2.2; }
.slanted-slice img { width: 100%; height: 100%; object-fit: cover; transform: skewX(14deg) scale(1.35); transition: transform 0.6s ease, filter 0.5s ease; filter: brightness(0.75); }
.slanted-slice:hover img { transform: skewX(14deg) scale(1.15); filter: brightness(1); }

/* Slanted Image Architecture Cards */
.ind-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; width: 100%; }
.ind-card-modern { background: #ffffff; border-radius: 16px; border: 1px solid var(--border-light); overflow: hidden; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03); transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); display: flex; flex-direction: column; text-align: center; padding-bottom: 28px; }
.ind-card-modern:hover { transform: translateY(-8px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08); border-color: #cbd5e1; }
.ind-card-img-wrapper { position: relative; height: 200px; width: 100%; background: #e2e8f0; margin-bottom: 32px; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); }
.ind-card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ind-card-modern:hover .ind-card-img-wrapper img { transform: scale(1.12) rotate(1deg); }
.ind-badge-overlap { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: 52px; height: 52px; border-radius: 50%; background: #ffffff; border: 1px solid var(--border-light); box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12); display: flex; align-items: center; justify-content: center; color: var(--primary-red); font-size: 1.3rem; z-index: 2; transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease; }
.ind-card-modern:hover .ind-badge-overlap { background: var(--primary-red); color: #ffffff; border-color: var(--primary-red); transform: translateX(-50%) scale(1.1); }
.ind-card-body { padding: 0 20px; display: flex; flex-direction: column; flex-grow: 1; }
.ind-card-body h4 { font-size: 1.15rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 10px; }
.ind-card-body p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ==========================================================================
   10. OUR APPROACH
   ========================================================================== */
.approach-section { padding: 100px 0; background: var(--bg-frost); border-bottom: 1px solid var(--border-light); width: 100%; }
.approach-header { margin-bottom: 50px; }
.approach-image-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.approach-img-card { background: #ffffff; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-light); box-shadow: 0 4px 16px rgba(15,23,42,0.04); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.approach-img-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(15,23,42,0.08); }
.step-image { height: 190px; width: 100%; overflow: hidden; position: relative; background: #e2e8f0; }
.step-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.approach-img-card:hover .step-image img { transform: scale(1.08); }
.step-content { padding: 26px 20px 20px 20px; position: relative; }
.step-number { position: absolute; top: -20px; right: 20px; width: 40px; height: 40px; background: var(--primary-red); color: #ffffff; font-size: 1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; border-radius: 8px; box-shadow: 0 6px 14px rgba(211,24,24,0.3); border: 3px solid #ffffff; z-index: 2; }
.step-content h4 { font-size: 1.1rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 6px; }
.step-content p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.55; }

/* ==========================================================================
   11. FAQ, CONTACT MODULE & FOOTER
   ========================================================================== */
.faq-section { padding: 100px 0; background: #ffffff; border-bottom: 1px solid var(--border-light); width: 100%; }
.faq-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; width: 100%; }
.accordion-wrapper { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.accordion-item { border: 1px solid var(--border-light); border-radius: 10px; overflow: hidden; background: var(--bg-subtle-slate); transition: var(--transition); }
.accordion-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font-size: 0.95rem; font-weight: 700; color: var(--navy-dark); background: transparent; border: none; cursor: pointer; text-align: left; transition: var(--transition); gap: 10px; }
.accordion-btn i { transition: transform 0.3s ease; color: var(--text-muted); flex-shrink: 0; }
.accordion-item.active .accordion-btn i { transform: rotate(180deg); color: var(--primary-red); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; padding: 0 18px; background: #ffffff; }
.accordion-item.active .accordion-panel { padding: 0 18px 18px 18px; border-top: 1px solid var(--border-light); }
.accordion-panel p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-top: 12px; }

.cta-section { padding: 100px 0; background: #ffffff; width: 100%; }
.contact-details-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; width: 100%; }
.contact-cards-stack { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.contact-card-item { display: flex; align-items: flex-start; gap: 14px; background: var(--bg-frost); padding: 18px; border-radius: 10px; border: 1px solid var(--border-light); }
.contact-icon-frame { width: 42px; height: 42px; border-radius: 8px; background: #ffffff; border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; color: var(--primary-red); font-size: 1.15rem; flex-shrink: 0; box-shadow: 0 2px 8px rgba(15,23,42,0.04); }
.contact-card-item h5 { font-size: 1rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 4px; }
.contact-card-item p, .contact-card-item a { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; word-break: break-all; }
.contact-card-item a:hover { color: var(--primary-red); }

.reference-style-form-card { background: var(--bg-frost); border: 1px solid var(--border-light); padding: 36px 28px; border-radius: 16px; box-shadow: 0 10px 30px rgba(15,23,42,0.04); text-align: center; width: 100%; max-width: 100%; }
.form-card-title { font-size: 1.5rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 6px; }
.form-card-subtitle { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 24px; }
.ui-modern-light-form { width: 100%; display: flex; flex-direction: column; }
.ui-modern-light-form .input-field-group { margin-bottom: 14px; width: 100%; }
.ui-modern-light-form input, .ui-modern-light-form textarea { width: 100%; padding: 12px 16px; font-size: 0.92rem; font-family: inherit; border: 1px solid #cbd5e1; border-radius: 8px; background: #ffffff; color: var(--navy-dark); transition: var(--transition); display: block; box-sizing: border-box; }
.ui-modern-light-form input:focus, .ui-modern-light-form textarea:focus { outline: none; border-color: var(--primary-red); box-shadow: 0 0 0 3px rgba(211,24,24,0.1); }
.phone-input-container { display: flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 8px; background: #ffffff; overflow: hidden; width: 100%; box-sizing: border-box; }
.phone-input-container input { border: none !important; border-radius: 0 !important; padding-left: 12px !important; flex: 1; min-width: 0; width: auto; }
.flag-prefix-box { display: flex; align-items: center; gap: 6px; background: #f1f5f9; padding: 12px 14px; border-right: 1px solid #cbd5e1; color: var(--navy-dark); font-weight: 700; font-size: 0.88rem; flex-shrink: 0; }
.inline-flag-img { width: 20px; height: auto; flex-shrink: 0; }
.btn-start-construction { width: 100%; background: var(--primary-red); color: #ffffff; font-size: 1rem; font-weight: 700; padding: 14px; border-radius: 8px; border: none; cursor: pointer; transition: var(--transition); box-shadow: 0 6px 18px rgba(211,24,24,0.25); min-height: 48px; }
.btn-start-construction:hover { background: #b51212; transform: translateY(-2px); }

.premium-footer { background: var(--navy-dark); color: #ffffff; padding: 60px 0 0 0; border-top: 4px solid var(--primary-red); width: 100%; }
.premium-footer-upper { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
.footer-column h4 { font-size: 1.05rem; font-weight: 800; color: #ffffff; margin-bottom: 20px; position: relative; padding-bottom: 8px; }
.footer-column h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary-red); }
.brand-desc { color: #94a3b8; font-size: 0.88rem; line-height: 1.7; margin: 14px 0 18px; max-width: 400px; }
.brand-product-tagline { font-size: 0.82rem; font-weight: 600; color: var(--primary-red); }
.footer-services-links { list-style: none; }
.footer-services-links li { margin-bottom: 10px; }
.footer-services-links a { color: #94a3b8; font-size: 0.88rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.footer-services-links a:hover { color: #ffffff; transform: translateX(4px); }
.footer-hours-list { list-style: none; }
.footer-hours-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; color: #cbd5e1; gap: 10px; flex-wrap: wrap; }
.text-highlight-red { color: #ef4444 !important; font-weight: 600; }
.premium-footer-lower { background: #050b16; padding: 22px 0; width: 100%; }
.lower-split-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 0.8rem; color: #64748b; width: 100%; }
.legal-links-list { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; }

/* ==========================================================================
   12. UNIFIED TABLET SCALING
   ========================================================================== */
@media (max-width: 1024px) {
    .about-grid-modern, .features-split-header, .contact-details-wrapper, .premium-footer-upper, .estimator-grid, .faq-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
    .lite-grid-3, .approach-image-grid, .projects-grid, .ind-cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .srv-lite-grid { grid-template-columns: 1fr !important; }
    .slider-arrows { display: none; }
    .ind-banner-split { grid-template-columns: 1fr; padding: 36px 28px; gap: 30px; }
    .ind-slanted-gallery { height: 280px; width: 100%; margin-right: 0; transform: none; border-radius: 12px; }
    .slanted-slice img { transform: none !important; }
    .geo-img-top { width: 280px; height: 242px; }
    .geo-img-left, .geo-img-right { width: 240px; height: 208px; }
}

/* ==========================================================================
   13. MOBILE CONTAINMENT & PATTERN TRANSFORMATION (MAX-WIDTH: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* HEADER & HERO FIX */
    .header { height: 90px !important; --header-height: 90px; }
    .hero-slider { margin-top: 70px !important; height: auto !important; min-height: calc(100svh - 70px); padding: 20px 0 60px 0; display: flex; align-items: center; }
    .slide { padding: 20px 0; }
    .slide-content h1 { font-size: clamp(1.65rem, 6.5vw, 2.2rem) !important; line-height: 1.2 !important; margin-bottom: 16px; word-wrap: break-word; }
    .slide-content p { font-size: 0.92rem !important; margin-bottom: 24px; line-height: 1.5; }
    .slide-actions { flex-direction: column; width: 100%; gap: 12px; }
    .slide-actions .btn { width: 100%; text-align: center; padding: 14px 20px; font-size: 0.95rem; }
    .slider-controls { bottom: 12px; padding: 6px 12px; }

    /* MOBILE NAVIGATION & ACCORDION DROPDOWN FIX */
    .hamburger-premium { display: flex; }
    .nav-menu-wrapper { display: block; position: static; }
    
    .nav-links { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 85vw; 
        max-width: 320px; 
        height: 100vh; 
        background: #ffffff; 
        flex-direction: column; 
        justify-content: flex-start; 
        align-items: flex-start; 
        padding: 90px 24px 30px 24px; 
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
        box-shadow: -15px 0 40px rgba(0,0,0,0.18); 
        z-index: 10000; 
        overflow-y: auto; 
    }
    .nav-links.open { right: 0; }
    .nav-links > li { width: 100%; }
    .nav-links a { font-size: 1.05rem; font-weight: 700; color: var(--navy-dark); width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; }
    
    /* OUR SERVICES DROPDOWN ACCORDION FIX */
    .nav-item-dropdown { flex-direction: column; align-items: flex-start; width: 100%; }
    .nav-item-dropdown > a { width: 100%; justify-content: space-between; cursor: pointer; }
    
    .dropdown-menu { 
        position: static !important; 
        box-shadow: none !important; 
        border: none !important; 
        border-left: 3px solid var(--primary-red) !important; 
        background: var(--bg-frost) !important; 
        margin: 6px 0 10px 0 !important; 
        padding: 4px 0 !important; 
        opacity: 1 !important; 
        visibility: visible !important; 
        transform: none !important; 
        display: none; 
        width: 100% !important; 
    }
    .nav-item-dropdown:hover .dropdown-menu, .nav-item-dropdown:focus-within .dropdown-menu { display: none; }
    .nav-item-dropdown.open-mobile-dropdown .dropdown-menu { display: block !important; animation: slideDownFade 0.3s ease forwards; }
    .dropdown-menu a { padding: 12px 16px !important; font-size: 0.92rem !important; border-bottom: 1px solid rgba(0,0,0,0.04) !important; }

    /* "CALL US" BUTTON MOBILE OPTIMIZATION */
    .cta-wrapper-node { 
        width: 100% !important; 
        margin-top: 18px !important; 
        padding-top: 10px;
        border-top: 1px solid var(--border-light);
    }
    .btn-call-us { 
        width: 100% !important; 
        justify-content: center !important; 
        padding: 14px 20px !important; 
        font-size: 1rem !important; 
        background: var(--navy-dark) !important; 
        color: #ffffff !important; 
        border-radius: 8px !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    }

    /* SECTION SCALING */
    .about-section, .lite-section, .services-section, .estimator-section, .projects-section, .faq-section, .approach-section, .cta-section, .industries-section-modern { padding: 60px 0 !important; }
    .lite-grid-3, .srv-lite-grid, .approach-image-grid, .projects-grid, .ind-cards-grid { grid-template-columns: 1fr !important; gap: 18px !important; }

    /* ─── 1. ABOUT OUR FIRM: MOBILE HEXAGONAL HONEYCOMB PATTERN ─── */
    .about-geometric-composition {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding-top: 10px !important;
    }
    .geo-badge {
        position: relative !important;
        width: 100% !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 16px !important;
        padding: 16px 20px !important;
        border-radius: 12px !important;
        margin-bottom: 20px !important;
        box-shadow: 0 8px 20px rgba(211, 24, 24, 0.25) !important;
    }
    .geo-badge .number { font-size: 1.8rem !important; }
    .geo-badge .text { font-size: 0.75rem !important; text-align: left !important; }

    .geo-img-top { 
        width: 250px !important; 
        height: 220px !important; 
        margin-left: 0 !important; 
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%) !important;
        border-radius: 0 !important;
    }
    .geo-img-bottom-row { 
        gap: 10px !important; 
        margin-top: -45px !important; 
        width: 100% !important;
        justify-content: center !important;
    }
    .geo-img-left, .geo-img-right { 
        width: 160px !important; 
        height: 140px !important; 
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%) !important;
        border-radius: 0 !important;
    }

    /* ─── 2. CORE INDUSTRIES SERVED: MOBILE HEXAGONAL PATTERN ─── */
    .ind-slanted-gallery {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        height: auto !important;
        width: 100% !important;
        margin: 20px 0 0 0 !important;
        transform: none !important;
        overflow: visible !important;
    }
    .slanted-slice {
        height: 150px !important;
        border-left: none !important;
        clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%) !important;
        background: transparent !important;
        filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.15)) !important;
    }
    .slanted-slice img { transform: none !important; filter: brightness(0.95) !important; }
    .ind-card-img-wrapper {
        height: 190px !important;
        margin-bottom: 28px !important;
        clip-path: polygon(0 0, 100% 0, 100% 84%, 50% 100%, 0 84%) !important;
    }

    /* ESTIMATOR & FORM MOBILE FIT */
    .estimator-grid { gap: 24px !important; }
    .estimator-card, .reference-style-form-card { padding: 20px 14px !important; border-radius: 12px !important; width: 100% !important; }
    .checkbox-grid { grid-template-columns: 1fr !important; gap: 8px !important; }
    .custom-checkbox { padding: 12px 10px !important; font-size: 0.85rem !important; }
    .calc-results-panel { grid-template-columns: 1fr !important; gap: 14px !important; padding: 14px !important; }
    .result-value { font-size: 1.35rem !important; }
    .contact-details-wrapper { grid-template-columns: 1fr !important; gap: 36px !important; }
    .contact-card-item { padding: 16px; align-items: flex-start; gap: 12px; }
    .srv-filter-tabs { flex-wrap: wrap; width: 100%; border-radius: 12px; padding: 6px; }
    .srv-tab-btn { flex: 1 1 calc(50% - 6px); justify-content: center; padding: 10px 8px; font-size: 0.8rem; }
    .srv-tab-btn[data-filter="all"] { flex: 1 1 100%; }
    .lower-split-container { flex-direction: column; text-align: center; }
}

@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .container { padding: 0 16px !important; }
    .slide-content h1 { font-size: 1.5rem !important; }
    .estimator-section { padding: 40px 0 !important; }
    .estimator-card, .reference-style-form-card { padding: 16px 12px !important; }
    .estimator-card h3 { font-size: 1.15rem !important; }
    select.calc-input, .calc-input { font-size: 0.82rem !important; padding: 10px !important; }
    .calc-slider { margin: 8px 0 !important; }
    .btn { padding: 12px 18px; font-size: 0.85rem; }
    .btn-full { padding: 14px 12px !important; font-size: 0.9rem !important; white-space: normal !important; line-height: 1.3 !important; text-align: center !important; }
    .geo-img-top { width: 210px !important; height: 185px !important; }
    .geo-img-left, .geo-img-right { width: 135px !important; height: 118px !important; }
    .slanted-slice { height: 130px !important; }
}
/* ==========================================================================
   1. CORE RESET & STRICT MOBILE CONTAINMENT
   ========================================================================== */
*, *::before, *::after { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    max-width: 100%;
}

:root {
    --primary-red: #d31818;        
    --navy-dark: #0f172a;          
    --navy-tint: #1e293b;         
    --bg-frost: #f8fafc;          
    --bg-subtle-slate: #f1f5f9;
    --border-subtle-slate: #e2e8f0;
    --text-primary: #0f172a;      
    --text-secondary: #475569;  
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --radius: 8px;              
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --header-height: 80px;
}

html { scroll-behavior: smooth; width: 100%; max-width: 100vw; overflow-x: hidden; }
body { 
    font-family: 'Inter', sans-serif; 
    background: #ffffff; 
    color: var(--text-primary); 
    line-height: 1.65; 
    width: 100%; 
    max-width: 100vw; 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased; 
}

/* Utilities */
p, h1, h2, h3, h4, h5, h6, li, span, input, textarea, button, a, div { text-transform: none !important; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; color: var(--navy-dark); background: var(--bg-subtle-slate); padding: 6px 14px; border-radius: 4px; margin-bottom: 16px; border: 1px solid var(--border-light); }
.section-tag::before { content: ''; width: 6px; height: 6px; background: var(--primary-red); border-radius: 50%; flex-shrink: 0; }
.section-title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: var(--navy-dark); word-wrap: break-word; }
.section-title .highlight { color: var(--primary-red); }
.section-sub { font-size: clamp(0.9rem, 1.8vw, 1.02rem); color: var(--text-secondary); margin-top: 12px; max-width: 650px; }
.text-red { color: var(--primary-red) !important; font-weight: 700; }
.text-blue { color: #3b82f6 !important; }
.text-amber { color: #f59e0b !important; }
.text-emerald { color: #10b981 !important; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 32px; border-radius: 6px; font-weight: 700; font-size: 0.92rem; transition: var(--transition); cursor: pointer; border: none; white-space: nowrap; }
.btn-primary-red { background: var(--primary-red); color: #fff; }
.btn-primary-red:hover { background: #b51212; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(211,24,24,0.25); }
.btn-outline-navy { border: 1.5px solid var(--navy-dark); color: var(--navy-dark); background: transparent; }
.btn-outline-navy:hover { background: rgba(15, 23, 42, 0.05); transform: translateY(-2px); }

/* ==========================================================================
   2. HEADER NAV BAR & DROPDOWN MENU
   ========================================================================== */
.header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); z-index: 10000; display: flex; align-items: center; transition: all var(--transition); background: #ffffff; border-bottom: 1px solid var(--border-light); }
.header.scrolled { --header-height: 90px; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px); box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.nav-container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo-img { height: 70px; width: auto; object-fit: contain; }
.brand-logo-text { font-size: 1.5rem; font-weight: 900; color: var(--navy-dark); letter-spacing: -0.03em; }
.highlight-red { color: var(--primary-red); }
.nav-menu-wrapper { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; font-size: 0.9rem; font-weight: 600; }
.nav-links a { color: var(--text-secondary); transition: var(--transition); }
.nav-links a:hover { color: var(--primary-red); }

/* Desktop Dropdown */
.nav-item-dropdown { position: relative; display: flex; align-items: center; }
.nav-item-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: #ffffff; min-width: 240px; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12); border-radius: 8px; border: 1px solid var(--border-light); padding: 8px 0; list-style: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 10005; }
.nav-item-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { display: block; width: 100%; }
.dropdown-menu a { display: flex !important; align-items: center; gap: 10px; padding: 10px 20px; font-size: 0.88rem; color: var(--text-secondary); transition: var(--transition); border-bottom: none !important; }
.dropdown-menu a:hover { background: var(--bg-frost); color: var(--primary-red) !important; padding-left: 26px; }
.dropdown-menu i { color: var(--primary-red); width: 16px; text-align: center; }

.btn-call-us { background: var(--navy-dark); color: #ffffff !important; padding: 12px 24px; border-radius: 6px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.btn-call-us:hover { background: var(--primary-red); color: #ffffff !important; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(211, 24, 24, 0.25); }

.hamburger-premium { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 18px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 10001; }
.hamburger-premium span { display: block; height: 2px; background: var(--navy-dark); transition: all 0.3s ease; border-radius: 2px; }
.hamburger-premium .bar-top { width: 100%; }
.hamburger-premium .bar-mid { width: 75%; align-self: flex-end; }
.hamburger-premium .bar-bot { width: 50%; align-self: flex-end; }
.hamburger-premium.active .bar-top { transform: translateY(8px) rotate(45deg); background: var(--primary-red); }
.hamburger-premium.active .bar-mid { opacity: 0; }
.hamburger-premium.active .bar-bot { transform: translateY(-8px) rotate(-45deg); width: 100%; background: var(--primary-red); align-self: flex-start; }

/* ==========================================================================
   3. SERVICES, PORTFOLIO & SECTOR STYLING (WITH TONED-DOWN ICONS)
   ========================================================================== */
.inner-page-header { background: var(--navy-dark); padding: 140px 0 60px 0; text-align: center; color: #ffffff; border-bottom: 4px solid var(--primary-red); }
.banner-tag-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; color: #ffffff; background: rgba(255,255,255,0.1); padding: 6px 14px; border-radius: 4px; margin-bottom: 16px; border: 1px solid rgba(255,255,255,0.2); }
.banner-main-title { color: #ffffff; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; margin-top: 10px; letter-spacing: -0.02em; }
.banner-sub-text { color: #cbd5e1; margin: 12px auto 0; max-width: 720px; font-size: 1.05rem; }

.section-pad-lg { padding: 90px 0; background: #ffffff; border-bottom: 1px solid var(--border-light); }
.section-center-header { text-align: center; max-width: 750px; margin: 0 auto 50px; }

/* Scaled-down, sleek icon badges to prevent clutter */
.srv-icon-badge { 
    width: 36px !important; 
    height: 36px !important; 
    border-radius: 6px !important; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 0.95rem !important; 
    color: #ffffff; 
    flex-shrink: 0; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); 
}
.badge-blue { background: #3b82f6; }
.badge-amber { background: #f59e0b; }
.badge-red { background: var(--primary-red); }
.badge-emerald { background: #10b981; }

.stream-matrix-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; width: 100%; }
.stream-matrix-card { background: #ffffff; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-light); box-shadow: 0 6px 20px rgba(15,23,42,0.04); display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; border-top: 4px solid var(--navy-dark); }
.stream-matrix-card:hover { transform: translateY(-5px); box-shadow: 0 16px 35px rgba(15,23,42,0.08); }
.border-accent-blue { border-top-color: #3b82f6 !important; }
.border-accent-amber { border-top-color: #f59e0b !important; }
.border-accent-red { border-top-color: var(--primary-red) !important; }
.border-accent-emerald { border-top-color: #10b981 !important; }

.stream-card-top { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 0 24px; }
.stream-num { font-size: 0.72rem; font-weight: 800; color: var(--text-muted); letter-spacing: 0.05em; }
.stream-card-body { padding: 18px 24px; flex-grow: 1; display: flex; flex-direction: column; }
.stream-card-body h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 8px; }
.stream-card-body p { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }

.srv-divider { width: 36px; height: 2px; margin-bottom: 14px; }
.bg-blue { background: #3b82f6 !important; }
.bg-amber { background: #f59e0b !important; }
.bg-red { background: var(--primary-red) !important; }
.bg-emerald { background: #10b981 !important; }

.srv-checklist { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.srv-checklist li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.83rem; color: var(--text-secondary); line-height: 1.5; }
.srv-checklist i { margin-top: 3px; font-size: 0.8rem !important; opacity: 0.85; flex-shrink: 0; }

.stream-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-top: 1px solid var(--border-light); background: var(--bg-frost); flex-wrap: wrap; gap: 10px; }
.tech-tag { font-size: 0.74rem; font-weight: 700; color: var(--text-muted); }
.stream-spec-btn { padding: 8px 16px !important; font-size: 0.82rem !important; }

/* Portfolio Business Models Grid */
.portfolio-biz-section { padding: 90px 0; background: var(--bg-frost); border-bottom: 1px solid var(--border-light); }
.portfolio-business-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; width: 100%; }
.portfolio-biz-card { background: #ffffff; border-radius: 14px; padding: 30px 26px; border: 1px solid var(--border-light); box-shadow: 0 4px 16px rgba(15,23,42,0.03); display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.portfolio-biz-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,0.07); }
.biz-icon-box { width: 42px; height: 42px; background: var(--bg-subtle-slate); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary-red); font-size: 1.1rem; margin-bottom: 16px; border: 1px solid var(--border-light); }
.portfolio-biz-card h4 { font-size: 1.15rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 4px; }
.biz-subtitle { font-size: 0.76rem; font-weight: 700; color: var(--primary-red); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.biz-desc { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 18px; flex-grow: 1; }
.biz-tag-row { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 14px; border-top: 1px solid var(--border-light); }
.biz-tag-row span { font-size: 0.72rem; font-weight: 700; color: var(--navy-dark); background: var(--bg-subtle-slate); padding: 4px 10px; border-radius: 4px; border: 1px solid var(--border-light); }

/* Sector Grid & Projects */
.sector-footprint-section { padding: 90px 0; background: #ffffff; border-bottom: 1px solid var(--border-light); }
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; width: 100%; }
.ind-card { background: #ffffff; border-radius: 12px; padding: 24px 20px; border: 1px solid var(--border-light); box-shadow: 0 4px 14px rgba(15,23,42,0.03); transition: transform 0.3s ease; }
.ind-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(15,23,42,0.06); }
.ind-icon { width: 38px; height: 38px; border-radius: 6px; background: var(--bg-subtle-slate); display: flex; align-items: center; justify-content: center; color: var(--primary-red); font-size: 1rem; margin-bottom: 14px; border: 1px solid var(--border-light); }
.ind-card h4 { font-size: 1rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 6px; }
.ind-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }

.portfolio-projects-section { padding: 90px 0; background: var(--bg-frost); }
.portfolio-header-flex { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; flex-wrap: wrap; gap: 20px; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.project-card { background: #ffffff; border: 1px solid var(--border-light); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(15,23,42,0.04); transition: var(--transition); display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(15,23,42,0.07); }
.project-img { position: relative; height: 190px; width: 100%; overflow: hidden; background: #e2e8f0; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-card:hover .project-img img { transform: scale(1.06); }
.project-tag { position: absolute; top: 12px; left: 12px; background: var(--primary-red); color: #ffffff; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.project-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.project-client { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 4px; }
.project-content h4 { font-size: 1.1rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 6px; }
.project-content p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 16px; flex-grow: 1; }
.project-metrics { display: flex; flex-direction: column; gap: 4px; font-size: 0.78rem; font-weight: 600; color: var(--navy-dark); background: var(--bg-subtle-slate); padding: 10px 12px; border-radius: 6px; border: 1px solid var(--border-light); }
.project-metrics span { color: var(--text-muted); }

/* CTA Banner & Footer */
.services-cta-banner { background: var(--navy-dark); padding: 70px 0; border-top: 4px solid var(--primary-red); }
.services-cta-overline { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: #f87171; display: block; margin-bottom: 8px; }
.services-cta-title { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
.services-cta-desc { color: #cbd5e1; max-width: 650px; margin: 0 auto 30px; font-size: 1.02rem; }
.services-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-white-btn { border-color: #ffffff !important; color: #ffffff !important; }

.premium-footer { background: var(--navy-dark); color: #ffffff; padding: 60px 0 0 0; border-top: 4px solid var(--primary-red); width: 100%; }
.premium-footer-upper { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
.footer-column h4 { font-size: 1.05rem; font-weight: 800; color: #ffffff; margin-bottom: 20px; position: relative; padding-bottom: 8px; }
.footer-column h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary-red); }
.brand-desc { color: #94a3b8; font-size: 0.88rem; line-height: 1.7; margin: 14px 0 18px; max-width: 400px; }
.brand-product-tagline { font-size: 0.82rem; font-weight: 600; color: var(--primary-red); }
.footer-services-links { list-style: none; }
.footer-services-links li { margin-bottom: 10px; }
.footer-services-links a { color: #94a3b8; font-size: 0.88rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.footer-services-links a:hover { color: #ffffff; transform: translateX(4px); }
.footer-hours-list { list-style: none; }
.footer-hours-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; color: #cbd5e1; gap: 10px; flex-wrap: wrap; }
.text-highlight-red { color: #ef4444 !important; font-weight: 600; }
.premium-footer-lower { background: #050b16; padding: 22px 0; width: 100%; }
.lower-split-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 0.8rem; color: #64748b; width: 100%; }
.legal-links-list { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; }

/* ==========================================================================
   4. RESPONSIVE MEDIA QUERIES (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .stream-matrix-grid, .portfolio-business-grid, .premium-footer-upper { grid-template-columns: 1fr !important; gap: 24px !important; }
    .industries-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .projects-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
    .header { height: 90px !important; --header-height: 90px; }
    .hamburger-premium { display: flex; }
    .nav-menu-wrapper { display: block; position: static; }
    
    .nav-links { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 85vw; 
        max-width: 320px; 
        height: 100vh; 
        background: #ffffff; 
        flex-direction: column; 
        justify-content: flex-start; 
        align-items: flex-start; 
        padding: 90px 24px 30px 24px; 
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
        box-shadow: -15px 0 40px rgba(0,0,0,0.18); 
        z-index: 10000; 
        overflow-y: auto; 
    }
    .nav-links.open { right: 0; }
    .nav-links > li { width: 100%; }
    .nav-links a { font-size: 1.05rem; font-weight: 700; color: var(--navy-dark); width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; }
    
    /* Mobile Accordion Dropdown Engine */
    .nav-item-dropdown { flex-direction: column; align-items: flex-start; width: 100%; }
    .nav-item-dropdown > a { width: 100%; justify-content: space-between; cursor: pointer; }
    
    .dropdown-menu { 
        position: static !important; 
        box-shadow: none !important; 
        border: none !important; 
        border-left: 3px solid var(--primary-red) !important; 
        background: var(--bg-frost) !important; 
        margin: 6px 0 10px 0 !important; 
        padding: 4px 0 !important; 
        opacity: 1 !important; 
        visibility: visible !important; 
        transform: none !important; 
        display: none; 
        width: 100% !important; 
    }
    .nav-item-dropdown:hover .dropdown-menu, .nav-item-dropdown:focus-within .dropdown-menu { display: none; }
    .nav-item-dropdown.open-mobile-dropdown .dropdown-menu { display: block !important; animation: slideDownFade 0.3s ease forwards; }
    .dropdown-menu a { padding: 12px 16px !important; font-size: 0.92rem !important; border-bottom: 1px solid rgba(0,0,0,0.04) !important; }

    /* "Call Us" Mobile CTA */
    .cta-wrapper-node { width: 100% !important; margin-top: 18px !important; padding-top: 10px; border-top: 1px solid var(--border-light); }
    .btn-call-us { width: 100% !important; justify-content: center !important; padding: 14px 20px !important; font-size: 1rem !important; background: var(--navy-dark) !important; color: #ffffff !important; border-radius: 8px !important; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15); }

    .industries-grid, .projects-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
    .lower-split-container { flex-direction: column; text-align: center; }
}

@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ==========================================================================
   4. FLOATING WHATSAPP & CALL ACTION WIDGETS
   ========================================================================== */
.floating-action-widgets {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.float-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
    text-decoration: none;
}
.float-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    color: #ffffff;
}
.float-whatsapp {
    background-color: #25d366;
}
.float-whatsapp:hover {
    background-color: #20ba59;
}
.float-call {
    background-color: var(--primary-red);
}
.float-call:hover {
    background-color: #b51212;
}
/* ==========================================================================
   6. 404 ERROR PAGE ANIMATIONS & CLEAN HELPER CLASSES
   ========================================================================== */
/* UI Helper Classes */
.nav-chevron { font-size: 0.75rem; margin-left: 4px; }
.icon-emerald-mr { color: #10b981; margin-right: 6px; }
.footer-email-item { margin-top: 8px !important; border-bottom: none !important; }
.footer-email-link { color: #ffffff !important; display: inline-flex; align-items: center; gap: 8px; }
.icon-red { color: var(--primary-red); }
.tech-partner-link { color: #94a3b8; text-decoration: underline; transition: color 0.3s ease; }
.tech-partner-link:hover { color: #ffffff; }

/* 404 Page Layout */
.error-page-wrapper {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 24px 100px;
    background-color: var(--bg-frost);
    overflow: hidden;
}

/* Animated Architectural Blueprint Grid */
.blueprint-grid-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1;
    animation: panBlueprint 25s linear infinite;
}

@keyframes panBlueprint {
    0% { background-position: 0 0; }
    100% { background-position: 32px 32px; }
}

/* Decorative Technical Blueprint Crosshairs */
.crosshair {
    position: absolute;
    width: 20px;
    height: 20px;
    border-left: 2px solid rgba(211, 24, 24, 0.3);
    border-top: 2px solid rgba(211, 24, 24, 0.3);
    z-index: 2;
}
.ch-top-left { top: 30px; left: 30px; }
.ch-top-right { top: 30px; right: 30px; transform: rotate(90deg); }
.ch-bottom-left { bottom: 30px; left: 30px; transform: rotate(-90deg); }
.ch-bottom-right { bottom: 30px; right: 30px; transform: rotate(180deg); }

/* Error Card Box */
.error-card {
    position: relative;
    z-index: 5;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    max-width: 680px;
    width: 100%;
    text-align: center;
    padding: 50px 36px;
    overflow: hidden;
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Animated Hazard Top Bar */
.hazard-stripe-bar {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 6px;
    background: repeating-linear-gradient(
        -45deg,
        var(--primary-red),
        var(--primary-red) 16px,
        var(--navy-dark) 16px,
        var(--navy-dark) 32px
    );
    background-size: 45px 45px;
    animation: moveStripe 2s linear infinite;
}

@keyframes moveStripe {
    0% { background-position: 0 0; }
    100% { background-position: 45px 0; }
}

/* Pulsing Hazard Badge */
.hazard-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-red);
    background: rgba(211, 24, 24, 0.08);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(211, 24, 24, 0.2);
    margin-bottom: 24px;
    animation: pulseAlert 2s infinite;
}

@keyframes pulseAlert {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.03); opacity: 0.85; box-shadow: 0 0 12px rgba(211, 24, 24, 0.2); }
}

/* Animated 404 Typography with Spinning Gear */
.error-digits {
    font-size: clamp(4.5rem, 15vw, 8.5rem);
    font-weight: 900;
    color: var(--navy-dark);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gear-zero {
    color: var(--primary-red);
    display: inline-block;
    animation: spinGear 10s linear infinite;
    filter: drop-shadow(0 8px 16px rgba(211, 24, 24, 0.2));
}

@keyframes spinGear {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-title {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 12px;
}

.error-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-home {
    background: var(--navy-dark);
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-home:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 24, 24, 0.25);
}

.btn-support {
    border: 1.5px solid var(--border-light);
    color: var(--navy-dark) !important;
    background: transparent;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-support:hover {
    border-color: var(--navy-dark);
    background: rgba(15, 23, 42, 0.04);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .error-card { padding: 40px 20px; }
    .error-actions { flex-direction: column; width: 100%; }
    .btn-home, .btn-support { width: 100%; justify-content: center; }
}