/* HEADER */
.page-id-8 .header-sec {
    background: #348bd0;
}

.header-sec ul {
  padding: 0;
  margin: 0;
}

.header-sec li {
  list-style: none;
  display: inline-block;
}

.menu-wrp-box {
  display: flex;
  align-items: center;
  justify-content: end;
  height: 100%;
}

/* ===== Animated underline for main menu ===== */
.menu-wrp a {
  position: relative;
  color: #fff !important;
  text-decoration: none;
  font-size: 16px;
  padding: 15px 12px;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
}

/* Create the underline effect */
.menu-wrp a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 0%;
  height: 2px;
  background: var(--yellow-color);
  transition: width 0.3s ease;
}

/* On hover: animate the underline */
.menu-wrp a:hover::after {
  width: 100%;
}

/* Optional: color + lift animation on hover */
.menu-wrp a:hover {
  color: var(--yellow-color);
}


/* Menu List */
.menu-list li {
    padding: 0 8px;
    cursor: pointer;
}

/* ===== STYLISH SIDE PANEL ===== */
.side-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: linear-gradient(135deg, var(--green-color) 0%, #004d40 100%);
  color: #fff;
  transition: all 0.5s ease-in-out;
  z-index: 9999;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  overflow-y: auto;
  backdrop-filter: blur(6px);
}

.side-panel.active {
  right: 0;
}

/* Smooth fade-in of content */
.side-panel-content {
  padding: 60px 30px;
  position: relative;
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.4s ease;
}

.side-panel.active .side-panel-content {
  opacity: 1;
  transform: translateX(0);
}

/* Close Button */
.side-panel .close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.side-panel .close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

/* Mobile Menu */
#mobile-menu {
  list-style: none;
  padding: 70px 0 0;
  margin: 0;
}

#mobile-menu li {
  margin-bottom: 18px;
}

#mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
}

/* Animated underline on hover */
#mobile-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--yellow-color);
  transition: width 0.3s ease;
}

#mobile-menu a:hover::after {
  width: 100%;
}

#mobile-menu a:hover {
  color: var(--yellow-color);
  transform: translateX(5px);
}


/* Overlay */
.body-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.body-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== Sticky Header ===== */
.header-sec {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9997;
  background: var(--green-color);
  transition: all 0.4s ease;
  box-shadow: none;
  padding: 10px 0;
}
body {
  padding-top: 85px; 
}
 html {
    scroll-behavior: smooth;
  }
.header-sec.sticky {
  background: var(--green-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  padding: 5px 0;
}

@media only screen and (max-width:1200px) {
    .menu-wrp a {
    padding: 15px 3px;
}
}
@media only screen and (max-width:1024px) {
    nav.menu-wrp {
    display: none;
}
.primary-btn {
    padding: 8px 20px;
}
.menu-list li {
    padding: 0 2px;
}
body {
  padding-top: 0px; 
}
}