/* ==========================================================================
   Kasb-e-Kamaal - Exact Header Styles
   ========================================================================== */

/* Top Notification Bar */
.site-top-bar {
  background-color: #073822;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-top-bar .top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.15px;
}

.top-bar-left .top-leaf-icon {
  font-size: 14px;
  line-height: 1;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar-right .social-link {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease, transform 0.15s ease;
  opacity: 0.92;
}

.top-bar-right .social-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.top-bar-right svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Main Header Navbar */
.site-main-header {
  background-color: #fbfaf6;
  border-bottom: 1px solid #ede8de;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.2s ease;
}

.site-main-header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.header-inner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 10px 24px;
  min-height: 74px;
}

/* Logo Badge */
.header-branding {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-branding .header-logo-img {
  height: 52px;
  width: auto;
  max-width: 250px;
  display: block;
  object-fit: contain;
  transition: transform 0.15s ease;
}

.header-branding:hover .header-logo-img {
  transform: scale(1.02);
}

/* Navigation Menu */
.header-nav {
  display: flex;
  align-items: center;
}

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

.header-nav-item {
  position: relative;
}

.header-nav-link {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: #222222;
  text-decoration: none;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  transition: color 0.15s ease;
}

.header-nav-link .dropdown-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.header-nav-item:hover > .header-nav-link,
.header-nav-item.current-menu-item > .header-nav-link,
.header-nav-item.active > .header-nav-link {
  color: #073822;
  font-weight: 600;
}

/* Active / Underline Indicator */
.header-nav-item.current-menu-item > .header-nav-link::after,
.header-nav-item.active > .header-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background-color: #073822;
  border-radius: 2px;
}

/* Dropdown Sub-menu */
.header-nav-item .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #ede8de;
  border-radius: 6px;
  list-style: none;
  padding: 8px 0;
  margin: 8px 0 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}

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

.dropdown-menu li a {
  display: block;
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-menu li a:hover {
  background-color: #f4f8f5;
  color: #073822;
}

/* Right CTA Button */
.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-support {
  background-color: #073822;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #073822;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-header-support .heart-icon {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.btn-header-support:hover {
  background-color: #0c4d30;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7, 56, 34, 0.25);
  color: #ffffff;
}

/* Mobile Toggle */
.mobile-menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: #073822;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* Mobile Responsive */
@media (max-width: 1080px) {
  .header-nav-list {
    gap: 16px;
  }
  .header-nav-link {
    font-size: 13.5px;
  }
}

@media (max-width: 960px) {
  .header-nav {
    display: none;
  }
  .mobile-menu-toggle-btn {
    display: block;
  }
  .site-top-bar .top-bar-container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
