/* ==========================================================================
   Header & Navigation Styles - Dual Navbar System
   ========================================================================== */

/* DEFAULT HEADER - Always visible at top of page */
.header.default-header {
  position: relative;
  width: 100%;
  top: 60px;
  padding: 25px 40px;
  z-index: 999;
  transition: all 0.3s ease;
  background: transparent;
}


/* FIXED HEADER - Hidden initially above viewport, slides down on scroll */
.header.fixed-header {
  position: fixed;
  width: 100%;
  top: -152px; /* Hidden above viewport initially */
  left: 0;
  padding: 25px 40px;
  z-index: 1001;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e5e7eb;
  transition: transform 0.3s ease;
}







/* Show fixed header when scrolled */
.header.fixed-header.visible {
  transform: translateY(140px); /* Slide down into view */
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* Logo Styling */
.logo img.logo-image {
    height: 50px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Default header uses white logo */
.default-header .logo .default-logo {
    display: block;
}

/* Fixed header uses colored logo */
.fixed-header .logo .scrolled-logo {
    display: block;
}

/* NAV LINKS */
.nav {
  display: flex;
  gap: 38px;
  align-items: center;
 
}

/* Default header nav links (white) */
.default-header .nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}


/* Fixed header nav links (black) */
.fixed-header .nav-link {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.fixed-header .nav-link:hover {
  color: #0500ef;
}

/* DROPDOWN */
.nav-dropdown {
  position: relative;
  padding: 25px 25px 25px 0;
}

.nav-dropdown a{
  display:flex;
  gap:5px;
}

.nav-dropdown svg{
  margin-top: 5px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  width:250px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  padding: 8px 0 5px 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 0 10px 25px;
  margin-left: 5px;
  margin-right: 5px;
  color: #000000;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.dropdown-menu a:hover{
  background: #1338BC;
  color:#ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
  
}

/* Fixed header dropdown */
.fixed-header .dropdown-menu {
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.fixed-header .dropdown-menu a {
  color: #111827;
}

.fixed-header .dropdown-menu a:hover {
  background: #0500ef;
  color: #ffffff;
}

/* Contact button - Default header (white background) */
.default-header .contact-button {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  background: #ffffff;
  color: #1e40af;
  text-decoration: none;
  padding: 0.75rem 2.5rem;
  border-radius: 30px;
  font-size:  1.3rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.default-header .contact-button:hover {
  background: #1e40af;
  color:#ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

/* Contact button - Fixed header (blue background) */
.fixed-header .contact-button {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  background:#1e40af;
  color: #ffffff;
  text-decoration: none;
  padding: 0.75rem 2.5rem;
  border-radius: 30px;
  font-size:  1.3rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.fixed-header .contact-button:hover {
  background:#ffffff;
  color:#1e40af;
  transform: translateY(-2px);
  border-style: solid;
  border-width: 1px 1px 1px 1px;
 
}

/* Contact icon styling */
.contact-icon {
  background: #1e40af;
  color: white;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.default-header .contact-button:hover .contact-icon {
  background: #2042BF;
  color: #ffffff;
}

.fixed-header .contact-icon {
  background:#1438bc;
  color: #ffffff;
}

.fixed-header .contact-button:hover .contact-icon {
  background:#1e40af;
  color: #ffffff;
}