/* Header Styles */

.site-header {
  width: 100%;
  z-index: 1000;
}

.logo-panel {
  background: #fff;
  padding: 15px 0;
}

.site-logo img {
  max-height: 65px;
  width: auto!important;
  max-width:480px;
}

.top-info-text {
  font-size: 14px;
  color: #333;
  margin: 0;
}

.header-right-info {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

.header-right-info .top-info-lgoo img {
  height: 52px;
  width: auto;
}

.header-right-info .top-info-text ul li {
  font-size: 12px;
  font-weight: 400;
}

.header-right-info .top-info-text ul li a {
  text-decoration: underline;
  color: var(--text-color);
}

.header-right-info .top-info-text ul li a:hover {
  color: var(--primary-color);
  text-decoration: none;
}
.overlay-footer .top-info-text {
  font-size: 18px;
}
.overlay-footer .top-info-lgoo img {
  height: 110px;
}

.overlay-footer .top-info-text ul li {
  font-size: 14px;
}


/* Sticky Navigation */
.sticky-nav {
  background: var(--primary-color);
  padding: 10px 0;
  transition: all 0.3s ease;
  width: 100%;
}

.sticky-nav.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.nav-flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.menu-btn {
  background: transparent;
  border: none;
  color: var(--white-color);
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0;
  cursor: pointer;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 50px;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 5px;
  background: var(--white-color);
  transition: 0.3s;
  border-radius: 4px;
}

.menu-label {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.5;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header-search-container .search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 0;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white-color);
  transition: all 0.4s ease;
  outline: none;
  opacity: 0;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-box.active .search-input {
  width: 850px;
  padding: 12px 10px;
  opacity: 1;
  margin-right: 10px;
  border-radius: 10px;
}

.search-trigger {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.search-trigger img {
  width: 45px;
  height: 45px;
  transition: transform 0.3s ease;
}

.search-trigger:hover img {
  transform: scale(1.1);
}

.social-list {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-list li a {
  color: #4f89f0;
  font-size: 20px;
  border: 2px solid #4f89f0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-list li a:hover {
  background: #4f89f0;
  color: var(--white-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(79, 137, 240, 0.4);
}

.btn-solid.btn-admission {
  margin-left: 10px;
}

/* Full Screen Menu Overlay */
.overlay-logo {
  background: var(--white-color);
  padding: 0;
  margin-bottom: 30px;
  display: inline-block;
  padding: 15px 25px;
  border-radius: 10px;
}

.overlay-logo img {
  max-height: 50px;
  width: auto;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-100%);
  transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  overflow: hidden;
}

.menu-overlay.open {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

/* Split inner layout */
.overlay-inner {
  display: flex;
  width: 100%;
  height: 100%;
}

/* LEFT: Full-height primary navy */
.overlay-left-panel {
  flex: 0 0 65%;
  background: var(--primary-color);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.overlay-left-inner {
  padding: 60px 60px;
  flex: 1;
}

/* RIGHT: Full-height white */
.overlay-right-panel {
  flex: 0 0 35%;
  background: #ffffff;
  border-left: none;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.overlay-right-inner {
  padding: 80px 50px 60px;
  height: 100%;
}

.overlay-close {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 10;
}

#menu-close-btn {
  background: var(--yellow-color);
  color: var(--primary-color);
  border: 1px solid var(--yellow-color);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: all 0.3s ease;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#menu-close-btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
  border-color: var(--primary-color);
  transform: rotate(90deg);
}

.overlay-content {
  width: 100%;
}

.overlay-section-title {
  color: var(--yellow-color);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 25px;
  opacity: 1;
  position: relative;
  padding-bottom: 15px;
}

.overlay-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--yellow-color);
  opacity: 0.5;
}

.main-full-menu {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 30px;
}

.overlay-menu-item {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.overlay-menu-item:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}

.overlay-menu-item>a {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.overlay-menu-item>a:hover .menu-title,
.overlay-menu-item>a:hover .menu-desc {
  color: var(--yellow-color);
}

.overlay-menu-item.current-menu-item .menu-title,
.overlay-menu-item.current-menu-item .menu-desc {
  color: var(--yellow-color);
}

.menu-icon,
span.menu-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-icon img,
span.menu-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* filter: brightness(0) invert(1); */
  /* Make icons white */
}

.menu-text-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.menu-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
  color: #ffffff;
  transition: 0.3s;
}

.menu-desc {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Remove learn more from menu items */
.overlay-menu-item .menu-text-wrap::after {
  content: none;
  display: none;
}

.overlay-menu-item:hover .menu-text-wrap::after {
  content: none;
  display: none;
}

/* Child menu style */
.sub-menu {
  list-style: none;
  padding-left: 62px;
  margin-top: 8px;
}

.sub-menu li {
  margin-bottom: 8px;
}

.sub-menu li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  transition: 0.3s;
  text-decoration: none;
}

.sub-menu li a:hover {
  color: var(--yellow-color);
  padding-left: 5px;
}

.main-full-menu>li {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menu-overlay.open .main-full-menu>li {
  opacity: 1;
  transform: translateY(0);
}

/* RIGHT PANEL — Logo, promo, social */
.overlay-logo {
  margin-bottom: 35px;
  display: block;
}

.overlay-logo img {
  max-height: 70px;
  width: auto;
  display: block;
}

/* PROMO BOX — on white panel */
.promo-box {
  background: #f7f8ff;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #e8eaf6;
  margin-bottom: 30px;
}

.promo-img {
  flex-shrink: 0;
  width: 150px;
  height: 200px;
  border-radius: 10px 0 10px 10px;
  overflow: hidden;
}

.promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-info {
  margin: 0;
}

.promo-heading {
  font-size: 18px;
  font-weight: 500;
  color: var(--secondary-color);
  font-family: var(--primary-font);
  line-height: 1.2;
  margin-bottom: 8px;
}

.promo-text {
  font-size: 14px;
  color: var(--text-color);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 12px;
}

.promo-box .btn-solid {
  margin-top: 10px;
  display: inline-flex;
  font-size: 13px;
  padding: 8px 20px;
}

.promo-box .btn-solid:hover {
  background: var(--yellow-color);
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(49, 55, 128, 0.15);
}


.overlay-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid #f0f0f0;
}

.overlay-footer .header-right-info {
  justify-content: flex-start;
}

/* =========================================
   HEADER RESPONSIVE STYLES
   ========================================= */

@media (max-width: 1540px) {
  .main-full-menu {
    gap: 40px 20px;
  }

  .search-box.active .search-input {
    width: 600px;
  }
}

@media (max-width: 1370px) {
  .search-box.active .search-input {
    width: 450px;
  }

  .main-full-menu {
    gap: 30px 15px;
  }
}

@media (max-width: 1280px) {
  .search-box.active .search-input {
    width: 380px;
  }

  .main-full-menu {
    gap: 20px 10px;
  }
}

@media (max-width: 1199px) {
  .header-actions {
    gap: 15px;
  }

  .search-box.active .search-input {
    width: 350px;
  }
}

@media (max-width: 991px) {
  .logo-panel .container>.row {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .header-right-info {
    justify-content: center;
  }

  .logo-panel {
    padding: 10px 0;
  }

  .site-logo img {
    max-height: 50px;
  }

  .search-box.active .search-input {
    width: 250px;
  }

  .main-full-menu {
    grid-template-columns: 1fr;
  }

  .overlay-inner {
    flex-direction: column;
    overflow-y: auto;
  }

  .overlay-left-panel {
    flex: none;
    height: auto;
    overflow-y: visible;
  }

  .overlay-left-inner {
    padding: 60px 20px 20px;
  }

  .overlay-right-panel {
    flex: none;
    height: auto;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    margin-top: 10px;
    align-items: center;
    overflow-y: visible;
  }

  .overlay-right-inner {
    padding: 0px 20px 40px;
  }
}

@media (max-width: 768px) {
  .main-full-menu>li>a {
    font-size: 30px;
  }

  .overlay-close {
    top: 20px;
    right: 20px;
  }

  .social-list li a {
    font-size: 14px;
    width: 36px;
    height: 36px;
  }

  .overlay-mneu-logo {
    display: none !important;
  }

  .overlay-inner {
    overflow-y: auto;
  }

  .overlay-section-title {
    margin-bottom: 24px;
  }
  .logo-panel .top-info-text{
    display: none;
  }
}

@media (max-width: 767px) {
  .overlay-left-inner {
    padding: 30px 20px 20px;
  }

  .menu-label {
    display: none;
  }

  .hamburger-icon {
    width: 40px;
  }

  .hamburger-icon span {
    height: 4px;
    gap: 6px;
  }

  .main-full-menu>li {
    text-align: left;
  }

  .overlay-menu-item>a {
    justify-content: flex-start;
  }

  #menu-close-btn {
    font-size: 40px;
  }

  .header-search-container .search-box {
    position: static;
  }

  .menu-overlay {
    background-color: var(--white-color);
  }

  .promo-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 0;
  }

  .promo-img {
    width: 80px;
    height: 80px;
  }

  .promo-info {
    flex: 1;
  }

  .overlay-right-panel {
    padding-top: 37px;
    margin-top: 0;
  }

  .search-box.active .search-input {
    width: calc(100% - 30px);
    padding: 8px 15px;
    position: absolute;
    left: 15px;
    right: 15px;
    top: 100%;
    margin-top: 10px;
    background: #fff;
    color: #333;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    opacity: 1;
    transform: none;
  }

  .search-box.active .search-input::placeholder {
    color: #999;
  }

  .search-trigger img {
    width: 38px;
    height: 38px;
  }

  .header-actions {
    gap: 10px;
  }

  .social-list {
    gap: 10px;
  }

  .btn-solid.btn-admission {
    margin-left: 0;
  }

  .btn-admission {
    padding: 6px 15px;
    font-size: 13px;
  }

  .overlay-logo {
    margin-top: 20px;
  }

  .menu-icon,
  span.menu-icon {
    width: 40px;
    height: 40px;
    min-width: 30px;
    padding: 10px;
  }

  .menu-title {
    font-size: 14px;
  }

  .main-full-menu {
    gap: 10px 10px;
  }
}

@media (max-width: 359px) {
  .logo-panel .site-logo img {
    max-height: 40px;
  }
}