/* ==========================================================================
   1. GLOBAL STYLES & FONTS
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

.light {
  --mainColor: #16a34a;
  --hoverColor: #15803d;
  --backgroundColor: #f3fbf5;
  --darkOne: #1f2937;
  --darkTwo: #374151;
  --lightOne: #6b7280;
  --lightTwo: #9ca3af;
  --greenLight: #dcfce7;
  --greenSoft: #bbf7d0;
  --greenBorder: #86efac;
  --greenDark: #166534;
}

.dark {
  --mainColor: #4ade80;
  --hoverColor: #22c55e;
  --backgroundColor: #0f172a;
  --darkOne: #f9fafb;
  --darkTwo: #e5e7eb;
  --lightOne: #d1d5db;
  --lightTwo: #9ca3af;
  --greenLight: #14532d;
  --greenSoft: #166534;
  --greenBorder: #22c55e;
  --greenDark: #86efac;
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background: var(--backgroundColor);
  color: var(--darkOne);
  padding-top: 136px;
}

.stop-scrolling {
  height: 100%;
  overflow: hidden;
}

img {
  width: 100%;
}

a {
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1850px;
  margin: 0 auto;
  position: relative;
  z-index: 100;
}

/* ==========================================================================
   2. HEADER
   ========================================================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #f0fdf4;
  border-top: 4px solid #15803d;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* TOP BAR */

.top-bar {
  background: #073919;
  height: 48px;
  border-bottom: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
}

.top-bar-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.top-links a {
  font-size: 13px;
  color: #cfe9d9;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: 0.3s ease;
}

.top-links a:hover {
  color: #16a34a;
}

/* APPLY BUTTON */

.top-links .btn-apply-now {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  transition: 0.3s ease;
}

.top-links .btn-apply-now:hover {
  background: linear-gradient(135deg, #15803d, #16a34a);
  transform: translateY(-2px);
}

/* MAIN BAR */

.main-bar {
  background: #f0fdf4;
  height: 88px;
  display: flex;
  align-items: center;
}

.main-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 50px;
}

/* ==========================================================================
   3. LOGO
   ========================================================================== */

.logo {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 360px;
}

.logo img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .title {
  font-size: 18px;
  font-weight: 800;
  color: #16a34a;
  line-height: 1.2;
}

.logo-text .tagline {
  font-size: 13px;
  color: #16a34a;
  font-weight: 600;
}

/* ==========================================================================
   4. NAVIGATION
   ========================================================================== */

.nav-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 42px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  color: #166534;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: 0.3s ease;
  white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #22c55e !important;
}

.nav-menu li a.active {
  font-weight: 800;
}

/* ==========================================================================
   5. ACADEMICS MODAL
   ========================================================================== */

.academics-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 12px;
  margin-left: 6px;
  transition: 0.3s;
}

.academics-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.academics-modal {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-25%);
  width: 680px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}

.academics-modal.show-modal {
  opacity: 1;
  visibility: visible;
}

.academics-modal-content {
  width: 100%;
  background: #ffffff;
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 420px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border-radius: 0 0 14px 14px;
}

/* LEFT COLUMN */

.schools-column {
  background: #f0fdf4;
  padding: 25px;
  border-right: 1px solid #dcfce7;
}

.schools-column h4 {
  font-size: 15px;
  font-weight: 800;
  color: #15803d;
  margin-bottom: 20px;
}

.school-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s ease;
  margin-bottom: 10px;
}

.school-item:hover,
.school-item.active-school {
  background: #dcfce7;
}

