body {
  /* overflow-x: hidden; */

  margin: 0;
  font-family: "Raleway", sans-serif;
  overflow-x: hidden;
  background-color: rgb(244, 242, 235);
}

.page-wrapper {
  max-width: 1920px; /* sets the maximum page width */
  margin: 0 auto; /* centers horizontally */
  padding: 0; /* optional: breathing space left/right */
  box-sizing: border-box; /* keeps padding inside max-width */
}

.landing-header-logo2 {
  display: none;
}
/* Prevent menu from flashing during initial load */
html.menu-loading .links-container {
  display: none !important;
}
/* Sticky or Fixed Menu */
#section-space {
  margin: 0 0 7rem 0;
}
#section-space2 {
  margin: 0 0 8rem 0;
}
#section-space3 {
  margin: 0 0 9rem 0;
}
header.visible {
  opacity: 0;
  pointer-events: auto;
}
menu {
  position: absolute;
  z-index: 1001;
  padding: 0;
  margin: 0;
}

/* Main Menu Container */
.links-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100vw;
  background-color: rgba(244, 242, 235, 0.868);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  line-height: 1.2;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease-in-out, visibility 0s linear 0.4s;
  z-index: 99;
}

/* Show menu when checkbox is checked */
#sidebar-active:checked ~ .links-container {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.4s ease-in-out;
}

/* Main menu links */
.links-container a {
  font-size: 3.5em;
  letter-spacing: 3px;
  font-weight: 300;
  text-decoration: none;
  color: rgb(120, 39, 23);
  transition: transform 0.3s ease;
}

.links-container a:hover {
  transform: scale(0.8);
}

/* Hamburger Button */
.hamburger-container {
  position: fixed;
  top: 10%;
  right: 8%;
  padding: 12px;
  border-radius: 5px;
  background-color: rgb(120, 39, 23);
  z-index: 1000;
  cursor: pointer;
  transition: right 0.3s ease-in-out;
}
.hamburger-container.scrolled {
  right: 3%;
}

/* Hamburger Icon */
.hamburger-icon {
  position: relative;
  width: 30px;
  height: 24px;
}
.hamburger-icon span {
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}
.hamburger-icon span:nth-child(1) {
  top: 1px;
}
.hamburger-icon span:nth-child(2) {
  top: 11px;
}
.hamburger-icon span:nth-child(3) {
  top: 21px;
}

/* X animation on toggle */
#sidebar-active:checked + label #overlay .hamburger-icon span:nth-child(1),
#sidebar-active:checked ~ #overlay .hamburger-icon span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}
#sidebar-active:checked + label #overlay .hamburger-icon span:nth-child(2),
#sidebar-active:checked ~ #overlay .hamburger-icon span:nth-child(2) {
  opacity: 0;
}
#sidebar-active:checked + label #overlay .hamburger-icon span:nth-child(3),
#sidebar-active:checked ~ #overlay .hamburger-icon span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* Hide checkbox */
#sidebar-active {
  display: none;
}

/* Menu structure */
.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Submenu toggle */
.has-submenu .submenu {
  display: none;
  flex-direction: column;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  padding-left: 0;
}
.has-submenu.open .submenu {
  display: flex;
}

/* Submenu links */
.has-submenu .submenu a {
  font-size: 2em;
  line-height: 1.5;
  color: rgb(120, 39, 23);
  text-align: center;
}
/* Landing Section (Full-screen height) */
.landing-content {
  position: relative;
  overflow: hidden;
  height: 95vh;
  width: 94%;
  margin-left: 3%;
  margin-right: 3%;
  margin-top: 3%;
  /* padding-right: 5%;
  padding-top: 5%; */
  background-color: #212121;

  color: white;
  display: flex;
  flex-direction: column;
  /* justify-content: center;
  align-items: center; */
  text-align: left;
  padding: 0;
  box-sizing: border-box;
}
.landing-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.633);
  opacity: 1;
  animation: fadeOutOverlay 3s ease-in-out forwards;
  z-index: 1;
  box-shadow: 1px -400px 68px -95px rgba(0, 0, 0, 1) inset;
  -webkit-box-shadow: 1px -400px 68px -95px rgba(0, 0, 0, 1) inset;
  -moz-box-shadow: 1px -400px 68px -95px rgba(0, 0, 0, 1) inset;
}

/* Ensure all content stays above the fading overlay */
.landing-content > * {
  position: relative;
  z-index: 2;
}

.center-image {
  position: absolute;
  top: 2%;
  left: 1%;
  width: clamp(85px, 12vw, 200px); /* Adjust size as needed */
  height: auto;
  opacity: 1;
  z-index: 1000;
}
@keyframes zoom {
  1% {
    transform: scale(1);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.landing-header-logo {
  position: absolute;
  bottom: 1%;
  left: 1%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1em, 12vw, 13em);
  color: #f6f6f0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  line-height: 0.8;
  letter-spacing: 10px;
}

.bg-rotator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 1;
  transition: opacity 1.2s ease-in-out;
}

.landing-content > *:not(.bg-rotator) {
  z-index: 2; /* keeps text above background */
}
@keyframes fadeOutOverlay {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.6;
  }
}

/* Styling the logo image */

.landing-title h1 {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5em;
  font-weight: 200;
  margin-bottom: 0%;
  margin-top: 1%;
  z-index: 100;
  color: #dedbdb;
  opacity: 99%;
}

.welcome-text-bg {
  position: absolute;
  height: auto;
  bottom: 0%;
  right: 0%;
  width: 100%;
  min-height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    /* more transparent at the top */ rgba(0, 0, 0, 0.471)
      /* less transparent at the bottom */
  );
}
.welcome-text {
  position: absolute;
  height: auto;
  bottom: 2%;
  right: 1%;
  max-width: 475px;
  min-height: auto;
  margin: 0%;
  border-radius: 5px;
  padding: 2rem;
  padding-bottom: 0%;
  padding-right: 2%;
  padding-left: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* center horizontally */
  align-items: left;
}

