@font-face {
  font-family: "Poppins-bold";
  src: url("../fonts/Poppins/Poppins-Bold.ttf") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Facilities Section */
.facilities-section {
  padding: 60px 20px;
  background: #f9f9f9; /* light background */
}

.facilities-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

/* Card Container */
.facilities-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Individual Card */
.facility-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  padding-bottom: 20px;
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Card Image */
.facility-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Card Title */
.facility-card h3 {
  font-size: 1.2rem;
  margin: 15px 0 10px;
  color: #2c3e50;
}

/* Card Description */
.facility-card p {
  font-size: 0.95rem;
  color: #555;
  padding: 0 15px;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1200px) {
  .facilities-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .facilities-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .facilities-cards {
    grid-template-columns: 1fr;
  }
}

/* Featured News & Events Section */
.news-events-section {
  background: #dfd5d1; /* light bg */
  padding: 60px 20px;
}

.news-events-section h2 {
  font-size: 2rem;
  color: #1a3d2f; /* dark greenish heading */
}

.news-events-section p {
  font-size: 1rem;
  line-height: 1.7;
}

.news-events-section .btn-success {
  background-color: #198754;
  border: none;
  padding: 10px 22px;
  font-weight: 500;
  border-radius: 30px;
  transition: 0.3s ease;
}
.news-events-section .btn-success:hover {
  background-color: #146c43;
}

/* Carousel Styling */
.news-events-section .carousel-inner img {
  border-radius: 12px;
  height: 450px;
  object-fit: cover;
}

/* Caption Styling */
.news-events-section .carousel-caption {
  background: rgba(0, 0, 0, 0.55);
  padding: 12px;
  border-radius: 8px;
  bottom: 15px;
}

/* Carousel Controls */
.news-events-section .carousel-control-prev,
.news-events-section .carousel-control-next {
  width: auto;
  top: auto;
  bottom: -50px; /* move below carousel */
}

.news-events-section .carousel-control-prev-icon,
.news-events-section .carousel-control-next-icon {
  background-color: none;
  border-radius: 50%;
  padding: 15px;
}

.news-events-section .carousel-control-prev {
  left: 40%;
}
.news-events-section .carousel-control-next {
  right: 40%;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .news-events-section .carousel-inner img {
    height: 250px;
  }
  .news-events-section .carousel-control-prev {
    left: 30%;
  }
  .news-events-section .carousel-control-next {
    right: 30%;
  }
}

/* Gallery Section */
.gallery-section {
  padding: 60px 20px;
  text-align: center;
}

.gallery-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.gallery-card {
  background: #fff;
  border: 2px solid #e0e0e0; /* border added */
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.gallery-card h3 {
  margin: 15px 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  border-color: #022804;
}

.py-60 {
  padding: 60px 0;
}
.pt-90 {
  padding-top: 90px;
}

.py-120 {
  padding: 120px 0 !important;
}

.py-90 {
  padding: 90px 0;
}

.font-highlight {
  color: #7f2730;
}

:root {
  --muted: #6b6b6b;
  --accent: #bd202e;
  --yellow: #f79320;
  --container: 1200px;
}

.margin-left-20 {
  margin-left: -20px;
}

/* hero download section */

.hero-download {
  padding: 72px 20px;
}
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.lead-label {
  display: block;
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #bd202e;
  margin-bottom: 18px;
  font-weight: 600;
}

.headline {
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 22px 0;
  font-weight: 700;
  color: #111;
}
.headline .highlight {
  color: #7b1315;
}

.sub-list {
  margin: 0 0 28px 0;
  padding-left: 18px;
  color: #2e2e2e;
  font-size: 15px;
  line-height: 1.7;
}
.sub-list li {
  margin-bottom: 8px;
  list-style-type: none;
}

.book-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.book-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}
.book-img {
  max-width: 420px;
  width: 80%;
}
.download-bar {
  width: 100%;
  display: flex;
  justify-content: center;
}
.download-btn {
  width: 100%;
  max-width: 900px;
  background: var(--yellow);
  padding: 18px 34px;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 2px;
  cursor: pointer;
  border: 0;
  font-size: 14px;
}

/* Form Grid */
.enrolment-section {
  padding: 60px 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #dfd5d1;
}

.enrolment-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  width: 100%;
  max-width: 1200px;
  align-items: center;
}

