1. VARIABLES & RESET
   ========================================= */
:root {
    --primary: #0a2540;
    --accent: #007bff;
    --accent-dark: #0056b3;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f4f7f9;
    --success: #25d366;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

ul { list-style: none; }
a { text-decoration: none; }
img { max-width: 100%; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-blue { color: var(--accent); }

/* =========================================
   2. TOP BAR & NAVIGATION
   ========================================= */
.top-bar {
    background-color: var(--primary);
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.emergency-alert {
    color: #ffbf00;
    font-weight: 600;
    animation: pulse-text 2s infinite;
}

@keyframes pulse-text {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 42px; /* Adjusted for the sticky top-bar */
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--primary);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slider {
    position: absolute; /* Sits behind the content */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Important: Takes the 85vh from .hero */
    z-index: 0;
}

.hero-slider .swiper-slide {
    width: 100%;
    height: 100%; /* Important: Makes the image visible */
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,37,64,0.95) 0%, rgba(10,37,64,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.tag {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-whatsapp {
    background-color: var(--success);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

/* =========================================
   4. SERVICES SECTION
   ========================================= */
.services {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.line {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 15px;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 30px;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* =========================================
   5. GALLERY SECTION
   ========================================= */
.gallery {
    padding: 100px 0;
}

.gallery-slider {
    width: 100%;
    height: 500px;
}

.gallery-slider .swiper-slide {
    overflow: hidden;
    border-radius: 15px;
}

.gallery-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================
   6. CONTACT & FOOTER
   ========================================= */
.contact-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    background: var(--light-bg);
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: var(--transition);
}

.full-width {
    width: 100%;
    cursor: pointer;
    font-size: 1rem;
}

footer {
    background: var(--primary);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    margin: 0 10px;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon.facebook:hover {
    background-color: #3b5998;
}

.social-icon.twitter:hover {
    background-color: #1da1f2;
}

.social-icon.instagram:hover {
    background-color: #e1306c;
}

.social-icon.linkedin:hover {
    background-color: #0077b5;
}


.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* =========================================
   7. MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .top-bar {
        position: static;
    }

    .navbar {
        top: 0;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 25px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        transform: translateY(-150%);
        transition: transform 0.5s ease-in-out;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links .btn-primary { display: none; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-form { padding: 25px; }
    .gallery-slider { height: 300px; }
}

@media (max-width: 768px) {
    /* ... existing code ... */
    
    .menu-toggle { 
        display: block; 
        position: relative; 
        z-index: 2001; /* This ensures the button stays ABOVE the menu */
    }

    .nav-links {
        /* ... existing code ... */
        z-index: 2000; /* Sit just below the button */
        /* Change display from flex to none/flex toggle for better compatibility */
        display: none; 
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
    }
}

/* Ensure the hamburger button stays on top of the menu */
.nav-actions {
    position: relative;
    z-index: 3000;
}

#mobileMenu {
    cursor: pointer;
    padding: 10px;
}

/* Fix for the Hero Content being centered */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

