/* 
==================================================
SK BROTHERS TOWING & CRANE SERVICES
CORE DESIGN SYSTEM & FOUNDATION STYLES
==================================================
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap');

/* 
==================================================
1. CSS VARIABLES (DESIGN TOKENS)
==================================================
*/
:root {
    /* Brand Colors */
    --primary-navy: #0B3C5D;
    --secondary-navy: #173754;
    --safety-yellow: #FFC107;
    --safety-yellow-hover: #E0A800;
    --emergency-red: #D32F2F;
    --emergency-red-hover: #B71C1C;
    --whatsapp-green: #25D366;
    --whatsapp-green-hover: #128C7E;
    
    /* Backgrounds */
    --background: #FFFFFF;
    --background-light: #F8F9FA;
    --background-dark: #0A2240; /* Dark Navy for Footer/Hero overlays */
    
    /* Text Colors */
    --text-dark: #212121;
    --text-muted: #667085;
    --text-light: #FFFFFF;
    
    /* Borders & Dividers */
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    
    /* Fonts */
    --font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', 'Open Sans', 'Roboto', sans-serif;
    
    /* Spacing System (8px Grid) */
    --spacing-xs: 0.25rem;  /* 4px */
    --spacing-sm: 0.5rem;   /* 8px */
    --spacing-md: 1rem;     /* 16px */
    --spacing-lg: 1.5rem;   /* 24px */
    --spacing-xl: 2rem;     /* 32px */
    --spacing-xxl: 3rem;    /* 48px */
    --spacing-3xl: 4rem;    /* 64px */
    --spacing-4xl: 6rem;    /* 96px */
    
    /* Borders & Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-circle: 50%;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(11, 60, 93, 0.08), 0 10px 10px -5px rgba(11, 60, 93, 0.03);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Layout Constants */
    --header-height: 80px;
    --header-height-mobile: 70px;
}

/* 
==================================================
2. ACCESSIBILITY RESET & STYLES
==================================================
*/
/* Reset and normalization */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

/* Accessible focus outline indicator */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary-navy);
    outline-offset: 3px;
}

/* Screen reader only utility class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Heading reset & hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Media Elements reset */
img, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

/* 
==================================================
3. LAYOUT & CONTAINER SYSTEM
==================================================
*/
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

