/*
---------------------------------------------
default CSS
--------------------------------------------- 
*/
:root {
  --primary-color: #303c6c;
  /* #303c6c;  #e57c45; #e57c45*/
  --secondary-color: #c62d3c;
  --third-color: #f5f7ff;
  --text-color: #151515;
  --fourth-color: #f1e6d9;
  /*Font Family*/
  /* --font-family: "Poppins", sans-serif; */
  --font-family: "Inter", sans-serif;
  --primary-bg-color: #fff7f3;
  /* --secondary-bg-color: #e8f3ff;
  --third-bg-color: #fff0e5;
  --fourth-bg-color: #fff9f4;
  --fith-bg-color: #ffeee3;
  --sixth-bg-color: #fff2ea; */
  --white: #fff;
  --black: #000000;
  --border-color: #d7d7d7;
}

/* ================= BASE ================= */
/* body {
        font-family: "Inter", Arial, sans-serif;
        background: #f6f8fb;
      } */

/* ================= TOP BAR ================= */
.top-bar {
  display: flex;
  height: 40px;
  font-size: 14px;
}
.top-bar .left {
  background: var(--secondary-color);
  color: #fff;
  padding: 0 20px;
  display: flex;
  font-size: 16px;
  align-items: center;
}
.top-bar .right {
  flex: 1;
  background: var(--primary-color);
  color: #fff;
  padding: 0 20px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.top-bar .right-content {
  color: #fff !important;
  font-size: 16px;
}

/* ================= BRAND ================= */
.main-logo {
  height: 55px;
  margin-right: 50px;
  display: inline-block;
  vertical-align: middle;
}
.brand-area {
  background: #fff;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
}
.brand-seals img {
  height: 55px;
  margin-right: 50px;
}
.brand-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
}
.brand-sub {
  font-size: 11px;
  color: var(--text-color);
}
.brand-seals {
  display: flex;
  align-items: center !important;
  margin-left: auto !important;
}
.admission-opn-btn {
  color: var(--text-color);
  font-size: 16px;
  width: 150px;
  line-height: 1.5;
}
.admission-opn-btn a {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color) !important;
  line-height: 1 !important;
}
/* BRAND AREA MEGA MENU ONLY */
.brand-menu-area {
  display: flex;
  justify-content: space-between;
  align-items: center !important;
  /* display: none; */
}
.mega-trigger {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color) !important;
  padding: 10px 20px;
  text-decoration: none;
}

.brand-mega {
  width: 60% !important;
  left: 65% !important;
  transform: translateX(-50%);
  max-width: 90vw;
}

/* ================= NAVBAR ================= */
.navbar {
  background: #fff;
  padding: 14px 40px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}
.navbar-nav .nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-color) !important;
  padding: 10px 20px;
  margin: 0px 15px;
}
.nav-btn-body-donation {
  background: var(--primary-color) !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 32px !important;
}
/*menu tab design */

.exam-tabs-wrapper .exam-tab-buttons {
  border-bottom: 1px solid var(--border-color) !important;
  justify-content: center;
}
.exam-tab-content {
  display: none;
}

.exam-tab-content.active {
  display: block;
}

.exam-tab-btn {
  padding: 10px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 0px;
}

.exam-tab-btn.active {
  background: #0d6efd00;
  color: var(--secondary-color);
  border-color: #0d6efd00;
}
/* ================= MEGA MENU ================= */
.mega-menu {
  display: none;
  width: 80%;
  left: 85px;
  position: absolute;
  background: #fff;
  border-radius: 20px;
  margin-top: 20px;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); */
  border-top: 4px solid var(--secondary-color) !important;
  z-index: 1050;
  border: 0px;
}

/* Tabs */
.mega-tabs {
  background: #f4f6fa;
  border-radius: 14px 14px 0 0;
}
.mega-tab {
  background: none;
  border: none;
  padding: 16px 26px;
  font-weight: 600;
  color: #243161;
}
.mega-tab.active {
  color: var(--secondary-color);
  border-bottom: 3px solid var(--secondary-color);
}
.menu-heading {
  font-weight: 700 !important;
}
.nav-link {
  color: var(--primary-color) !important;
}
/* Content */
.mega-pane {
  display: none;
}
.mega-pane.active {
  display: block;
}

