/* Header Styles */
.header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 70px;
  width: 100%;
  box-sizing: border-box;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #004d99;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 40px;
}

.logo-img {
  height: 56px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  justify-content: center;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.3s;
  font-size: 16px;
}

.nav-link:hover {
  color: #004d99;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  color: #1a1a1a;
  font-size: 18px;
  transition: color 0.3s;
}

.social-link:hover {
  color: #004d99;
}

.nav-cta {
  background: #004d99;
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  font-size: 16px;
}

.nav-cta:hover {
  background: #003366;
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 250px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

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

.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
  color: #004d99;
}

.nav-link i {
  font-size: 12px;
  margin-left: 5px;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
}

.desktop-social,
.desktop-cta {
  display: flex;
}

.mobile-social {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 8px;
    height: 60px;
  }
  
  .logo-img {
    height: 50px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .desktop-social,
  .desktop-cta {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
  }
  
  .hamburger {
    display: flex;
    flex-direction: column;
    width: 26px;
    height: 20px;
    position: relative;
    cursor: pointer;
  }
  
  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #000000;
    margin-bottom: 4px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    border-radius: 2px;
  }
  
  .hamburger span:last-child {
    margin-bottom: 0;
  }
  
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: linear-gradient(135deg, rgba(0, 77, 153, 0.95) 0%, rgba(0, 115, 230, 0.95) 100%);
    flex-direction: column;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    overflow-y: auto;
    display: flex;
  }
  
  .nav-menu.mobile-open {
    transform: translateX(0);
  }
  
  .nav-item {
    width: 100%;
    margin-bottom: 2px;
  }
  
  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
    color: white;
  }
  
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 51, 102, 0.9);
    margin: 2px 0 4px 0;
    border-radius: 12px;
    padding: 6px;
    display: none;
  }
  
  .dropdown-menu.show {
    display: flex;
    flex-direction: column;
  }
  
  .dropdown-menu a {
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 6px;
    color: white;
  }
  
  .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
  }
  
  .mobile-social {
    display: block;
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid rgba(0, 77, 153, 0.1);
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
  }
  
  .mobile-social .social-icons {
    justify-content: center;
    margin-bottom: 20px;
    gap: 16px;
  }
  
  .mobile-social .social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #004d99;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
  }
  
  .mobile-cta {
    display: inline-block;
    padding: 14px 28px;
    background: #004d99;
    border: none;
    border-radius: 9px;
    color: white;
    font-weight: 600;
  }
}

@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
  
  .mobile-social {
    display: none;
  }
  
  .desktop-social,
  .desktop-cta {
    display: flex;
  }
  
  .desktop-cta {
    display: inline-block;
  }
}
