/* =========================================================
   WHY VIDYODAYA
========================================================= */

.why-section {
  padding: 100px 0;
  background: var(--cream);
}

/* ---------------------------------------------------------
   WHY GRID
--------------------------------------------------------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ---------------------------------------------------------
   WHY CARD
--------------------------------------------------------- */

.why-card {
  position: relative;

  padding: 32px 26px;

  background: var(--white);

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  border-top: 4px solid var(--green);

  transition: 0.35s ease;
}

.why-card:hover {
  transform: translateY(-6px);
}

/* ---------------------------------------------------------
   ICON / NUMBER
--------------------------------------------------------- */

.why-icon {
  width: 72px;
  height: 72px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 22px;

  border-radius: 50%;

  background: var(--green);

  color: #ffd700; /* brighter gold */

  font-size: 21px;
  font-weight: 800;

  letter-spacing: -0.5px;

  text-align: center;
}
/* ---------------------------------------------------------
   TEXT
--------------------------------------------------------- */

.why-card h3 {
  color: var(--green-dark);

  font-size: 19px;
  line-height: 1.3;

  margin-bottom: 12px;
}

.why-card p {
  color: var(--muted);

  font-size: 14px;
  line-height: 1.7;

  margin: 0;
}

/* =========================================================
   ADMISSIONS CTA
========================================================= */

.admission-cta {
  margin-top: 55px;

  padding: 38px 45px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  background: var(--green-dark);

  border-radius: var(--radius);

  box-shadow: var(--shadow);
}

/* ---------------------------------------------------------
   CTA CONTENT
--------------------------------------------------------- */

.admission-label {
  display: block;

  margin-bottom: 8px;

  color: var(--gold);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 2px;
}

.admission-content h2 {
  color: var(--white);

  font-size: clamp(25px, 3vw, 36px);

  line-height: 1.2;

  margin-bottom: 10px;
}

.admission-content h2 span {
  color: var(--gold);
}

.admission-content p {
  color: rgba(255, 255, 255, 0.78);

  font-size: 14px;

  margin: 0;
}

/* ---------------------------------------------------------
   ADMISSION BUTTON
--------------------------------------------------------- */

.admission-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 12px;

  padding: 13px 22px;

  border-radius: 50px;

  background: var(--gold);

  color: var(--green-dark);

  font-size: 13px;
  font-weight: 800;

  white-space: nowrap;

  transition: 0.3s ease;
}

.admission-btn span {
  font-size: 19px;
}

.admission-btn:hover {
  background: var(--white);

  transform: translateY(-3px);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .why-section {
    padding: 80px 0;
  }

  .why-grid {
    grid-template-columns: 1fr;

    max-width: 430px;

    margin: 0 auto;

    gap: 20px;
  }

  .why-card {
    width: 100%;
  }

  .admission-cta {
    flex-direction: column;

    align-items: center;

    text-align: center;

    padding: 35px 25px;
  }

  .admission-content h2 {
    text-align: center;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .why-section {
    padding: 65px 0;
  }

  .why-card {
    padding: 28px 22px;
  }

  .admission-cta {
    margin-top: 40px;

    padding: 30px 20px;
  }

  .admission-btn {
    width: 100%;
  }
}

/* =========================================================
   VIDYODAYA - HISTORY PAGE
   ========================================================= */

.history-hero {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(0, 85, 32, 0.82), rgba(0, 85, 32, 0.82)),
    url("/cbse/images/banner.jpg") center/cover no-repeat;
  color: #fff;
}

.history-hero-content {
  max-width: 850px;
  padding: 40px 20px;
}

.history-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: 1px;
}

.history-hero p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.history-section {
  padding: 70px 20px;
  background: #fff;
}

.history-container {
  max-width: 1100px;
  margin: auto;
}

.history-intro {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
}