/* Fluid responsive container bounds */
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; padding-left: var(--spacing-lg); padding-right: var(--spacing-lg); } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* Flex/Grid utilities */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-cols-1  { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2  { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3  { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4  { grid-template-columns: repeat(4, 1fr); }

/* Responsive Grid Adapters */
@media (min-width: 576px) {
    .grid-sm-2 { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-md); }
}
@media (min-width: 768px) {
    .grid-md-2 { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-lg); }
    .grid-md-3 { grid-template-columns: repeat(3, 1fr); gap: var(--spacing-lg); }
}
@media (min-width: 992px) {
    .grid-lg-3 { grid-template-columns: repeat(3, 1fr); gap: var(--spacing-xl); }
    .grid-lg-4 { grid-template-columns: repeat(4, 1fr); gap: var(--spacing-lg); }
}

/* Alignments & Flex Utilities */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

/* 
==================================================
4. BUTTON VARIANTS & UTILITIES
==================================================
*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-normal);
    white-space: nowrap;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .btn {
        font-size: 0.95rem;
        padding: 0.85rem 1.75rem;
    }
}

.btn svg {
    margin-right: var(--spacing-sm);
    fill: currentColor;
    flex-shrink: 0;
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}
.btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 0.92rem;
}
@media (min-width: 768px) {
    .btn-lg {
        padding: 1.1rem 2.25rem;
        font-size: 1.05rem;
    }
}

/* Primary Button (Safety Yellow with Navy Text) */
.btn-primary {
    background-color: var(--safety-yellow);
    border-color: var(--safety-yellow);
    color: var(--primary-navy);
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background-color: var(--safety-yellow-hover);
    border-color: var(--safety-yellow-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Secondary Button (Dark Navy with Yellow Text/Accents) */
.btn-secondary {
    background-color: var(--primary-navy);
    border-color: var(--primary-navy);
    color: var(--safety-yellow);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    background-color: var(--secondary-navy);
    border-color: var(--secondary-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Emergency Red Button (Urgent actions) */
.btn-emergency {
    background-color: var(--emergency-red);
    border-color: var(--emergency-red);
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}
.btn-emergency:hover {
    background-color: var(--emergency-red-hover);
    border-color: var(--emergency-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* WhatsApp Green Button */
.btn-whatsapp {
    background-color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
    color: var(--text-light);
    box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover {
    background-color: var(--whatsapp-green-hover);
    border-color: var(--whatsapp-green-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Outline Button */
.btn-outline {
    background-color: transparent;
    border-color: var(--primary-navy);
    color: var(--primary-navy);
}
.btn-outline:hover {
    background-color: var(--primary-navy);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Text Link Style Button */
.btn-link {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    color: var(--primary-navy);
    text-transform: none;
    font-weight: 600;
    position: relative;
}
.btn-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--safety-yellow);
    transition: width var(--transition-normal);
}
.btn-link:hover {
    color: var(--secondary-navy);
}
.btn-link:hover::after {
    width: 100%;
}

/* CTA Group wrapper */
.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    align-items: center;
}

/* 
==================================================
5. CARD & BADGE SYSTEM
==================================================
*/
/* Reusable Cards */
.card {
    background-color: var(--background);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(11, 60, 93, 0.15);
}

/* Glassmorphism card for overlay panels */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 8px 32px 0 rgba(11, 60, 93, 0.05);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-circle);
    border-radius: 50px;
    line-height: 1;
}

.badge-primary {
    background-color: rgba(11, 60, 93, 0.1);
    color: var(--primary-navy);
}

.badge-yellow {
    background-color: rgba(255, 193, 7, 0.2);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge-emergency {
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--emergency-red);
}

/* 
==================================================
6. FORM SYSTEM
==================================================
*/
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-xs);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--background);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 4px rgba(11, 60, 93, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* 
==================================================
7. SECTION SPACING & TYPOGRAPHY UTILITIES
==================================================
*/
.section-padding {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: var(--spacing-3xl);
        padding-bottom: var(--spacing-3xl);
    }
}
@media (min-width: 992px) {
    .section-padding {
        padding-top: var(--spacing-4xl);
        padding-bottom: var(--spacing-4xl);
    }
}

/* Section Header structure */
.section-header {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-xxl);
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-navy);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--safety-yellow);
    border-radius: var(--radius-sm);
}

.section-title.left-align {
    text-align: left;
}
.section-title.left-align::after {
    left: 0;
    transform: none;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: var(--spacing-sm);
}

/* Responsive Images */
.responsive-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* 
==================================================
8. LIGHTWEIGHT BACKGROUND ANIMATION SYSTEM
==================================================
*/
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background-color: var(--background);
    pointer-events: none;
}

/* Soft color glow spots */
.glow-spot-blue {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 60, 93, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    left: -100px;
}

.glow-spot-yellow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -100px;
    right: -100px;
}

/* Subtle moving grid */
.animated-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(11, 60, 93, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 60, 93, 0.035) 1px, transparent 1px);
    opacity: 0.8;
}

/* Road highway animated lane indicators */
.highway-lanes {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(180deg, transparent, rgba(11, 60, 93, 0.02) 50%, transparent);
    overflow: hidden;
}

.highway-lane-line {
    position: absolute;
    top: 50%;
    left: -200px;
    width: 80px;
    height: 2px;
    background-color: rgba(255, 193, 7, 0.45);
    animation: driveLanes 8s linear infinite;
}

.highway-lane-line:nth-child(2) {
    animation-delay: 2.6s;
}

.highway-lane-line:nth-child(3) {
    animation-delay: 5.3s;
}

