* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #f1c40f; /* Emergency Yellow */
    --dark: #2c3e50;    /* Trust Blue */
    --light: #ecf0f1;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--dark);
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo { font-size: 1.5rem; font-weight: bold; }
.logo span { color: var(--primary); }

.nav-links { display: flex; list-style: none; }
.nav-links li a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: 0.3s;
}

.btn-emergency {
    background: var(--primary);
    padding: 10px 20px;
    border-radius: 5px;
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1582139329536-e7284fece509?auto=format&fit=crop&w=1200') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 { font-size: 3rem; margin-bottom: 1rem; }

.hero-btns { margin-top: 2rem; }
.btn-primary, .btn-secondary {
    padding: 15px 30px;
    margin: 10px;
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
.btn-primary { background: var(--primary); color: #000; }
.btn-secondary { background: transparent; border: 2px solid white; color: white; }

/* Services */
.services { padding: 80px 10%; background: var(--light); text-align: center; }
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card i { font-size: 3rem; color: var(--dark); margin-bottom: 15px; }

/* Mobile Menu */
.menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; }

/* Mobile Style - Update this part in index.html */
@media(max-width: 900px) {
    #navLinks {
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px 0;
        display: none; /* Keep it hidden initially */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        list-style: none; /* This removes the bullet points */
    }

    /* Add !important to ensure it overrides the 'display: none' */
    #navLinks.active {
        display: flex !important; 
    }

    #mobile-menu {
        display: block;
        cursor: pointer;
        font-size: 24px;
        padding: 10px;
    }
}

.services-section {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .services-header p {
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-muted);
            margin-bottom: 10px;
        }

        .services-header h2 {
            font-size: 2.5rem;
            margin-top: 0;
            margin-bottom: 50px;
            color: var(--text-dark);
        }

        /* Grid Layout */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 25px;
        }

        /* Individual Card Styling */
        .service-card {
            background: #ffffff;
            padding: 40px 30px;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: transform 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-5px);
        }
#navLinks {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    text-decoration: none;
   
    padding: 0;
}
.navLinks {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}
        .icon-box {
            font-size: 3rem;
            color: var(--accent-blue);
            margin-bottom: 20px;
        }

        .service-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--text-dark);
        }

        .service-card p {
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 30px;
            font-size: 1.05rem;
            flex-grow: 1; /* Keeps buttons aligned at bottom */
        }

        /* Button Styling */
        .btn-call {
            background-color: var(--accent-blue);
            color: white;
            text-decoration: none;
            padding: 12px 25px;
            border-radius: 25px;
            font-weight: 600;
            width: 100%;
            max-width: 250px;
            transition: background 0.3s ease;
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
        }

        .btn-call:hover {
            background-color: var(--btn-hover);
        }

        /* Responsive adjustments */
        @media (max-width: 600px) {
            .services-header h2 {
                font-size: 1.8rem;
            }
            .services-grid {
                grid-template-columns: 1fr;
            }
        }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
/* --- CLEANED MOBILE NAVIGATION --- */

/* Hide hamburger by default on desktop */
#mobile-menu {
    display: none !important;
}

@media (max-width: 900px) {
    /* Show hamburger on mobile */
    #mobile-menu {
        display: block !important;
        cursor: pointer;
        z-index: 1001;
    }

    /* Base mobile menu state (Hidden) */
    #navLinks {
        display: none !important; /* Force hide */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    /* Active state (Shown when JS toggles the class) */
    #navLinks.active {
        display: flex !important;
    }
}

@media (max-width: 900px) {
    #mobile-menu {
        display: block !important;
    }
}