/* Left Content */
.enrolment-left small {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  letter-spacing: 1px;
}

.enrolment-left h1 {
  font-size: 36px;
  margin: 10px 0;
}

.enrolment-left h1 span {
  color: #6a2c3d; /* maroon */
}

.enrolment-left p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #444;
}

.learn-btn {
  text-decoration: none;
  font-weight: bold;
  color: #333;
}

.learn-btn span {
  margin-left: 6px;
}

/* Right Form */
.enrolment-form-box {
  background: #f5f5f5;
  padding: 25px;
  border-radius: 6px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

.enrolment-form-box h2 {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 20px;
}

.form-grid div {
  display: flex;
  flex-direction: column;
}

.form-grid .full-width {
  grid-column: span 2;
}

label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.required {
  color: red;
  font-weight: bold;
}

input,
select,
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}

textarea {
  resize: none;
}

button {
  background: #4caf50; /* green */
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

/* Responsive */
@media (max-width: 900px) {
  .enrolment-container {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* about section  */

.about-dws {
  padding: 80px 20px;
  background: #f9f9f9;
}

.about-dws .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 95%;
}

.about-dws .left-col {
  flex: 1;
}

.about-dws .headline {
  font-size: 32px;
  font-weight: bold;
  margin: 15px 0;
}

.about-dws .about-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-dws .sub-list {
  list-style: none;
  padding: 0;
}

.about-dws .sub-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.about-dws .sub-list li::before {
  content: "";
  position: absolute;
  left: 0;
  color: #00703c;
  font-weight: bold;
}

.about-dws .about-img-col {
  flex: 1;
  text-align: center;
}

.about-dws .about-img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.about-img-col {
  flex: 1;
  overflow: hidden; /* hides initial outside part */
}

.about-dws {
  --reveal-bg: #fff;
}
.about-img {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateX(-100px); /* start shifted left */
  transition: all 1s ease-out;
}

.about-img.show {
  opacity: 1;
  transform: translateX(0); /* slide into place */
}

/* Section styling */
.contact-section {
  padding: 60px 20px;
  text-align: center;
}

/* Grid for 4 cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 side by side */
  gap: 20px;
}

/* Card styling (yours) */
.contact-card {
  position: relative;
  overflow: hidden;

  cursor: pointer;
  height: 400px;
}

.contact-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  position: relative;
  z-index: 0;
}

.contact-card .card-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.5;
  transition: opacity 0.35s ease;
  z-index: 1;
  pointer-events: none;
}

.contact-card .card-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  z-index: 2;
  padding: 20px;
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.contact-card a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid #fff;
  transition: color 0.3s ease, border-color 0.3s ease;
}

/* Hover effects */
.contact-card:hover img {
  transform: scale(1.1);
}

.contact-card:hover .card-overlay {
  opacity: 0.75;
}

.contact-card:hover a {
  color: #ffcc00;
  border-color: #ffcc00;
}

