/* ========================================
   HEADER STYLES
   ======================================== */

.top-bar {
    background: linear-gradient(135deg, #1B211A 0%, #00D4FF 100%);
    color: #ffffff;
    padding: 10px 0;
    font-size: 13px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;   
}


.top-bar-container {
    display: flex;
    justify-content: center;
    align-items: center; 
}

.contact-info {
    display: flex;
    gap: 25px;
    text-align:center;
}

.contact-item {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    transition: all 0.3s ease;
    font-size: 13px;
}

.contact-item:hover {
    color: #fbbf24;
}

.contact-item i {
    font-size: 13px;
}

.query-btn {
    background: #ffffff;
    color: #01050f;
    padding: 7px 18px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* FIXED: Get Touch Button - Consistent Blue Background & White Text */
.get-touch-btn {
    background: linear-gradient(135deg, #1B211A 0%, #00D4FF 100%) !important;
    color: white !important;
    padding: 10px 18px;
    border-radius: 5px;
    font-size: 13px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.get-touch-btn a {
    color: white !important;
    text-decoration: none !important;
}

.get-touch-btn:hover {
    background: linear-gradient(135deg, #2d372b 0%, #03a8c9 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 82, 163, 0.4);
}

.get-touch-btn:hover a {
    color: white !important;
}

.query-btn:hover {
    background: #fbbf24;
    color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Main Header */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 55px; /* height of top bar */
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}


.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1e3a8a;
    text-decoration: none;
    padding:5px
}

.logo-icon {
    background: linear-gradient(135deg, #1B211A 0%, #00D4FF 100%);
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(41, 82, 163, 0.3);
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1B211A 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  
}

/* Navigation */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    color: #1f2937;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #1B211A 0%, #00D4FF 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #096071;
}

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

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown .nav-link i {
    font-size: 11px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
    border-bottom:#01050f 2px solid;

   
}

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

.dropdown-menu li {
    list-style: none;
    border-bottom:#01050f 1px solid;
    border-radius: 8px;

}

.dropdown-menu a {
    text-decoration:none;
    display: block;
    padding: 10px 20px;
    color: #1f2937;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, #1B211A 0%, #00D4FF 100%);
    color: #ffffff;
    border-bottom: 8px;

}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #2952a3;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media screen and (max-width: 768px) {
body{
padding-top: 70px;
}
    
    /* Hide top bar on mobile */
    .top-bar {
        display: none;
         position: static;
    }
    
    /* Header stays sticky */
    .main-header {
        position: fixed;
        top: 0;
        width: 100%;
        background: #ffffff;
    }
    
    .header-container {
        padding: 15px 20px;
    }
    
    /* Show hamburger */
    .hamburger {
        display: flex;
    }
    
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 49px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 69px);
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: stretch;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .nav-link {
        display: block;
        padding: 15px 18px;
        width: 100%;
        font-size: 15px;
    }
    
    .nav-link::after {
        display: none;
    }
    
    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: #f9fafb;
        border-radius: 0;
        margin-top: 0;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 600px;
    }
    
    .dropdown-menu a {
        padding: 12px 35px;
        font-size: 14px;
    }
    
    .dropdown-menu a:hover {
        background: #e5e7eb;
        color: #2952a3;
    }
    
    /* Smaller logo on mobile */
    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }
    
    .logo {
        padding:5px;
        font-size: 18px;
        text-decoration: none;
    }
    
    /* Add padding to body to account for fixed header */
    body {
        /* padding-top: 40px; */
    }
}

@media screen and (max-width: 480px) {
    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .logo {
        font-size: 16px;
        gap: 8px;
    }
    
    .nav-link {
        padding: 14px 15px;
        font-size: 14px;
    }
}