.welcome-text2 {
  display: none;
}
.welcome-text h1 {
  margin: 0;
  padding: 0;
  display: flex;
  font-size: 2rem;
  text-align: left;
  font-weight: 500;
  padding: 0%;
  margin-bottom: 1rem;
  color: #f6f6f0;
  z-index: 999;
  opacity: 1;
}
.welcome-text p {
  margin: 0;
  padding: 0;
  color: #f6f6f0;
  max-width: 500px;
  font-size: 1.1em;
  letter-spacing: 2px;
  text-align: justify;
  line-height: 1.7;
  font-weight: 200;
}
#welcome-heading,
#welcome-paragraph {
  transition: opacity 1s ease-in-out;
}

/*/////////////////////////advertisment 1 ////////////////////////////*/

#lightbox-ad {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox-ad.show {
  display: flex;
  animation: fadeIn 0.5s ease forwards;
}

.lightbox-content {
  display: flex;
  background: #f2f1f1;
  padding: 0.5rem;
  border-radius: 10px;
  text-align: center;
  max-width: 700px;
  width: 90%;
  height: auto;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.ad-text {
  flex: 50%;
  display: flex;
  border-radius: 10px 0 0 10px;
  padding: 2em;
  flex-direction: column;
  align-items: flex-start;
  background-color: #f1efef;
}

.ad-text h2 {
  font-size: 2em;
  padding: 0;
  margin: 0;
}

.ad-text p {
  font-size: 1.2em;
  padding: 1em 0;
  margin: 0;
}

.ad-image {
  flex: 50%;
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  background-color: #3b633a;
  border-radius: 0 10px 10px 0;
  margin: 0 auto;
  padding: 2em 0;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.ad-image img {
  width: 70%;
  height: auto;
}
.lightbox-close {
  position: absolute;
  top: 2%;
  right: 2%;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #efeded;
  cursor: pointer;
}
.lightbox-close:hover,
.lightbox-close:focus {
  background: none;
  outline: none;
  box-shadow: none;
}

.ad-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1.2rem;
  background-color: #3b633a;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*////////////////////end//////////////////////////////*/

.principal-section {
  display: flex;
  flex-wrap: nowrap; /* prevent wrapping so both sides stay side-by-side */
  justify-content: center;
  margin: 0 auto;

  align-items: stretch; /* this makes both columns the same height */
  height: 600px;
  width: 94%;
  column-gap: 2em;
  padding-top: 2rem;
}

.principal-text {
  flex: 1;
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateX(-50%);
}

.principal-text.active {
  animation: slideFadeIn 1.9s ease-out forwards;
}
@keyframes slideFadeIn {
  0% {
    transform: translateX(-50%);
    opacity: 1;
  }
  60% {
    transform: translateX(3%);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.principal-text .quotes {
  display: block; /* default for images, keeps it clean */
  width: clamp(1.5rem, 10vw, 3rem);
  margin-left: auto; /* aligns image to the right */
  margin-bottom: -0.5em;
}
.principal-text h2 {
  flex: 1;
  font-family: "montserrat", sans-serif;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  color: #464545;
  text-align: right;
  line-height: 0.7;
  margin: 0%;
  padding-top: 0rem;
  padding-bottom: 3rem;
}

.principal-text h2 span {
  font-family: "montserrat", sans-serif;
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 500;
  line-height: 0.9;
  /* color: #8f69a7; */
  color: rgb(191, 87, 66);
}

.principal-text p {
  display: flex;
  flex-direction: column;
  font-size: clamp(0.7rem, 4vw, 1.2rem);
  color: #615f5f;
  line-height: 2;
  font-weight: 400;
  line-height: 1.7;
  max-width: 800px;
  margin: 0%;
  text-align: justify;
  padding-left: 0%;
}

.principal-text .divider {
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
  height: 1px;
}

.div-transparent:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1.5px;
  background-image: linear-gradient(
    to right,
    transparent,
    #615f5f,
    transparent
  );
}
.principal-button {
  background-color: transparent;
  color: #292928;
  border: 1px #4a4b4a;
  border-style: solid;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  text-decoration: none;
  align-self: flex-end; /* Ensures it aligns naturally instead of stretching */
  transition: 0.6s;
  margin-top: 2em;
}

.principal-button a {
  text-decoration: none;
  color: #615f5f;
}

.principal-button:hover a {
  color: #ffffff;
}
.principal-button:hover {
  background-color: #cd5d31;
  border: 1px transparent;
  border-style: solid;
}

.principal-photo {
  flex: 1;
  height: 100%;
  overflow: hidden;
}

.principal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.new-section-container {
  width: 100%;
  justify-content: center;
  margin: 0 auto;
  /* background-color: #aa6499; */
  /* padding: 5rem 0 6% 0; */
}

.new-section-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  width: 94%;
  margin: 0 auto;
}

.new-section-wrapper .heading-section {
  flex: 1;
  font-family: "montserrat", sans-serif;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  /* color: #aa6499; */
  /* color: #3f8343; */
  color: #464545;
  text-align: right;
  line-height: 0.82;
  margin: 0%;
}

.new-section-wrapper .heading-section span {
  /* color: #8f69a7; */
  font-size: clamp(3rem, 10vw, 8rem);

  color: rgb(191, 87, 66);
}

.new-section-wrapper .para {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  font-size: clamp(0.7rem, 4vw, 1.2rem);
  color: #615f5f;
  line-height: 1.7;
  font-weight: 400;
  /* max-width: 1200px; */
  margin: 0%;
  text-align: justify;
  padding-left: 2%;
  padding-right: 4%;
}

.heading-section,
.para {
  opacity: 0;
  transform: translateX(0); /* default position reset */
}

/* Animation for heading from left */
.heading-section.in-view {
  animation: slideFromLeft 1s ease-out forwards;
}

/* Animation for para from right */
.para.in-view {
  animation: slideFromRight 1s ease-out forwards;
}
.heading-section.in-view,
.para.in-view {
  animation-fill-mode: forwards;
}

.para.in-view {
  animation: slideFromRight 1.8s ease-out forwards;
  animation-delay: 0.4s;
}

@keyframes slideFromLeft {
  0% {
    transform: translateX(-50%);
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideFromRight {
  0% {
    transform: translateX(50%);
    opacity: 1;
  }
  60% {
    transform: translateX(-2%);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.cta-button {
  width: 140px;
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 18px;
  color: #615f5f;
  border: 1px rgb(91, 89, 89);
  border-style: solid;
  border-radius: 5px;
  cursor: pointer;
  background-color: transparent;
  transition: background-color 0.3s;
}

.cta-button a {
  text-decoration: none;
  color: #615f5f;
}

.cta-button:hover a {
  color: #ffffff;
}
.cta-button:hover {
  background-color: #cd5d31;
  border: 1px transparent;
  border-style: solid;
}

.vision-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  /* padding: 10rem 0 0 0; */
}
.vision-wrapper {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(200px, 1fr)
  ); /* responsive columns */
  grid-auto-rows: 250px; /* adjust this value to your liking */
  gap: 0.2rem;
  max-width: 1300px;
  padding: 0 1rem;
  margin: 0 auto;
  width: 100%;
}

.vision-dots {
  display: none;
}

.vision-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  width: 100%;
}

.vision-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ fills the box without squishing */
}

/* Item 1 spans 2 rows */
.grid-item1 {
  grid-column: 1 / 2;
  grid-row: 1 / span 2;
}

.grid-item2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.grid-item3 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.grid-item4 {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
}

.grid-item6 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

/* THIS is the corrected part: Item 7 spans 2 columns (3–4) and 2 rows (2–3) */
.grid-item7 {
  grid-column: 3 / 5;
  grid-row: 2 / 4;
}

.grid-item9 {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}

.grid-item10 {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}

.alumni-spotlight {
  padding-top: 0rem;
  padding-bottom: 0rem;
  text-align: center;
  /* padding: 5rem 0 10rem 0; */
}

.alumni-spotlight #spotlight-icon {
  width: 90px;
  padding-top: 0;
}
.alumni-spotlight h2 {
  font-family: "montserrat", sans-serif;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  color: #464545;
  text-align: right;
  padding-right: 10%;
  line-height: 0.9;
  margin: 0%;
}

.alumni-spotlight h2 span {
  color: rgb(191, 87, 66);
  /* color: #8f69a7; */
}

.alumni-spotlight p {
  margin: 0%;
  text-align: right;
  font-size: clamp(0.7rem, 4vw, 1.2rem);
  color: #615f5f;
  text-align: right;
  padding-right: 10%;
  padding-top: 0;
  margin-top: 0em;
  padding-bottom: 2em;
}
.team-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 3rem;
  width: 95%;
  margin: 0 auto;
}

