/**
 * ==========================================================================
 * NITTE INTERNATIONAL SCHOOL - LANDING PAGE MASTER STYLESHEET
 * ==========================================================================
 * Variables & Rules:
 *   --color-one: #2E3192 (Deep Royal Navy)
 *   --color-two: #FDC001 (Vibrant Golden Yellow)
 *   --body-font-size: clamp(14px, 1.05vw, 16px)
 *   --body-font-weight: 400
 *
 * Requirements:
 * 1. Root variables for colors and body typography.
 * 2. clamp() used for responsive font sizes, paddings, and margins.
 * 3. NO custom styling written on .container, .col, .col-md-*, or .col-lg-*.
 * 4. Original .container width preserved.
 * 5. Consolidated @media blocks (NO duplicate @media queries anywhere in the file).
 * ==========================================================================
 */

/* --------------------------------------------------------------------------
   0. CUSTOM WEBFONT DECLARATION (@font-face)
   Upload your converted font files (.woff2, .woff) into the /fonts folder.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Gotham-Medium';
  src: url('../fonts/Gotham-Medium.woff2') format('woff2'),
       url('../fonts/Gotham-Medium.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham-Book';
  src: url('../fonts/Gotham-Book.woff2') format('woff2'),
       url('../fonts/Gotham-Book.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   1. ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Theme Colors */
  --color-one: #2E3192;
  --color-two: #FDC001;
  --color-one-hover: #232677;
  --color-two-hover: #e5ad00;
  --color-white: #ffffff;
  --color-dark: #1b1e36;
  --color-text-body: #333752;
  --color-text-muted: #5e647c;
  --color-border-light: #ECECEC;
  --color-border-input: #cfd4dc;
  --color-bg-light: #f8f9fc;
  --color-success: #198754;
  --color-error: #dc3545;

  /* Typography Variables (Single global font family for the entire website) */
  --body-font-size: clamp(14px, 1.05vw, 16px);
  --body-font-weight: 400;
  --font-family: 'Gotham-Medium',  'Gotham-Book';
  

  /* Shadows */
  --shadow-card: 0 16px 36px rgba(46, 49, 146, 0.12), 0 6px 16px rgba(0, 0, 0, 0.06);
  --shadow-btn: 0 4px 14px rgba(253, 192, 1, 0.35);
  --shadow-btn-primary: 0 4px 12px rgba(46, 49, 146, 0.25);

  /* Transitions */
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: 1.6;
  color: var(--color-text-body);
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   3. SITE HEADER
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
  position: relative;
  z-index: 100;
  width: 100%;
}

/* Inner header content wrapper (placed in next line div inside .container) */
.header-inner {
  padding-top: clamp(12px, 1.4vw, 18px);
  padding-bottom: clamp(12px, 1.4vw, 18px);
}

/* Brand Logo & CBSE Affiliation Wrapper */
.header-brand-wrap {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.4vw, 22px);
  max-width: 100%;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo-img {
  height: clamp(24px, 2.2vw, 36px);
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.affiliation-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid #d4d7e3;
  padding-left: clamp(10px, 1.3vw, 20px);
  flex-shrink: 0;
  white-space: nowrap;
}

.aff-title {
  font-size: clamp(10px, 0.78vw, 12px);
  font-weight: 600;
  color: var(--color-one);
  line-height: 1.25;
  white-space: nowrap;
}

.aff-no {
  font-size: clamp(9px, 0.7vw, 11px);
  font-weight: 500;
  color: var(--color-one);
  opacity: 0.9;
  line-height: 1.25;
  white-space: nowrap;
}