/* Responsive: stack on small screens */
@media (max-width: 992px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

.contact-section2 {
  background: #e8e0db;
  height: 30vh;
  margin-top: -200px;
}
.bg-warmgray {
  background: #e8e0db;
}

.dws-login .form-label {
  font-size: 22px;
  color: #7f2730;
}

.dws-login .dws-login {
  padding: 0 30px 30px 30px;
}

.dws-login .modal-title {
  font-size: 36px !important;
}

.font-26 {
  font-size: 26px;
}

/* Hero Section */
.menu-overlay {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 90%;
  background: #f9f9f9;
  color: #000;
  transition: top 0.5s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.menu-overlay.active {
  top: 120px;
}

/* Content Grid */
.menu-content {
  display: grid;
  grid-template-columns: 0.4fr 0.4fr 0.4fr 0.6fr;
  padding: 30px 2px 0px 145px;
  gap: 20px;
}

.menu-section h3 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
  font-family: "worksans", sans-serif;
  color: #7f2730;
}

.font-worksans {
  font-family: "worksans", sans-serif;
}

.menu-section p,
.menu-section a {
  font-size: 16px;
  line-height: 1.2;
  color: #333;
  text-decoration: none;
  display: inline-block;
  /* important for scale transform */
  transition: transform 0.3s ease, color 0.3s ease, font-size 0.3s ease;
}

.menu-section a:hover {
  transform: scale(1.1);
  color: #5a5858;
  font-weight: 600;
}

/* Admissions Right Box */
.admissions {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.admissions img {
  width: 100%;
}

.admissions h3 {
  font-size: 26px;
  font-weight: bold;
  color: #7f2730;
}

.admissions p {
  font-size: 16px;
  line-height: 1.3;
}

/* Bottom Buttons */
.menu-buttons {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px;
  border-top: 1px solid #ddd;
}

.menu-buttons a {
  padding: 15px 40px;
  background: #222;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s;
}

.menu-buttons a:hover {
  background: #5a5858;
}

.admissions {
  width: 100%;
}

.admissions img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.admissions-text {
  color: #222;
  top: 0;
}

.menu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-section li {
  margin-bottom: 8px;
}

.menuclose-btn {
  background-color: #7f2730 !important;
  color: white;
  border: none;
  border-radius: 0 !important;
  padding: 0 20px;
}

.custom-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.school-logo {
  height: 85px;
  object-fit: contain;
}

.divider {
  width: 1px;
  height: 50px;
  background: #ccc;
}

.btn-warning {
  background-color: #ffd900;
  border: none;
  color: #000;
  font-size: 14px;
  letter-spacing: 1px;
}

.pr-0 {
  padding-right: 0 !important;
}
.btn-apply-tour {
  background: var(--yellow);
  color: #000;
  border: 0;
  padding: 12px 26px;
  font-weight: 700 !important;
  text-transform: uppercase;
  border-radius: 0;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-decoration: none;
  font-family: "popins-bold", sans-serif;
}

.mtr-50 {
  margin-top: -50px;
}

.footer {
  background-color: #0e172e;
  padding: 60px 20px 40px;
  /* more top padding to allow logo spacing */
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* Logo + name */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.footer-logo img {
  width: 350px;
  /* adjust as per actual logo size */
  height: auto;
}

.footer-logo .logo-text {
  margin-top: 10px;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1;
  color: #ffffff;
}

/* Admissions buttons */
.footer-admissions {
  display: inline-flex;

  margin-bottom: 30px;
  margin-top: 20px;
}

.admissions-btn {
  padding: 25px 70px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  color: #ffffff;
  font-size: 28px;
  letter-spacing: 1px;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 0;
  font-family: "Poppins-bold", sans-serif;
}

.admissions-btn:hover {
  background-color: #ffffff;
  color: #0e172e;
}

/* Motto */
.motto {
  font-size: 80px;
  color: rgba(255, 255, 255, 0.15);
  margin: 60px 0 50px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "popins-light", sans-serif;
}

/* Links Grid */
.footer-links {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.footer-column {
  flex: 1 1 200px;
  max-width: 250px;
  margin: 10px;
  text-align: left;
}

.footer-column h4 {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  font-size: 14px;
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

/* Bottom row */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 18px;
  color: #cccccc;
  margin: 0 80px;
}

.footer-bottom p {
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: #cccccc;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
  border: 1px solid #fff;
  padding: 4px 12px;
  border-radius: 50%;
}

.footer-social a:hover {
  color: #ffffff;
}

.designer a {
  color: #cccccc;
  text-decoration: none;
}

.designer a:hover {
  text-decoration: underline;
}

.about-section {
  background-color: #f6f6f6;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  padding: 150px 0 4px 0;
}

/* Vertical Blue Line */
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially 0 */
  width: 6px;
  background: #0076d6;
  transition: height 1.5s ease;
}

.hero-download {
  position: relative;
  /* important */
  background: #f6f6f6;
  padding: 100px 0;
  overflow: hidden;
  /* safe */
}

/* Blue vertical line */
.hero-download::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially hidden */
  width: 6px;
  background: #f79320;
  transition: height 1.5s ease;
  z-index: 10;
  /* Keep it above background */
}

/* Animate when visible */
.hero-download.animate::before {
  height: 100%;
}

.contact-section1 {
  position: relative;
  /* important */
  background: #f6f6f6;
  padding: 100px 0;
  overflow: hidden;
  /* safe */
}

/* Blue vertical line */
.contact-section1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially hidden */
  width: 6px;
  background: #f79320;
  transition: height 1.5s ease;
  z-index: 10;
  /* Keep it above background */
}

/* Animate when visible */
.contact-section1.animate::before {
  height: 100%;
}

.location-section {
  position: relative;
  /* important */
  background: #f6f6f6;
  padding: 100px 0;
  overflow: hidden;
  /* safe */
}

/* Blue vertical line */
.location-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially hidden */
  width: 6px;
  background: #f79320;
  transition: height 1.5s ease;
  z-index: 10;
  /* Keep it above background */
}

