/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    /* position: sticky; */
    top: 0;
    z-index: 100;
}

.logo h1 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--primary);
    margin: 0;
    font-size: 1.8rem;
}

.logo p {
    color: var(--secondary);
    margin: 0;
    font-size: 0.9rem;
}



/* ===== Header Styles ===== */
:root {
    --primary: #0056b3; /* Deep electric blue */
    --secondary: #FFC107; /* Safety yellow */
    --accent: #e63946; /* For emergency elements */
    --dark: #1a1a2e;
    --light: #f8f9fa;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--accent), #c1121f);
    color: white;
    padding: 0.1rem 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.announcement-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-text {
    display: flex;
    align-items: center;
}

.announcement-icon {
    margin-right: 0.8rem;
    animation: pulse 2s infinite;
}

.emergency-call {
    color: white;
    background: rgba(0,0,0,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
}

.emergency-call:hover {
    background: rgba(0,0,0,0.4);
    transform: translateY(-2px);
}

/* Main Header */
.main-header {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

.main-header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    position: relative;
    margin-right: 1rem;
}

.logo-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    animation: pulse 3s infinite;
    opacity: 0;
}

.logo-text h1 {
    font-family: 'Rajdhani', sans-serif;
    color: var(--primary);
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

.logo-text h1 span {
    color: var(--dark);
}

.tagline {
    color: var(--secondary);
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.tagline span {
    color: var(--dark);
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
    margin: 0 0.5rem;
}

.main-nav a {
    color: var(--dark);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.nav-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
    color: var(--primary);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: rgba(0,86,179,0.05);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.2rem;
    right: 1.2rem;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px 3px 0 0;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    transform: translateY(10px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
    margin: 0;
}

.dropdown-menu a {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--primary);
    color: white !important;
}

.dropdown-menu i {
    width: 20px;
    text-align: center;
    margin-right: 0.8rem;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
}

.whatsapp-cta {
    background: #25D366;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.whatsapp-cta i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.whatsapp-cta:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s;
    display: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.1);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.6;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    margin-left: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .main-nav a {
        padding: 0.8rem 0.8rem;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .header-cta {
        margin-left: auto;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .floating-whatsapp {
        display: flex;
    }
    
    .whatsapp-cta {
        display: none;
    }
}

@media (max-width: 576px) {
    .announcement-bar .container {
        flex-direction: column;
    }
    
    .emergency-call {
        margin-top: 0.3rem;
    }
    
    .logo-text h1 {
        font-size: 1.4rem;
    }
    
    .tagline {
        font-size: 0.7rem;
    }
}