.team-card {
  position: relative;
  width: 325px;
  height: auto;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  will-change: transform, opacity;
  transform: translateX(-100%);
  opacity: 0;
}

.team-card.in-view {
  animation: slideInLeft 2.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  30% {
    transform: translateX(0%);
    opacity: 1;
  }

  50% {
    transform: translateX(-5%);
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.team-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.team-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.team-modal img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  animation: zoomIn 0.4s ease-out;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.featured-section {
  padding: 40px 20px;
  background-color: #f4f4f4;
}

.container {
  display: flex;
  flex-wrap: wrap;
  padding-left: 10%;
  padding-right: 10%;
  margin-top: 5%;
  margin-bottom: 5%;
}

.sidebar {
  width: 100%;
  max-width: 250px;
  margin-right: 30px;
}

.sidebar ul {
  font-size: 1.1em;
  font-weight: 400;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  padding: 30px;
  border: 1px solid #d8d6d6;
  cursor: pointer;
  background-color: #f4f6f4;
}

.sidebar .active {
  background-color: #3b523b;
  color: #fff;
}

.grid-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 20px;
  flex: 1;
  cursor: pointer;
}

.grid-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 0.5em;
}

.grid-item a {
  color: #2d7537;
  text-decoration: none;
  font-weight: 500;
  font-size: 1em;
}

.grid-item p {
  margin-top: 8px;
  font-size: 1rem;
}

#lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.footer {
  /* background-color: #4b6b41a8; */
  width: 100%;
  padding: 0rem 0 5rem 0;
  margin: 0 auto;
  box-sizing: border-box;
}

.contact-form-section {
  margin-bottom: 50px;
  margin: 0 auto;
  max-width: 900px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  resize: vertical;
}

.contact-form button {
  background-color: white;
  color: #292928;
  border: 1px #4a4b4a;
  border-style: solid;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  align-self: flex-end; /* Ensures it aligns naturally instead of stretching */
  transition: 0.6s;
}

.contact-form button:hover {
  background-color: #cd5d31;
  color: white;
}

/* Footer Info Section */
.footer-info {
  gap: 15px;
  padding-left: 10%;
  padding-right: 10%;
  max-width: 900px;
  margin: 0 auto;
}

.footer-column {
  min-width: 250px;
  justify-items: left;
  margin-bottom: 50px;
}

.footer-column h3 {
  color: #464545;
  padding: 2px 0em;
  font-size: clamp(1.8rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
}

.footer-column h2 {
  font-family: "montserrat", sans-serif;
  /* color: #bdb70e; */
  color: #464545;
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
  padding-top: 0rem;
  margin-left: -0.5em;
}
.footer-column h2 span {
  color: rgb(191, 87, 66);
}

.footer-column p,
.footer-column a {
  color: #333;
  font-size: 16px;
  text-decoration: none;
}

.social-links a {
  margin-right: 10px;
  color: #753a2d;
  text-decoration: none;
}

.social-links a:hover {
  text-decoration: underline;
}

.site-map {
  background-color: #212121;
  padding: 2rem 0rem;
  padding-top: 5em;
  width: 100%;
  margin: 0 auto;
}

.site-map-container {
  max-width: 80%;
  height: auto;
  margin: 0 auto;
}

.site-map-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 1rem;
}