.school-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.school-icon {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.school-icon i {
  color: #16a34a;
  font-size: 16px;
}

.school-item h5 {
  font-size: 15px;
  font-weight: 700;
  color: #14532d;
}

.school-item p {
  font-size: 12px;
  color: #6b7280;
}

.school-item .fa-chevron-right {
  color: #15803d;
}

/* RIGHT COLUMN */

.departments-column {
  background: #ffffff;
  padding: 30px;
}

.department-box {
  display: none;
}

.department-box.active-department {
  display: block;
}

.department-box h3 {
  font-size: 18px;
  font-weight: 800;
  color: #15803d;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.department-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.department-box ul li {
  border-bottom: 1px solid #dcfce7;
  padding: 12px 0;
}

.department-box ul li a {
  color: #166534;
  font-size: 15px;
  font-weight: 700;
  transition: 0.3s ease;
  display: block;
}

.department-box ul li a:hover {
  color: #22c55e;
  padding-left: 6px;
}

/* ==========================================================================
   6. DARK MODE TOGGLE
   ========================================================================== */

.bottom-area {
  display: flex;
  align-items: center;
}

.toggle-btn {
  display: inline-block;
  border: none;
  background: #14532d;
  color: #fff;
  cursor: pointer;
  height: 36px;
  width: 36px;
  border-radius: 50%;
  font-size: 1rem;
  transition: 0.3s;
}

.toggle-btn:hover {
  background: #22c55e;
}

.toggle-btn i {
  line-height: 36px;
}

/* ==========================================================================
   7. DARK MODE
   ========================================================================== */

body.dark-mode {
  background: #0f172a;
  color: #f9fafb;
}

body.dark-mode header {
  background: #111827;
}

body.dark-mode .top-bar {
  background: #0f172a;
  border-color: #1f2937;
}

body.dark-mode .main-bar {
  background: #111827;
}

body.dark-mode .logo-text .title {
  color: #ffffff;
}

body.dark-mode .top-links a,
body.dark-mode .nav-menu li a {
  color: #e5e7eb;
}

body.dark-mode .top-links a:hover,
body.dark-mode .nav-menu li a:hover,
body.dark-mode .nav-menu li a.active {
  color: #4ade80 !important;
}

/* MODAL DARK */

body.dark-mode .academics-modal-content {
  background: #111827;
}

body.dark-mode .schools-column {
  background: #1f2937;
  border-color: #374151;
}

body.dark-mode .departments-column {
  background: #111827;
}

body.dark-mode .school-item:hover,
body.dark-mode .school-item.active-school {
  background: #14532d;
}

body.dark-mode .school-item h5,
body.dark-mode .department-box h3,
body.dark-mode .school-item .fa-chevron-right {
  color: #f9fafb;
}

body.dark-mode .school-item p {
  color: #d1d5db;
}

body.dark-mode .department-box ul li {
  border-color: #374151;
}

body.dark-mode .department-box ul li a {
  color: #d1fae5;
}

body.dark-mode .department-box ul li a:hover {
  color: #4ade80;
}

body.dark-mode .school-icon {
  background: #14532d;
}

/* ==========================================================================
   8. HERO / WRAPPER
   ========================================================================== */

.big-wrapper {
  margin-top: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-color: var(--backgroundColor);
  display: flex;
  flex-direction: column;
}

.overlay {
  display: none;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */

footer {
  background-color: #052e16;
  padding: 50px 0;
  text-align: center;
}

.social-icons i {
  font-size: 24px;
  margin: 0 10px;
  color: whitesmoke;
  transition: 0.3s ease;
}

.social-icons .facebook:hover {
  color: #4ade80;
  transform: scale(1.2);
}

.social-icons .twitter:hover {
  color: #86efac;
  transform: scale(1.2);
}

.social-icons .instagram:hover {
  color: #22c55e;
  transform: scale(1.2);
}

.social-icons .linked-in:hover {
  color: #16a34a;
  transform: scale(1.2);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  display: inline-block;
  margin-right: 20px;
}

.footer-links ul li a {
  color: white;
  transition: 0.3s ease;
}

.footer-links ul li a:hover {
  color: #4ade80;
}

footer img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 5px;
}

footer p {
  color: white;
}

/* ==========================================================================
   10. RESPONSIVE
   ========================================================================== */

.hamburger-menu {
  display: none;
}

@media (max-width: 1200px) {
  .nav-menu {
    gap: 20px;
  }

  .academics-modal {
    left: 15%;
    width: 620px;
  }
}

@media screen and (max-width: 992px) {
  .top-bar {
    display: none;
  }

  .main-bar-container {
    padding: 0 20px;
  }

  .hamburger-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 99999;
  }

  .hamburger-menu .bar {
    width: 28px;
    height: 3px;
    background: #166534;
    position: relative;
    border-radius: 3px;
  }

  .hamburger-menu .bar::before,
  .hamburger-menu .bar::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 3px;
    background: #166534;
    left: 0;
    border-radius: 3px;
  }

  .hamburger-menu .bar::before {
    top: -8px;
  }

  .hamburger-menu .bar::after {
    top: 8px;
  }

  body.dark-mode .hamburger-menu .bar,
  body.dark-mode .hamburger-menu .bar::before,
  body.dark-mode .hamburger-menu .bar::after {
    background: #ffffff;
  }

  .nav-container {
    position: fixed;
    top: 88px;
    right: -100%;
    width: 300px;
    height: calc(100vh - 88px);
    background: #f0fdf4;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 30px;
    transition: 0.4s ease;
    z-index: 9999;
  }

  body.dark-mode .nav-container {
    background: #111827;
  }

  .nav-container.active {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    width: 100%;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    font-size: 17px;
    display: block;
    width: 100%;
  }

  .academics-modal {
    position: fixed;
    top: 88px;
    left: 0;
    transform: none;
    width: 100%;
    padding: 0 15px;
  }

  .academics-modal-content {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .logo {
    min-width: auto;
    gap: 12px;
  }

  .logo img {
    width: 60px;
    height: 60px;
  }

  .logo-text .title {
    font-size: 10px;
  }

  .logo-text .tagline {
    font-size: 8px;
  }

  .schools-column {
    padding: 20px 15px;
  }

  .department-box h3 {
    font-size: 20px;
  }

  .nav-container {
    width: 100%;
  }
}