/* Animate when visible */
.location-section.animate::before {
  height: 100%;
}

.news-events-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  /* safe */
}

/* Blue vertical line */
.news-events-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially hidden */
  width: 6px;
  background: #f79320;
  transition: height 1.5s ease;
  z-index: 10;
  /* Keep it above background */
}

/* Animate when visible */
.news-events-section.animate::before {
  height: 100%;
}

.enrolment-section {
  position: relative;
  /* important */
  background: #f6f6f6;
  padding: 100px 0;
  overflow: hidden;
  /* safe */
}

/* Blue vertical line */
.enrolment-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially hidden */
  width: 6px;
  background: #7b1315;
  transition: height 1.5s ease;
  z-index: 10;
  /* Keep it above background */
}

/* Animate when visible */
.enrolment-section.animate::before {
  height: 100%;
}

/* Horizontal Yellow Line */
.about-section::after {
  content: "";
  position: absolute;
  top: 68px;
  left: 0;
  width: 0;
  /* Initially 0 */
  height: 6px;
  background: #e1f00d;
  transition: width 1.5s ease;
}

/* Active state when section is visible */
.about-section.animate::before {
  height: 100%;
  /* full height */
}

.about-section.animate::after {
  width: 100%;
  /* full width */
}

.about-left {
  width: 40%;
  padding: 85px 0 0 136px;
  box-sizing: border-box;
}

.about-right {
  width: 60%;
  padding: 0;
  box-sizing: border-box;
}

.about-right img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: -14px 14px 0px #8b1c3d;
}

.about-bottom {
  max-width: 1000px;
  margin: 30px auto;
  text-align: start;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  padding: 30px;
}

.learn-btn {
  background: #f79320;
  color: #333;
  padding: 12px 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.learn-btn:hover {
  background: #e6c200;
}

.about-section {
  background-color: #f6f6f6;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  padding: 150px 0 4px 0;
}

/* Vertical Blue Line */
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially 0 */
  width: 6px;
  background: #0076d6;
  transition: height 1.5s ease;
}

.hero-download {
  position: relative;
  /* important */
  background: #f6f6f6;
  padding: 100px 0;
  overflow: hidden;
  /* safe */
}

/* Blue vertical line */
.hero-download::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially hidden */
  width: 6px;
  background: #0076d6;
  transition: height 1.5s ease;
  z-index: 10;
  /* Keep it above background */
}

/* Animate when visible */
.hero-download.animate::before {
  height: 100%;
}

.news-events-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  /* safe */
}