.site-map-column h3 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: #ccc;
}

.site-map-column h3 span {
  border-bottom: 2px solid #2d7537;
}

.site-map-column ul {
  list-style: none;
  padding: 0;
}

.site-map-column li {
  color: #ccc;
  font-size: 0.9em;
  line-height: 2;
}

.site-map-column a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
}

.site-map-column a:hover {
  text-decoration: underline;
}
.social-icons {
  padding-top: 1em;
  display: flex;
  gap: 20px; /* space between icons */
  justify-content: left; /* center the row */
  align-items: center;
}
#copyright {
  color: #ccc;
  text-align: center;
  font-size: 0.8;
  padding-top: 6em;
  padding-bottom: 2em;
  margin: 0 auto;
  width: 100%;
  background-color: #212121;
}

.copyright-link a span {
  color: #ccc;
  white-space: nowrap; /* Prevent line breaks inside the span */
  display: inline-block;
  text-decoration: none !important;
}

#copyright a:link,
#copyright a:visited,
#copyright a:hover,
#copyright a:active {
  text-decoration: none !important;
}

.copyright-link a:hover {
  color: #c33333;

  text-decoration: none;
}

/* History page section/////////////////////////////////
///////////////////////////////////////////////////////
///////////////////////////////////////////////////////

/* Base styles (only applied to history page via extra class) */
.history-landing {
  height: 40vh;
  background-image: url(images/schoolbuilding.webp);
  background-size: cover; /* Ensure the image covers the entire section */
  background-position: center; /* Center the background image */
  background-repeat: no-repeat; /* Prevent image from repeating */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  text-align: center;
}

.history-landing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40vh;
  background: rgba(0, 0, 0, 0.711); /* Adjust opacity and color here */
  z-index: 0; /* Ensure it sits behind the text */
}
/* History page-specific landing content */
.landing-title {
  max-width: 800px;
}

.landing-title p {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: #f7f7f7;
  opacity: 0.9;
}

/* Styling */
.timeline {
  margin: 4em auto;
  position: relative;
  max-width: 40em;
  list-style-type: none;
}

.timeline:before {
  background-color: black;
  content: "";
  margin-left: -1px;
  position: absolute;
  top: 0;
  left: 2em;
  width: 2px;
  height: 100%;
}

.history-slider {
  padding-top: 5em;
  margin-bottom: 2em;
}

.timeline-event {
  position: relative;
}

.timeline-event-icon.active {
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background-color: #a83279;
}

.timeline-event-copy {
  padding: 2em;
  position: relative;
  top: -1.875em;
  left: 5em;
  width: 100%;
}
.timeline-event-copy h3 {
  font-size: 1.75em;
}
.timeline-event-copy h4 {
  font-size: 1.2em;
  margin-bottom: 1.2em;
}

.timeline-event-copy p {
  font-size: 1em;
  padding-right: 8%;
  padding-top: 2%;
  padding-bottom: 2%;
  border-radius: 20px;
}

.timeline-event-copy strong {
  font-weight: 700;
}
.timeline-event-copy p:not(.timeline-event-thumbnail) {
  padding-bottom: 1.2em;
}

.timeline-event-icon {
  -moz-transition: -moz-transform 0.2s ease-in;
  -o-transition: -o-transform 0.2s ease-in;
  -webkit-transition: -webkit-transform 0.2s ease-in;
  transition: transform 0.2s ease-in;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: rgb(0, 0, 0);
  outline: 10px solid #636262;
  display: block;
  margin: 2em 0.5em 0.5em -0.5em;
  position: absolute;
  top: 0;
  left: 2em;
  width: 1em;
  height: 1em;
}

.timeline-event-thumbnail {
  -moz-transition: box-shadow 0.5s ease-in 0.1s;
  -o-transition: box-shadow 0.5s ease-in 0.1s;
  -webkit-transition: box-shadow 0.5s ease-in;
  transition: box-shadow 0.5s ease-in 0.1s;
  color: white;
  font-size: 0.75em;
  background-color: rgb(0, 0, 0);
  -moz-box-shadow: inset 0 0 0 0em #2d7537;
  -webkit-box-shadow: inset 0 0 0 0em #2d7537;
  box-shadow: inset 0 0 0 0em #2d7537;
  display: inline-block;
  margin-bottom: 1.2em;
  padding: 3em;
}

.timeline-event-thumbnail.active {
  -moz-box-shadow: inset 40em 0 0 0 #2d7537;
  -webkit-box-shadow: inset 40em 0 0 0 #2d7537;
  box-shadow: inset 40em 0 0 0 #9e0b8a;
  transition: 2s;
  opacity: 1;
}

/*///////// timetable section /////////
//////////////////////////////////////
/////////////////////////////////////*/

.form-levels {
  padding: 40px 5%;
  text-align: left;
  margin-top: 5em;
  margin-bottom: 5em;
}

.form-levels-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.form-box {
  background-color: #b1b4b345;
  width: 250px;
  height: 300px;
  padding: 30px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  font-weight: 400;
}

.form-box-style {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  color: #2d7537;
}

.form-box h3 {
  font-size: 1em;
  text-align: left;
  color: #a83279;
  text-decoration: none;
}

/*//////////resoources////////*/

.resources-box {
  width: 100%;
  height: 500px;
  padding-top: 2em;
  font-size: 1.2rem;
  font-weight: 400;
  text-align: left;
}
.resources-box h1 {
  padding: 1em;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1em;
}

.resources-box h3 a {
  padding: 1em;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1em;
  color: #2d7537;
}
/*//////////////// Form 1 ///////////////
////////////////////////////////////////
///////////////////////////////////////*/