@keyframes driveLanes {
    0% {
        left: -100px;
        transform: scaleX(0.5);
        opacity: 0.1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        left: 100%;
        transform: scaleX(1.5);
        opacity: 0.1;
    }
}

/* Floating route points representing roadside assistance */
.route-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.route-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: rgba(11, 60, 93, 0.15);
    border-radius: 50%;
    animation: pulseDot 4s ease-in-out infinite alternate;
}

.route-dot:nth-child(1) { top: 25%; left: 15%; animation-delay: 0s; }
.route-dot:nth-child(2) { top: 60%; left: 80%; animation-delay: 1.5s; background-color: rgba(255, 193, 7, 0.3); }
.route-dot:nth-child(3) { top: 75%; left: 30%; animation-delay: 3s; }

@keyframes pulseDot {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(2.2);
        opacity: 0.9;
        box-shadow: 0 0 10px rgba(11, 60, 93, 0.3);
    }
}

/* Respect user prefers-reduced-motion setting */
@media (prefers-reduced-motion: reduce) {
    .highway-lane-line,
    .route-dot {
        animation: none !important;
    }
    html {
        scroll-behavior: auto !important;
    }
}

/* Disable on low power mobile devices */
@media (max-width: 576px) {
    .animated-grid,
    .highway-lanes,
    .route-dots {
        display: none;
    }
}

/* 
==================================================
9. DYNAMIC ICON STYLING & HELPERS
==================================================
*/
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: rgba(11, 60, 93, 0.05);
    color: var(--primary-navy);
    transition: all var(--transition-normal);
}

.card:hover .icon-wrapper {
    background-color: var(--safety-yellow);
    color: var(--primary-navy);
}

.icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* 
==================================================
10. GLOBAL NAVIGATION HEADER
==================================================
*/
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.site-logo img {
    height: 48px;
    width: auto;
}

.site-logo span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary-navy);
    line-height: 1.1;
    text-transform: uppercase;
}

.site-logo span small {
    display: none;
}

@media (min-width: 480px) {
    .site-logo span small {
        display: inline-block;
    }
}

@media (min-width: 1200px) {
    .site-logo span {
        font-size: 1.15rem;
    }
    .site-logo img {
        height: 52px;
    }
}

.desktop-nav {
    display: none;
    flex-grow: 1;
    justify-content: center;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
        align-items: center;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

@media (min-width: 1200px) {
    .nav-links {
        gap: 16px;
    }
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-navy);
    padding: var(--spacing-xs) 6px;
    border-radius: var(--radius-sm);
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

@media (min-width: 1200px) {
    .nav-link {
        font-size: 0.9rem;
        padding: var(--spacing-xs) var(--spacing-sm);
        gap: 4px;
    }
}

.nav-link:hover, .nav-link.active {
    color: var(--safety-yellow-hover);
}

/* Dropdown Menu System */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-icon {
    font-size: 0.65rem;
    margin-left: 2px;
    transition: transform var(--transition-fast);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    list-style: none;
    z-index: 1100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.dropdown-item a:hover {
    background-color: var(--background-light);
    color: var(--primary-navy);
    padding-left: var(--spacing-lg);
}

.header-cta-group {
    display: none;
    align-items: center;
    gap: var(--spacing-xs);
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .header-cta-group {
        display: flex;
    }
}

@media (min-width: 1200px) {
    .header-cta-group {
        gap: var(--spacing-sm);
    }
}

.phone-badge-link {
    display: none;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 0.9rem;
}

@media (min-width: 1200px) {
    .phone-badge-link {
        display: inline-flex;
        font-size: 1rem;
        margin-right: var(--spacing-xs);
    }
}

.phone-badge-link svg {
    fill: var(--primary-navy);
    width: 20px;
    height: 20px;
}

/* Hamburger mobile button */
.mobile-nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    color: var(--primary-navy);
}

@media (min-width: 992px) {
    .mobile-nav-toggle {
        display: none;
    }
}

/* Mobile Slide-out Navigation Drawer */
.mobile-nav-menu {
    position: fixed;
    top: var(--header-height-mobile);
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--header-height-mobile));
    background-color: var(--background);
    z-index: 1500;
    box-shadow: var(--shadow-lg);
    transition: left var(--transition-normal);
    padding: var(--spacing-lg);
    overflow-y: auto;
    border-right: 1px solid var(--border-light);
}

