@import url("assets/css/main.css");

/* -----------------------------------
   FONT IMPORTS
----------------------------------- */
@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins/Poppins-Medium.ttf") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins-semibold";
  src: url("assets/fonts/Poppins/Poppins-SemiBold.ttf") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins-bold";
  src: url("assets/fonts/Poppins/Poppins-Bold.ttf") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins-old";
  src: url("assets/fonts/popins-standard/OldStandardTT-Italic.ttf")
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "alktra";
  src: url("assets/fonts/alkatra/Alkatra-VariableFont_wght.ttf") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "century schoolbook";
  src: url("assets/fonts/century-schoolbook/SCHLBKB.TTF") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "popins-light";
  src: url("assets/fonts/Poppins/Poppins-Light.ttf") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "cristanna";
  src: url("assets/fonts/cristanna/Cristanna.ttf") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "worksans";
  src: url("assets/fonts/worksans/static/WorkSans-ExtraBold.ttf")
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "gilroy-semibold";
  src: url("assets/fonts/gilroy/Gilroy-SemiBold.ttf") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "gilroy-bold";
  src: url("assets/fonts/gilroy/Gilroy-Bold.ttf") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* -----------------------------------
   GLOBAL RESET & BASE STYLES
----------------------------------- */
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Poppins", sans-serif;
}

.header-width {
  max-width: 1450px;
}

.bg-meroon {
  background-color: #7b1315 !important;
}
.bg-SafetyOrange {
  background-color: #f79320 !important;
}

.bg-dark-green {
  background-color: #0f4221 !important;
}

.digimax-preloader {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: default;
  z-index: 9000;
}

.digimax-preloader .preloader-animation {
  z-index: 1000;
}

.preloader-animation .spinner {
  height: 9em;
  width: 9em;
  margin: 0 auto 3.5em auto;
  border: 8px solid #c1fdd5;
  border-top-color: #1b9445;
  border-radius: 50%;
  -webkit-animation: spinner 1s infinite linear;
  animation: spinner 1s infinite linear;
}