.form-1-container {
  min-height: auto;
}
.form-1-box {
  width: 80%;
  height: auto;
  padding-top: 4em;
  font-size: 1.2rem;
  font-weight: 400;
  padding-bottom: 5em;
  text-align: center;
  margin: 0 auto;
}
.form-1-box h1 {
  padding: 1em;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1em;
}
.form-1-box h3 {
  padding: 1em;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5em;
}
.form-1-box p {
  padding: 0.5em;
  margin: 0;
  font-size: 1rem;
  color: #666;
  font-weight: 400;
  margin-bottom: 0.5em;
  line-height: 1.8;
}

.form-1-box a {
  color: #2d7537;
  padding: 2em;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
}

/*////////form 6////////*/

.form-6-container {
  min-height: auto;
}
.form-6-box {
  width: 80%;
  height: auto;
  padding-top: 4em;
  font-size: 1.2rem;
  font-weight: 400;
  padding-bottom: 5em;
  text-align: center;
  margin: 0 auto;
}
.form-6-box h1 {
  padding: 1em;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1em;
}
.form-6-box h3 {
  padding: 1em;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1em;
}
.form-6-box p {
  padding: 1em;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5em;
  color: #666;
}

.form-6-box a {
  color: #2d7537;
  padding: 2em;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
}

.form-6-box a span {
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
}

/*////////Parent resources////////*/

.parent-container {
  min-height: auto;
}
.parent-box {
  width: 60%;
  height: auto;
  padding-top: 4em;
  font-size: 1.2rem;
  font-weight: 400;
  padding-bottom: 5em;
  text-align: left;
  margin: 0 auto;
}
.parent-box h1 {
  padding: 1em;
  margin: 0;
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 1em;
}
.parent-box h3 {
  padding: 1em;
  margin: 0;
  color: #212121;
  font-size: 1.6rem;
  font-weight: 400;
}
.parent-box p {
  padding: 1em;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

.parent-box a {
  color: #2d7537;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
}

.parent-box a span {
  font-size: 1.2rem;
  font-weight: 450;
  text-decoration: none;
}
/*///////////////alumni////////////////////
//////////////////////////////////////////
/////////////////////////////////////////
//////////////////////////////////////*/

.alumni-box {
  height: 130vh;
  width: 100%;
  padding-top: 5em;
  font-size: 1.2rem;
  font-weight: 400;
  padding-bottom: 5em;
  text-align: center;
}

.alumni-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.alumni-box h1 {
  padding: 1em;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1em;
}
.alumni-box h3 {
  padding: 1em;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5em;
}
.alumni-box p {
  padding: 0.5em;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5em;
  line-height: 1.8;
}

.alumni-box a {
  color: #2d7537;
  padding: 2em;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
}

/*///////////////mission////////////////////
//////////////////////////////////////////
/////////////////////////////////////////
//////////////////////////////////////*/

.mission-box {
  height: auto;
  width: 60%;
  padding-top: 4em;
  font-size: 1.2rem;
  font-weight: 400;
  padding-bottom: 5em;
  text-align: left;
  margin: 0 auto;
}

.mission-box h1 {
  padding: 1em;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.5em;
}

.mission-box p {
  padding: 0.5em;
  margin: 0;
  font-size: 1rem;
  font-size: 1.063rem;
  color: #666;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 0.5em;
}

.drop-cap::first-letter {
  float: left;
  font-size: 3rem;
  line-height: 0.9;
  padding-right: 0.1em;
  font-weight: 400;
}

/*//Student-portal////////////////////
//////////////////////////////////////////
/////////////////////////////////////////
//////////////////////////////////////*/

.portal-container {
  display: flex;
  justify-content: center; /* horizontally center */
  align-items: center; /* vertically center */
  min-height: auto;
}

.portal-box {
  width: 100%;
  max-width: 500px;
  padding: 40px;
  border-radius: 12px;
  text-align: left; /* text inside stays left-aligned */
}

.portal-box h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0em;
  padding-bottom: 0em;
  text-align: center;
}

#loginDiv {
  padding: 40px;
  max-width: 500px;
  margin: 100px auto;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 16px;
  margin: 12px 0;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
} */
button {
  padding: 14px;
  font-size: 16px;
  background-color: #2d7537;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background-color: #289fac;
}

#loginError {
  color: red;
  margin-top: 10px;
}
/*//principal-statement////////////////////
//////////////////////////////////////////
/////////////////////////////////////////
//////////////////////////////////////*/

.principal-box {
  height: auto;
  width: 60%;
  padding-top: 5em;
  font-size: 1.2rem;
  font-weight: 400;
  padding-bottom: 5em;
  text-align: left;
  margin: 0 auto;
}

.principal-box h1 {
  padding: 1em;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.5em;
}

.principal-box p {
  padding: 0.5em;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5em;
  font-size: 1.063rem;
  color: #666;
  line-height: 1.4;
}

.principal-box p span {
  font-weight: bold;
  font-size: 1.2rem;
}

/*///////////////Departmnets////////////////////
//////////////////////////////////////////
/////////////////////////////////////////
//////////////////////////////////////*/

.departments-box {
  height: auto;
  width: 90%;
  padding-top: 4em;
  font-size: 1.2rem;
  font-weight: 400;
  padding-bottom: 5em;
  margin: 0 auto;
}

#department-title {
  text-align: center;
  padding-top: 2em;
  padding-bottom: 1em;
  font-size: 1.6em;
  font-weight: 400;
  text-decoration: underline #2d7537;
  text-underline-offset: 7px;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, max-content));
  gap: 1rem;
  justify-content: center; /* Centers the grid items */
  align-items: start;
  margin: 0 auto; /* Center the grid container */
  padding: 2rem;
}

.tab {
  background: #33373e;
  padding: 1rem;
  text-align: center;
  height: 150px;
  color: #ccc;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tab:hover {
  background: #2e4941;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info {
  display: none;
}

