    :root {
      --navy:      #0a476e;
      --navy-mid:  #1e4080;
      --gold:      #c8973a;
      --gold-lt:   #e8b45a;
      --cream:     #faf8f4;
      --text-dark: #1a1a2e;
      --text-muted:#5a6275;
    }
 
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
    body {
      font-family: "Poppins", sans-serif;
      background: var(--cream);
      color: var(--text-dark);
    }
 
    /* ========== SECTION WRAPPER ========== */
    .about-section {
      padding: 46px 0 0;
      overflow: hidden;
      padding-top: 30px !important;

    }
 
    /* ========== TOP: CONTENT STACK ========== */
    .content-wrap {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 24px 36px;
    }
    .row-story   { margin-bottom: 28px; }
    .row-stats   { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 24px; }
    .row-mission {}
 
    .section-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: .75rem;
      font-weight: 500;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 16px;
    }
    .section-eyebrow::before {
      content: '';
      display: block;
      width: 28px;
      height: 2px;
      background: var(--gold);
      border-radius: 2px;
    }
    .story-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.7rem, 2.6vw, 2.4rem);
      font-weight: 700;
      line-height: 1.2;
      color: var(--navy);
      margin-bottom: 14px;
    }
    .story-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 3.2vw, 2.9rem);
      font-weight: 700;
      line-height: 1.18;
      color: var(--navy);
      margin-bottom: 20px;
    }
    .story-title span { color: var(--gold); }
    .story-desc {
      font-size: .95rem;
      line-height: 1.8;
      color: var(--text-muted);
      margin-bottom: 20px;
    }
    .btn-learn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--navy);
      color: #fff;
      border: none;
      padding: 11px 26px;
      border-radius: 4px;
      font-size: .88rem;
      font-weight: 500;
      letter-spacing: .03em;
      text-decoration: none;
      transition: background .25s, transform .2s;
    }
    .btn-learn:hover { background: var(--navy-mid); transform: translateY(-2px); color: #fff; }
    .btn-learn i { font-size: .95rem; }
 
    /* Stats */
    .stat-card {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 16px 20px;
      border-radius: 8px;
      background: #fff;
      box-shadow: 0 2px 16px rgba(23,52,108,.07);
      transition: transform .25s, box-shadow .25s;
    }
    .stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(23,52,108,.13); }
    .stat-icon {
      width: 44px; height: 44px;
      border-radius: 10px;
      background: linear-gradient(135deg, var(--navy), var(--navy-mid));
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; color: #fff; font-size: 1.2rem;
    }
    .stat-info .number {
      font-family: 'Playfair Display', serif;
      font-size: 1.45rem; font-weight: 700; color: var(--navy); line-height: 1;
    }
    .stat-info .label { font-size: .78rem; color: var(--text-muted); margin-top: 3px; }
 
    /* Mission */
    .mission-block {
      position: relative;
      padding: 22px 32px;
      background: linear-gradient(135deg, var(--navy) 0%, #0f2550 100%);
      border-radius: 10px; color: #fff; overflow: hidden;
      display: flex; align-items: center; gap: 22px;
    }
    .mission-block::before {
      content: '"';
      position: absolute; top: -14px; right: 24px;
      font-family: 'Playfair Display', serif;
      font-size: 8rem; color: rgba(255,255,255,.06); line-height: 1; pointer-events: none;
    }
    .mission-bar-left {
      width: 4px; min-height: 52px;
      background: var(--gold); border-radius: 2px; flex-shrink: 0;
    }
    .mission-label {
      font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
      color: var(--gold-lt); margin-bottom: 6px; font-weight: 500;
    }
    .mission-text {
      font-family: 'Playfair Display', serif;
      font-size: .98rem; font-style: italic; line-height: 1.7;
      color: rgba(255,255,255,.92); margin: 0;
    }
 
    /* ========== BOTTOM: CONTAINED SLIDER ========== */
    .slider-wrapper {
      position: relative;
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 24px 64px;
    }
    .slider-label {
      position: absolute;
      top: 0;
      left: 24px;
      z-index: 10;
      background: var(--navy);
      color: #fff;
      font-size: .72rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      padding: 10px 22px;
      font-weight: 500;
    }
 
    /* Bootstrap carousel overrides */
    #aboutCarousel {
      width: 100%;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 8px 40px rgba(23,52,108,.18);
    }
    #aboutCarousel .carousel-inner {
    height: clamp(380px, 55vw, 620px);
      border-radius: 0;
    }
    #aboutCarousel .carousel-item img {
      width: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      height: clamp(380px, 55vw, 620px);

    }
 
    /* Gradient overlay on slider */
    .carousel-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to right,
        rgba(23,52,108,.55) 0%,
        transparent 45%,
        transparent 75%,
        rgba(10,20,40,.35) 100%
      );
      pointer-events: none;
      z-index: 2;
    }
 
    /* Slide caption */
    #aboutCarousel .carousel-caption {
      bottom: 0;
      left: 0;
      right: auto;
      text-align: left;
      padding: 36px 48px;
      background: linear-gradient(to top, rgba(10,20,50,.7) 0%, transparent 100%);
      width: 100%;
    }
    #aboutCarousel .carousel-caption h5 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.1rem, 2vw, 1.55rem);
      font-weight: 600;
      color: #fff;
      text-shadow: 0 2px 8px rgba(0,0,0,.4);
      margin: 0;
    }
    #aboutCarousel .carousel-caption p {
      font-size: .82rem;
      color: rgba(255,255,255,.75);
      margin: 4px 0 0;
    }
 
    /* Nav controls */
    .carousel-control-prev,
    .carousel-control-next {
      width: 52px;
      opacity: 1;
      z-index: 5;
    }
    .carousel-control-prev { left: 18px; }
    .carousel-control-next { right: 18px; }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      background-color: rgba(255,255,255,.18);
      backdrop-filter: blur(6px);
      border-radius: 50%;
      width: 44px;
      height: 44px;
      background-size: 40%;
      border: 1px solid rgba(255,255,255,.25);
      transition: background-color .2s;
    }
    .carousel-control-prev:hover .carousel-control-prev-icon,
    .carousel-control-next:hover .carousel-control-next-icon {
      background-color: rgba(200,151,58,.7);
    }
 
    /* Indicators */
    #aboutCarousel .carousel-indicators {
      bottom: 14px;
      right: 48px;
      left: auto;
      margin: 0;
      gap: 6px;
    }
    #aboutCarousel .carousel-indicators [data-bs-target] {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255,255,255,.45);
      border: none;
      opacity: 1;
      transition: background .25s, transform .25s;
    }
    #aboutCarousel .carousel-indicators .active {
      background: var(--gold);
      transform: scale(1.3);
    }
 
    /* ========== RESPONSIVE ========== */
    @media (max-width: 991px) {
      .content-wrap { padding: 0 20px 32px; }
      .row-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
      .slider-wrapper { padding: 0 20px 48px; }
      .slider-label { left: 20px; }
      #aboutCarousel .carousel-inner,
      #aboutCarousel .carousel-item img { height: clamp(220px, 46vw, 380px); }
    }
 
    @media (max-width: 575px) {
      .about-section { padding-top: 44px; }
      .content-wrap { padding: 0 16px 28px; }
      .row-stats { grid-template-columns: 1fr; }
      .slider-wrapper { padding: 0 16px 40px; }
      .slider-label { left: 16px; }
      #aboutCarousel .carousel-caption { padding: 16px 18px; }
      .carousel-control-prev { left: 6px; }
      .carousel-control-next { right: 6px; }
    }
    
    
    
    
    /* ============================================================
   MESTON COLLEGE — MOBILE RESPONSIVE FIX
   Drop this <link> AFTER all existing CSS files in <head>:
   <link href="assets/css/mobile-fix.css" rel="stylesheet">
   ============================================================ */

