/* ==========================================================================
   HEADER
========================================================================== */
/* =========================================
   HEADER MAIN
========================================= */
.header-main {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
  z-index: 9999;
  background: var(--white-color);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
}
.header-main.scrolled .header-top-info {
  height: 0;
  opacity: 0;
  overflow: hidden;
}
.header-main.scrolled .main-navbar {
  min-height: 76px;
}
.header-main.scrolled .site-logo {
  height: 58px;
}
.header-main.scrolled {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* =========================================
   TOP BAR
========================================= */
.header-top-info {
  height: 46px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
  transition: height 0.4s ease, opacity 0.35s ease;
  overflow: hidden;
}
.header-top-info .container,
.header-top-info .header-top-inner {
  height: 100%;
}
.header-top-info .header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-top-info a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}
.header-top-info a:hover {
  color: #fff;
  opacity: 0.85;
}
.header-top-info i {
  font-size: 14px;
  width: 18px;
  text-align: center;
}

/* =========================================
   CONTACT INFO
========================================= */
.top-contact-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* =========================================
   SOCIAL
========================================= */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-links li {
  margin: 0;
}
.social-links a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  transition: 0.35s ease;
}
.social-links a:hover {
  background: #fff;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* =========================================
   MAIN NAVBAR
========================================= */
.main-navbar {
  min-height: 82px;
  background: #fff;
  padding: 0;
  transition: min-height 0.35s ease;
}
.main-navbar .container {
  position: relative;
}

/* =========================================
   LOGO
========================================= */
.navbar-brand {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.site-logo {
  width: auto;
  height: 72px;
  -o-object-fit: contain;
     object-fit: contain;
  transition: height 0.35s ease;
}

/* =========================================
   NAVIGATION
========================================= */
.navbar-nav {
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px !important;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: clamp(0.97rem, 0.9rem + 0.2vw, 1.05rem);
  font-weight: 700;
  border-radius: 10px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
  background: rgba(120, 55, 102, 0.08);
}

/* =========================================
   DROPDOWN TOGGLE
========================================= */
.dropdown-toggle::after {
  margin-left: 8px;
  vertical-align: 2px;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
  transition: 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* ==========================================================================
   DESKTOP DROPDOWN
========================================================================== */
.dropdown-menu {
  min-width: 260px;
  margin-top: 14px;
  padding: 10px 0;
  border: 0;
  border-radius: 16px;
  background: var(--white-color);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
}

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

.dropdown-item {
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dropdown-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary-color);
  transition: 0.3s ease;
}
.dropdown-item:hover {
  color: var(--primary-color);
  background: rgba(120, 55, 102, 0.07);
  padding-left: 30px;
}
.dropdown-item:hover::before {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ==========================================================================
   HEADER BUTTON
========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  transition: 0.35s ease;
}
.header-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 28px rgba(120, 55, 102, 0.28);
}

/* ==========================================================================
   MOBILE APPLY BUTTON
========================================================================== */
.mobile-apply-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  font-weight: 700;
  transition: 0.3s ease;
}
.mobile-apply-btn:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   MOBILE HEADER
========================================================================== */
.mobile-header-bar {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.mobile-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.mobile-logo .site-logo {
  height: 48px;
}

/* ==========================================================================
   HAMBURGER
========================================================================== */
.navbar-toggler {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(120, 55, 102, 0.2);
}
.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon-custom {
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
  border-radius: 20px;
  display: block;
}

.navbar-toggler-icon-custom::before,
.navbar-toggler-icon-custom::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 20px;
}

.navbar-toggler-icon-custom::before {
  top: -7px;
}

.navbar-toggler-icon-custom::after {
  top: 7px;
}

/* ==========================================================================
   OFFCANVAS
========================================================================== */
.offcanvas {
  width: 320px;
  border: 0;
}