.info.active {
  display: block;
}

.info-area-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.info-area {
  margin-top: 20px;
  padding: 20px;
  display: flex;
  justify-content: center;
}

.info-content {
  display: flex;
  align-items: left;
  flex-wrap: nowrap; /* prevent wrapping so both sides stay side-by-side */
  align-items: flex-start;
  max-width: 1100px;
  width: 70%;
  border-radius: 10px;
  background-color: rgb(66, 69, 71);
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.departments-box h2 {
  font-size: 1.1em;
  font-weight: 400;
}

.info-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  padding: 0 1em 0 1em;
}

.info-text h2 {
  padding: 1em 0 0.5em 0;
  font-size: 1em;
  font-weight: 400;
  color: #f2efef;
  line-height: 1;
  margin: 0%;
}
.info-text p {
  padding-bottom: 1em;
  font-size: 0.9em;
  font-weight: 200;
  color: #f2efef;
  line-height: 1;
  margin: 0%;
}

/* //////////prospectus////////////
///////////////////////////////
/////////////////////////////// */

.prospectus-wrapper {
  margin: 0 auto;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prospectus-wrapper h1 {
  font-size: 4em;
}

@media (max-width: 1354px) {
  .new-section-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
  }

  .new-section-wrapper .para {
    flex: 2;
    color: #615f5f;
    line-height: 2;
    font-weight: 400;
    /* max-width: 1200px; */
    margin: 0%;
    text-align: justify;
    padding-left: 5%;
    padding-right: 5%;
  }

  .new-section-wrapper .heading-section {
    flex: 1;
    font-family: "montserrat", sans-serif;
    color: #615f5f;
    text-align: right;
    align-self: flex-end;
    padding-bottom: 1.5rem;
    padding-left: 5%;
    padding-right: 5%;
    margin: 0%;
  }
}

/* Responsive Design: Adjusting for smaller screens */
@media (max-width: 1224px) {
  .tabs {
    grid-template-columns: repeat(3, 200px); /* or any fixed width */
  }
}

/* Optional: 2 per row on smaller screens */
@media (max-width: 700px) {
  .tabs {
    grid-template-columns: repeat(2, 180px); /* or any fixed width */
    padding-left: 5%;
    padding-right: 5%;
  }
}