/* ============================================================
   1. GLOBAL RESETS
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

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


/* ============================================================
   2. HEADER / NAV
   ============================================================ */
#header .container-fluid {
  padding-left: 12px;
  padding-right: 12px;
}

#header .logo img {
  max-height: 48px;
  width: auto;
}

#header .logo h1 {
  font-size: clamp(13px, 3.5vw, 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 55vw;
}

@media (max-width: 480px) {
  #header .logo h1 {
    font-size: 12px;
    max-width: 48vw;
  }
}


/* ============================================================
   3. HERO SECTION
   ============================================================ */
#hero,
.hero.section {
  padding: 0;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.hero-content {
  width: 100%;
  text-align: center;
  padding: 20px 12px 16px;
}

/* College title */
.college-title {
  font-size: clamp(26px, 7vw, 55px) !important;
  letter-spacing: 1px !important;
  margin-top: 0 !important;
  line-height: 1.2 !important;
  word-break: break-word;
}

/* "Since 1937" line */
.hero-content > span[style] {
  font-size: clamp(16px, 4.5vw, 30px) !important;
}

/* Hero paragraph */
.hero-paragraph,
.hero .hero-container .hero-paragraph {
  font-size: clamp(12px, 3.2vw, 15px) !important;
  line-height: 1.55 !important;
  padding: 0 4px;
}

/* CTA button row */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}

