/* Dropdown container styling */
.main-header-menu .sub-menu {
  background-color: #ffffff !important;
  border-radius: 20px !important; /* Rounded corners */
  overflow: hidden; /* Keeps the rounded corners clean */
}

/* Default dropdown link text color */
.main-header-menu .sub-menu a {
  color: #0070C0 !important;
}

/* Hover styles for links */
.main-header-menu .sub-menu a:hover {
  color: #ffffff !important;
  background-color: #0070C0 !important;
}

/* Force Astra header to be fixed and transparent */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  background: transparent !important;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}


/* Push first section down below header */
body > :not(header):first-child {
  padding-top: 100px; /* adjust based on actual header height */
}

/* Default transparent header */
.site-header {
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Scrolled header: white background */
.site-header.scrolled {
  background: #0070C0 !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* Default menu link color (white or whatever works over transparent) */
.site-header .main-header-menu a {
  color: #ffffff;
  transition: color 0.3s ease;
}

/* Container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Main Button */
.dropdown-btn {
  background-color: #fff;
  color: #0070C0;
  padding: 20px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid #0070C0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dropdown-btn:hover {
  background-color: #0070C0;
  color: #fff;
}

/* Dropdown Content */
.dropdown-content {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background-color: #fff;
  min-width: 180px;
  border: 2px solid #0070C0;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
  z-index: 99;
}

.dropdown-content a {
  display: block;
  padding: 15px 20px;
  color: #0070C0;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: #0070C0;
  color: #fff;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