.offcanvas-header {
  padding: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.offcanvas-title {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.45rem;
}

.offcanvas-body {
  padding: 20px;
}

/* ==========================================================================
   MOBILE SOCIAL
========================================================================== */
.mobile-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.mobile-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(120, 55, 102, 0.08);
  color: var(--primary-color);
  transition: 0.3s ease;
}
.mobile-social a:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE
========================================================================== */
/* ===========================
   Desktop Only
=========================== */
@media (min-width: 1200px) {
  /* Desktop Logo */
  .desktop-logo {
    display: flex !important;
    align-items: center;
  }
  /* Hide Mobile Layout */
  .mobile-header-bar,
  .mobile-social,
  .mobile-apply-btn {
    display: none !important;
  }
  .header-actions {
    display: flex !important;
  }
  /* Desktop Dropdown */
  .dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
/* ===========================
   Tablet + Mobile
=========================== */
@media (max-width: 1199.98px) {
  /* Hide Desktop */
  .desktop-logo {
    display: none !important;
  }
  .header-actions {
    display: none !important;
  }
  /* Navbar */
  .main-navbar {
    min-height: 72px;
  }
  /* Mobile Header */
  .mobile-header-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 72px;
    gap: 15px;
  }
  /* Left Logo */
  .mobile-logo {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0;
    padding: 0;
  }
  .mobile-logo .site-logo {
    width: auto;
    height: 48px;
    -o-object-fit: contain;
       object-fit: contain;
  }
  /* Right Hamburger */
  .navbar-toggler {
    order: 2;
    margin-left: auto;
    flex-shrink: 0;
  }
  /* Hide Apply */
  .header-btn-mobile {
    display: none !important;
  }
  /* Hide Social */
  .mobile-social {
    display: none;
  }
  /* Navigation */
  .navbar-nav {
    gap: 0;
  }
  .nav-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .nav-link {
    justify-content: space-between;
    min-height: 58px;
    padding: 0 !important;
    border-radius: 0;
    font-size: 1rem;
  }
  /* Mobile Dropdown */
  .dropdown-menu {
    position: static !important;
    display: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    margin: 0;
    border: none;
    border-radius: 10px;
    box-shadow: none;
    background: #fafafa;
    padding: 8px 0;
  }
  .dropdown-menu.show {
    display: block;
  }
  .dropdown-item {
    padding: 12px 18px 12px 24px;
    font-size: 0.95rem;
  }
}
/* ===========================
   991px
=========================== */
@media (max-width: 991.98px) {
  .header-top-info {
    height: 44px;
  }
  .header-top-inner {
    justify-content: center;
  }
  .top-contact-list {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  /* Mobile Top Bar */
  .top-contact-list a {
    font-size: 0.88rem;
  }
  /* Hide Social */
  .social-links {
    display: none !important;
  }
}
/* ===========================
   767px
=========================== */
@media (max-width: 767.98px) {
  .header-top-info {
    height: 42px;
  }
  .header-top-inner {
    justify-content: center;
  }
  .top-contact-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  /* ONLY PHONE + EMAIL */
  .top-contact-list a {
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .social-links {
    display: none !important;
  }
}
/* ===========================
   575px
=========================== */
@media (max-width: 575.98px) {
  /* Top Bar */
  .header-top-info {
    height: 42px;
  }
  .header-top-inner {
    justify-content: center;
  }
  .top-contact-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  /* Show ONLY Phone + Email */
  .top-contact-list a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
  }
  .top-contact-list a span {
    white-space: nowrap;
  }
  .top-contact-list i {
    font-size: 12px;
    width: 18px;
    text-align: center;
  }
  /* Hide Social */
  .social-links {
    display: none !important;
  }
  /* Mobile Header */
  .mobile-header-bar {
    min-height: 70px;
  }
  /* Logo Left */
  .mobile-logo {
    flex: 1;
  }
  .mobile-logo .site-logo {
    height: 42px;
    width: auto;
  }
  /* Hamburger Right */
  .navbar-toggler {
    width: 42px;
    height: 42px;
  }
}
/* ===========================
   480px
=========================== */
@media (max-width: 480px) {
  .header-top-info {
    height: 40px;
  }
  .top-contact-list {
    gap: 6px;
  }
  .top-contact-list a {
    font-size: 0.75rem;
  }
  .mobile-logo .site-logo {
    height: 40px;
  }
  .navbar-toggler {
    width: 40px;
    height: 40px;
  }
}
/* ===========================
   400px
=========================== */
@media (max-width: 400px) {
  .header-top-info {
    height: auto;
    padding: 8px 0;
  }
  .header-top-inner {
    justify-content: center;
  }
  .top-contact-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
  }
  .top-contact-list a {
    font-size: 0.72rem;
  }
  .top-contact-list span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-logo .site-logo {
    height: 38px;
  }
}
/* ===========================
   359px
=========================== */
@media (max-width: 359.98px) {
  .header-top-info {
    padding: 6px 0;
  }
  .top-contact-list {
    gap: 2px;
  }
  .top-contact-list a {
    font-size: 0.68rem;
  }
  .top-contact-list i {
    font-size: 10px;
  }
  .mobile-logo .site-logo {
    height: 36px;
  }
  .navbar-toggler {
    width: 38px;
    height: 38px;
  }
}
/* ==========================================================================
   SMALL ANIMATIONS
========================================================================== */
.header-btn,
.social-links a,
.nav-link,
.dropdown-item,
.navbar-toggler {
  transition: all 0.3s ease;
}

.dropdown-menu {
  animation: dropdownFade 0.28s ease;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================================================================
   OFFCANVAS SCROLLBAR
========================================================================== */
.offcanvas-body {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f5f5f5;
}

.offcanvas-body::-webkit-scrollbar {
  width: 6px;
}

.offcanvas-body::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.offcanvas-body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 50px;
}

/* ==========================================================================
   FINAL POLISH
========================================================================== */
.header-main * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-link:focus,
.dropdown-item:focus,
.header-btn:focus,
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.site-logo {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: auto;
  transition: height 0.35s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Offcanvas */
.offcanvas {
  background: #fff;
}

.offcanvas-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.offcanvas-title {
  font-family: var(--font-heading);
  color: var(--primary-color);
}

.offcanvas-body {
  padding: 20px;
}

/* Compact mobile header after scrolling. */
@media (max-width: 767.98px) {
  .header-main.scrolled .main-navbar,
  .header-main.scrolled .mobile-header-bar {
    min-height: 60px;
  }

  .header-main.scrolled .mobile-logo .site-logo {
    height: 42px;
  }

  .header-main.scrolled .navbar-toggler {
    width: 42px;
    height: 42px;
  }
}

/*# sourceMappingURL=header.css.map */