/* Header Right Action CTA Button (placed in next line div inside col) */
.header-action-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.btn-admissions-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-one);
  color: var(--color-white);
  font-size: clamp(14px, 1.1vw, 16.5px);
  font-weight: 700;
  padding: clamp(10px, 1.05vw, 13px) clamp(20px, 1.8vw, 28px);
  border-radius: var(--radius-xs);
  letter-spacing: 0.25px;
  box-shadow: var(--shadow-btn-primary);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-admissions-top:hover {
  background-color: var(--color-one-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(46, 49, 146, 0.35);
}

/* --------------------------------------------------------------------------
   4. HERO / BANNER SECTION
   -------------------------------------------------------------------------- */
.hero-banner-section {
  position: relative;
  background-color: var(--color-white);
  padding-top: clamp(16px, 2.2vw, 36px);
  padding-bottom: clamp(120px, 11vw, 120px);
  overflow: hidden;
  width: 100%;
}

/* Inner hero content wrapper (placed in next line div inside .container) */
.hero-content-inner {
  position: relative;
  z-index: 5;
}

/* Visual Column on the Left (placed in next line div inside col) */
.hero-visual-column {
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero-headline-wrap {
  position: relative;
  z-index: 5;
  margin-bottom: clamp(10px, 1.4vw, 18px);
}

.hero-title {
  color: var(--color-one);
  font-size: clamp(24px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.4px;
  margin: 0;
  white-space: nowrap;
}

/* Students Visual */
.hero-students-wrap {
  position: relative;
  width: 100%;
  margin-top: auto;
  margin-bottom: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 0;
}

.hero-banner-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

/* Right Column: Admission Enquiry Card (placed in next line div inside col) */
.hero-form-column {
  position: relative;
  z-index: 15;
  display: flex;
  justify-content: flex-end;
  margin-bottom: clamp(-85px, -8vw, -115px);
}

.admission-enquiry-card {
  background-color: var(--color-white);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 2.2vw, 32px) clamp(18px, 2vw, 28px);
  width: 100%;
  max-width: 360px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.admission-enquiry-card:hover {
  box-shadow: 0 20px 45px rgba(46, 49, 146, 0.16), 0 8px 20px rgba(0, 0, 0, 0.07);
}

.card-header-wrap {
  margin-bottom: clamp(16px, 1.8vw, 24px);
}

.card-title {
  font-size: clamp(1.1rem, 1.3vw, 1.35rem);
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

/* Form Controls - Minimalist Underline Style */
.form-group-custom {
  position: relative;
  margin-bottom: clamp(18px, 2vw, 24px);
}

.form-control-custom {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1.5px solid var(--color-border-input);
  border-radius: 0;
  padding: clamp(10px, 1.1vw, 13px) 0;
  font-size: clamp(13.5px, 1vw, 15px);
  color: var(--color-dark);
  transition: var(--transition-fast);
  outline: none;
}

.form-control-custom::placeholder {
  color: #83899c;
  font-weight: 400;
}

.form-control-custom:focus {
  border-bottom-color: var(--color-one);
  box-shadow: 0 1px 0 var(--color-one);
}

/* Custom Select Dropdown */
.select-custom {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231b1e36'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 22px;
  padding-right: 28px;
}

.select-custom:invalid,
.select-custom option[value=""] {
  color: #83899c;
}

.select-custom option {
  color: var(--color-dark);
  padding: 10px;
  background-color: var(--color-white);
}

/* Validation Feedback */
.field-error {
  display: block;
  font-size: 11.5px;
  color: var(--color-error);
  margin-top: 4px;
  min-height: 15px;
}

.form-control-custom.is-invalid {
  border-bottom-color: var(--color-error) !important;
}

.form-control-custom.is-valid {
  border-bottom-color: var(--color-success) !important;
}

/* Golden Yellow Submit Button */
.form-action-wrap {
  margin-top: clamp(14px, 1.6vw, 22px);
}

.btn-submit-enquiry {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--color-two);
  color: #000000;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 700;
  padding: clamp(12px, 1.25vw, 15px);
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-btn);
  transition: var(--transition-smooth);
}

.btn-submit-enquiry:hover {
  background-color: var(--color-two-hover);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(253, 192, 1, 0.45);
}

.btn-submit-enquiry:active {
  transform: translateY(0);
}

.btn-submit-enquiry:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Form Alert Status */
.form-alert-message {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  text-align: center;
  font-weight: 500;
}

.form-alert-message.alert-success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.form-alert-message.alert-danger {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

/* Bottom Solid Navy Banner Strip (Full-width deep royal navy band, edge-to-edge) */
.hero-bottom-strip {
  position: absolute;
  bottom: 0;
  left:40px;
  right:40px;
  height: clamp(120px, 11vw, 120px);
  background-color: var(--color-one);
  z-index: 1;
}

/* --------------------------------------------------------------------------
   5. ABOUT SCHOOL / BIG DREAMS SECTION
   -------------------------------------------------------------------------- */
.about-school-section {
  position: relative;
  background-color: var(--color-white);
  padding-bottom: clamp(20px, 2.5vw, 40px);
}

/* Blue Background Card maintaining 40px left and right gap */
.about-blue-card {
  background-color: var(--color-one);
  margin-left: 40px;
  margin-right: 40px;
  padding-top: clamp(4px, 0.8vw, 12px);
  padding-bottom: clamp(65px, 7.5vw, 110px);
  position: relative;
}

/* Inner Container Content (placed in next line div inside .container) */
.about-school-inner {
  position: relative;
}

/* Section Title - Lifted up slightly with tighter top padding & margin */
.about-title-wrap {
  margin-top: clamp(-10px, -1vw, -4px);
  margin-bottom: clamp(20px, 2.5vw, 34px);
}

.about-main-title {
  color: var(--color-white);
  font-size: clamp(28px, 3.8vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin: 0;
}

.about-main-title .text-accent-yellow {
  color: var(--color-two);
}

/* Slider Wrap (placed in next line div inside col) */
.about-slider-wrap {
  position: relative;
  z-index: 10;
  margin-bottom: clamp(-55px, -6.5vw, -85px);
}

.about-carousel {
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  background-color: #1a1d52;
}

.about-carousel .carousel-inner {
  border-radius: var(--radius-xs);
  overflow: hidden;
  aspect-ratio: 0.92 / 1;
}

.about-carousel .carousel-item {
  aspect-ratio: 0.92 / 1;
  transition: opacity 0.75s ease-in-out;
}

.about-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Custom Dots at Bottom Left */
.about-carousel .carousel-indicators {
  position: absolute;
  bottom: clamp(12px, 1.5vw, 18px);
  left: clamp(14px, 1.8vw, 24px);
  right: auto;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 15;
  justify-content: flex-start;
}

.about-carousel .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: transparent;
  border: 1.5px solid #ffffff;
  opacity: 0.85;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.about-carousel .carousel-indicators .active {
  background-color: #ffffff;
  border-color: #ffffff;
  opacity: 1;
  transform: scale(1.18);
}

/* Right Content Wrap (placed in next line div inside col) */
.about-content-wrap {
  padding-left: clamp(15px, 3vw, 45px);
}

.about-text-lead {
  font-size: clamp(16px, 1.25vw, 19.5px);
  line-height: 1.75;
  color: #ffffff;
  margin-bottom: clamp(18px, 1.8vw, 24px);
  font-weight: 450;
  letter-spacing: 0.15px;
}

.about-text-secondary {
  font-size: clamp(15.5px, 1.18vw, 18.5px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: clamp(20px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: 0.15px;
}

.about-cta-wrap {
  margin-top: clamp(24px, 2.4vw, 34px);
}

.btn-about-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-two);
  color: #000000;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 700;
  padding: clamp(12px, 1.2vw, 15px) clamp(34px, 2.8vw, 48px);
  border-radius: var(--radius-xs);
  letter-spacing: 0.2px;
  box-shadow: var(--shadow-btn);
  transition: var(--transition-smooth);
}

.btn-about-apply:hover {
  background-color: var(--color-two-hover);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(253, 192, 1, 0.45);
}

/* --------------------------------------------------------------------------
   6. WHY PARENTS TRUST NIS SECTION
   -------------------------------------------------------------------------- */
.trust-section {
  position: relative;
  background-color: var(--color-white);
  padding-top: clamp(24px, 2.8vw, 44px);
  padding-bottom: clamp(60px, 7vw, 100px);
}

/* Inner Container Content (placed in next line div inside .container) */
.trust-section-inner {
  position: relative;
}

/* Section Header */
.trust-header-wrap {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.trust-main-title {
  color: var(--color-one);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.3px;
  margin: 0;
}

/* 3x3 Grid Wrapper */
.trust-grid-row {
  position: relative;
}

/* Individual Card (placed in next line div inside col) */
.trust-card {
  height: 100%;
  padding: clamp(30px, 3.2vw, 48px) clamp(26px, 2.6vw, 40px);
  background-color: var(--color-white);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  cursor: pointer;
  border-radius: 0;
}

/* Internal Divider Lines (3-column layout for desktop and tablet) */
.trust-grid-row > div:nth-child(3n+1) .trust-card,
.trust-grid-row > div:nth-child(3n+2) .trust-card {
  border-right: 1.5px solid rgba(253, 192, 1, 0.45);
}

.trust-grid-row > div:nth-child(-n+6) .trust-card {
  border-bottom: 1.5px solid rgba(253, 192, 1, 0.45);
}

/* Card Header (Icon + Title) */
.trust-card-header {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5vw, 20px);
  margin-bottom: clamp(14px, 1.5vw, 20px);
}

.trust-icon-box {
  flex-shrink: 0;
  width: clamp(42px, 3.4vw, 48px);
  height: clamp(42px, 3.4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-one);
}

.trust-icon-img,
.trust-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.trust-card-title {
  color: var(--color-one);
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

/* Card Description Text */
.trust-card-text {
  font-size: clamp(13px, 0.92vw, 14.5px);
  line-height: 1.58;
  color: #333752;
  margin: 0;
}

/* HOVER STATE (Matching reference design media_1793095747531.png) */
.trust-card:hover {
  background-color: var(--color-two);
  border-color: transparent !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 5;
}

.trust-card:hover .trust-icon-box {
  color: var(--color-one);
}

.trust-card:hover .trust-card-title {
  color: var(--color-one);
}

.trust-card:hover .trust-card-text {
  color: #1a1a1a;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   7. AWARDS & RECOGNITION SECTION
   -------------------------------------------------------------------------- */
.awards-section {
  position: relative;
  background-color: #eeeeee;
  padding-top: clamp(48px, 5.5vw, 80px);
  padding-bottom: clamp(30px, 3.5vw, 52px);
}

.awards-section-inner {
  position: relative;
}

/* Awards Grid Layout:
   Desktop: 2-Row Grid
     Row 1: Title (left) & Controls (right, bottom-aligned)
     Row 2: Description (left) & Slider (right) - both top-aligned, so "Recognized..." aligns with logos
   Mobile: Stacked cleanly in natural reading order
*/
.awards-layout-grid {
  display: flex;
  flex-direction: column;
}

@media (max-width: 767.98px) {
  .awards-grid-title {
    order: 1;
    margin-bottom: 8px;
  }
  .awards-grid-desc {
    order: 2;
    margin-bottom: 20px;
  }
  .awards-grid-controls {
    order: 3;
    margin-bottom: 12px;
  }
  .awards-grid-slider {
    order: 4;
  }
}

@media (min-width: 768px) {
  .awards-layout-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    grid-template-areas:
      "title    controls"
      "desc     slider";
    column-gap: 24px;
    row-gap: 16px;
    align-items: end;
  }

  .awards-grid-title {
    grid-area: title;
    align-self: end;
  }

  .awards-grid-controls {
    grid-area: controls;
    align-self: end;
  }

  .awards-grid-desc {
    grid-area: desc;
    align-self: start;
    padding-top: 2px;
  }

  .awards-grid-slider {
    grid-area: slider;
    align-self: start;
    min-width: 0;
  }
}

@media (min-width: 992px) {
  .awards-layout-grid {
    grid-template-columns: 4fr 8fr;
    column-gap: 32px;
    row-gap: 18px;
  }
}

.awards-main-title {
  color: var(--color-one);
  font-size: clamp(30px, 4.0vw, 60px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.3px;
  margin: 0;
}

.awards-description {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.6;
  color: #555a6d;
  margin: 0;
}

.awards-slider-wrapper {
  position: relative;
  --award-gap: 16px;
  --slides-per-view: 4;
}

@media (max-width: 767.98px) {
  .awards-slider-wrapper {
    --award-gap: 12px;
    --slides-per-view: 3;
  }
}

@media (max-width: 480px) {
  .awards-slider-wrapper {
    --award-gap: 10px;
    --slides-per-view: 2;
  }
}

/* Arrow Navigation Controls */
.awards-controls-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 0;
}

.btn-awards-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background-color: #cfd1d5;
  color: #333752;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease, color 0.25s ease, opacity 0.25s ease;
  padding: 0;
}

.btn-awards-nav svg {
  width: 18px;
  height: 18px;
}

.btn-awards-nav:hover:not(:disabled) {
  background-color: var(--color-one);
  color: var(--color-white);
  transform: scale(1.08);
}

.btn-awards-nav:active:not(:disabled) {
  transform: scale(0.96);
}

.btn-awards-nav:disabled,
.btn-awards-nav.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
}

/* Scrollable Track Container */
.awards-track-container {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 14px;
  padding-top: 4px;
  padding-left: 2px;
  padding-right: 2px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  container-type: inline-size;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.awards-track-container.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto; /* Disables smooth interpolation during active mouse drag for immediate response */
}

.awards-track-container::-webkit-scrollbar {
  display: none;
}

.awards-track {
  display: flex;
  gap: var(--award-gap, 16px);
  width: max-content;
}

/* Individual Award Card - Exactly 4 slides per view */
.award-card-item {
  flex: 0 0 var(--award-card-width, calc((100cqw - ((var(--slides-per-view, 4) - 1) * var(--award-gap, 16px))) / var(--slides-per-view, 4)));
  width: var(--award-card-width, calc((100cqw - ((var(--slides-per-view, 4) - 1) * var(--award-gap, 16px))) / var(--slides-per-view, 4)));
  aspect-ratio: 1 / 1;
  background-color: var(--color-white);
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1.2vw, 14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.award-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.award-card-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* --------------------------------------------------------------------------
   8. CAMPUS VIDEO SECTION (Half-Grey Background Overlap)
   -------------------------------------------------------------------------- */
.campus-video-section {
  position: relative;
  background: linear-gradient(to bottom, #eeeeee 50%, #ffffff 50%);
  padding-top: 0;
  padding-bottom: clamp(40px, 5.5vw, 85px);
}

.video-card-container {
  position: relative;
  margin: 0 auto;
}

.video-thumbnail-box {
  position: relative;
  width: 100%;
  border-radius: clamp(4px, 0.8vw, 8px);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
}

.video-thumb-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 996 / 392;
  object-fit: cover;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Circular Video Play Button (Optimized for Safari / WebKit & Retina Displays) */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  -webkit-appearance: none;
  appearance: none;
  width: clamp(56px, 6vw, 76px);
  height: clamp(56px, 6vw, 76px);
  border-radius: 50%;
  background-color: var(--color-white);
  border: none;
  outline: none;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.35), 0 8px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background-color 0.3s ease;
  z-index: 2;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.video-play-icon {
  width: clamp(20px, 2.2vw, 28px);
  height: clamp(20px, 2.2vw, 28px);
  color: var(--color-one);
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  margin-left: 3px;
  pointer-events: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.video-play-icon svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  fill: currentColor;
}

.video-play-btn:hover {
  -webkit-transform: translate3d(-50%, -50%, 0) scale(1.12);
  transform: translate3d(-50%, -50%, 0) scale(1.12);
  background-color: var(--color-two);
  box-shadow: 0 0 0 14px rgba(253, 192, 1, 0.45), 0 12px 32px rgba(0, 0, 0, 0.3);
}

.video-play-btn:hover .video-play-icon {
  color: #000000;
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

/* Video Modal */
.video-modal-content {
  background-color: #0b0d19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.video-modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 20px;
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   8.1 DISCOVER LIFE AT NIS - INFINITE OVAL MARQUEE
   -------------------------------------------------------------------------- */
.life-at-nis-section {
  position: relative;
  background-color: var(--color-white);
  padding-top: clamp(24px, 3.8vw, 54px);
  padding-bottom: clamp(18px, 2.2vw, 32px);
  overflow: hidden;
}

.life-marquee-wrapper {
  position: relative;
  width: 100%;
}

.life-backdrop-heading-wrap {
  text-align: center;
  margin-bottom: clamp(-24px, -2.8vw, -44px);
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  width: 100%;
  padding-left: clamp(10px, 2vw, 24px);
  padding-right: clamp(10px, 2vw, 24px);
  box-sizing: border-box;
}

.life-backdrop-heading {
  display: inline-block;
  font-size: clamp(20px, 6.8vw, 108px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: clamp(2px, 0.4vw, 6px);
  color: #e2e5ea;
  line-height: 1.05;
  white-space: nowrap;
}

/* Marquee Row Container with subtle gradient edge vignette */
.marquee-row {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 100%;
  display: flex;
  padding: 8px 0; /* Essential vertical headroom so hover lift & shadows are never clipped by overflow:hidden */
  margin-bottom:0;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  touch-action: pan-y;
}

.marquee-row:last-child {
  margin-bottom: 0;
}

/* Moving Track */
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

/* 1st Line Moving Left */
.marquee-row-left .marquee-track {
  animation: marquee-scroll-left 42s linear infinite;
}

/* 2nd Line Moving Right */
.marquee-row-right .marquee-track {
  animation: marquee-scroll-right 42s linear infinite;
}

/* Pause on hover */
@media (hover: hover) {
  .marquee-row:hover .marquee-track {
    animation-play-state: paused;
  }
}

/* Group of Oval Items */
.marquee-group {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 18px);
  padding-right: clamp(12px, 1.4vw, 18px);
  flex-shrink: 0;
}

/* Oval Box / Pill Item */
.oval-box-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 0.9vw, 12px);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-two);
  border-radius: 999px;
  padding:clamp(12px, 2vw, 30px) clamp(18px, 2vw, 32px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.035);
  white-space: nowrap;
  user-select: none;
  cursor: default;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.oval-box-item:hover {
  z-index: 5;
  transform: translateY(-3px);
  border-color: var(--color-one);
  box-shadow: 0 8px 22px rgba(46, 49, 146, 0.12);
}

.oval-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1;
  flex-shrink: 0;
}

.oval-text {
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 500;
  color: #232733;
  line-height: 1.2;
}

/* Continuous Infinite Loop Keyframes */
@keyframes marquee-scroll-left {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes marquee-scroll-right {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* --------------------------------------------------------------------------
   8.2 LIFE AT NIS EXPERIENCE & MOSAIC SHOWCASE
   -------------------------------------------------------------------------- */
.life-experience-section {
  position: relative;
  background-color: var(--color-white);
  padding-top: clamp(8px, 1.2vw, 18px);
  padding-bottom: clamp(20px, 2.5vw, 36px);
  overflow: hidden;
}

.life-experience-fluid {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .life-col-left {
    flex: 0 0 38% !important;
    max-width: 38% !important;
    width: 38% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .life-col-right {
    flex: 0 0 62% !important;
    max-width: 62% !important;
    width: 62% !important;
  }
}

.life-summary-content {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding-left: clamp(20px, 3vw, 44px);
  padding-right: clamp(16px, 2vw, 28px);
  padding-top: 0;
  padding-bottom: 0;
}

.life-summary-title {
  color: #2E3192;
  font-family: var(--font-family);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -0.2px;
  word-spacing: normal;
  text-align: left;
  text-wrap: balance;
  margin: 0 0 clamp(16px, 1.8vw, 22px) 0;
}

.life-summary-cta {
  display: block;
}

.btn-enroll-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-two);
  color: #1b1e36;
  font-family: var(--font-family);
  font-size: clamp(13px, 0.9vw, 14.5px);
  font-weight: 600;
  padding: clamp(9px, 0.85vw, 11px) clamp(24px, 2vw, 34px);
  border-radius: 0;
  border: none;
  cursor: pointer;
  box-shadow: none;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-enroll-now:hover {
  background-color: var(--color-two-hover);
  color: #1b1e36;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 192, 1, 0.28);
}

.btn-enroll-now:active {
  transform: translateY(0);
}

/* Right Side: 3x4 Mosaic Showcase (Images and All) */
.life-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  gap: 0;
  overflow: hidden;
  box-shadow: none;
  border-radius: 0;
}

.mosaic-tile {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.mosaic-tile-img {
  background-color: #f0f0f0;
}

.mosaic-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
}

.mosaic-tile-blue {
  background-color: #212c82;
  color: var(--color-white);
}

.mosaic-tile-yellow {
  background-color: var(--color-two);
  color: #1b1e36;
}

.mosaic-tile-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: clamp(6px, 1.2vw, 18px);
}

.mosaic-tile span {
  font-family: var(--font-family);
  font-size: clamp(8.5px, 0.95vw, 13.5px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  display: block;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   8.3 PARENT TESTIMONIALS (OPEN NOTEBOOK STAGE & 3D FLIP)
   -------------------------------------------------------------------------- */
.parent-testimonials-section {
  position: relative;
  background: #ffffff;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: none;
}

.testimonial-stage-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Desktop Master Stage Wrapper */
.testimonial-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  container-type: inline-size;
  aspect-ratio: 3200 / 1488;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.testimonial-master-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* Left Side Overlay (Desktop) */
.testimonial-left-overlay {
  position: absolute;
  left: 8.2%;
  top: 24.2%;
  width: 31%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.testimonial-title {
  color: #2E3192;
  font-family: var(--font-family);
  font-size: 34px;
  font-size: clamp(24px, 3.25cqw, 48px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.35px;
  margin: 0 0 20px 0;
  margin: 0 0 clamp(16px, 1.4cqw, 24px) 0;
}

.testimonial-lead-text {
  color: #4b5266;
  font-family: var(--font-family);
  font-size: 14px;
  font-size: clamp(12.5px, 1.05cqw, 15.5px);
  font-weight: 400;
  line-height: 1.55;
  margin: 0 0 24px 0;
  margin: 0 0 clamp(20px, 2.2cqw, 32px) 0;
}

.testimonial-cta-wrap {
  display: block;
}

.btn-admissions-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-two);
  color: #1b1e36;
  font-family: var(--font-family);
  font-size: 13.5px;
  font-size: clamp(12px, 0.94cqw, 15px);
  font-weight: 700;
  letter-spacing: 0.15px;
  padding: 10px 28px;
  padding: clamp(9px, 0.75cqw, 12px) clamp(24px, 1.8cqw, 32px);
  border-radius: 2px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(253, 192, 1, 0.28);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-admissions-open:hover {
  background-color: var(--color-two-hover);
  color: #1b1e36;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(253, 192, 1, 0.4);
}

.btn-admissions-open:active {
  transform: translateY(0);
}

/* Open Notebook Interactive Content Layer (Desktop) */
.testimonial-book-overlay {
  position: absolute;
  left: 47%;
  top: 15.2%;
  width: 47.8%;
  height: 69%;
  display: flex;
  z-index: 5;
  pointer-events: auto;
}

/* Left Page: Testimonial Quote */
.book-page {
  position: relative;
  height: 100%;
}

.book-left-page {
  width: 50%;
  padding: 32px 36px 32px 42px;
  padding: clamp(16px, 3.5cqw, 48px) clamp(16px, 2.6cqw, 38px) clamp(16px, 3.5cqw, 48px) clamp(24px, 4cqw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.book-quote-inner {
  width: 100%;
  max-width: 95%;
}

.book-quote-text {
  font-family: var(--font-family);
  font-size: 13.5px;
  font-size: clamp(11.5px, 0.94cqw, 14.5px);
  line-height: 1.62;
  color: #495066;
  font-weight: 400;
  margin: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  user-select: text;
}

.book-quote-text.flipping-out {
  opacity: 0;
  transform: translateY(6px) scale(0.98);
}

.book-quote-text.flipping-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Right Page: Container */
.book-right-page {
  position: relative;
  width: 50%;
  height: 100%;
}

/* Inner flippable stage with 3D perspective (isolated from absolute controls for Safari/WebKit) */
.book-right-page-inner {
  width: 100%;
  height: 100%;
  padding: 24px 32px;
  padding: clamp(16px, 3cqw, 42px) clamp(24px, 4cqw, 54px) clamp(16px, 3cqw, 42px) clamp(16px, 2.6cqw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  -webkit-perspective: 1200px;
  perspective: 1200px;
}

/* Navigation Arrows */
.book-nav-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  gap: clamp(6px, 0.6cqw, 9px);
  z-index: 10;
}

/* Desktop: Pinned to Top-Right of Right Page */
.book-right-page .book-nav-controls {
  position: absolute;
  top: 14px;
  top: clamp(8px, 1.8cqw, 22px);
  right: 18px;
  right: clamp(12px, 2.5cqw, 32px);
  left: auto;
  bottom: auto;
  margin: 0;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.book-nav-btn {
  width: 26px;
  width: clamp(24px, 2cqw, 30px);
  height: 26px;
  height: clamp(24px, 2cqw, 30px);
  border-radius: 50%;
  border: none;
  background-color: #d8dbe4;
  color: #4b5266;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
}

.book-nav-btn:hover {
  background-color: #2E3192;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(46, 49, 146, 0.25);
}

.book-nav-btn:active {
  transform: scale(0.94);
}

/* Flippable Profile Wrap */
.book-profile-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform-origin: left center;
  transform-origin: left center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

/* Realistic 3D Page Flip Keyframe Classes */
.book-profile-wrap.flip-out-next {
  animation: pageFlipOutNext 0.25s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.book-profile-wrap.flip-in-next {
  animation: pageFlipInNext 0.32s cubic-bezier(0, 0, 0.2, 1) forwards;
}

.book-profile-wrap.flip-out-prev {
  animation: pageFlipOutPrev 0.25s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.book-profile-wrap.flip-in-prev {
  animation: pageFlipInPrev 0.32s cubic-bezier(0, 0, 0.2, 1) forwards;
}

@keyframes pageFlipOutNext {
  0% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  }
  100% {
    transform: rotateY(-85deg) scale(0.92);
    opacity: 0.15;
    filter: drop-shadow(-8px 4px 14px rgba(0,0,0,0.3));
  }
}

@keyframes pageFlipInNext {
  0% {
    transform: rotateY(85deg) scale(0.92);
    opacity: 0.15;
    filter: drop-shadow(8px 4px 14px rgba(0,0,0,0.3));
  }
  100% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  }
}

@keyframes pageFlipOutPrev {
  0% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: rotateY(85deg) scale(0.92);
    opacity: 0.15;
  }
}

@keyframes pageFlipInPrev {
  0% {
    transform: rotateY(-85deg) scale(0.92);
    opacity: 0.15;
  }
  100% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
  }
}

/* Avatar Frame */
.book-avatar-frame {
  width: 72px;
  width: clamp(58px, 5.2cqw, 88px);
  height: 72px;
  height: clamp(58px, 5.2cqw, 88px);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  background-color: #0099ff;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.book-avatar-frame:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(46, 49, 146, 0.25);
}

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

.book-parent-name {
  font-family: var(--font-family);
  font-size: 16px;
  font-size: clamp(14px, 1.2cqw, 19px);
  font-weight: 700;
  color: #1e2474;
  margin-top: 10px;
  margin-top: clamp(8px, 0.8cqw, 14px);
  margin-bottom: 4px;
  margin-bottom: clamp(3px, 0.28cqw, 5px);
  letter-spacing: -0.2px;
}

.book-parent-meta {
  font-family: var(--font-family);
  font-size: 11.5px;
  font-size: clamp(10px, 0.82cqw, 13px);
  color: #636b80;
  line-height: 1.35;
  margin: 0;
}

/* Subtle Notebook Spine Shadow */
.book-spine-shadow {
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0) 100%);
}

/* --------------------------------------------------------------------------
   Mobile Notebook Card Layout (< 992px)
   -------------------------------------------------------------------------- */
.testimonial-mobile-container {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 20px;
}

.testimonial-mobile-intro {
  margin-bottom: 28px;
}

.testimonial-mobile-intro .testimonial-title {
  font-size: clamp(24px, 5.5vw, 32px);
  margin-bottom: 12px;
}

.testimonial-mobile-intro .testimonial-lead-text {
  font-size: clamp(13.5px, 3.6vw, 15px);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.mobile-notebook-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e8f0;
  padding: 24px 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.mobile-notebook-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: #2E3192;
}

.mobile-notebook-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mobile-notebook-header .book-nav-controls {
  position: static;
  top: auto;
  right: auto;
}

.mobile-counter-pill {
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 700;
  color: #2E3192;
  background: #eaecfa;
  padding: 4px 10px;
  border-radius: 12px;
}

.mobile-notebook-body {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-notebook-body.is-changing {
  opacity: 0;
  transform: translateY(6px);
}

/* --------------------------------------------------------------------------
   8.4 FAQ ACCORDION SECTION
   -------------------------------------------------------------------------- */
.faq-section {
  position: relative;
  background-color: #ffffff;
  padding-top: clamp(48px, 5.5vw, 85px);
  padding-bottom: clamp(28px, 3.5vw, 48px);
  border-top: 1px solid #e7eaf2;
}

.faq-header-wrap {
  margin-bottom: clamp(32px, 3.6vw, 50px);
}

.faq-main-title {
  color: #2E3192;
  font-family: var(--font-family);
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0;
}

.custom-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.custom-faq-accordion .faq-item {
  background-color: #ededed;
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: background-color 0.2s ease;
}

.custom-faq-accordion .faq-btn {
  background-color: #ededed;
  color: #111111;
  font-family: var(--font-family);
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 700;
  line-height: 1.45;
  padding: clamp(18px, 1.8vw, 24px) clamp(22px, 2.5vw, 36px);
  border: none;
  border-radius: 0;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.custom-faq-accordion .faq-btn:hover {
  color: #2E3192;
}

.custom-faq-accordion .faq-btn:not(.collapsed) {
  background-color: #ededed;
  color: #111111;
  box-shadow: none;
}

/* Remove default Bootstrap chevron */
.custom-faq-accordion .faq-btn::after {
  display: none !important;
}

/* Custom + and — icon indicator matching Figma design */
.faq-icon-indicator {
  position: relative;
  width: 16px;
  height: 16px;
  min-width: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
}

.faq-icon-indicator::before,
.faq-icon-indicator::after {
  content: '';
  position: absolute;
  background-color: #2b2b2b;
  border-radius: 1px;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
}

/* Horizontal bar (persists in both + and —) */
.faq-icon-indicator::before {
  width: 14px;
  height: 2px;
}

/* Vertical bar (fades/rotates out when expanded, leaving the minus —) */
.faq-icon-indicator::after {
  width: 2px;
  height: 14px;
}

.faq-btn[aria-expanded="true"] .faq-icon-indicator::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* Accordion body */
.custom-faq-accordion .faq-body {
  padding: 0 clamp(22px, 2.5vw, 36px) clamp(20px, 2vw, 28px) clamp(22px, 2.5vw, 36px);
  background-color: #ededed;
}

.faq-divider {
  width: 100%;
  height: 1px;
  background-color: #cccccc;
  margin-bottom: clamp(14px, 1.4vw, 18px);
}

.faq-answer-text {
  color: #7b8091;
  font-family: var(--font-family);
  font-size: clamp(13px, 0.96vw, 14.5px);
  line-height: 1.65;
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. SITE FOOTER (Full-Width Strip Matching Figma Design Exactly)
   -------------------------------------------------------------------------- */
.site-footer {
  width: 100%;
  background-color: #242d87;
  padding: 0;
  margin: 0;
  border-top: none;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.footer-strip-wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-height: 220px;
}

/* Left Image Column */
.footer-visual-col {
  flex: 0 0 27%;
  width: 27%;
  max-width: 440px;
  min-width: 250px;
  position: relative;
  overflow: hidden;
}

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

/* Right Blue Content Column */
.footer-main-col {
  flex: 1;
  background-color: #242d87;
  display: flex;
  align-items: center;
  padding: clamp(28px, 3.2vw, 48px) clamp(24px, 4vw, 70px) clamp(22px, 2.4vw, 34px) clamp(24px, 3.5vw, 60px);
  min-width: 0;
}

.footer-inner-content {
  width: 100%;
  max-width: 1100px;
}

/* Top 3 Columns: Perfectly baseline-aligned as in Figma */
.footer-nav-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(18px, 2.8vw, 48px);
}

.footer-nav-col {
  min-width: 0;
}

.footer-col-address {
  max-width: 430px;
}

.footer-info-text {
  color: #ffffff;
  font-family: var(--font-family);
  font-size: clamp(13px, 0.98vw, 15px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.15px;
  margin: 0 0 4px 0;
  white-space: nowrap;
}

.footer-col-address .footer-info-text {
  white-space: normal;
}

.footer-info-text:last-child {
  margin-bottom: 0;
}

.footer-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: clamp(13px, 0.95vw, 15px);
  color: #ffffff;
  width: 16px;
  text-align: center;
  opacity: 0.95;
  vertical-align: -1px;
}

.footer-label {
  font-weight: 700;
  letter-spacing: 0.25px;
  color: #ffffff;
}

.footer-school-name {
  font-weight: 600;
}

.footer-info-text a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.footer-info-text a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* Horizontal Divider Line */
.footer-divider-line {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.35);
  margin-top: clamp(24px, 2.8vw, 36px);
  margin-bottom: clamp(16px, 1.8vw, 24px);
}

/* Bottom Row (Left Copyright, Right Credits) */
.footer-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy-text,
.footer-credit-text {
  color: #ffffff;
  font-family: var(--font-family);
  font-size: clamp(12px, 0.88vw, 14px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.15px;
  margin: 0;
}

/* ==========================================================================
   6. CONSOLIDATED RESPONSIVE MEDIA QUERIES (NO DUPLICATE @MEDIA BLOCKS)
   ========================================================================== */

/* Medium-Large Devices / Laptops (max-width: 1199px) */
@media (max-width: 1199px) {
  .hero-headline-wrap {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: clamp(22px, 2.6vw, 34px);
    white-space: nowrap;
  }

  .admission-enquiry-card {
    max-width: 340px;
  }

  .about-content-wrap {
    padding-left: 20px;
  }

  .about-main-title {
    font-size: clamp(26px, 3.4vw, 44px);
  }
}

/* Tablets & Small Laptops (max-width: 991px) */
@media (max-width: 991px) {
  .header-inner {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-brand-wrap {
    gap: clamp(8px, 1.2vw, 14px);
  }

  .brand-logo-img {
    height: clamp(20px, 2.2vw, 26px);
  }

  .affiliation-badge {
    padding-left: clamp(8px, 1.1vw, 12px);
  }

  .aff-title {
    font-size: clamp(9.5px, 0.9vw, 11px);
  }

  .aff-no {
    font-size: clamp(8.5px, 0.8vw, 10px);
  }

  .btn-admissions-top {
    font-size: clamp(12.5px, 1.05vw, 14px);
    padding: clamp(7px, 0.8vw, 9px) clamp(14px, 1.4vw, 18px);
  }

  .hero-banner-section {
    padding-top: clamp(18px, 2.4vw, 26px);
    padding-bottom: 0;
  }

  .hero-headline-wrap {
    position: static;
    left: auto;
    top: auto;
    padding-left: 0;
    margin-bottom: clamp(12px, 1.6vw, 18px);
    text-align: center;
    white-space: normal;
  }

  .hero-title {
    text-align: center;
    font-size: clamp(22px, 3.2vw, 30px);
    line-height: 1.2;
    white-space: normal;
  }

  .hero-students-wrap {
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-banner-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .hero-form-column {
    justify-content: center;
    margin-top: clamp(20px, 2.8vw, 30px);
    margin-bottom: clamp(20px, 2.8vw, 30px);
  }

  .admission-enquiry-card {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(20px, 2.4vw, 30px) clamp(18px, 2vw, 26px);
  }

  .card-header-wrap {
    margin-bottom: clamp(14px, 1.6vw, 20px);
  }

  .card-title {
    font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  }

  .form-group-custom {
    margin-bottom: clamp(14px, 1.8vw, 20px);
  }

  .form-control-custom {
    padding: clamp(8px, 1vw, 11px) 0;
    font-size: clamp(13px, 1vw, 14.5px);
  }

  .field-error {
    font-size: 11px;
    min-height: 14px;
  }

  .btn-submit-enquiry {
    padding: clamp(10px, 1.1vw, 13px) clamp(18px, 2vw, 26px);
    font-size: clamp(13.5px, 1.1vw, 15px);
  }

  .hero-bottom-strip {
    position: relative;
    bottom: auto;
    left: 24px;
    right: 24px;
    height: 50px;
  }

  .about-blue-card {
    margin-left: 24px;
    margin-right: 24px;
    padding-top: 24px;
    padding-bottom: 50px;
  }

  .about-slider-wrap {
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-content-wrap {
    padding-left: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-legal-links {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .trust-card {
    padding: 26px 18px;
  }

  .awards-info-box {
    margin-bottom: 24px;
    text-align: center;
  }

  .awards-description {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .awards-controls-bar {
    justify-content: center;
    margin-bottom: 16px;
  }

  .life-col-left,
  .life-col-right {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .life-summary-content {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 0;
  }

  .life-summary-title {
    text-align: center;
    text-align-last: center;
    margin-bottom: 20px;
  }

  .life-mosaic-grid {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .testimonial-mobile-intro {
    text-align: center;
  }

  .footer-strip-wrapper {
    flex-direction: column;
  }

  .footer-visual-col {
    flex: none;
    width: 100%;
    max-width: 100%;
    height: 230px;
  }

  .footer-main-col {
    padding: 32px 24px 24px;
  }

  .footer-nav-grid {
    flex-wrap: wrap;
    gap: 22px;
  }

  .footer-info-text {
    white-space: normal;
  }
}

/* Mobile Devices / Phones (max-width: 767px) */
@media (max-width: 767px) {
  .header-brand-wrap {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
  }

  .brand-logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
    max-width: calc(100% - 145px);
  }

  .brand-logo-img {
    height: 24px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
  }

  .affiliation-badge {
    border-left: 1px solid #d4d7e3;
    border-top: none;
    padding-left: 10px;
    padding-top: 0;
    width: auto;
    align-items: flex-start;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .aff-title {
    font-size: 10px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .aff-no {
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .header-action-wrap {
    justify-content: center;
    margin-top: 14px;
  }

  .btn-admissions-top {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .hero-banner-section {
    padding-top: 18px;
  }

  .hero-headline-wrap {
    margin-bottom: 12px;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(19px, 5vw, 24px);
  }

  .hero-banner-img {
    max-width: 100%;
  }

  .hero-form-column {
    margin-top: 20px;
    margin-bottom: 20px;
    justify-content: center;
  }

  .admission-enquiry-card {
    max-width: 100%;
  }

  .hero-bottom-strip {
    left: 15px;
    right: 15px;
    height: 35px;
  }

  .about-blue-card {
    margin-left: 15px;
    margin-right: 15px;
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .about-main-title {
    font-size: clamp(24px, 5.5vw, 32px);
  }

  .trust-section {
    padding-top: 24px;
    padding-bottom: 50px;
  }

  .trust-header-wrap {
    margin-bottom: 28px;
  }

  .trust-main-title {
    font-size: clamp(24px, 5.5vw, 30px);
  }

  .trust-grid-row > div .trust-card {
    border-right: none !important;
    border-bottom: 1.5px solid rgba(253, 192, 1, 0.45) !important;
    padding: 22px 14px;
  }

  .trust-grid-row > div:last-child .trust-card {
    border-bottom: none !important;
  }

  .awards-section {
    padding-top: 36px;
    padding-bottom: 24px;
  }

  .awards-main-title {
    font-size: clamp(24px, 5.5vw, 30px);
    margin-bottom: 10px;
  }

  .campus-video-section {
    padding-bottom: 40px;
  }

  .footer-nav-grid {
    flex-direction: column;
    gap: 18px;
  }

  .footer-meta-row {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    justify-content: center;
  }
}

/* Extra Small Mobile Screens (max-width: 575px) */
@media (max-width: 575px) {
  .header-inner {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-brand-wrap {
    gap: 8px;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .brand-logo-link {
    max-width: calc(100% - 128px);
  }

  .brand-logo-img {
    height: 20px;
  }

  .affiliation-badge {
    padding-left: 8px;
    border-left: 1px solid #d4d7e3;
    border-top: none;
  }

  .aff-title {
    font-size: 9px;
    line-height: 1.2;
  }

  .aff-no {
    font-size: 8px;
    line-height: 1.2;
  }

  .hero-headline-wrap {
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: 19px;
  }

  .admission-enquiry-card {
    padding: 18px 14px;
  }

  .hero-bottom-strip {
    left: 10px;
    right: 10px;
  }

  .about-blue-card {
    margin-left: 10px;
    margin-right: 10px;
  }

  .btn-about-apply {
    width: 100%;
    text-align: center;
  }

  .trust-card {
    padding: 18px 10px;
  }

  .trust-card-header {
    gap: 12px;
    margin-bottom: 10px;
  }

  .btn-awards-nav {
    width: 32px;
    height: 32px;
  }

  .award-card-item {
    padding: 8px;
  }

  .video-play-btn {
    width: 50px;
    height: 50px;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.35), 0 6px 18px rgba(0, 0, 0, 0.22);
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 8px;
  }

  .mosaic-tile span {
    font-size: clamp(6.5px, 2.2vw, 10px);
    line-height: 1.2;
  }

  .testimonial-title {
    font-size: clamp(23px, 6vw, 30px);
  }

  .testimonial-sharpener-decor {
    right: -24px;
    top: -10px;
    width: 48px;
  }

  .btn-admissions-open {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* Ultra Small Mobile Screens (max-width: 380px) */
@media (max-width: 380px) {
  .header-brand-wrap {
    gap: 6px;
  }

  .brand-logo-link {
    max-width: calc(100% - 110px);
  }

  .brand-logo-img {
    height: 17px;
  }

  .affiliation-badge {
    padding-left: 6px;
  }

  .aff-title {
    font-size: 8px;
  }

  .aff-no {
    font-size: 7px;
  }
}