.menu-title {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
  margin-top: 10px;
}
.menu-title a {
  font-weight: 600;
  color: var(--text-color);
  font-size: 16px;
}
.menu-sub-title {
  font-weight: 300;
  color: var(--text-color);
  font-size: 16px;
  margin-bottom: 0px !important;
}
.menu-list {
  list-style: none;
  padding: 0;
}
.menu-list li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  padding: 6px 0;
  display: block;
  line-height: 1.5 !important;
}
.menu-list li a:hover {
  color: var(--secondary-color);
}

.navbar-nav .nav-link.active-tab {
  color: var(--secondary-color) !important;
  font-weight: 600;
}

.menu-icon {
  width: 14px;
  height: 14px;
  margin-bottom: 3px ;
  margin-right: 5px;
}

.nav-mmmtabbedmenu-left {
  display: flex;
  flex-direction: column;
}
.mmtabmenu,
.mega-pane ul {
  text-decoration: none;
  list-style-type: none;
}
.dropdown-item {
  white-space: normal;
}
.dropdown-item:focus,
.dropdown-item:hover {
  background-color: transparent !important;
}
.bg-color-menu .dropdown-item {
  padding: 10px 0px;
}
.dropdown-menu {
  padding-bottom: 0 !important;
}
/* nav.bootsnav ul.nav li.dropdown ul.dropdown-menu li a.active, nav.bootsnav ul.nav li.dropdown ul.dropdown-menu li a:hover {
    border-radius: 5px;
    color: #4a4a4a;
} */
.dropdown-item.active,
.dropdown-item:active {
  color: var(--secondary-color) !important;
  border-radius: 10px;
  padding: 10px;
  text-decoration: none;
  background-color: #f5f7ff !important;
}
/* .tab-pane ul {
  list-style: none;
  padding: 0;
  margin: 0;
} */
.service-tab li a::after {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: inline-block;
  /* margin-left: 8px; */
  float: right;
  color: var(--text-color);
}
/* .menu-list li a::after {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    float: right;
    color: #333;
} */

/* Footer */
.mega-footer {
  background: var(--primary-color);
  color: #fff;
  padding: 20px;
  box-shadow: none;
  border-radius: 0 0 20px 20px;
}
.mega-footer a {
  color: #dfe6ff;
  text-decoration: none;
  display: block;
  font-size: 14px;
}
/* ===== FORCE HIDE MOBILE MENU ON DESKTOP ===== */
.mobile-menu {
  display: none;
}

@media (max-width: 991px) {
  .mobile-menu {
    display: none;
  }
}

/* Mobile */
@media (max-width: 992px) {
  .mega-menu {
    position: static;
    width: 100%;
    left: 0;
    box-shadow: none;
    border-radius: 0;
  }
}

/* ========== MOBILE MENU ONLY (NO DESKTOP IMPACT) ========== */
@media (max-width: 991px) {
  .mobile-menu .main-list {
    color: var(--primary-color) !important;
  }

  .mobile-menu {
    position: fixed;
    top: 28px;
    left: 28px;
    width: 85%;
    background: #fff;
    z-index: 9999;
    display: none;
    height: 80vh;
    overflow: auto;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    overflow: auto;
    border-radius: 15px;
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu.show {
    display: block;
  }

  .menu-screen {
    display: none;
    height: 100%;
    flex-direction: column;
  }

  .mobile-nav-overly {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 9998;
  }

  .mobile-nav-overly.active {
    opacity: 1;
    visibility: visible;
  }

  .menu-screen.active {
    display: flex;
  }

  .menu-header {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 600;
  }

  .menu-header span {
    font-weight: 500 !important;
  }

  .menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: scroll;
    scroll-behavior: smooth;
  }

  .menu-list > li {
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
  }

  .menu-list li a {
    font-weight: normal;
  }

  .sub-list {
    list-style: none;
    padding: 0;
    display: none;
    background: #fafafa;
  }

  .sub-list li {
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
  }

  .menu-footer {
    margin-top: auto;
    background: #2e3f6f;
    color: #fff;
    padding: 16px;
  }

  .menu-footer a {
    color: #fff;
    text-decoration: underline;
  }

  .mobile-close-btn {
    background: #f4f4f4;
    border: none;
    font-size: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .mobile-close-btn:hover {
    background: #e0e0e0;
    transform: scale(1.1);
  }

  .mobile-back-btn {
    background: #f4f4f4;
    border: none;
    font-size: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .mobile-back-btn:hover {
    background: #e0e0e0;
    transform: translateX(-3px);
  }

  .mobile-back-btn:focus {
    outline: none;
  }
}
