/* 🔵 Top Bar Styles */
.top-bar {
  background-color: #2e6f40;
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 11px 16px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}



.top-bar a {
  color: white;
  text-decoration: none;
}

.top-bar i {
  margin-right: 6px;
  font-size: 16px;
  vertical-align: middle;
}

.top-bar .email a {
  color: white;
  text-decoration: none;
}

.top-bar .email a:hover {
  color: rgb(238, 203, 5);
}


/* Left, Center, Right sections */
.top-left,
.top-centerr,
.top-right {
  display: flex;
  align-items: center;

}

/* Spacing between items on Left */
.top-left span {
  margin-right: 15px;
}

/* Center Text (often smaller, subtle) */
.top-centerr p {
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
}

/* Location style */
.top-right .location a {
  text-decoration: none;
}

.top-right .location a:hover {
  color: orange;
}



/* Header / Navbar Styling */

.site-header {
  height: 90px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 6px 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  font-weight: 600;
  color: lightgray;
}

/* Logo image */
.site-header .logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.site-header .site-logo {
  height: 90px;
  width: 178px;
  object-fit: cover;
}

/* -------------------------- */
/* Navigation Menu */
.main-nav {
  flex: 1;
  margin: 0 40px;
  
}

.main-nav .nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.main-nav .nav-menu li a {
  text-decoration: none;
  background-color: #fff;
  cursor: pointer;
  color: #333;
  font-size: 15px;
  padding: 6px 10px;
  transition: color 0.3s;
}

.main-nav .nav-menu li a:hover {
  color: #2e6f40;
}


/* side panel for search  */
.search-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  z-index: 9999;
  padding: 20px;
}

.search-panel.open {
  right: 0;
}

.search-panel-content {
  display: flex;
  flex-direction: column;
}

.search-panel .close-btn {
  font-size: 24px;
  cursor: pointer;
  align-self: flex-end;
}

.search-panel h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.search-panel label {
  margin-bottom: 5px;
  font-weight: bold;
}

.search-panel select,
.search-panel input {
  margin-bottom: 15px;
  padding: 8px;
  width: 100%;
  border: 1px solid #ccc;
}

.search-panel button {
  padding: 10px;
  background-color: #333;
  color: white;
  border: none;
  cursor: pointer;
}

.search-panel button:hover {
  background-color: #555;
}


/* Links style */
.nav-link {
  display: block;
  padding: 1rem 0;
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

/* Hover dropdown behavior */
.hover-dropdown .mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 40%;
  transform: translateX(-50%);
  background-color: #fff;
  border-top: 2px solid #333;
  z-index: 1000;
}

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

/* Full-width dropdown */
.mega-dropdown {
  width: 40vw;
  max-width: 100vw;
  padding: 2rem;
  box-sizing: border-box;
}

/* Grid layout for columns inside dropdown */
.mega-dropdown .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

/* Column heading */
.dropdown-header {
  font-weight: bold;
  color: #2e6f40;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* Links inside dropdown */
.dropdown-item {
  display: block;
  color: #2e6f40;;
  padding: 0.25rem 0;
  text-decoration: none;
  transition: color 0.2s;
}

.dropdown-item:hover {
  color: #2e6f40;
}