/* Blue vertical line */
.news-events-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially hidden */
  width: 6px;
  background: #f79320;
  transition: height 1.5s ease;
  z-index: 10;
  /* Keep it above background */
}

/* Animate when visible */
.news-events-section.animate::before {
  height: 100%;
}

.enrolment-section {
  position: relative;
  /* important */
  background: #f6f6f6;
  padding: 100px 0;
  overflow: hidden;
  /* safe */
}

/* Blue vertical line */
.enrolment-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  height: 0;
  /* Initially hidden */
  width: 6px;
  background: #7b1315;
  transition: height 1.5s ease;
  z-index: 10;
  /* Keep it above background */
}

/* Animate when visible */
.enrolment-section.animate::before {
  height: 100%;
}

/* Horizontal Yellow Line */
.about-section::after {
  content: "";
  position: absolute;
  top: 68px;
  left: 0;
  width: 0;
  /* Initially 0 */
  height: 6px;
  background: #e1f00d;
  transition: width 1.5s ease;
}

/* Active state when section is visible */
.about-section.animate::before {
  height: 100%;
  /* full height */
}

.about-section.animate::after {
  width: 100%;
  /* full width */
}

.about-left {
  width: 40%;
  padding: 85px 0 0 136px;
  box-sizing: border-box;
}

.about-right {
  width: 60%;
  padding: 0;
  box-sizing: border-box;
}

.about-right img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: -14px 14px 0px #8b1c3d;
}

.about-bottom {
  max-width: 1000px;
  margin: 30px auto;
  text-align: start;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  padding: 30px;
}

.learn-btn {
  background: #f79320;
  color: #333;
  padding: 12px 30px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.learn-btn:hover {
  background: #e6c200;
}

.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;
}

.admissions-section {
  background-color: #d8ccc6;
  padding: 110px 40px;
  color: #1c1c2b;
  text-align: center;
}

.admissions-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.admission-card {
  background-color: transparent;
  width: 260px;
  text-align: left;
}

.admission-card img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  margin-bottom: 15px;
}

.admission-card:hover img {
  transform: scale(1.05);
}

.admission-card h3 {
  font-size: 32px;
  letter-spacing: 1px;
  margin: 15px 0;
}

.admission-card p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.5;
}

.admission-link {
  color: #1c1c2b;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.admission-link .arrow {
  display: inline-block;
  background-color: #f15a29;
  color: white;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  text-align: center;
  line-height: 26px;
  font-size: 14px;
  margin-left: 10px;
}

.leadership-section {
  padding: 80px 0;
  background-color: #fff !important;
  display: flex;
}

.leadership-container {
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap; /* responsive */
}

.leadership-image {
  flex: 1 1 600px;
}

.leadership-image img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 16px 16px 0 rgba(128, 0, 64, 1.3); /* replicate the colored shadow */
}

.leadership-content {
  flex: 1 1 400px;
  padding: 80px;
}

.small-title {
  font-size: 14px;
  color: #555;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.leadership-content h2 {
  font-size: 36px;
  margin: 10px 0;
  font-weight: 700;
}

.leadership-content .highlight {
  color: #800040; /* matches the example "Leadership" color */
}

.leadership-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.btn-learn {
  display: inline-block;
  background-color: #ffea00; /* yellow button */
  color: #000;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-learn:hover {
  background-color: #ffd600;
  transform: translateY(-2px);
}

.about-img-col img {
  margin: 30px;
  display: block;
  transition: all 0.4s ease-in-out;
  box-shadow: 4px 4px 0 rgba(128, 0, 64, 1.3) !important;
}

.about-img-col img:hover {
  box-shadow: 18px 18px 0 rgba(128, 0, 64, 1.3) !important;
  transform: translateY(-10px);
}

.blogs.about-Sustainability {
  margin-top: -180px;
}

.news-events {
  padding: 40px 210px;
}

/* === Delhi World School Color Palette === */

/* Primary Colors */
.dws-font-green {
  color: #0f4221;
  /* Dark Green */
}