.history-intro h2 {
  color: var(--green-dark, #006d25);
  font-size: 34px;
  margin-bottom: 18px;
}

.history-intro h2::after {
  content: "";
  display: block;
  width: 65px;
  height: 4px;
  background: var(--gold, #ffd000);
  margin: 14px auto 0;
  border-radius: 5px;
}

.history-intro p {
  color: #555;
  line-height: 1.8;
  font-size: 16px;
}

/* Timeline */

.history-timeline {
  position: relative;
  margin: 0 auto;
  padding: 10px 0;
}

.history-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #d7e6d9;
  transform: translateX(-50%);
}

.history-item {
  position: relative;
  width: 50%;
  padding: 0 45px 50px;
}

.history-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.history-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.history-dot {
  position: absolute;
  top: 5px;
  width: 18px;
  height: 18px;
  background: var(--green, #00852b);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #d7e6d9;
  z-index: 2;
}

.history-item:nth-child(odd) .history-dot {
  right: -9px;
}

.history-item:nth-child(even) .history-dot {
  left: -9px;
}

.history-card {
  background: #f8fbf8;
  border-radius: 12px;
  padding: 28px 30px;
  border-left: 4px solid var(--green, #00852b);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.history-item:nth-child(odd) .history-card {
  border-left: 0;
  border-right: 4px solid var(--green, #00852b);
}

.history-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.history-year {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 15px;
  background: var(--green, #00852b);
  color: #fff;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.history-card h3 {
  color: var(--green-dark, #006d25);
  margin: 0 0 12px;
  font-size: 22px;
}

.history-card p {
  color: #555;
  font-size: 15.5px;
  line-height: 1.8;
  margin: 0;
}

/* Founder section */

.founder-message {
  margin-top: 30px;
  padding: 35px;
  background: #fffde0;
  border-top: 4px solid var(--gold, #ffd000);
  border-radius: 10px;
  text-align: center;
}

.founder-message p {
  margin: 0;
  color: #444;
  font-size: 18px;
  line-height: 1.8;
  font-style: italic;
}

/* Closing section */

.history-closing {
  padding: 65px 20px;
  background: var(--green-dark, #006d25);
  color: #fff;
  text-align: center;
}

.history-closing-content {
  max-width: 900px;
  margin: auto;
}

.history-closing h2 {
  margin: 0 0 18px;
  font-size: 34px;
}

.history-closing p {
  margin: 0;
  line-height: 1.9;
  font-size: 17px;
}

/* Mobile */

@media (max-width: 768px) {
  .history-hero {
    min-height: 280px;
  }

  .history-hero h1 {
    font-size: 40px;
  }

  .history-hero p {
    font-size: 16px;
  }

  .history-section {
    padding: 50px 15px;
  }

  .history-intro {
    margin-bottom: 40px;
  }

  .history-intro h2 {
    font-size: 28px;
  }

  .history-timeline::before {
    left: 12px;
  }

  .history-item,
  .history-item:nth-child(even),
  .history-item:nth-child(odd) {
    width: 100%;
    left: 0;
    padding: 0 0 35px 40px;
    text-align: left;
  }

  .history-item:nth-child(odd) .history-card {
    border-right: 0;
    border-left: 4px solid var(--green, #00852b);
  }

  .history-dot,
  .history-item:nth-child(odd) .history-dot,
  .history-item:nth-child(even) .history-dot {
    left: 3px;
    right: auto;
  }

  .history-card {
    padding: 22px 20px;
  }

  .history-card h3 {
    font-size: 20px;
  }

  .history-card p {
    font-size: 15px;
  }

  .history-closing {
    padding: 50px 20px;
  }

  .history-closing h2 {
    font-size: 28px;
  }

  .history-closing p {
    font-size: 16px;
  }
}

/* =========================================================
   BOARD OF MANAGEMENT
========================================================= */

.page-hero {
  padding: 85px 0 75px;

  background: linear-gradient(135deg, var(--green-dark), var(--green));

  color: var(--white);

  text-align: center;
}

.page-hero .section-label {
  color: var(--gold-light);
}

.page-hero h1 {
  margin-bottom: 12px;

  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

/* =========================================================
   MEMBERS SECTION
========================================================= */

.members-section {
  padding: 100px 0;

  background: var(--cream);
}

/* GRID */

.members-grid {
  width: min(1000px, 100%);

  margin: auto;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 30px;
}

/* =========================================================
   MEMBER CARD
========================================================= */

.member-card {
  background: var(--white);

  border-radius: var(--radius);

  overflow: hidden;

  box-shadow: var(--shadow);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.member-card:hover {
  transform: translateY(-7px);

  box-shadow: var(--shadow-hover);
}

/* IMAGE */

.member-image {
  height: 550px;

  overflow: hidden;

  background: var(--green-light);

  position: relative;
}

.member-image::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 5px;

  background: var(--gold);
}

.member-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.member-card:hover .member-image img {
  transform: scale(1.04);
}

/* INFORMATION */

.member-info {
  padding: 24px 25px 27px;

  text-align: center;
}

.member-role {
  display: inline-block;

  margin-bottom: 7px;

  color: var(--green);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: 2px;
}

.member-info h3 {
  color: var(--green-dark);

  font-size: 22px;

  line-height: 1.3;

  margin-bottom: 5px;
}

.member-info p {
  color: var(--muted);

  font-size: 14px;

  margin: 0;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {
  .page-hero {
    padding: 65px 20px 55px;
  }

  .members-section {
    padding: 70px 0;
  }

  .members-grid {
    grid-template-columns: 1fr;

    width: 100%;
    max-width: 430px;

    gap: 24px;
  }

  .member-image {
    height: 530px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {
  .members-section {
    padding: 55px 0;
  }

  .member-image {
    height: 300px;
  }

  .member-info {
    padding: 21px 18px 24px;
  }

  .member-info h3 {
    font-size: 19px;
  }
}
/* =========================================
   VISION SECTION - NO BOOTSTRAP
   ========================================= */

.vision-section {
  width: 100%;
  padding: 80px 20px;
  background: var(--white, #ffffff);
  font-family: inherit;
}

.vision-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 32% 68%;
  align-items: center;
  gap: 50px;
}

/* Heading */

.vision-heading span {
  display: block;

  color: var(--green, #00852b);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  margin-bottom: 10px;
}

.vision-heading h2 {
  margin: 0;

  color: var(--green-dark, #006d25);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
}

/* Gold underline */

.vision-heading h2::after {
  content: "";

  display: block;

  width: 60px;
  height: 4px;

  background: var(--gold, #ffd000);

  margin-top: 18px;

  border-radius: 3px;
}

/* Content */

.vision-text {
  border-left: 4px solid var(--gold, #ffd000);
  padding-left: 30px;
}

.vision-text p {
  margin: 0 0 18px;

  color: var(--text, #222222);
  font-size: 17px;
  line-height: 1.8;
}

.vision-text p:last-child {
  margin-bottom: 0;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {
  .vision-section {
    padding: 60px 20px;
  }

  .vision-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .vision-heading h2 {
    font-size: 36px;
  }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {
  .vision-section {
    padding: 50px 18px;
  }

  .vision-heading span {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .vision-heading h2 {
    font-size: 30px;
  }

  .vision-heading h2::after {
    width: 50px;
    height: 3px;
    margin-top: 14px;
  }

  .vision-text {
    border-left-width: 3px;
    padding-left: 18px;
  }

  .vision-text p {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* =========================================================
   CAMPUS PAGE
   ========================================================= */

.campus-page {
  background: #f7faf6;
  padding-bottom: 70px;
}

/* HERO */

.campus-hero {
  background:
    linear-gradient(rgba(0, 85, 30, 0.82), rgba(0, 85, 30, 0.82)),
    url("/cbse/images/banner.jpg") center/cover no-repeat;

  min-height: 300px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #fff;

  padding: 50px 20px;
}

.campus-hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700;
}

.campus-hero p {
  margin: 12px 0 0;
  font-size: 18px;
}

/* INTRO */

.campus-intro {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px 35px;
  text-align: center;
}

.campus-intro h2 {
  margin: 0 0 12px;
  color: #006d25;
  font-size: 32px;
}

.campus-intro h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  background: #ffd000;
  margin: 12px auto;
}

.campus-intro p {
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* GALLERY */

.campus-gallery {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* CARD */

.campus-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.campus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

/* IMAGE */

.campus-photo {
  position: relative;
  height: 260px;
  overflow: hidden;
  cursor: pointer;
  background: #eee;
}

.campus-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.4s ease;
}

.campus-card:hover .campus-photo img {
  transform: scale(1.05);
}

/* ZOOM ICON */

.zoom-icon {
  position: absolute;

  right: 15px;
  bottom: 15px;

  width: 42px;
  height: 42px;

  border-radius: 50%;

  background: rgba(0, 0, 0, 0.65);

  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 19px;

  opacity: 0;

  transition: 0.25s ease;
}

.campus-card:hover .zoom-icon {
  opacity: 1;
}

/* CAPTION */

.campus-caption {
  padding: 17px 18px 19px;

  color: #006d25;

  font-size: 17px;

  font-weight: 600;

  text-align: center;
}

/* =========================================================
   LIGHTBOX
   ========================================================= */

.campus-lightbox {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.94);

  z-index: 99999;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 30px;
}

.campus-lightbox.active {
  display: flex;
}

/* IMAGE AREA */

.lightbox-content {
  width: 100%;
  height: 100%;

  display: flex;

  align-items: center;
  justify-content: center;

  position: relative;

  overflow: hidden;
}

.lightbox-image {
  max-width: 90%;
  max-height: 82%;

  object-fit: contain;

  transition: transform 0.25s ease;

  user-select: none;
}

/* CLOSE */

.lightbox-close {
  position: fixed;

  top: 20px;
  right: 25px;

  width: 45px;
  height: 45px;

  border: none;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.15);

  color: #fff;

  font-size: 28px;

  cursor: pointer;

  z-index: 10;
}

.lightbox-close:hover {
  background: #00852b;
}

/* PREVIOUS / NEXT */

.lightbox-nav {
  position: fixed;

  top: 50%;

  transform: translateY(-50%);

  width: 52px;
  height: 52px;

  border: none;

  border-radius: 50%;

  background: #00852b;

  color: #fff;

  font-size: 30px;

  cursor: pointer;

  z-index: 10;
}

.lightbox-nav:hover {
  background: #ffd000;
  color: #006d25;
}

.lightbox-prev {
  left: 25px;
}

.lightbox-next {
  right: 25px;
}

/* TOOLBAR */

.lightbox-toolbar {
  position: fixed;

  bottom: 25px;

  left: 50%;

  transform: translateX(-50%);

  display: flex;

  align-items: center;

  gap: 8px;

  z-index: 10;
}

.lightbox-toolbar button {
  width: 43px;
  height: 40px;

  border: 1px solid rgba(255, 255, 255, 0.5);

  background: rgba(0, 0, 0, 0.6);

  color: #fff;

  border-radius: 7px;

  cursor: pointer;

  font-size: 18px;
}

.lightbox-toolbar button:hover {
  background: #00852b;
}

/* COUNTER */

.lightbox-counter {
  color: #fff;

  font-size: 14px;

  margin-left: 8px;
  margin-right: 8px;

  white-space: nowrap;
}

/* CAPTION */

.lightbox-caption {
  position: fixed;

  bottom: 78px;

  left: 50%;

  transform: translateX(-50%);

  color: #fff;

  font-size: 17px;

  text-align: center;

  max-width: 80%;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {
  .campus-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .campus-hero {
    min-height: 440px;
  }

  .campus-hero h1 {
    font-size: 40px;
  }

  .campus-hero p {
    font-size: 15px;
  }

  .campus-intro {
    padding: 35px 18px 25px;
  }

  .campus-intro h2 {
    font-size: 27px;
  }

  .campus-gallery {
    grid-template-columns: 1fr;
    padding: 0 14px;
    gap: 20px;
  }

  .campus-photo {
    height: 440px;
  }

  .zoom-icon {
    opacity: 1;
  }

  .lightbox-image {
    max-width: 94%;
    max-height: 75%;
  }

  .lightbox-nav {
    width: 43px;
    height: 43px;
    font-size: 24px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-caption {
    bottom: 85px;
    font-size: 15px;
    max-width: 85%;
  }
}

/* ========================================================= CONTACT US PAGE ========================================================= */
.contact-page {
  background: #fff;
} /* PAGE BANNER */
.contact-banner {
  min-height: 280px;
  background:
    linear-gradient(rgba(0, 85, 30, 0.72), rgba(0, 85, 30, 0.72)),
    url("/cbse/images/banner.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.contact-banner-overlay {
  color: #fff;
  padding: 40px 20px;
}
.contact-banner h1 {
  margin: 0 0 10px;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
}
.contact-banner p {
  margin: 0;
  font-size: 18px;
} /* CONTACT SECTION */
.contact-section {
  padding: 70px 20px;
}
.contact-container {
  max-width: 1150px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
} /* CONTACT INFORMATION */
.section-label {
  color: var(--green, #00852b);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}
.contact-info h2 {
  color: var(--green-dark, #006d25);
  font-size: 34px;
  margin: 10px 0 15px;
}
.contact-intro {
  color: #555;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
} /* CONTACT ITEM */
.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 25px;
}
.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green, #00852b);
  color: var(--gold, #ffd000);
  border-radius: 50%;
  font-size: 18px;
}
.contact-item h3 {
  margin: 0 0 5px;
  color: #333;
  font-size: 17px;
}
.contact-item p {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}
.contact-item a {
  color: var(--green, #00852b);
  text-decoration: none;
}
.contact-item a:hover {
  color: var(--green-dark, #006d25);
} /* MAP */
.contact-map h2 {
  color: var(--green-dark, #006d25);
  font-size: 28px;
  margin: 0 0 18px;
}
.map-wrapper {
  width: 100%;
  height: 430px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
} /* DIRECTIONS BUTTON */
.map-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 22px;
  background: var(--green, #00852b);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: 0.3s ease;
}
.map-button:hover {
  background: var(--green-dark, #006d25);
  transform: translateY(-2px);
} /* BOTTOM MESSAGE */
.contact-message {
  background: #f5f8f3;
  padding: 55px 20px;
  text-align: center;
  border-top: 1px solid #e2e8df;
}
.contact-message-inner {
  max-width: 800px;
  margin: auto;
}
.contact-message h2 {
  color: var(--green-dark, #006d25);
  font-size: 28px;
  margin: 0 0 12px;
}
.contact-message p {
  color: #555;
  font-size: 16px;
  margin: 0;
} /* ========================================================= MOBILE ========================================================= */
@media (max-width: 800px) {
  .contact-banner {
    min-height: 220px;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .contact-section {
    padding: 50px 18px;
  }
  .map-wrapper {
    height: 350px;
  }
}
@media (max-width: 500px) {
  .contact-banner h1 {
    font-size: 38px;
  }
  .contact-banner p {
    font-size: 16px;
  }
  .contact-info h2 {
    font-size: 28px;
  }
  .map-wrapper {
    height: 300px;
  }
}

/* =========================================================
   CONTACT US PAGE
   ========================================================= */

.contact-page {
  background: #fff;
}

/* PAGE BANNER */

.contact-banner {
  min-height: 280px;

  background:
    linear-gradient(rgba(0, 85, 30, 0.72), rgba(0, 85, 30, 0.72)),
    url("/cbse/images/banner.jpg");

  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.contact-banner-overlay {
  color: #fff;
  padding: 40px 20px;
}

.contact-banner h1 {
  margin: 0 0 10px;

  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
}

.contact-banner p {
  margin: 0;

  font-size: 18px;
}

/* CONTACT SECTION */

.contact-section {
  padding: 70px 20px;
}

.contact-container {
  max-width: 1150px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1.1fr;

  gap: 60px;
}

/* CONTACT INFORMATION */

.section-label {
  color: var(--green, #00852b);

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 2px;
}

.contact-info h2 {
  color: var(--green-dark, #006d25);

  font-size: 34px;
  margin: 10px 0 15px;
}

.contact-intro {
  color: #555;

  font-size: 16px;
  line-height: 1.8;

  margin-bottom: 30px;
}

/* CONTACT ITEM */

.contact-item {
  display: flex;

  gap: 18px;

  margin-bottom: 25px;
}

.contact-icon {
  flex-shrink: 0;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--green, #00852b);

  color: var(--gold, #ffd000);

  border-radius: 50%;

  font-size: 18px;
}

.contact-item h3 {
  margin: 0 0 5px;

  color: #333;

  font-size: 17px;
}

.contact-item p {
  margin: 0;

  color: #555;

  font-size: 15px;

  line-height: 1.7;
}

.contact-item a {
  color: var(--green, #00852b);

  text-decoration: none;
}

.contact-item a:hover {
  color: var(--green-dark, #006d25);
}

/* MAP */

.contact-map h2 {
  color: var(--green-dark, #006d25);

  font-size: 28px;

  margin: 0 0 18px;
}

.map-wrapper {
  width: 100%;
  height: 430px;

  overflow: hidden;

  border-radius: 10px;

  border: 1px solid #ddd;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;

  border: 0;
}

/* DIRECTIONS BUTTON */

.map-button {
  display: inline-flex;

  align-items: center;
  gap: 8px;

  margin-top: 18px;

  padding: 12px 22px;

  background: var(--green, #00852b);

  color: #fff;

  text-decoration: none;

  border-radius: 5px;

  font-weight: 600;

  transition: 0.3s ease;
}

.map-button:hover {
  background: var(--green-dark, #006d25);

  transform: translateY(-2px);
}

/* BOTTOM MESSAGE */

.contact-message {
  background: #f5f8f3;

  padding: 55px 20px;

  text-align: center;

  border-top: 1px solid #e2e8df;
}

.contact-message-inner {
  max-width: 800px;
  margin: auto;
}

.contact-message h2 {
  color: var(--green-dark, #006d25);

  font-size: 28px;

  margin: 0 0 12px;
}

.contact-message p {
  color: #555;

  font-size: 16px;

  margin: 0;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {
  .contact-banner {
    min-height: 220px;
  }

  .contact-container {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .contact-section {
    padding: 50px 18px;
  }

  .map-wrapper {
    height: 350px;
  }
}

@media (max-width: 500px) {
  .contact-banner h1 {
    font-size: 38px;
  }

  .contact-banner p {
    font-size: 16px;
  }

  .contact-info h2 {
    font-size: 28px;
  }

  .map-wrapper {
    height: 300px;
  }
}

/* MAP */

.site-footer .map-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
}

.site-footer .map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================================
   CO-SCHOLASTIC PAGE
================================ */

.coscholastic-page {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text, #222);
  background: #fff;
}

/* Hero */
.coscholastic-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background:
    linear-gradient(rgba(0, 82, 32, 0.78), rgba(0, 82, 32, 0.78)),
    url("/cbse/images/banner.jpg") center/cover no-repeat;
  color: #fff;
}

.coscholastic-hero-content {
  max-width: 900px;
  padding: 60px 20px;
}

.coscholastic-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  margin: 0 0 15px;
  font-weight: 700;
}

.coscholastic-hero h1 span {
  color: var(--gold, #ffd000);
}

.coscholastic-hero p {
  font-size: 19px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 760px;
}

/* Introduction */
.coscholastic-intro {
  max-width: 1100px;
  margin: auto;
  padding: 70px 20px 40px;
  text-align: center;
}

.section-label {
  display: inline-block;
  color: var(--green, #00852b);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 10px;
}

.coscholastic-intro h2 {
  color: var(--green-dark, #006d25);
  font-size: 34px;
  margin: 5px 0 20px;
}

.coscholastic-intro h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--gold, #ffd000);
  margin: 15px auto 0;
  border-radius: 5px;
}

.coscholastic-intro p {
  max-width: 900px;
  margin: 25px auto 0;
  line-height: 1.8;
  font-size: 17px;
  color: #555;
}

/* Activities */
.activities-section {
  background: #f7faf5;
  padding: 65px 20px 75px;
}

.activities-container {
  max-width: 1200px;
  margin: auto;
}

.activities-heading {
  text-align: center;
  margin-bottom: 40px;
}

.activities-heading h2 {
  color: var(--green-dark, #006d25);
  font-size: 34px;
  margin: 0;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Cards */
.activity-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-bottom: 4px solid var(--green, #00852b);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.activity-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #eaf5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.activity-card h3 {
  color: var(--green-dark, #006d25);
  margin: 0 0 12px;
  font-size: 21px;
}

.activity-card p {
  margin: 0;
  color: #666;
  line-height: 1.7;
  font-size: 15px;
}

/* Highlight */
.coscholastic-highlight {
  max-width: 1100px;
  margin: 70px auto;
  padding: 45px 35px;
  background: var(--green-dark, #006d25);
  color: #fff;
  border-radius: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coscholastic-highlight::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -70px;
  left: -50px;
}

.coscholastic-highlight h2 {
  color: var(--gold, #ffd000);
  margin: 0 0 15px;
  font-size: 30px;
}

.coscholastic-highlight p {
  max-width: 850px;
  margin: auto;
  line-height: 1.8;
  font-size: 17px;
}

/* Gallery */
.coscholastic-gallery {
  max-width: 1200px;
  margin: 0 auto 75px;
  padding: 0 20px;
}

.coscholastic-gallery h2 {
  text-align: center;
  color: var(--green-dark, #006d25);
  font-size: 34px;
  margin-bottom: 35px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  background: #eee;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Responsive */
@media (max-width: 900px) {
  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .coscholastic-hero {
    min-height: 300px;
  }

  .coscholastic-hero p {
    font-size: 16px;
  }

  .coscholastic-intro {
    padding-top: 50px;
  }

  .activities-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .activity-card {
    padding: 25px 20px;
  }

  .coscholastic-highlight {
    margin: 45px 20px;
    padding: 35px 22px;
  }
}
/******** */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card h3 {
  color: var(--green-dark, #006d25);
  font-size: 20px;
  margin: 18px 20px 8px;
  text-align: center;
}

.gallery-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 20px 20px;
  text-align: center;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.explore-gallery {
  text-align: center;
  margin: 45px 0 20px;
}

.explore-gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: var(--green, #00852b);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.explore-gallery-btn span {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.explore-gallery-btn:hover {
  background: var(--green-dark, #006d25);
  transform: translateY(-2px);
}

.explore-gallery-btn:hover span {
  transform: translateX(5px);
}

/* =========================================================
   VIDYODAYA TEAM PAGE
   No Bootstrap
   ========================================================= */

.team-page {
  width: 100%;
  font-family: inherit;
  color: var(--text, #222);
}

/* =========================================================
   COMMON CONTAINER
   ========================================================= */

.page-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
   PAGE INTRO
   ========================================================= */

.page-intro {
  padding: 75px 0 65px;
  text-align: center;
  background: var(--cream, #fffde0);
}

.page-eyebrow {
  display: block;
  margin-bottom: 10px;

  color: var(--green, #00852b);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-intro h1 {
  margin: 0;

  color: var(--green-dark, #006d25);
  font-size: 44px;
  line-height: 1.2;
  font-weight: 700;
}

.title-line {
  width: 60px;
  height: 4px;

  margin: 16px auto 20px;

  background: var(--gold, #ffd000);
  border-radius: 5px;
}

.page-intro p {
  max-width: 700px;
  margin: 0 auto;

  color: var(--text, #222);
  font-size: 17px;
  line-height: 1.7;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.team-section {
  padding: 75px 0;
  background: var(--white, #fff);
}

.team-section-light {
  background: #f8faf7;
}

/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {
  text-align: center;
  margin-bottom: 45px;
}

.section-heading span {
  display: block;

  margin-bottom: 8px;

  color: var(--green, #00852b);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;

  color: var(--green-dark, #006d25);
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
}

.section-heading .title-line {
  margin-bottom: 0;
}

/* =========================================================
   CORRESPONDENT PROFILE
   ========================================================= */

.profile-section {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

/* Person */

.profile-person {
  text-align: center;
}

.profile-image {
  width: 430px;
  height: 470px;

  display: block;

  margin: 0 auto 20px;

  object-fit: cover;

  border-radius: 12px;

  border: 5px solid var(--gold, #ffd000);

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.profile-person h3 {
  margin: 0 0 5px;

  color: var(--green-dark, #006d25);
  font-size: 21px;
  font-weight: 700;
}

.profile-person p {
  margin: 0;

  color: var(--green, #00852b);
  font-size: 15px;
  font-weight: 600;
}

/* Profile content */

.profile-content {
  border-left: 4px solid var(--gold, #ffd000);
  padding-left: 30px;
}

.profile-content p {
  margin: 0 0 20px;

  color: var(--text, #222);
  font-size: 16px;
  line-height: 1.8;
}

.profile-content p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   STAFF GRID
   ========================================================= */

.staff-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 25px;
}

/* Staff card */

.staff-card {
  overflow: hidden;

  background: var(--white, #fff);

  border-radius: 12px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.staff-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

.staff-card img {
  width: 100%;
  height: 370px;

  display: block;

  object-fit: cover;
}

.staff-card-body {
  padding: 18px 15px 20px;

  text-align: center;

  border-top: 3px solid var(--gold, #ffd000);
}

.staff-card-body h3 {
  margin: 0 0 7px;

  color: var(--green-dark, #006d25);

  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
}

.staff-card-body p {
  margin: 0;

  color: var(--text, #555);

  font-size: 14px;
  line-height: 1.5;
}

/* =========================================================
   LIBRARY TABLE
   ========================================================= */

.staff-table-wrapper {
  width: 100%;
  overflow-x: auto;

  border-radius: 10px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.staff-table {
  width: 100%;

  border-collapse: collapse;

  background: var(--white, #fff);

  font-size: 15px;
}

.staff-table th {
  padding: 16px 18px;

  background: var(--green-dark, #006d25);

  color: var(--white, #fff);

  text-align: left;

  font-size: 14px;
  font-weight: 700;
}

.staff-table td {
  padding: 15px 18px;

  color: var(--text, #333);

  border-bottom: 1px solid #e5e5e5;
}

.staff-table tbody tr:last-child td {
  border-bottom: none;
}

.staff-table tbody tr:hover {
  background: #fffde0;
}

.staff-table th:first-child,
.staff-table td:first-child {
  width: 100px;
  text-align: center;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {
  .staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-section {
    grid-template-columns: 240px 1fr;
    gap: 40px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {
  .page-container {
    width: min(100% - 30px, 600px);
  }

  .page-intro {
    padding: 50px 0 45px;
  }

  .page-intro h1 {
    font-size: 34px;
  }

  .page-intro p {
    font-size: 15px;
  }

  .team-section {
    padding: 55px 0;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  /* Profile */

  .profile-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .profile-image {
    width: 410px;
    height: 450px;
  }

  .profile-content {
    border-left: 3px solid var(--gold, #ffd000);
    padding-left: 18px;
  }

  .profile-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  /* Staff */

  .staff-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));

    gap: 18px;
  }

  .staff-card img {
    height: 550px;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {
  .page-container {
    width: calc(100% - 24px);
  }

  .page-intro h1 {
    font-size: 30px;
  }

  .staff-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .staff-card img {
    height: 380px;
  }

  .staff-table {
    min-width: 600px;
  }
}

/* =========================================================
   ADMISSION ENQUIRY
   ========================================================= */
/* =========================================================
   STYLISH ADMISSION ENQUIRY
   ========================================================= */

.admission-section {
  padding: 80px 20px;
  background: #f7f8f3;
}

.admission-wrapper {
  max-width: 1180px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.85fr 1.35fr;

  background: #ffffff;

  border-radius: 22px;

  overflow: hidden;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   IMAGE
   ========================================================= */

.admission-image {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.admission-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.6s ease;
}

.admission-wrapper:hover .admission-image img {
  transform: scale(1.04);
}

/* Image overlay */

.admission-image-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72),
    rgba(0, 0, 0, 0.08) 65%,
    rgba(0, 0, 0, 0.1)
  );
}

/* Image text */

.admission-image-content {
  position: absolute;

  left: 38px;
  bottom: 42px;

  color: #ffffff;
}

.admission-image-content span {
  display: block;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 2.5px;

  margin-bottom: 15px;
}

.admission-image-content h3 {
  margin: 0;

  font-size: 32px;
  line-height: 1.2;

  font-weight: 600;
}

.admission-gold-line {
  width: 55px;
  height: 3px;

  background: var(--gold);

  margin-top: 20px;
}

/* =========================================================
   CONTENT
   ========================================================= */

.admission-content {
  padding: 55px 55px 50px;
}

/* Heading */

.admission-title {
  margin-bottom: 30px;
}

.admission-label {
  display: inline-block;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 2px;

  color: var(--green);

  margin-bottom: 9px;
}

.admission-title h2 {
  margin: 0;

  color: var(--green);

  font-size: 36px;
  line-height: 1.2;

  font-weight: 700;
}

.admission-title p {
  margin: 13px 0 0;

  max-width: 570px;

  font-size: 15px;
  line-height: 1.65;

  color: #666;
}

/* =========================================================
   FORM
   ========================================================= */

.admission-form {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px 22px;
}

.admission-field {
  display: flex;
  flex-direction: column;
}

.admission-field label {
  font-size: 13px;

  font-weight: 600;

  color: #333;

  margin-bottom: 7px;
}

.admission-field input,
.admission-field select,
.admission-field textarea {
  width: 100%;

  box-sizing: border-box;

  border: none;

  border-bottom: 1px solid #d4d4d4;

  border-radius: 0;

  background: #fafafa;

  padding: 12px 13px;

  font-family: inherit;

  font-size: 14px;

  color: #333;

  outline: none;

  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

/* Input heights */

.admission-field input,
.admission-field select {
  height: 46px;
}

.admission-field textarea {
  resize: vertical;
  min-height: 82px;
}

/* Focus */

.admission-field input:focus,
.admission-field select:focus,
.admission-field textarea:focus {
  border-bottom-color: var(--green);

  background: #f8fbf7;
}

/* Message */

.admission-message {
  grid-column: 1 / -1;
}

/* =========================================================
   BUTTON
   ========================================================= */

.admission-submit {
  grid-column: 1 / -1;

  margin-top: 8px;
}

.admission-submit button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  border: none;

  background: var(--green);

  color: #ffffff;

  padding: 13px 25px;

  border-radius: 30px;

  font-family: inherit;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 0.8px;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.admission-submit button span {
  font-size: 18px;
  line-height: 1;
}

.admission-submit button:hover {
  background: var(--green-dark);

  transform: translateY(-2px);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 900px) {
  .admission-wrapper {
    grid-template-columns: 1fr;
  }

  .admission-image {
    min-height: 350px;
  }

  .admission-content {
    padding: 45px 40px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 600px) {
  .admission-section {
    padding: 55px 15px;
  }

  .admission-wrapper {
    border-radius: 16px;
  }

  .admission-image {
    min-height: 300px;
  }

  .admission-image-content {
    left: 25px;
    bottom: 28px;
  }

  .admission-image-content h3 {
    font-size: 26px;
  }

  .admission-content {
    padding: 35px 22px 30px;
  }

  .admission-title h2 {
    font-size: 29px;
  }

  .admission-title p {
    font-size: 14px;
  }

  .admission-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .admission-message,
  .admission-submit {
    grid-column: auto;
  }

  .admission-submit button {
    width: 100%;
  }
}