.preloader-animation .loader {
  font: bold 4em "Poppins", sans-serif;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.preloader-animation .loader .animated-letters {
  position: relative;
  color: rgba(0, 0, 0, 0.2);
}

.loader .animated-letters:before {
  position: absolute;
  content: attr(data-text-preloader);
  top: -3px;
  left: 0;
  color: #bd202e;
  opacity: 0;
  -webkit-transform: rotateY(-90deg);
  transform: rotateY(-90deg);
  -webkit-animation: animated-letters 4s infinite;
  animation: animated-letters 4s infinite;
}

.loader .animated-letters:nth-child(2):before {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.loader .animated-letters:nth-child(3):before {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.loader .animated-letters:nth-child(4):before {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.loader .animated-letters:nth-child(5):before {
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.loader .animated-letters:nth-child(6):before {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

.loader .animated-letters:nth-child(7):before {
  -webkit-animation-delay: 1.2s;
  animation-delay: 1.2s;
}

.loader .animated-letters:nth-child(8):before {
  -webkit-animation-delay: 1.4s;
  animation-delay: 1.4s;
}

.digimax-preloader p {
  font-family: "Poppins", sans-serif;
  letter-spacing: 8px;
  color: #3b3b3b;
}

.digimax-preloader .loader-animation {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  font-size: 0;
  z-index: 1;
  pointer-events: none;
}

.single-loader .loader-bg {
  height: 100%;
  width: 100%;
  left: 0;
  background-color: #ffffff;
  -webkit-transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
  transition: all 800ms cubic-bezier(0.77, 0, 0.175, 1);
}

.digimax-preloader.loaded .preloader-animation {
  opacity: 0;
  -webkit-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
}

.digimax-preloader.loaded .single-loader .loader-bg {
  width: 0;
  -webkit-transition: 0.7s all cubic-bezier(0.1, 0.1, 0.1, 1);
  transition: 0.7s all cubic-bezier(0.1, 0.1, 0.1, 1);
}

@-webkit-keyframes spinner {
  to {
    -webkit-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
  }
}

@keyframes spinner {
  to {
    -webkit-transform: rotateZ(360deg);
    transform: rotateZ(360deg);
  }
}

@-webkit-keyframes animated-letters {
  0%,
  75%,
  100% {
    opacity: 0;
    -webkit-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
  }

  25%,
  50% {
    opacity: 1;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
  }
}

@keyframes animated-letters {
  0%,
  75%,
  100% {
    opacity: 0;
    -webkit-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
  }

  25%,
  50% {
    opacity: 1;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
  }
}

@media screen and (max-width: 767px) {
  .preloader-animation .spinner {
    height: 8em;
    width: 8em;
  }

  .preloader-animation .loader {
    font: bold 3.5em "Poppins", sans-serif;
  }
}

@media screen and (max-width: 500px) {
  .preloader-animation .spinner {
    height: 7em;
    width: 7em;
  }

  .preloader-animation .loader {
    font: bold 2em "Poppins", sans-serif;
  }
}

.preloader-image {
  position: relative;
  width: 120px;
  height: 120px;
  top: 134px;
  margin: auto;
  border-radius: 50%;
  overflow: hidden;

  /* theme color */
  box-shadow: 0 0 20px rgba(216, 15, 15, 0.2);
  animation: pulse 2s infinite ease-in-out;
}

.preloader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

@media (max-width: 600px) {
  .preloader-image {
    width: 88px;
    height: 88px;
    top: 101px;
    /* adjust for mobile position */
  }
}
/* Loader full-page overlay */
/* #loader-wrapper {
  position: fixed;
  inset: 0;
  background: white; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
} */

.get-in-touch {
  padding: 50px 5px 20px 110px !important;
}

/* Loader animation */
/* .loader {
  width: 45px;
  aspect-ratio: 1;
  --c: no-repeat linear-gradient(#702c3a 0 0);
  background: var(--c) 0% 50%, var(--c) 50% 50%, var(--c) 100% 50%;
  background-size: 20% 100%;
  animation: l1 1s infinite linear;
} */

/* #loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
} */

/* #loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
} */

.progress {
  height: 25px;
  border-radius: 8px;
  overflow: hidden;
}

.progress-bar {
  font-weight: bold;
  font-size: 14px;
}

@keyframes l1 {
  0% {
    background-size: 20% 100%, 20% 100%, 20% 100%;
  }
  33% {
    background-size: 20% 10%, 20% 100%, 20% 100%;
  }
  50% {
    background-size: 20% 100%, 20% 10%, 20% 100%;
  }
  66% {
    background-size: 20% 100%, 20% 100%, 20% 10%;
  }
  100% {
    background-size: 20% 100%, 20% 100%, 20% 100%;
  }
}

.text-primary {
  color: rgb(41, 125, 41);
}

/* -----------------------------------
   HEADER STYLES
----------------------------------- */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent; /* Fully transparent header */
  z-index: 1001;
}

.header i {
  cursor: pointer;
  transition: transform 0.3s, color 0.3s; /* Smooth hover */
}

.font-sm {
  font-size: 26px !important;
}
/* #loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
} */
/* 
#loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
} */

/* -----------------------------------
   SIDEBAR STYLES
----------------------------------- */
.side-menu {
  position: fixed;
  top: 0;
  left: -300px; /* Hidden by default */
  width: 300px;
  height: 100%;
  background: #d6cac6;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
  transition: left 0.3s ease-in-out;
  z-index: 1100;
}

.side-menu.active {
  left: 0;
}

.side-menu a {
  color: #7f2730;
  font-weight: 500;
  transition: transform 0.3s ease, background 0.3s ease;
}

.side-menu a:hover {
  transform: scale(1.1);
}

/* Submenu flyout */
.dws-sidebar .submenu {
  position: fixed;
  top: 0;
  left: 300px;
  height: 100vh;
  background: #ddd5d1;
  min-width: 320px;
  display: none;
  flex-direction: column;
  justify-content: center;
  /* ✅ center vertically */
  align-items: flex-start;
  /* keep links aligned to left */
  border-left: 2px solid #ddd;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px 10px;
  overflow-y: auto;
  z-index: 1000;
}

.dws-sidebar .submenu .nav-link {
  text-align: left;
  padding: 20px;
  font-size: 1rem;
  margin-left: 30px;
}

.dws-sidebar .submenu .nav-link:hover {
  border-radius: 5px;
}

/* Show submenu on hover */
.dws-sidebar .nav-item:hover .submenu {
  display: flex;
}

.top-menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1050;
  transition: top 0.4s ease-in-out;
  overflow-y: auto;
  padding-bottom: 80px;
}
.top-menu.active {
  top: 0;
}
.top-menu h4 {
  font-size: 20px;
  margin-bottom: 15px;
}
.top-menu a {
  display: block;
  padding: 6px 0;
  color: #333;
  text-decoration: none;
}
.top-menu a:hover {
  color: #007bff;
}
.menu-close {
  position: absolute;
  top: 15px;
  right: 20px;
}

/* -----------------------------------
   HERO SECTION
----------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
}

.hero2 {
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-position: center;

  transition: transform 0.2s linear;
}

.hero3 {
  position: relative;
  min-height: 60vh;
  background-size: cover;
  background-position: center;

  transition: transform 0.2s linear;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay */
  z-index: 1;
}

.hero2 .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: "Times New Roman", Times, serif;
}

/* Slide-up effect for DELHI and SCHOOL */
.slide-text {
  display: inline-block;
  transform: translateY(30px); /* start 20px below */
  opacity: 0;
  animation: slideUp 0.8s ease-out forwards;
  font-family: "worksans", sans-serif;
}

.slide-text {
  display: inline-block;
  transform: translateY(30px); /* start 20px below */
  opacity: 0;
  animation: slideUp 0.8s ease-out forwards;
  font-family: "worksans", sans-serif;
  animation-delay: 1s;
}

@keyframes slideUp {
  to {
    transform: translateY(0); /* final position */
    opacity: 1;
  }
}

.about-hilight {
  font-size: 72px;
  font-family: "cristanna", sans-serif !important;
  letter-spacing: 3.2px;
  word-spacing: 4.2px;
  color: yellow;
  /* Slide-up animation */
  display: inline-block; /* required for transform */
  transform: translateY(30px); /* start below */
  opacity: 0; /* start invisible */
  animation: slideUp 0.8s ease-out forwards; /* same as .slide-text */
  animation-delay: 2s; /* optional: delay after slide-text */
}

@keyframes slideUp {
  to {
    transform: translateY(0); /* final position */
    opacity: 1;
  }
}

/* Optional: stagger animation for a smoother effect */
.slide-text:first-child {
  animation-delay: 0.3s;
}

.slide-text:last-child {
  animation-delay: 0.8s;
}

/* -----------------------------------
   ABOUT SECTION
----------------------------------- */
.about-section {
  padding: 80px 20px;
  color: #000;
}

.about-text p {
  font-size: 18px;
  line-height: 1.3;
}

/* Red CTA Button */
.about-link {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #d32f2f; /* Red */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.about-link:hover {
  background-color: #b71c1c; /* Darker red */
  transform: scale(1.05); /* Slight zoom */
}

.about-link:hover i {
  transform: translateX(5px); /* Arrow moves right */
}

.mt-100 {
  margin-top: 100px !important;
}

/* About Image Reveal Effect */
.about-img {
  position: relative;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1.5s ease;
  clip-path: inset(0 100% 0 0); /* Hidden */
}

.about-hilight {
  font-size: 73px;
  font-family: "cristanna", sans-serif !important;
  letter-spacing: 3.2px;
  word-spacing: 4.2px;
  color: yellow;
}

.about-img.show img {
  opacity: 1;
  transform: scale(1);
  clip-path: inset(0 0 0 0); /* Revealed */
  transition: clip-path 1.5s ease-out, opacity 1s ease, transform 1.5s ease;
}

@keyframes revealLeftToRight {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

/* -----------------------------------
   WELCOME SECTION
----------------------------------- */
.welcome-section {
  background: #e8e0db; /* Beige */
  padding: 66px 20px;

  text-align: center;
  font-weight: normal;
}

.welcome-content {
  max-width: 1147px;
  margin: 0 auto;
  color: #0d1b2a; /* Deep navy */
  font-size: 38px;
  line-height: 1.3;
  text-align: center;
}

.welcome-link-wrapper {
  margin-top: 40px;
  text-align: center;
  margin-left: 300px; /* ⚠️ This offsets center */
}

.welcome-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #0d1b2a;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.welcome-link:hover {
  color: #a2231d;
}

.mt-40 {
  margin-top: 40px;
}
.-mt-120 {
  margin-top: -140px;
}

.highlight-text {
  color: #a2231d !important;
  font-weight: bolder;
  font-size: 18px;
}

.circle-btn {
  background: #f79320;
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: transform 0.3s ease;
}

.welcome-link:hover .circle-btn {
  transform: translateX(6px);
}

/* Welcome Text Animation */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.scroll-fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Video section */
.video-section {
  padding: 90px 0;
  background-color: #f6f6f6;
}
.bg-light-dws {
  background-color: #f6f6f6 !important;
}
.video-wrapper {
  width: 100%; /* full container width */
  max-width: 1250px; /* increased max-width */
  margin: 0 auto;
  overflow: hidden;
}

.video-wrapper iframe {
  display: block;
  width: 100%; /* full width */
  height: 700px; /* increased height */
}

/* Optional: make it fully responsive on small screens */
@media (max-width: 768px) {
  .video-wrapper iframe {
    height: 350px;
  }
}

/* Extra-Curricular Section */
.extra-curricular {
  padding: 100px 20px;
  background: #fff;
}

.section-title {
  font-family: "Poppins", serif;
  font-size: 36px;
  font-weight: 600;
  color: #0f4221;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.extra-card {
  text-align: left;
  margin-bottom: 40px;
}

.extra-img {
  overflow: hidden;
  margin-bottom: 20px;
}

.extra-img img {
  width: 100%;
  transition: transform 0.6s ease;
}

.extra-img:hover img {
  transform: scale(1.1); /* zoom in effect */
}

.extra-card h3 {
  font-family: "Poppins", serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #0d1b2a;
}

.extra-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

.extra-link {
  font-size: 14px;
  font-weight: 600;
  color: #0d1b2a;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.extra-link span {
  margin-left: 6px;
  color: #f15a29;
  transition: transform 0.3s ease;
}

.extra-link:hover {
  color: #a2231d;
}

.extra-link:hover span {
  transform: translateX(5px);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #fff;
}

.contact-list li i {
  color: #fff;
  width: 20px; /* ensures icons align */
}

.scroll-section {
  position: relative;
  background: url("assets/img/all\ students\ looking\ up.png") no-repeat center
    center/cover;
  background-attachment: fixed; /* <-- keeps background fixed */
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.scroll-overlay {
  position: absolute; /* overlay covers entire section */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* transparent overlay */
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-overlay marquee {
  font-size: 100px;
  font-family: "Poppins-semibold", sans-serif;
  color: #fff;
  letter-spacing: 2px;
}

.heading-font {
  font-family: "worksans", sans-serif;
  font-size: 60px;
}

/* admission section */

/* .admissions-section {
  background: #dfd5d1; 
  padding: 80px 10%;
  text-align: center;
}

.section-title {
  margin-bottom: 2px;
  letter-spacing: 1px;
  font-weight: 600;
}

.admissions-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.admission-card {
  background: #fff;
  padding: 20px;
  text-align: left;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admission-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}

.admission-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #222;
  text-align: start;
}

.admission-card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #555;
}

.admission-card .btn {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
  color: #f15a24;
  justify-content: end;
}

.admission-card .btn span {
  margin-left: 5px;
}

.admission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
} */

/* Statistics Section */

.stat-card {
  background: transparent;
  border: 2px dashed #fff;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  color: #fff;
  flex: 1 1 200px;
  min-width: 180px;
}

.stat-icon {
  width: 50px;
  margin-bottom: 15px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  position: relative;
}

/* Add + after each number */
.stat-number::after {
  content: "+";
  font-size: 2rem;
  margin-left: 5px;
}

.stat-text {
  font-size: 1.1rem;
  margin-top: 5px;
}

/* uplaod buttom style */

.uploadbtn {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  right: 30px;
  float: right;
}

/* Location section css */

.location-section {
  padding: 0 20px 50px 20px;
  background: #e8e0db;
  text-align: center;
}

.location-text {
  font-size: 22px;
  margin-bottom: 30px;
  color: #555;
}

.subtitle-text {
  font-size: 20px;
  color: #555;
  margin-bottom: 50px;
  font-family: "popins-light", sans-serif;

  letter-spacing: normal !important;
}
.map-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.school-carousel {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 100%;
  transition: left 0.5s ease-in-out;
}

.carousel-slide.active {
  left: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.carousel-text {
  position: absolute;
  bottom: 50px;
  width: 100%;
  text-align: center;
  color: #fff;
}

.carousel-text h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.carousel-text p {
  font-size: 1.5rem;
}

/* Navigation Buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  color: #000;
  z-index: 10;
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

.prev:hover,
.next:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* #loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
} */

/* #loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
} */

/* .text-mern {
  color: #702c3a;
  font: 40px !important;
  font-weight: 700;
} */

.branch-stat-card {
  background: transparent;
  border: 5px dashed #702c3a;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  color: #702c3a;
  flex: 1 1 200px;
  min-width: 180px;
}

.branch-stat-card .stat-text {
  font-size: 22px;
  margin-top: 10px;
  font-weight: 600;
}
.book-btn {
  background-color: yellow;
  color: black;
}

.pl-6 {
  padding-left: 6rem !important;
}

.video-text {
  margin-left: 104px;
}

.log-out {
  background-color: #d32f2f; /* Red */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 16px;
  transition: all 0.3s ease;
  border-radius: 0;
}
.log-out:hover {
  background-color: #b71c1c; /* Darker red */
  transform: scale(1.05); /* Slight zoom */
}

.news-events-section {
  background: #f4f4f4;
  padding: 60px 20px;
}

.news-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  align-items: flex-start;
}

.news-left {
  flex: 1;
  padding-top: 100px;
}

.news-left h5 {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #333;
}

.news-left h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #222;
  line-height: 1.2;
}

.news-left h2 .highlight {
  color: #7e2d45;
}

.news-left p {
  font-size: 15px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.learn-more-btn {
  padding: 12px 24px;
  background: #fff;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.news-right {
  flex: 2;
}

.swiper {
  overflow: visible;
}

.news-card {
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
  width: 75%;
  margin-right: 30px;
}

.news-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  margin-bottom: 15px;
}

.news-date {
  padding: 20px;
  display: inline-block;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  color: #333;
  margin-bottom: 10px;
}

.news-date .day {
  font-size: 20px;
  font-weight: bold;
  display: block;
}

.news-card h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
}

.news-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.read-more {
  color: #7e2d45;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
}

.news-nav {
  position: relative;
  top: 42px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.swiper-button-prev,
.swiper-button-next {
  background: #fff;
  border: 1px solid #ccc;
  width: 40px;
  height: 40px;
  color: #000;
  border-radius: 50%;
  transition: 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #ddd;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  background-size: cover;
  z-index: -1;
  background-repeat: no-repeat;
}

.about-Sustainability {
  background-color: #f6f6f6;
  padding: 20px 20px;
  margin-top: -90px;
  position: relative;
}

.bg-lightgray {
  background-color: #f6f6f6 !important;
}

.Governance-policies {
  background-color: #d7d4cf;
  padding: 20px 20px;
}

.menu-section-menus {
  font-size: 36;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-section-menus ul {
  list-style: none;
  padding: 0;
}

.menu-section-menus ul li {
  margin: 0;
  padding: 6px 10px;
  border-bottom: 2px solid #e9e9e9;
  text-decoration: none;
  background-color: #f9f9f9;
  align-items: center;
}

.menu-section-menus ul li a {
  text-decoration: none;
  font-size: 26px;
  font-family: "worksans", sans-serif;
  color: #7f2730;
  font-weight: bold;
  transition: transform 0.3s ease, color 0.3s ease, font-size 0.3s ease;
  display: inline-block;
}

.menu-section-menus a:hover {
  transform: scale(1.1);
  color: #f79320;
  font-weight: 600;
}

:root {
  --white: #ffffff;
  --orange: #f79320;
  --red: #bd202e;
  --muted: #f5f5f6;
  --text: #1a1a1a;
  --gap: 12px;
  --radius: 10px;
  --overlay: rgba(0, 0, 0, 0.6);
  --accent: var(--orange);
  --glass: rgba(255, 255, 255, 0.7);
}

/* reset / base */
* {
  box-sizing: border-box;
}

/* --- Tabs (centered pill tabs) --- */
.tabs {
  max-width: 1350px;
  margin: 0 auto 44px;
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: linear-gradient(
    180deg,
    rgba(250, 250, 250, 1),
    rgba(245, 245, 246, 1)
  );
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(23, 102, 242, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.tab {
  background: transparent;
  border: 0;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  transition: all 0.22s ease;
  box-shadow: none;
  outline: 0;
  position: relative;
}

/* small icon spot if you add icons */
.tab .tab-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 6px;
}

/* selected state — gradient using red/orange for a warm school tone */
.tab[aria-selected="true"] {
  background: linear-gradient(90deg, var(--red), var(--orange));
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(189, 32, 46, 0.12);
}

/* hover & focus accessible */
.tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.tab:focus {
  box-shadow: 0 0 0 4px rgba(247, 147, 32, 0.12);
}

/* badge / count style (use inside tab or thumbnail) */
.badge {
  background: var(--white);
  color: var(--text);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* --- Gallery grid: 2 columns --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1350px;
  margin: 0 auto;
  padding: 6px;
}

/* gallery item card */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(180deg, var(--muted), var(--white));
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  min-height: 180px;
  display: flex;
  align-items: stretch;
}

/* image fills left, caption right when wide — but keep simple cover */
.gallery-item img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.25s ease;
  border-radius: 12px;
}

/* subtle zoom + lift */
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.1);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.98);
}