.dws-font-maroon {
  color: #7b1315;
  /* Deep Maroon */
}

.dws-font-white {
  color: #ffffff;
  /* White */
}

/* Secondary Colors */
.dws-font-orange {
  color: #f79320;
  /* Bright Orange */
}

.dws-font-red {
  color: #bd202e;
  /* Bold Red */
}

.dws-font-blue {
  color: #174a97;
  /* Deep Blue */
}

/* Optional Background Versions */
.bg-dws-green {
  background-color: #0f4221;
  color: #fff;
}

.bg-dws-maroon {
  background-color: #7b1315;
  color: #fff;
}

.bg-dws-white {
  background-color: #ffffff;
  color: #0f4221;
}

.bg-dws-orange {
  background-color: #f79320;
  color: #fff;
}

.bg-dws-red {
  background-color: #bd202e;
  color: #fff;
}

.bg-dws-blue {
  background-color: #174a97;
  color: #fff;
}

/* Light Gray */
.dws-font-lightgray {
  color: #d3d3d3;
}

.bg-dws-lightgray {
  background-color: #d3d3d3;
}

/* =========================
   Branch Modal Styling
   ========================= */

.branches-modal {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  max-width: 600px;
  margin: 2% auto;
  padding: 30px;
  animation: slideIn 0.5s ease;
  border-top: 6px solid #7b1315;
  /* Maroon accent top border */
}

.branches-modal h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  color: #0f4221;
  /* Dark Green */
  text-align: center;
  border-bottom: 2px solid #f79320;
  /* Orange underline */
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Branch List Layout */
.branches-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.branches-list li {
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.branches-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 14px 18px;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

/* Icon */
.branches-list li i {
  color: #7b1315;
  /* Maroon icon */
  transition: transform 0.3s ease, color 0.3s ease;
  font-size: 1.2rem;
}

/* Hover Effects */
.branches-list li:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, #7b1315 0%, #0f4221 100%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.branches-list li:hover a {
  color: #fff;
}

.branches-list li:hover i {
  transform: scale(1.3);
  color: #f79320;
  /* Orange accent */
}

/* Subtle animation */
@keyframes slideIn {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 576px) {
  .branches-modal {
    margin: 20px;
    padding: 20px;
  }

  .branches-list {
    grid-template-columns: 1fr;
  }

  .branches-list li {
    font-size: 0.95rem;
  }
}

/* ------------------------------
   Book Tour — match Branch styling
   ------------------------------ */

/* Apply the same glass card look to the inner container */
#bookTour > .container {
  /* make inline bg-white blend with new design */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  max-width: 820px;
  /* preserve your width */
  margin: 2% auto;
  padding: 28px;
  position: relative;
  border-top: 6px solid #7b1315;
  /* maroon top border like branches */
}

/* Header / title */
#bookTour .lead-label {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #0f4221;
  /* dark green */
  font-size: 1.25rem;
  letter-spacing: 0.4px;
  padding-bottom: 6px;
  border-bottom: 2px solid #f79320;
  /* orange underline */
}

/* Close button alignment (if needed) */
#bookTour .btn-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;

  border: none;

  transition: all 0.2s ease;
}

#bookTour .btn-close:hover {
  transform: scale(1.05);
  opacity: 1;
}

/* Date input - keep same style */
#tourDate.form-control[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.05) sepia(1) saturate(5) hue-rotate(-15deg);
}

/* Time slot chips container */
#timeSlots {
  margin-top: 6px;
}

/* Time-slot chip style */
.time-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #eee;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.18s ease;
  font-weight: 600;
  color: #0f4221;
  font-size: 0.92rem;
}

