* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c41e3a;
    --secondary-color: #ff6b35;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --accent-color: #ffd700;
    --gradient: linear-gradient(135deg, #c41e3a 0%, #ff6b35 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.fire-loader {
    width: 60px;
    height: 60px;
    position: relative;
}

.fire-loader::before {
    content: '🔥';
    font-size: 50px;
    animation: fireFlicker 0.5s infinite alternate;
}

@keyframes fireFlicker {
    0% { transform: scale(1) rotate(-5deg); }
    100% { transform: scale(1.2) rotate(5deg); }
}

/* Top Bar */
.top-bar {
    background: var(--dark-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--accent-color);
}

.emergency-number {
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER & NAVIGATION - FULL WIDTH FIXED
   ============================================ */

.header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Logo Section */
.header-top {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    height: 70px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(10deg);
}

.logo-text h1 {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

.logo-text p {
    font-size: 13px;
    color: #666;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
}

.header-contact i {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.header-contact span {
    font-size: 12px;
    color: #666;
}

.header-contact strong {
    display: block;
    font-size: 16px;
    color: var(--primary-color);
}

.emergency-btn {
    background: var(--gradient);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.emergency-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(196,30,58,0.4);
}

/* ============================================
   MAIN NAVIGATION - UPDATED & FIXED
   ============================================ */

.main-nav {
    background: var(--dark-color);
    position: relative;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 18px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-links > li > a:hover,
.nav-links > li.active > a {
    background: rgba(255,255,255,0.1);
    border-bottom-color: var(--secondary-color);
}

.nav-links > li > a .dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.nav-links > li.has-dropdown:hover > a .dropdown-arrow {
    transform: rotate(180deg);
}

/* ============================================
   DROPDOWN MENU - UPDATED & FIXED
   ============================================ */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 15px 0;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.nav-links > li.has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu li a i {
    width: 25px;
    color: var(--primary-color);
    font-size: 14px;
}

.dropdown-menu li a:hover {
    background: linear-gradient(90deg, rgba(196, 30, 58, 0.1) 0%, transparent 100%);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 30px;
}

.dropdown-menu li a .badge {
    background: var(--gradient);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

/* ============================================
   MEGA MENU - UPDATED
   ============================================ */

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 600px;
    background: white;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 25px;
    z-index: 1000;
}

.nav-links > li.has-dropdown:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #444;
}

.mega-menu-item:hover {
    background: var(--light-color);
    transform: translateX(5px);
}

.mega-menu-item .icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.mega-menu-item .content h4 {
    font-size: 14px;
    color: var(--dark-color);
    margin-bottom: 2px;
}

.mega-menu-item .content p {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

.mega-menu-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mega-menu-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.mega-menu-footer a:hover {
    gap: 10px;
}

/* ============================================
   HAMBURGER MENU - UPDATED & FIXED
   ============================================ */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
    z-index: 1002;
    background: var(--gradient);
    border-radius: 8px;
    border: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Search Button in Nav */
.nav-search {
    margin-left: auto;
    padding: 15px 20px;
}

.nav-search button {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.nav-search button:hover {
    color: var(--accent-color);
}

/* ============================================
   MOBILE MENU OVERLAY - UPDATED
   ============================================ */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 550px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(196,30,58,0.7) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 900px;
}

.slide-content h2 {
    font-size: 55px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(196,30,58,0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    margin-left: 15px;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.4);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-arrow {
    width: 55px;
    height: 55px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Emergency Strip */
.emergency-strip {
    background: var(--gradient);
    padding: 20px 0;
    color: white;
}

.emergency-strip .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.emergency-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.emergency-item i {
    font-size: 30px;
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.emergency-item h3 {
    font-size: 22px;
}

.emergency-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 18px;
    max-width: 600px;
    margin: 20px auto 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 99%;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gradient);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(196,30,58,0.4);
}

.experience-badge h3 {
    font-size: 48px;
    line-height: 1;
}

.experience-badge p {
    font-size: 14px;
}

.about-content h3 {
    font-size: 32px;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.about-content p {
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-feature i {
    color: var(--primary-color);
    font-size: 20px;
}

/* Services Section */
.services {
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 14px;
}

/* Statistics Section */
.statistics {
    background: var(--gradient);
    padding: 80px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Safety Tips Section */
.safety-tips {
    background: white;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tip-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-color);
}

.tip-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tip-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.tip-card ul {
    list-style: none;
}

.tip-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.tip-card li::before {
    content: '🔥';
    position: absolute;
    left: 0;
}

/* Report Emergency Section */
.report-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2d2d44 100%);
    color: white;
}

.report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.report-content h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.report-content p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.report-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-step {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.report-step:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.report-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    color: var(--dark-color);
}

.report-form h4 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Equipment Section */
.equipment {
    background: var(--light-color);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.equipment-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.equipment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.equipment-image {
    height: 180px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
}

.equipment-info {
    padding: 25px;
    text-align: center;
}

.equipment-info h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.equipment-info p {
    color: #666;
    font-size: 14px;
}

/* Districts Section */
.districts {
    background: white;
}

.districts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.district-card {
    background: var(--light-color);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.district-card:hover {
    background: var(--gradient);
    color: white;
    transform: scale(1.05);
}

.district-card i {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.district-card:hover i {
    color: white;
}

.district-card h5 {
    font-size: 13px;
}

/* Contact Section */
.contact {
    background: var(--dark-color);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-box:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.contact-box i {
    font-size: 35px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-box h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-box p {
    opacity: 0.8;
    line-height: 1.8;
    font-size: 14px;
}

.contact-box a {
    color: var(--accent-color);
    text-decoration: none;
}

/* Footer */
.footer {
    background: #111;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 20px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient);
    transform: translateY(-5px);
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(196,30,58,0.4);
}

/* Animations */
.animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE STYLES - COMPLETELY UPDATED
   ============================================ */

@media (max-width: 1200px) {
    .nav-links > li > a {
        padding: 18px 15px;
        font-size: 13px;
    }

    .services-grid,
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mega-menu {
        width: 500px;
    }
}

@media (max-width: 1024px) {
    .header-contact {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .districts-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links > li > a {
        padding: 18px 12px;
        font-size: 12px;
    }
}

/* ============================================
   MOBILE NAVIGATION - COMPLETELY FIXED
   ============================================ */

@media (max-width: 992px) {
    /* Show hamburger button */
    .hamburger {
        display: flex;
        position: fixed;
        right: 20px;
        top: 25px;
        transform: none;
        z-index: 1002;
    }

    /* Keep main-nav visible but empty on mobile */
    .main-nav {
        display: block;
        padding: 15px 0;
    }

    .main-nav .container {
        min-height: 20px;
    }

    /* Mobile Navigation Panel */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 0 30px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
        overflow-y: auto;
        z-index: 1001;
        display: flex;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links > li > a {
        width: 100%;
        padding: 15px 25px;
        color: var(--dark-color);
        justify-content: space-between;
        text-transform: none;
        font-size: 15px;
        border-bottom: none;
        background: transparent;
    }

    .nav-links > li > a:hover {
        background: rgba(196, 30, 58, 0.08);
        border-bottom: none;
    }

    .nav-links > li > a i:first-child {
        margin-right: 10px;
    }

    /* Mobile Dropdown - Click to Toggle */
    .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background: #f5f5f5;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }

    /* Remove hover effect for mobile */
    .nav-links > li.has-dropdown:hover > .dropdown-menu {
        max-height: 0;
        padding: 0;
    }

    /* Show dropdown on active class (JS controlled) */
    .nav-links > li.has-dropdown.active > .dropdown-menu {
        max-height: 500px;
        padding: 10px 0;
    }

    .dropdown-menu li a {
        padding: 12px 40px;
        font-size: 14px;
        color: #555;
    }

    .dropdown-menu li a:hover {
        background: rgba(196, 30, 58, 0.1);
        padding-left: 45px;
    }

    /* Rotate arrow on active */
    .nav-links > li.has-dropdown.active > a .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Mega Menu Mobile */
    .mega-menu {
        position: static;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background: #f5f5f5;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .nav-links > li.has-dropdown:hover > .mega-menu {
        max-height: 0;
        padding: 0;
    }

    .nav-links > li.has-dropdown.active > .mega-menu {
        max-height: 600px;
        padding: 15px 20px;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
    }

    .mega-menu-item {
        padding: 10px;
    }

    .mega-menu-item .content p {
        display: none;
    }

    .mega-menu-footer {
        flex-direction: column;
        gap: 10px;
    }

    .nav-search {
        display: none;
    }

    /* Close button for mobile menu */
    .nav-links::before {
        content: '✕';
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 24px;
        color: var(--dark-color);
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
        border-radius: 50%;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero-slider {
        height: 75vh;
        min-height: 450px;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 15px;
    }

    .about-grid,
    .report-grid {
        grid-template-columns: 1fr;
    }

    .about-image::before {
        display: none;
    }

    .experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }

    .services-grid,
    .tips-grid,
    .equipment-grid,
    .stats-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .districts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: 30px;
    }

    .section {
        padding: 70px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }

    .emergency-strip .container {
        gap: 20px;
    }

    .emergency-item {
        flex: 1 1 45%;
        justify-content: center;
    }

    .logo img {
        height: 55px;
    }

    .logo-text h1 {
        font-size: 16px;
    }

    .logo-text p {
        font-size: 11px;
    }

    .emergency-btn {
        padding: 10px 15px;
        font-size: 12px;
    }

    .hamburger {
        top: 20px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 14px;
    }

    .logo img {
        height: 45px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .emergency-item {
        flex: 1 1 100%;
    }

    .districts-grid {
        grid-template-columns: 1fr;
    }

    .emergency-btn span {
        display: none;
    }

    .header-top {
        padding: 10px 0;
    }

    .hamburger {
        top: 15px;
        right: 10px;
        padding: 8px;
    }

    .hamburger span {
        width: 22px;
        height: 2px;
    }

    .nav-links {
        width: 100%;
        max-width: 100%;
    }
}