/* small category ribbon / badge on top-left */
.gallery-item .ribbon {
  position: absolute;
  left: 10px;
  top: 10px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  color: white;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(189, 32, 46, 0.12);
}

/* caption overlay bottom */
.gallery-item .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.45));
  color: white;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* --- Lightbox / viewer --- */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--overlay);
  z-index: 9999;
  padding: 30px;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  width: 100%;
  max-width: 1200px;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(13, 18, 42, 0.28);
}

/* viewer area with dark backdrop */
.viewer {
  position: relative;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.viewer img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

/* control buttons */
.control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.control.prev {
  left: 14px;
}

.control.next {
  right: 14px;
}

.control:active {
  transform: translateY(-50%) scale(0.975);
}

/* close */
.close-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 6px 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  font-weight: 700;
  border: 0;
  cursor: pointer;
  color: #0d0d0d;
}

/* thumbnails row (lightbox) */
.thumbs {
  display: flex;
  gap: 10px;
  padding: 12px;
  overflow-x: auto;
  align-items: center;
  background: linear-gradient(180deg, var(--muted), var(--white));
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.thumbs button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
}

.thumbs img {
  width: 88px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.78;
  transition: transform 0.18s, opacity 0.18s;
}

.thumbs button.active img {
  opacity: 1;
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* placeholder if no images */
.gallery .no-images {
  grid-column: 1/-1;
  text-align: center;
  padding: 48px 20px;
  color: #666;
  font-size: 15px;
}

/* responsive */
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .thumbs img {
    width: 72px;
    height: 48px;
  }

  .tab {
    font-size: 15px;
    padding: 10px 16px;
  }
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0 12px;
  }

  .gallery-item img {
    height: 200px;
  }

  .tabs {
    gap: 8px;
    padding: 8px;
    border-radius: 10px;
  }
}

.bi-person:hover {
  cursor: pointer !important;
}

#bookTour {
  padding: 10px 0 !important;
  /* reduce space above and below */
}

#bookTour .container {
  max-height: 90vh;

  overflow-y: auto;
}

.mt-60 {
  margin-top: 60px !important;
}