/* Hover / focus for chips */
.time-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Selected chip state */
.time-chip.selected {
  background: linear-gradient(90deg, #7b1315 0%, #0f4221 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Button style — full width on mobile, maroon primary */
#bookTourForm .btn {
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.3px;
}

/* Primary button maroon */
#bookTourForm .btn-success {
  background: linear-gradient(90deg, #7b1315 0%, #bd202e 100%);
  border: none;
  color: #fff;
  box-shadow: 0 8px 24px rgba(123, 19, 21, 0.18);
}

#bookTourForm .btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(123, 19, 21, 0.22);
}

/* Secondary small helper text */
#bookTourForm small.form-text {
  color: #6b6b6b;
  font-size: 0.85rem;
}

/* Form textarea */
#bookTourForm textarea.form-control {
  min-height: 80px;
  resize: vertical;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #bookTour > .container {
    padding: 18px;
    margin: 10px;
  }

  #bookTourForm .btn-success {
    width: 100%;
  }

  #timeSlots {
    gap: 8px;
  }
}

/* Small utility: invalid state */
#bookTourForm .is-invalid {
  border-color: #bd202e !important;
  box-shadow: 0 3px 10px rgba(189, 32, 46, 0.08);
}

#bookTourForm .invalid-feedback {
  color: #bd202e;
}

/* =========================
   Login modal — match DWS style
   ========================= */

.dws-login .modal-content {
  border-radius: 16px;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
  border-top: 6px solid #7b1315;
  /* maroon accent */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.96);
}

/* Header */
.dws-login .modal-header {
  background: transparent;
  border-bottom: none;
  padding: 18px 24px;
}

.dws-login .modal-title {
  font-weight: 700;
  color: #0f4221;
  /* dark green */
  letter-spacing: 0.2px;
}

/* Close button */
.dws-login .btn-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  opacity: 0.9;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.dws-login .btn-close:hover {
  transform: scale(1.04);
  opacity: 1;
}

/* Modal body layout: keep the image left and form right */
.dws-login .modal-body {
  padding: 0;
}

.dws-login .col-md-6 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(0.98);
}

/* Form panel */
.dws-login .col-md-6.p-4 {
  padding: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(255, 255, 255, 0.96)
  );
}

/* Form labels */
.dws-login .form-label {
  font-weight: 600;
  color: #174a97;
  /* deep blue for labels */
  font-size: 0.95rem;
}

/* Inputs */
.dws-login .form-control {
  border-radius: 10px;
  border: 1px solid #e7e7e7;
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02);
  transition: all 0.18s ease;
  font-family: "Poppins", sans-serif;
}

/* Focus state */
.dws-login .form-control:focus {
  outline: none;
  border-color: #7b1315;
  box-shadow: 0 6px 20px rgba(123, 19, 21, 0.08);
}

/* Login button: maroon gradient like book tour */
.dws-login .btn-success,
.dws-login #loginBtn {
  background: linear-gradient(90deg, #7b1315 0%, #bd202e 100%);
  border: none;
  color: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(123, 19, 21, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dws-login .btn-success:hover,
.dws-login #loginBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(123, 19, 21, 0.22);
}

/* Reduce vertical spacing on smaller viewports */
@media (max-width: 768px) {
  .dws-login .modal-dialog {
    max-width: 720px;
  }

  .dws-login .col-md-6.d-none.d-md-block {
    display: none !important;
  }

  /* hide image on small */
  .dws-login .col-md-6.p-4 {
    padding: 20px;
  }
}

/* Mobile modal full width */
@media (max-width: 576px) {
  .dws-login .modal-dialog {
    margin: 10px;
  }

  .dws-login .btn-success {
    width: 100%;
  }
}

/* Optional: subtle heading underline (use if you want) */
.dws-login .modal-title::after {
  content: "";
  display: block;
  height: 3px;
  width: 56px;
  margin-top: 8px;
  background: linear-gradient(90deg, #f79320, #7b1315);
  border-radius: 2px;
}

/* Make the login modal consistent with overlay-open darkening */
.overlay-open body::before {
  content: "";
  position: fixed;
  inset: 0;

  z-index: 995;
  pointer-events: none;
}

.dws-login {
  z-index: 9999;
}

/* overlays sit above the darkening */