.cta-buttons .btn,
.cta-buttons .btn-tour {
  font-size: 13px;
  padding: 8px 18px;
  min-width: 120px;
}

/* Orange form-button row */
div[style*="flex-wrap:wrap"][style*="gap:12px"] {
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
}

div[style*="flex-wrap:wrap"][style*="gap:12px"] .btn {
  width: 100%;
  max-width: 320px;
  font-size: 13px;
  text-align: center;
}

/* Announcement bar */
.announcement {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 8px 12px;
  font-size: 13px;
}

/* Hero quote */
.hero-quote {
  white-space: normal !important;
  flex-wrap: wrap;
  padding: 8px 14px !important;
  max-width: 100% !important;
}

.quote-text {
  font-size: clamp(1rem, 4.5vw, 2.1rem) !important;
  white-space: normal !important;
  text-align: center;
}

.quote-mark {
  font-size: clamp(1.6rem, 6vw, 3.2rem);
}

/* Arts & Science blue banner button */
a[href*="mestoncollege.ac.in"] {
  display: block !important;
  width: 100%;
  max-width: 340px;
  margin: 10px auto 0 !important;
  text-align: center;
  font-size: 12px;
  white-space: normal !important;
  line-height: 1.4;
  padding: 10px 14px !important;
  word-break: break-word;
}

/* Hero logos — hide on mobile */
.hero-logos {
  display: none;
}

@media (min-width: 992px) {
  .hero-logos {
    display: flex;
  }
}


/* ============================================================
   4. HIGHLIGHTS GRID
   ============================================================ */
.highlights-container {
  padding: 16px 12px !important;
}

.highlights-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 10px !important;
}

@media (max-width: 600px) {
  .highlights-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }

  .highlight-item {
    padding: 12px 6px !important;
    border-radius: 10px !important;
  }

  .hl-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }

  .highlight-item h6 {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  .btn-more {
    font-size: 10px !important;
    margin-top: 4px !important;
  }
}

@media (max-width: 380px) {
  .highlights-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 6px !important;
  }
  .highlight-item h6 {
    font-size: 9px !important;
  }
}


/* ============================================================
   5. ADMISSION TICKER BANNER
   ============================================================ */
.banner-wrap {
  width: 100%;
  overflow: hidden;
}

.banner-top {
  font-size: clamp(12px, 3.5vw, 16px);
  padding: 8px 12px;
  text-align: center;
}

.ticker-outer {
  overflow: hidden;
  width: 100%;
}

.ticker-track {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.ticker-item .dept {
  font-size: clamp(11px, 3vw, 14px);
}

.ticker-item .num {
  font-size: clamp(11px, 3vw, 14px);
}


/* ============================================================
   6. ACHIEVERS SWIPER
   ============================================================ */
.achievers-section {
  padding: 28px 12px !important;
  overflow: hidden;
}

.achievers-section .section-heading {
  font-size: clamp(20px, 6vw, 32px);
}

.swiper-shell {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.achieverSwiper {
  width: 100%;
}

.photo-card {
  border-radius: 10px;
  overflow: hidden;
}

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

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 32px;
  height: 32px;
  font-size: 16px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.nav-prev { left: 4px; }
.nav-next { right: 4px; }


/* ============================================================
   7. ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 32px 16px !important;
  overflow: hidden;
}

.content-wrap {
  width: 100%;
  padding: 0;
}

.story-title {
  font-size: clamp(22px, 6vw, 40px);
  line-height: 1.25;
}

.story-desc {
  font-size: clamp(13px, 3.5vw, 16px);
  line-height: 1.65;
}

.mission-text {
  font-size: clamp(13px, 3.5vw, 16px);
}

.slider-wrapper {
  width: 100%;
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
}

#aboutCarousel .carousel-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

@media (min-width: 576px) {
  #aboutCarousel .carousel-item img {
    height: 300px;
  }
}

@media (min-width: 992px) {
  #aboutCarousel .carousel-item img {
    height: 420px;
  }
}


/* ============================================================
   8. EVENTS SECTION
   ============================================================ */
#meston-events {
  padding: 32px 12px !important;
  overflow: hidden;
}

#meston-events .section-title h2 {
  font-size: clamp(20px, 6vw, 32px);
}

#meston-events .section-title p {
  font-size: clamp(12px, 3.5vw, 16px);
}