/* Optional: 1 per row on phones */
@media (max-width: 400px) {
  .tabs {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  menu a {
    padding: 15px 35px;
  }
  #section-space {
    margin: 0 0 4rem 0;
  }
  #section-space2 {
    margin: 0 0 2rem 0;
  }

  .landing-content {
    height: 70vh;
    width: 100%;
    margin-left: 0%;
    margin-right: 0%;
    margin-top: 0%;
  }

  .landing-header-logo {
    display: none;
  }

  .hamburger-container {
    top: 3%;
    right: 5%;
  }

  .center-image {
    width: 90px;
    top: 3%;
    left: 5%;
  }
  .landing-header-logo2 {
    display: block;
    position: absolute;
    bottom: 1%;
    left: 5%;
    font-family: "Bebas Neue", sans-serif;
    font-size: 5em;
    line-height: 0.8;
    text-align: left;
    color: #d7d3d3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    animation: zoom 3s ease-out;
    animation-delay: 1s; /* Optional delay */
    animation-fill-mode: forwards;
  }
  .welcome-text {
    display: none;
  }
  .welcome-text2 {
    display: block;
    margin: 0%;
    width: 100%;
    height: auto;
    bottom: 0%;
    right: 0%;
    background-color: #1c1b1b;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .welcome-text2 h1 {
    margin: 0%;
    font-size: 1.4em;
    font-weight: 400;
    color: #bebcbc;
    padding: 0 5%;
    padding-bottom: 1rem;
  }

  .welcome-text2 p {
    margin: 0;
    font-size: 0.9em;
    color: #bebcbc;
    padding: 0 5%;
    line-height: 1.8;
  }

  .links-container {
    width: 100vw;
    gap: 0rem;
    line-height: 0.6;
  }

  .links-container a {
    font-size: 2em;
    font-weight: 400;
  }
  .has-submenu .submenu a {
    font-size: 1.4em;
    line-height: 0.9;
  }

  .new-section #education-icon {
    display: none;
  }

  .alumni-spotlight #spotlight-icon {
    display: none;
  }

  .divider {
    display: none;
  }
  .principal {
    padding-top: 0%;
  }

  .principal-section {
    flex-direction: column; /* stack text and image vertically */
    height: 100%; /* allow height to adjust naturally */
    margin: 0%;
    opacity: 1;
    width: 100%;
    padding-top: 3rem;
    gap: 1em;
    transform: translateX(0%);
  }

  .principal-text {
    padding-left: 5%;
    padding-right: 5%;
    animation: none !important;
    transform: translateX(0);
    opacity: 1;
    margin: 0;
    padding-top: 0;
    padding-bottom: 1rem;
  }
  .principal-text.active {
    animation: none !important;
    transform: translateX(0); /* ensure it's in place */
    opacity: 1;
  }

  .principal-text .quotes {
    display: none;
    /* width: 45px; */
  }
  .principal-photo {
    width: 100%;
    height: 100%; /* image height adjusts to maintain aspect ratio */
    box-shadow: none;
  }

  .principal-photo img {
    min-height: 400px;
    border-radius: 0px;
  }

  .principal-text h2 {
    padding-top: 0rem;
    padding-bottom: 1.5rem;
    line-height: 0.9;
  }

  .principal-photo img {
    height: auto;
  }

  .principal-text p {
    line-height: 1.7;
    text-align: justify;
    padding: 0%;
    padding-bottom: 0em;
  }
  .principal-text .divider {
    width: 100px; /* Adjust width of line */
    height: 3px; /* Thickness of the line */
    margin: 1rem auto; /* Centers it horizontally and adds spacing */
    border-radius: 2px; /* Optional: soft rounded edges */
    margin-top: 0em;
  }
  .principal-button {
    display: inline-block; /* Prevent full-width stretch */
    margin: 0 auto;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: transparent;
  }

  .new-section-container {
    width: 100%;
    justify-content: center;
    align-items: stretch;
    margin: 0;
  }

  .new-section-wrapper .heading-section {
    color: #464545;
  }
  .new-section-wrapper .para {
    flex: 2;
    color: #615f5f;
    line-height: 1.7;
    font-weight: 400;
    /* max-width: 1200px; */
    margin: 0%;
    text-align: justify;
    padding-left: 5%;
    padding-right: 5%;
  }
  .cta-button {
    margin: 0 auto;
    margin-top: 20px;
    padding: 10px 10px;
  }
  .new-section-wrapper .heading-section {
    animation: none !important;
    transform: translateX(0); /* ensure it's in place */
    opacity: 1;
  }

  .new-section-wrapper .para {
    animation: none !important;
    transform: translateX(0); /* ensure it's in place */
    opacity: 1;
  }

  .slide-in-left {
    opacity: 1;
    transform: translateX(0);
    animation: none !important;
  }

  /* Right-to-left animation */
  .slide-in-right {
    opacity: 1;
    transform: translateX(0);
    animation: none !important;
  }
  .vision-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    padding: 0 0.5rem;
    max-width: 100%;
    scrollbar-width: none;
  }
  .vision-wrapper::-webkit-scrollbar {
    display: none;
  }

  /* dots below the carousel */
  .vision-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 12px 0;
  }
  .vision-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(110, 109, 109, 0.45);
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
  }
  .vision-dot.active {
    background: rgba(93, 92, 92, 0.95);
    transform: scale(1.2);
    border-radius: 5px;
    width: 25px;
  }

  .vision-item {
    flex: 0 0 100%; /* or 95%, not full width */
    height: 450px;
    scroll-snap-align: center;
    margin: 0 auto;
  }

  .vision-item img,
  .vision-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or remove this completely */
    object-position: top;
    display: block;
  }

  .alumni-spotlight {
    /* background-color: #b6bdd7; */
    /* background-color: rgba(184, 193, 187, 0.973); */
    /* background-color: rgb(176, 173, 159); */
    text-align: center;
  }
  .alumni-spotlight h2 {
    padding-right: 5%;
    text-align: right;
    padding-bottom: 0;
    padding-top: 0;
  }

  .alumni-spotlight p {
    margin: 0%;
    text-align: right;
    color: #615f5f;
    padding-top: 0;
    padding-right: 5%;
    margin-top: 0em;
    padding-bottom: 0rem;
  }

  .container {
    margin-top: 0;
    padding-bottom: 10%;
    flex-direction: column;
    padding-left: 2%;
    padding-right: 2%;
  }
  .sidebar {
    max-width: 100%;
    margin-bottom: 2em;
    margin-right: 0px;
  }

  .grid-item img {
    border-radius: 10px;
    padding: 0;
  }
  .team-grid {
    padding-top: 1rem;
  }
  .team-grid > * {
    flex: 1 1 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
  .team-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0;
    transform: translateX(0%);
    opacity: 1;
    padding: 0%;
  }

  .team-card.in-view {
    animation: none;
  }
  /*////// footer //////*/
  .footer {
    padding: 0rem 1rem 3rem 1rem;
  }
  .footer-info {
    flex-direction: column;
    align-items: left;
    padding: 0;
    margin-top: 0%;
  }

  .footer-column {
    text-align: left;
  }
  .footer-column h2 {
    padding-top: 2rem;
    padding-bottom: 0;
    margin-left: 0;
  }
  .landing-title h1 {
    font-size: 2rem;
    font-weight: 400;
    opacity: 0.9;
  }
  .landing-title p {
    font-size: 1em;
  }

  /* /////history////// */
  .timeline {
    margin: 0%;
    margin-top: 15%;
  }
  .timeline-event-copy h3 {
    font-size: 1em;
  }

  .timeline-event-copy h4 {
    font-size: 0.9em;
  }
  .timeline-event-copy p {
    font-size: 0.8em;
  }

  .timeline-event-copy {
    padding: 1em;
    position: relative;
    top: -0.5em;
    left: 4em;
    width: 70%;
  }

  /* ///////sitemap ////////*/

  .site-map {
    background-color: #212121;
    border-top: 1px solid #2d7537;
    padding-bottom: 1em;
  }
  .site-map-columns {
    display: grid;
    grid-template-columns: repeat(1, minmax(160px, 1fr));
    gap: 1.5rem;
  }
  .site-map-container {
    padding: 0%;
    padding-left: 2%;
    text-align: left;
    max-width: 100%;
    margin: 0 auto;
  }
  .site-map-container h2 {
    margin-bottom: 1em;
  }

  .site-map-column h3 {
    text-align: left;
    font-size: 1rem;
    margin-bottom: 0;
  }

  .site-map-column a {
    text-align: left;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
  }
  #copyright {
    color: #ccc;
    text-align: center;
    font-size: 0.8rem;
    margin: 0;
    padding-top: 3em;
    background-color: #212121;
  }
  .form-levels {
    padding: 0;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-height: 100vh; /* Fill the viewport height */
    text-align: center;
  }

  .form-levels-container {
    display: grid;
    grid-template-columns: repeat(1, minmax(150px, 1fr));
    gap: 40px;
  }

  .form-box {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    font-weight: 400;
    height: auto;
    padding-bottom: 0;
  }

  .form-box h3 {
    font-size: 0.9rem;
    text-align: left;
    color: #a83279;
    text-decoration: none;
  }

  .resources {
    padding: 0;
    background-color: #f7f7f7;
    text-align: center;
  }

  .resources-box {
    width: 100%;
    height: 500px;
    padding: 0;
    padding-top: 3em;
  }

  .resources-box h1 {
    font-size: 1.3em;
    font-weight: 400;
  }

  .resources-box a {
    font-size: 0.9em;
  }

  .form-6-box {
    width: 100%;
    height: auto;
    padding-top: 5em;
    font-size: 1.2rem;
    font-weight: 400;
    padding-bottom: 5em;
  }
  .form-6-box h1 {
    text-align: center;
    padding: 1em;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1em;
  }
  .form-6-box h3 {
    text-align: center;
    padding: 1em;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1em;
  }
  .form-6-box p {
    text-align: center;
    padding: 1em;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5em;
  }

  .form-6-box a {
    width: 100%;
    padding: 0%;
  }

  .form-6-box a span {
    text-align: center;
    padding: 2em;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 400;
  }

  .form-1-box {
    width: 100%;
    height: auto;
    padding-top: 5em;
    font-size: 1.2rem;
    font-weight: 400;
    padding-bottom: 5em;
  }
  .form-1-box h1 {
    text-align: center;
    padding: 1em;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1em;
  }
  .form-1-box h3 {
    text-align: center;
    padding: 1em;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1em;
  }
  .form-1-box p {
    text-align: center;
    padding: 1em;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5em;
  }

  .form-1-box a {
    text-align: center;
    padding: 2em;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 400;
  }

  .alumni-box {
    height: 150vh;
    width: 100%;
    padding-top: 5em;
    font-size: 1.2rem;
    font-weight: 400;
    padding-bottom: 5em;
    text-align: center;
  }

  .mission-box {
    height: auto;
    width: 90%;
    padding-top: 4em;
    font-size: 1.2rem;
    font-weight: 400;
    padding-bottom: 5em;
    text-align: left;
    margin: 0 auto;
  }

  .mission-box h1 {
    padding: 1em;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5em;
  }

  .mission-box p {
    padding: 0.5em;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5em;
    line-height: 1.8;
  }

  .principal-box {
    height: auto;
    width: 90%;
    padding-top: 4em;
    font-size: 1.2rem;
    font-weight: 400;
    padding-bottom: 5em;
    text-align: left;
    margin: 0 auto;
  }

  .principal-box h1 {
    padding: 1em;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5em;
  }

  .principal-box p {
    padding: 0.5em;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5em;
    line-height: 1.8;
  }

  .entry h2 {
    font-size: 1em;
    font-weight: 400;
  }
  .entry p {
    font-size: 0.8em;
  }

  /* //////////advertisment ///////////// */
  .ad-text {
    padding: 1em;
  }

  .ad-text h2 {
    font-size: 1.4em;
    padding: 0;
    margin: 0;
  }

  .ad-text p {
    font-size: 0.8em;
    padding: 1em 0;
    margin: 0;
    text-align: left;
  }

  /*////// parent resources//////
  //////////////////////////////
  ////////////////////////////*/
  .parent-box {
    width: 95%;
    height: auto;
    padding-top: 4em;
    font-size: 1.2rem;
    font-weight: 400;
    padding-bottom: 5em;
    text-align: left;
    margin: 0 auto;
  }

  .parent-box h1 {
    padding: 1em;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1em;
  }
  .parent-box h3 {
    padding: 1em;
    margin: 0;
    color: #212121;
    font-size: 1.3rem;
    font-weight: 450;
  }
  .parent-box p {
    padding: 1em;
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    color: #666;
  }

  .departments-box {
    height: auto;
    width: 100%;
  }
  .info-content {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .info-area-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 600px;
    padding: 0 0.5em 0 0.5em;
  }

  .info-text h2 {
    font-size: 1em;
    font-weight: 400;
    color: #f5f1f4;
  }

  .info-text p {
    padding-bottom: 1em;
    font-size: 0.8em;
    font-weight: 200;
    color: #f5f1f4;
    line-height: 1;
    margin: 0%;
  }

  #department-title {
    text-align: center;
    font-size: 1.3em;
    font-weight: 500;
  }
}

