/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body.no-scroll {
  overflow: hidden;
}


/* var */
:root {
  --header-text: #008000;
  --h2-color: #065f2a;
  --btn-color: linear-gradient(135deg, #047857, #16a34a);
}

/* =============== HEADER =============== */
header {
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

img {
  content-visibility: auto;
}


/* LOGO */
.logo a img {
  max-height: 80px;
  cursor: pointer;
}

/* =============== NAV =============== */
.navigation {
  width: 60%;
}

nav {
  padding: 0px 15px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 2000;
  height: 89px;
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
}

nav li {
  height: 100%;
  display: flex;
  align-items: center;
}

nav li a {
  color: #04415f;
  text-decoration: none;
  padding: 8px 18px;
  font-size: 17px;
  font-weight: 600;
  position: relative;
  transition: all 0.35s ease;
  display: inline-block;
  border-radius: 4px;
}

nav li a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #1645a3, #047857);
  transition: width 0.4s ease;
  border-radius: 2px;
}

nav li a:hover {
  color: #023f5d;
  background: rgba(22, 100, 163, 0.08);
}

nav li a:hover::after {
  width: 100%;
}

nav li a:active,
nav li a.active {
  color: #047857;
  background: rgba(22, 163, 74, 0.12);
}

nav li a.active::after {
  width: 100%;
}


/* ===== OVERLAY ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-in-out;
  z-index: 3000;
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* MENU BUTTON */
.menu-toggle {
  margin-left: auto;
  font-size: 26px;
  cursor: pointer;
  color: #04415f;
  display: none;
}

/* CLOSE BUTTON */
.menu-close {
  position: fixed;
  top: 20px;
  right: 25px;
  font-size: 26px;
  color: #04415f;
  cursor: pointer;
  display: none;
  z-index: 5000;
}

/* =============== RESPONSIVE =============== */
@media(max-width:768px) {

  .logo {
    width: 90%;
    justify-content: flex-start;
  }

  .logo a img {
    height: 60px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 17px;
    right: 20px;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70vw;
    height: 100vh;
    background: #ffffff;
    padding: 70px 0 0 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    border-radius: 12px 0 0 12px;
    z-index: 4000;
    transition: right 0.5s ease-in-out;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav li {
    display: block;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #04415f;
  }

  nav li a {
    position: static;
    width: 100%;
    margin: 0;
    padding: 14px;
    color: #04415f;
    font-size: 16px;
    transition: all 0.2s ease;
    border-radius: 0;
  }

  nav li a::after {
    position: static;
    bottom: 0;
    height: 2.5px;
    background: none;
    transition: none;
    border-radius: 0;
  }

  nav li a:hover {
    background: linear-gradient(135deg, #04415f, #087bb4);
    color: #ffffff;
  }

  nav li a:hover::after {
  width: 0%;
}

  nav.open {
    right: 0;
    animation: slideIn 0.4s ease;
  }

  .menu-close {
    animation: slideIn 0.3s ease-in-out;
  }

  @keyframes slideIn {
    from {
      right: -100%;
    }

    to {
      right: 0;
    }
  }

}

/* FORCE HIDE MENU TOGGLE IN DESKTOP */
@media (min-width: 769px) {

  .menu-toggle,
  .menu-close,
  .menu-overlay {
    display: none !important;
  }
}


/* ===== ADMISSION CTA ===== */
.admission-cta {
  padding: 80px 15px;
  background: linear-gradient(
  135deg,
  rgba(6, 78, 59, 0.95),
  rgba(15, 118, 110, 0.95)
  ),
  url("../images/Building.jpg") center/cover no-repeat;
  position: relative;
  text-align: center;
  color: white;
}

/* CONTENT */
.cta-content {
  max-width: 800px;
  margin: auto;
}

.cta-content h2 {
  font-size: 34px;
  margin-bottom: 16px;
  font-family: "Noto Serif Bengali", serif;
}

.cta-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 30px;
  opacity: 0.95;
  font-family: "Noto Serif Bengali", serif;
}

/* BUTTONS */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* PRIMARY */
.cta-btn.primary {
  background: #22c55e;
  color: #01261b;
}

.cta-btn.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.6);
}

/* SECONDARY */
.cta-btn.secondary {
  border: 2px solid white;
  color: white;
}

.cta-btn.secondary:hover {
  background: white;
  color: #064e3b;
  transform: translateY(-4px);
}

/* MOBILE */
@media (max-width: 480px) {
  .cta-content h2 {
    font-size: 22px;
  }

  .cta-content p {
    font-size: 14px;
  }

  .cta-btn {
    width: 100%;
    text-align: center;
  }
}


/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  text-align: center;
}

.contact-title {
  font-size: 32px;
  color: #065f2a;
  margin-bottom: 40px;
}

/* Layout */
.contact-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Cards */
.contact-info,
.contact-form {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: 0.4s ease;
}

/* Hover */
.contact-info:hover,
.contact-form:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.15);
}

/* Headings */
.contact-info h3,
.contact-form h3 {
  color: #047857;
  margin-bottom: 15px;
  font-size: 22px;
}

.contact-info h3 {
  margin-top: 60px;
}

/* Text */
.contact-info p {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.contact-info p b {
  color: #065f2a;
}

/* Form */

.contact-form label {
  display: block;
  text-align: left;
  margin-bottom: 6px;
  font-size: 16px;
  color: #064e3b;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.contact-form textarea {
  height: 120px;
}

/* Button */
.contact-form button {
  width: 100%;
  background: linear-gradient(135deg, #16a34a, #047857);
  color: white;
  border: none;
  padding: 12px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.contact-form button:hover {
  background: linear-gradient(135deg, #047857, #16a34a);
  transform: scale(1.05);
}

#formStatus {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
}

/* Mobile */
@media(max-width:768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info h3 {
    margin-top: 0;
    font-size: 20px;
  }

  .contact-form h3 {
    font-size: 20px;
  }

  .contact-info p {
    font-size: 13px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
  }

}

/* MAP BOX */
.map-box {
  width: 100%;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.map-box iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* Mobile */
@media(max-width:768px) {
  .map-box iframe {
    height: 320px;
  }
}


/* ===== FOOTER SECTION ===== */
.footer {
  background: #003249;
  color: #ffffff;
  padding: 50px 25px 20px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.footer-box h2 {
  font-size: 20px;
  margin-bottom: 15px;
  text-align: left;
}

.footer-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  text-align: left;
}

/* LINKS */
.footer-links {
  list-style: none;
  padding: 0;
  text-align: left;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #90ffc7;
  text-decoration: none;
  font-weight: 400;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #22c55e;
  text-decoration: underline;
}

/* SOCIAL ICONS */
.footer-social {
  margin-top: 25px;
  text-align: center;
}

.footer-social .social {
  display: inline-block;
  margin: 0 10px;
  width: 42px;
  height: 42px;
  line-height: 42px;
  border-radius: 50%;
  background: #009b3e;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}

.footer-social .social:hover {
  transform: translateY(-5px) scale(1.1);
  background: #22c55e;
}

/* COPYRIGHT */
.footer-bottom {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #f6f6f6;
}

/* RESPONSIVE */
@media(max-width:768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-box p {
    font-size: 12px;
  }
}