.event-highlight {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 4px;
}

.event-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.event-image-wrapper img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.event-info h5 {
  font-size: clamp(13px, 3.5vw, 17px);
}

.event-info p {
  font-size: clamp(12px, 3vw, 14px);
}

.events-overview {
  padding: 16px 14px !important;
  border-radius: 14px;
}

.events-overview h3 {
  font-size: clamp(16px, 4.5vw, 22px);
}

.benefit-item h6 {
  font-size: clamp(12px, 3.5vw, 15px);
}

/* Events grid: 1 col on mobile */
@media (max-width: 767px) {
  #meston-events .row.gy-5 {
    flex-direction: column;
  }

  #meston-events .col-lg-8,
  #meston-events .col-lg-4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  #meston-events .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}


/* ============================================================
   9. CALL TO ACTION SECTION
   ============================================================ */
#call-to-action {
  padding: 24px 12px !important;
}

.contact-banner {
  padding: 20px 16px !important;
  border-radius: 14px !important;
}

.banner-content {
  flex-direction: column !important;
  gap: 16px !important;
  align-items: flex-start !important;
}

.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-info h5 {
  font-size: clamp(15px, 4.5vw, 20px);
}

.contact-info p {
  font-size: clamp(12px, 3.2vw, 15px);
}

.contact-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.call-btn {
  white-space: normal !important;
  word-break: break-word;
  font-size: clamp(11px, 3vw, 14px) !important;
  padding: 10px 14px !important;
  text-align: center;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.contact-link {
  font-size: clamp(12px, 3.5vw, 14px);
  text-align: center;
  display: block;
}


/* ============================================================
   10. LIGHTBOX
   ============================================================ */
.meston-lightbox .lb-inner {
  padding: 12px !important;
  width: 96vw !important;
  max-width: 96vw !important;
  border-radius: 12px !important;
}

.lb-image {
  max-height: 55vh !important;
  object-fit: contain;
  width: 100%;
}

.lb-caption {
  font-size: 12px !important;
  padding: 8px 4px !important;
}

.lb-title {
  font-size: 13px !important;
}

.lb-desc {
  font-size: 11px !important;
}

.lb-thumbs img {
  width: 44px !important;
  height: 44px !important;
}


/* ============================================================
   11. FOOTER
   ============================================================ */
.footer-modern {
  padding: 32px 16px 16px !important;
}

.footer-modern .row {
  flex-direction: column;
  gap: 24px;
}

.footer-modern [class*="col-"] {
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

.sitename {
  font-size: clamp(16px, 4.5vw, 22px);
}

.brand-description {
  font-size: clamp(12px, 3.5vw, 15px);
}

.contact-info p {
  font-size: clamp(12px, 3.2vw, 14px);
  white-space: normal !important;
  word-break: break-word;
}

.footer-title {
  font-size: clamp(13px, 4vw, 16px);
  margin-top: 0;
}

.footer-links li a {
  font-size: clamp(12px, 3.5vw, 14px);
}

.footer-bottom {
  padding: 12px 16px !important;
}

.footer-bottom p,
.footer-bottom .legal-links a,
.footer-bottom .credits {
  font-size: clamp(10px, 3vw, 13px) !important;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-modern .row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-modern .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer-modern .col-lg-2,
  .footer-modern .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .footer-modern .col-lg-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }

  .footer-modern .col-lg-2 {
    flex: 0 0 16.666%;
    max-width: 16.666%;
  }
}


/* ============================================================
   12. FLOATING BUTTONS
   ============================================================ */
.call-us,
.chat-with-us {
  position: fixed;
  z-index: 999;
}

.call-us {
  bottom: 80px;
  right: 16px;
}

.chat-with-us {
  bottom: 20px;
  right: 16px;
}

.phone-icon,
.contact-icon {
  font-size: 20px;
}


/* ============================================================
   13. SCROLL TOP BUTTON
   ============================================================ */
#scroll-top {
  right: 16px !important;
  bottom: 130px !important;
  width: 38px !important;
  height: 38px !important;
  font-size: 20px !important;
}


/* ============================================================
   14. GENERAL UTILITY
   ============================================================ */

/* Prevent any element from causing horizontal scroll */
section, div, header, footer, main, nav {
  max-width: 100%;
}

/* Safe tap targets */
a, button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

/* Fix Bootstrap container overflow */
.container,
.container-fluid {
  padding-left: 12px !important;
  padding-right: 12px !important;
  overflow: visible;
}
    
    
   