.mobile-nav-menu.open {
    left: 0;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.mobile-nav-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-navy);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-light);
}

.mobile-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.mobile-dropdown-menu {
    list-style: none;
    padding-left: var(--spacing-md);
    margin-top: var(--spacing-xs);
    display: none;
}

.mobile-dropdown-menu.show {
    display: block;
}

.mobile-nav-overlay {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height-mobile));
    background: rgba(0, 0, 0, 0.4);
    z-index: 1400;
    display: none;
}

.mobile-nav-overlay.show {
    display: block;
}

/* 
==================================================
11. HOMEPAGE HERO SECTION
==================================================
*/
.hero-section {
    position: relative;
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
    overflow: hidden;
}

@media (min-width: 992px) {
    .hero-section {
        padding-top: var(--spacing-4xl);
        padding-bottom: var(--spacing-4xl);
    }
}

.hero-content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
}

.hero-badge {
    margin-bottom: var(--spacing-md);
    align-self: flex-start;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--primary-navy);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.25rem;
    }
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xl);
    max-width: 580px;
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--background);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
}

@media (min-width: 992px) {
    .hero-image-wrap img {
        aspect-ratio: 16/11;
    }
}

/* 
==================================================
12. EMERGENCY CONTACT STRIP
==================================================
*/
.emergency-strip {
    background-color: var(--secondary-navy);
    color: var(--text-light);
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 10;
}

.strip-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    text-align: center;
}

@media (min-width: 576px) {
    .strip-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .strip-container {
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        text-align: left;
    }
}

.strip-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    justify-content: center;
}

@media (min-width: 992px) {
    .strip-item {
        justify-content: flex-start;
    }
}

.strip-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 193, 7, 0.15);
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--safety-yellow);
    flex-shrink: 0;
}

.strip-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--safety-yellow);
    text-transform: uppercase;
}

.strip-text span {
    font-size: 0.85rem;
    opacity: 0.85;
}

.strip-btn-red {
    background-color: var(--emergency-red);
    color: var(--text-light);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 700;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    justify-content: center;
}

.strip-btn-red:hover {
    background-color: var(--emergency-red-hover);
}

.strip-btn-green {
    background-color: var(--whatsapp-green);
    color: var(--text-light);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 700;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    justify-content: center;
}

.strip-btn-green:hover {
    background-color: var(--whatsapp-green-hover);
}

/* 
==================================================
13. HOW IT WORKS CONNECTORS & TIMELINE
==================================================
*/
.steps-container {
    position: relative;
}

.step-card {
    background-color: var(--background);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-badge {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-circle);
    background-color: var(--primary-navy);
    color: var(--safety-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
    box-shadow: var(--shadow-sm);
}

.step-card h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--primary-navy);
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Subtle connecting line for steps (Visible on desktop) */
@media (min-width: 768px) {
    .steps-container::after {
        content: '';
        position: absolute;
        top: 40px;
        left: 10%;
        right: 10%;
        height: 2px;
        background-image: linear-gradient(to right, var(--primary-navy) 50%, transparent 50%);
        background-size: 15px 2px;
        z-index: 1;
    }
}