/* * {
  border: red solid 1px;
} */

/* Landscape mode adjustments for phones and small tablets */
@media (orientation: landscape) and (max-width: 900px) {
  /* --- General landing area --- */
  .center-image {
    width: 80px;
    top: 3%;
    left: 2%;
  }

  .landing-content {
    height: 100vh;
  }

  .landing-header-logo2 {
    font-size: 4em;
    left: 2%;
  }

  .welcome-text2 {
    display: none;
  }

  .welcome-text {
    display: block;
    max-width: 205px;
    min-height: auto;
    padding: 0 1rem 1rem 0;
  }

  .welcome-text h1 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  .welcome-text p {
    font-size: 0.6em;
  }

  .links-container {
    height: 100vh;
    font-size: 0.8em;
    line-height: 0.2;
  }

  /* --- Principal section --- */
  .principal-section {
    height: auto;
    flex-direction: row; /* keep image + text side-by-side in landscape */
    align-items: center;
    gap: 1rem;
  }

  .principal-photo img {
    height: 80vh; /* keep proportional height */
    object-fit: cover;
  }

  .principal-text h2 {
    font-size: 2rem;
    padding-bottom: 1rem;
  }

  .principal-text p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* --- New section titles --- */
  .new-section-wrapper .heading-section {
    font-size: 2rem;
  }

  .new-section-wrapper .para {
    font-size: 1rem;
  }
  .vision-item {
    flex: 0 0 100%; /* or 95%, not full width */
    height: auto;
    scroll-snap-align: center;
    margin: 0 auto;
    padding: 0%;
  }

  .vision-item img {
    width: 80%;
    height: 80%;
    object-fit: cover; /* or remove this completely */
    object-position: top;
    display: block;
  }

  .vision-wrapper {
    height: 100vh;
    width: 100%;
    padding: 0%;
  }
  /* --- Footer tweaks --- */
  .footer-column h2 {
    font-size: 2.5rem;
  }

  .footer-column p,
  .footer-column a {
    font-size: 0.9rem;
  }
}