/* 
==================================================
14. SERVICE AREAS PILLS
==================================================
*/
.location-pills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.location-pill {
    background-color: var(--background);
    color: var(--primary-navy);
    border: 1px solid var(--border-medium);
    border-radius: 50px;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.location-pill:hover {
    background-color: var(--primary-navy);
    color: var(--safety-yellow);
    border-color: var(--primary-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 
==================================================
15. ACCORDION SYSTEM (FAQ)
==================================================
*/
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--background);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: var(--spacing-md) var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.faq-header:hover {
    background-color: var(--background-light);
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--safety-yellow-hover);
}

.faq-body {
    display: none;
    padding: 0 var(--spacing-lg) var(--spacing-md);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    border-top: 1px solid var(--border-light);
}

/* 
==================================================
16. EMERGENCY LARGE CTA SECTION
==================================================
*/
.emergency-cta-section {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: var(--spacing-xxl) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    border-bottom: 5px solid var(--safety-yellow);
}

.emergency-cta-inner {
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .emergency-cta-inner {
        padding: 0 var(--spacing-xl);
    }
}

.emergency-cta-content {
    position: relative;
    z-index: 5;
    max-width: 650px;
}

.emergency-cta-title {
    color: var(--safety-yellow);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.emergency-cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

.emergency-cta-bg {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 1;
}

@media (min-width: 992px) {
    .emergency-cta-bg {
        width: 45%;
        opacity: 0.85;
    }
}

.emergency-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 
==================================================
17. GLOBAL FOOTER
==================================================
*/
.site-footer {
    background-color: var(--background-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-lg);
    border-top: 5px solid var(--primary-navy);
}

@media (max-width: 767px) {
    .site-footer {
        padding-bottom: calc(var(--spacing-lg) + 56px);
    }
}

.footer-title {
    color: var(--text-light);
    font-size: 1.15rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--safety-yellow);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col-logo img {
    max-height: 50px;
    margin-bottom: var(--spacing-sm);
}

.footer-links-list {
    list-style: none;
    padding-left: 0;
}

.footer-links-list li {
    margin-bottom: var(--spacing-sm);
}

.footer-links-list a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    display: inline-block;
    transition: all var(--transition-fast);
}

.footer-links-list a:hover {
    color: var(--safety-yellow);
    transform: translateX(3px);
}

.footer-social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.social-icon-btn:hover {
    background-color: var(--safety-yellow);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.social-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-contact-info {
    font-size: 0.9rem;
}

.footer-contact-info p {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-contact-info svg {
    fill: var(--safety-yellow);
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        gap: 0;
    }
}

.footer-legal-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal-links a:hover {
    color: var(--safety-yellow);
}

/* 
==================================================
18. MOBILE EMERGENCY BOTTOM ACTION BAR
==================================================
*/
.mobile-bottom-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background-color: var(--background);
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
}

@media (min-width: 768px) {
    .mobile-bottom-action-bar {
        display: none;
    }
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    height: 100%;
    cursor: pointer;
}

.mobile-action-btn-red {
    background-color: var(--emergency-red);
}

.mobile-action-btn-red:hover {
    background-color: var(--emergency-red-hover);
}

.mobile-action-btn-green {
    background-color: var(--whatsapp-green);
}

.mobile-action-btn-green:hover {
    background-color: var(--whatsapp-green-hover);
}

.mobile-action-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* 
==================================================
19. EXTREMELY NARROW SCREEN OVERRIDES (<320px)
==================================================
*/
@media (max-width: 320px) {
    .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    h1 { font-size: 1.45rem !important; }
    h2 { font-size: 1.25rem !important; }
    h3 { font-size: 1.1rem !important; }
    h4 { font-size: 1.0rem !important; }
    
    .hero-title { font-size: 1.5rem !important; }
    .emergency-cta-title { font-size: 1.2rem !important; }
    
    .btn {
        white-space: normal !important;
        word-break: break-word !important;
        padding: 8px 12px !important;
        font-size: 0.78rem !important;
    }
    
    .btn-lg {
        padding: 10px 14px !important;
        font-size: 0.82rem !important;
    }
    
    .site-logo span {
        font-size: 0.8rem !important;
    }
    
    .site-logo img {
        height: 36px !important;
    }
}

