/* =========================================================================
   SRI MANICKAM MATRIC HR. SEC. SCHOOL  —  HOME PAGE THEME
   Layout  : Findox "Home Two" (index-2.html)
   Colours : School Navy Palette → #103178 · #0a204f · Yellow #f5b301 · White
   Load this file AFTER assets/css/findox.css
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Theme tokens — re-colours every Findox component on the page
   ------------------------------------------------------------------------- */
:root {
  --findox-base: #103178;
  --findox-base-rgb: 16, 49, 120;
  --findox-primary: #f5b301;
  --findox-primary-rgb: 245, 179, 1;
  --findox-white3: #edf2fa;
  --findox-white3-rgb: 237, 242, 250;
  --findox-white4: #e2eafc;
  --findox-white4-rgb: 226, 234, 252;
  --findox-black4: #071739;
  --findox-black4-rgb: 7, 23, 57;

  --mrm-magenta: #103178;
  --mrm-magenta-dark: #0a204f;
  --mrm-magenta-deep: #061533;
  --mrm-yellow: #f5b301;
  --mrm-ink: #0a204f;
}

::selection {
  background: var(--mrm-magenta);
  color: #ffffff;
}

/* -------------------------------------------------------------------------
   2. Preloader · WhatsApp button · Admission popup
   ------------------------------------------------------------------------- */
/* Home page loader — clean white, navy + yellow, open-book animation */
html.mrm-loading, html.mrm-loading body { overflow: hidden; }
.mrm-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: #ffffff;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.mrm-loader::before,
.mrm-loader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #103178 0 70%, #f5b301 70% 100%);
}
.mrm-loader::before { top: 0; }
.mrm-loader::after { bottom: 0; transform: scaleX(-1); }
.mrm-loader.is-done { opacity: 0; visibility: hidden; }
.mrm-loader.is-done .mrm-loader__inner { transform: translateY(-12px); }

.mrm-loader__inner {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.6s ease;
  animation: mrmLoaderIn 0.6s ease both;
}
@keyframes mrmLoaderIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
/* notebook with turning pages */
.mrm-note {
  position: relative;
  width: 168px;
  height: 112px;
  margin: 0 auto 38px;
  perspective: 700px;
  transform-style: preserve-3d;
}
.mrm-note::before { /* hard cover */
  content: "";
  position: absolute;
  left: -9px;
  right: -9px;
  top: 7px;
  bottom: -9px;
  background: #103178;
  border-radius: 8px;
  box-shadow: 0 14px 26px rgba(10, 32, 79, 0.22);
}
.mrm-note__page,
.mrm-note__flip {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-color: #ffffff;
  background-image:
    repeating-linear-gradient(180deg, transparent 0 12px, rgba(16, 49, 120, 0.16) 12px 13px);
  background-position: 0 18px;
  background-size: 100% calc(100% - 26px);
  background-repeat: no-repeat;
}
.mrm-note__page--left {
  left: 0;
  border-radius: 6px 0 0 6px;
  box-shadow: inset -10px 0 14px -10px rgba(10, 32, 79, 0.35);
}
.mrm-note__page--right {
  right: 0;
  border-radius: 0 6px 6px 0;
  box-shadow: inset 10px 0 14px -10px rgba(10, 32, 79, 0.35);
}
.mrm-note__page--right::before,
.mrm-note__flip::before { /* red margin line */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  width: 1.5px;
  background: rgba(220, 53, 69, 0.45);
}
.mrm-note__flip {
  left: 50%;
  border-radius: 0 6px 6px 0;
  transform-origin: left center;
  backface-visibility: visible;
  animation: mrmNoteTurn 3.2s cubic-bezier(0.4, 0, 0.3, 1) infinite;
}
.mrm-note__flip:nth-child(3) { animation-delay: 0s; }
.mrm-note__flip:nth-child(4) { animation-delay: 0.4s; }
.mrm-note__flip:nth-child(5) { animation-delay: 0.8s; }
.mrm-note__flip:nth-child(6) { animation-delay: 1.2s; }
@keyframes mrmNoteTurn {
  0%, 8%   { transform: rotateY(0deg);    filter: brightness(1); }
  30%      { transform: rotateY(-90deg);  filter: brightness(0.86); }
  52%, 100%{ transform: rotateY(-180deg); filter: brightness(1); }
}
.mrm-note__spine {
  position: absolute;
  left: 50%;
  top: -2px;
  bottom: -9px;
  width: 4px;
  margin-left: -2px;
  background: #f5b301;
  border-radius: 3px;
  transform: translateZ(1px);
}

/* loading line */
.mrm-loader__bar {
  width: min(300px, 76vw);
  height: 5px;
  border-radius: 5px;
  background: #e8edf7;
  overflow: hidden;
}
.mrm-loader__bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, #103178, #f5b301);
}
.mrm-loader__pct {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #103178;
  margin: 10px 0 18px;
  font-variant-numeric: tabular-nums;
}
.mrm-loader__name {
  font-family: "Sora", "DM Sans", system-ui, sans-serif;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: #0a204f;
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
}
@media (max-width: 480px) {
  .mrm-note { width: 140px; height: 94px; }
  .mrm-loader__name { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .mrm-note__flip { animation: none; display: none; }
  .mrm-loader__inner { animation: none; }
}

.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 22px;
  z-index: 998;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 30px;
  color: #ffffff;
  background-color: #25d366;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  animation: mrmPulse 2.2s infinite;
  transition: transform 300ms ease;
}
.whatsapp-float:hover {
  color: #ffffff;
  transform: scale(1.08);
}
@keyframes mrmPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.school-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 24px;
  align-items: center;
  justify-content: center;
  background-color: rgba(10, 32, 79, 0.85);
}
.school-modal-content {
  position: relative;
  width: 100%;
  max-width: 520px;
  animation: mrmZoomIn 400ms ease;
}
.school-modal-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
  border: 4px solid #ffffff;
  background-color: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.school-modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  color: #ffffff;
  background-color: var(--mrm-magenta);
  border: 3px solid #ffffff;
  transition: all 300ms ease;
}
.school-modal-close:hover {
  color: var(--mrm-magenta);
  background-color: var(--mrm-yellow);
}
@media (max-width: 575px) {
  .school-modal-close {
    top: -12px;
    right: -8px;
  }
}
@keyframes mrmZoomIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

/* -------------------------------------------------------------------------
   3. HEADER (same markup / menu as the MRM site) — logo colours
   ------------------------------------------------------------------------- */
/* 3.1 Top admissions strip */
.school-top-strip {
  position: relative;
  z-index: 1001;
  padding: 7px 0;
  font-size: 14px;
  color: #ffffff;
  background-color: var(--mrm-magenta-deep);
}
.strip-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 13px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--mrm-magenta-deep);
  background-color: var(--mrm-yellow);
}
.strip-marquee-text {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}
.follow-us-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.strip-social-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.14);
  transition: all 300ms ease;
}
.strip-social-btn:hover {
  color: var(--mrm-magenta);
  background-color: var(--mrm-yellow);
}
@media (max-width: 767px) {
  .school-top-strip {
    padding: 6px 0;
  }
  .school-top-strip .d-flex.flex-wrap {
    justify-content: center;
    text-align: center;
    row-gap: 4px !important;
  }
  .strip-marquee-text {
    font-size: 12.5px;
    line-height: 1.45;
  }
}

/* 3.2 Logo + contact row (logo background colour) */
.school-middle-header {
  position: relative;
  z-index: 1000;
  background-color: var(--mrm-magenta);
}
.school-middle-header > .container-fluid > .d-flex {
  flex-wrap: nowrap !important;
}
.school-header-brand {
  flex: 0 1 auto;
  min-width: 0;
}
.school-logo-link {
  display: inline-block;
  max-width: 100%;
}
.header-main-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 84px;
}
.header-info-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 17px;
  color: var(--mrm-magenta);
  background-color: var(--mrm-yellow);
  box-shadow: 0 0 0 4px rgba(255, 241, 0, 0.2);
}
.header-info-content {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.info-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.info-value {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}
a.info-value:hover {
  color: var(--mrm-yellow);
}
.header-trust-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 62px;
  padding: 4px 8px;
  border-radius: 10px;
  background-color: #ffffff;
}
.school-middle-header .mobile-nav__btn span {
  background-color: #ffffff;
}
.school-middle-header .mobile-nav__btn:hover span {
  background-color: var(--mrm-yellow);
}
/* working hours item shows only on wide screens so the row never wraps */
@media (max-width: 1599px) {
  .header-main-logo {
    max-height: 76px;
  }
  .school-header-info .header-info-item.d-xl-flex {
    display: none !important;
  }
}
@media (max-width: 1399px) {
  .header-main-logo {
    max-height: 68px;
  }
  .header-info-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
  }
  .info-value {
    font-size: 14px;
  }
  .info-label {
    font-size: 10.5px;
  }
}
@media (max-width: 1199px) {
  .header-main-logo {
    max-height: 54px;
  }
  .school-middle-header .school-header-info.gap-4 {
    gap: 16px !important;
  }
  .school-middle-header .header-info-item.gap-3 {
    gap: 10px !important;
  }
  .header-info-icon {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .header-trust-logo {
    max-height: 50px;
  }
}
@media (max-width: 991px) {
  .header-main-logo {
    max-height: 64px;
  }
}
@media (max-width: 575px) {
  .header-main-logo {
    max-height: 56px;
  }
}

/* 3.3 Navigation bar */
.school-nav-bar {
  position: relative;
  z-index: 999;
  background-color: #ffffff;
  border-bottom: 3px solid var(--mrm-yellow);
  box-shadow: 0 8px 24px rgba(10, 32, 79, 0.08);
}
.school-nav-bar.sticky-header--cloned {
  position: fixed;
}
@media (min-width: 992px) {
  .school-nav-bar .main-menu .main-menu__list,
  .school-nav-bar .main-menu .main-menu__list ul {
    display: flex;
  }
}
.school-nav-bar .main-menu .main-menu__list > li {
  padding-top: 18px;
  padding-bottom: 18px;
}
.school-nav-bar .main-menu .main-menu__list > li + li {
  margin-left: 35px;
}
.school-nav-bar .main-menu .main-menu__list > li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background-color: var(--mrm-magenta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 400ms ease;
}
.school-nav-bar .main-menu .main-menu__list > li.current::before,
.school-nav-bar .main-menu .main-menu__list > li:hover::before {
  transform: scaleX(1);
}
.school-nav-bar .main-menu .main-menu__list > li > a {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--mrm-ink);
  transition: color 250ms ease;
}
.school-nav-bar .main-menu .main-menu__list > li.dropdown > a::after {
  color: var(--mrm-ink);
}
.school-nav-bar .main-menu .main-menu__list > li.current > a,
.school-nav-bar .main-menu .main-menu__list > li:hover > a,
.school-nav-bar .main-menu .main-menu__list > li.current > a::after,
.school-nav-bar .main-menu .main-menu__list > li.dropdown:hover > a::after {
  color: var(--mrm-magenta);
}

/* First-level Dropdowns */
.school-nav-bar .main-menu .main-menu__list li ul {
  min-width: 270px;
  padding: 12px;
  border-top: 3px solid var(--mrm-magenta);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 50px rgba(10, 32, 79, 0.16);
  background-color: #ffffff;
}
.school-nav-bar .main-menu .main-menu__list li ul li {
  position: relative;
}
.school-nav-bar .main-menu .main-menu__list li ul li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--mrm-ink);
  transition: all 200ms ease;
}
.school-nav-bar .main-menu .main-menu__list li ul li.current > a,
.school-nav-bar .main-menu .main-menu__list li ul li:hover > a {
  color: #ffffff;
  background-color: var(--mrm-magenta);
}
.school-nav-bar .main-menu .main-menu__list li ul li.dropdown > a::after {
  content: "\f054";
  font-family: "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  font-size: 11px;
  margin-left: 10px;
  color: var(--mrm-magenta);
  transition: all 200ms ease;
}
.school-nav-bar .main-menu .main-menu__list li ul li.dropdown:hover > a::after {
  color: #ffffff;
  transform: translateX(2px);
}

/* Nested Flyout Dropdowns (e.g. Management inside About Us) */
.school-nav-bar .main-menu .main-menu__list li ul li > ul {
  position: absolute;
  top: 0;
  left: 100% !important;
  margin-top: -8px;
  min-width: 290px;
  padding: 12px;
  border-top: 3px solid var(--mrm-magenta);
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 18px 50px rgba(10, 32, 79, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 250ms ease;
}
.school-nav-bar .main-menu .main-menu__list li ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Nav CTA Button */
.nav-apply-pill-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #ffffff;
  background-color: var(--mrm-magenta);
  box-shadow: 0 8px 18px rgba(16, 49, 120, 0.28);
  transition: all 300ms ease;
}
.nav-apply-pill-btn i {
  color: var(--mrm-yellow);
  transition: color 300ms ease;
}
.nav-apply-pill-btn:hover {
  color: var(--mrm-magenta);
  background-color: var(--mrm-yellow);
}
.nav-apply-pill-btn:hover i {
  color: var(--mrm-magenta);
}

/* Responsive Breakpoints for Menu - Relaxed & Never Cramped */
@media (min-width: 1200px) and (max-width: 1399px) {
  .school-nav-bar .main-menu .main-menu__list > li + li {
    margin-left: 22px;
  }
  .school-nav-bar .main-menu .main-menu__list > li > a {
    font-size: 15px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .school-nav-bar .main-menu .main-menu__list > li {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .school-nav-bar .main-menu .main-menu__list > li + li {
    margin-left: 10px;
  }
  .school-nav-bar .main-menu .main-menu__list > li > a {
    font-size: 13.5px;
  }
  .nav-apply-pill-btn {
    padding: 8px 14px;
    font-size: 12.5px;
  }
}
@media (max-width: 991px) {
  .school-nav-bar {
    padding: 10px 0;
  }
  .school-nav-bar > .container-fluid > .d-flex {
    justify-content: flex-end !important;
  }
}
@media (max-width: 767px) {
  .school-nav-bar {
    display: none;
  }
}

/* Mobile Nav nested styling */
.mobile-nav__container .main-menu__list li ul li ul {
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  margin-top: 4px;
}

/* 3.4 Mobile menu (same markup) */
.mobile-nav__content {
  background-color: #0a204f;
}
.mobile-nav__content .logo-box {
  padding: 14px;
  border-radius: 10px;
}
.mobile-nav__content .logo-box img {
  max-width: 100%;
  height: auto;
}
.mobile-nav__close:hover {
  color: var(--mrm-yellow);
}
.mobile-nav__content .main-menu__list li a.expanded {
  color: var(--mrm-yellow);
}
.mobile-nav__contact li {
  gap: 12px;
}
.mobile-nav__contact li i.text-warning {
  width: 18px;
  color: var(--mrm-yellow) !important;
}
.mobile-nav__contact li a {
  word-break: break-all;
}
.mobile-nav__contact li a:hover {
  color: var(--mrm-yellow);
}
.mobile-nav__social {
  display: flex;
  gap: 10px;
}
.mobile-nav__social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 15px;
  color: #ffffff;
  background-color: var(--mrm-magenta);
  transition: all 300ms ease;
}
.mobile-nav__social a:hover {
  color: var(--mrm-magenta);
  background-color: var(--mrm-yellow);
}

/* -------------------------------------------------------------------------
   4. Global readability fixes (logo yellow is lighter than template gold)
   ------------------------------------------------------------------------- */
.sec-title__tagline {
  color: var(--mrm-magenta);
  font-weight: 700;
}
.client-carousel__title span,
.hero-slider__carousel .findox-owl__carousel__counter__current,
.testimonials-one__carousel .findox-owl__carousel__counter__current,
.testimonials-one__item__quote span,
.solution-one__list a:hover,
.services-two__bottom__icon,
.features-two__card:hover .features-two__card__icon {
  color: var(--mrm-magenta);
}
.faq-accordion .accordion-title__icon::before,
.faq-accordion .accordion-title__icon::after {
  background-color: var(--mrm-magenta);
}
.custom-cursor__cursor {
  border-color: var(--mrm-magenta);
}

/* -------------------------------------------------------------------------
   5. HERO SLIDER (index-2 hero-slider)
   ------------------------------------------------------------------------- */
/* masks bundled in assets/images/mrm so the page never depends on missing template files */
.hero-slider__image__inner {
  -webkit-mask-image: url("../images/mrm/hero-slider-image-shape-1-1.png");
  mask-image: url("../images/mrm/hero-slider-image-shape-1-1.png");
}
.hero-slider__image__main {
  -webkit-mask-image: url("../images/mrm/hero-slider-image-shape-1-2.png");
  mask-image: url("../images/mrm/hero-slider-image-shape-1-2.png");
}
.hero-slider__shape-2 {
  -webkit-mask-image: url("../images/mrm/hero-slider-shape-1-3.png");
  mask-image: url("../images/mrm/hero-slider-shape-1-3.png");
}
.solution-one::before {
  -webkit-mask-image: url("../images/mrm/solution-bg-sgape-1-1.png");
  mask-image: url("../images/mrm/solution-bg-sgape-1-1.png");
}
.hero-slider__item {
  padding: 95px 0 92px;
}
@media (max-width: 1199px) {
  .hero-slider__item {
    padding: 70px 0 135px;
  }
}
@media (max-width: 767px) {
  .hero-slider__item {
    padding: 55px 0 125px;
  }
}
.hero-slider__bg::after {
  background-color: rgba(var(--findox-base-rgb), 0.93);
}
.hero-slider__tagline img.hero-slider__tagline__image {
  width: 151px !important;
  height: 60px;
  object-fit: cover;
}
.hero-slider__image__main img {
  height: auto;
  aspect-ratio: 743 / 619;
  object-fit: cover;
}
.hero-slider__earning__icon {
  font-size: 24px;
  color: var(--mrm-magenta);
}
.hero-slider__earning__amount {
  font-size: 19px;
  font-weight: 700;
  color: var(--mrm-magenta);
}
.hero-slider__image__chart.mrm-hero-chart {
  width: 238px !important;
  display: block !important;
  padding: 8px;
  background-color: #ffffff;
  box-shadow: 0 14px 34px rgba(10, 32, 79, 0.18);
}
@media (max-width: 575px) {
  .hero-slider__image__chart.mrm-hero-chart {
    display: none !important;
  }
}
.mrm-hero-chart__inner {
  padding: 12px 14px 8px;
  border-radius: 14px;
  border: 1.5px dashed rgba(var(--findox-base-rgb), 0.55);
}
.mrm-hero-chart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mrm-hero-chart__title {
  font-family: var(--findox-heading-font, "Sora", sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--mrm-ink);
}
.mrm-hero-chart__badge {
  position: relative;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--mrm-magenta);
}
.mrm-hero-chart__badge::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 5px 5px 0 5px;
  border-color: var(--mrm-magenta) transparent transparent transparent;
}
.mrm-hero-chart__line {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
  overflow: visible;
}
.mrm-hero-chart__base {
  stroke: rgba(var(--findox-base-rgb), 0.18);
  stroke-width: 1.5;
}
.mrm-hero-chart__wave {
  fill: none;
  stroke: var(--mrm-magenta);
  stroke-width: 3;
  stroke-linecap: round;
}
.mrm-hero-chart__marker {
  stroke: var(--mrm-ink);
  stroke-width: 1.2;
  stroke-dasharray: 2 2.5;
}
.mrm-hero-chart__dot {
  fill: var(--mrm-yellow);
  stroke: var(--mrm-magenta);
  stroke-width: 2;
}

/* -------------------------------------------------------------------------
   6. ABOUT (index-2 about-two)
   ------------------------------------------------------------------------- */
.about-two__image__inner img {
  width: 541px;
  max-width: 100%;
  aspect-ratio: 541 / 592;
  object-fit: cover;
}
.about-two__experience {
  width: 142px;
}
.about-two__item__image.mrm-arrow-frame {
  width: 287px;
  height: 227px;
  padding: 6px;
  background-color: #ffffff;
  -webkit-clip-path: polygon(34.5% 0, 67.6% 0, 67.6% 22%, 100% 22%, 100% 77.6%, 67.6% 77.6%, 67.6% 100%, 34.5% 100%, 0 50%);
  clip-path: polygon(34.5% 0, 67.6% 0, 67.6% 22%, 100% 22%, 100% 77.6%, 67.6% 77.6%, 67.6% 100%, 34.5% 100%, 0 50%);
}
.mrm-arrow-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-clip-path: polygon(34.5% 0, 67.6% 0, 67.6% 22%, 100% 22%, 100% 77.6%, 67.6% 77.6%, 67.6% 100%, 34.5% 100%, 0 50%);
  clip-path: polygon(34.5% 0, 67.6% 0, 67.6% 22%, 100% 22%, 100% 77.6%, 67.6% 77.6%, 67.6% 100%, 34.5% 100%, 0 50%);
}
.active-user img {
  object-fit: cover;
}

/* -------------------------------------------------------------------------
   7. TESTIMONIALS → Vision / Mission / Commitment (index-2 testimonials-one)
   ------------------------------------------------------------------------- */
.testimonials-one__item__image img {
  object-fit: cover;
}
.testimonials-one__item__icon path:nth-child(2),
.testimonials-one__item__icon path:nth-child(4) {
  stroke: none;
}
.testimonials-one__item .findox-ratings.mrm-ratings {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  white-space: nowrap;
  background-color: #ffffff;
  border-color: var(--mrm-magenta);
}
.mrm-ratings .findox-ratings__icon {
  font-size: 16px;
  color: var(--mrm-magenta);
}
.mrm-ratings__label {
  font-family: var(--findox-heading-font, "Sora", sans-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mrm-ink);
}

/* -------------------------------------------------------------------------
   8. CLIENT CAROUSEL → School highlights (index-2 client-carousel)
   ------------------------------------------------------------------------- */
.client-carousel::before,
.client-carousel::after {
  width: calc(50% - 275px);
}
.client-carousel__item.mrm-client-item {
  padding: 14px 12px;
}
.mrm-client-item .client-carousel__hover {
  padding: 14px 12px;
  border-color: var(--mrm-magenta);
}
.mrm-client-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--findox-heading-font, "Sora", sans-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  color: #4a5b7d;
}
.mrm-client-label i {
  font-size: 20px;
  color: #8c9cb8;
}
.mrm-client-label--hover,
.mrm-client-label--hover i {
  color: var(--mrm-magenta);
}

/* -------------------------------------------------------------------------
   9. SERVICES → Academic programmes (index-2 services-two)
   ------------------------------------------------------------------------- */
.service-card-two__number::before {
  -webkit-text-stroke-color: var(--mrm-magenta);
}
.service-card-two:hover .service-card-two__number::before {
  -webkit-text-stroke-color: #ffffff;
}
.service-card-two__icon {
  font-size: 34px;
}
/* equal-height programme cards */
.services-two__carousel .owl-stage {
  display: flex;
}
.services-two__carousel .owl-item {
  display: flex;
}
.services-two__carousel .owl-item > .item {
  display: flex;
  width: 100%;
}
.services-two__carousel .service-card-two {
  width: 100%;
}

/* -------------------------------------------------------------------------
   10. FAQ (index-2 faq-one)
   ------------------------------------------------------------------------- */
@media (min-width: 992px) {
  .faq-one__image img {
    width: 766px;
    max-width: none;
    height: auto;
    aspect-ratio: 766 / 855;
    object-fit: cover;
  }
}
@media (max-width: 991px) {
  .faq-one__image img {
    width: 100%;
    aspect-ratio: 766 / 855;
    object-fit: cover;
  }
}
.faq-one__shape img {
  height: 100%;
  object-fit: cover;
}

/* -------------------------------------------------------------------------
   11. FEATURES → Facilities (index-2 features-two)
   ------------------------------------------------------------------------- */
.features-two__card__icon {
  font-size: 40px;
}
@media (min-width: 576px) {
  .features-two__card__title {
    min-height: 2.6em;
  }
  .features-two__card__text {
    min-height: 4.9em;
  }
}

/* -------------------------------------------------------------------------
   12. SOLUTION → Admissions (index-2 solution-one)
   ------------------------------------------------------------------------- */
.solution-one__image__one img {
  width: 498px;
  max-width: 100%;
  aspect-ratio: 498 / 617;
  object-fit: cover;
}
.solution-one__chat {
  color: inherit;
}
.solution-one__chat__icon {
  font-size: 24px;
}

/* -------------------------------------------------------------------------
   13. BLOG → Campus news & events (index-2 blog-two)
   ------------------------------------------------------------------------- */
.blog-card-two--normal .blog-card-two__image img {
  height: auto;
  aspect-ratio: 570 / 356;
  object-fit: cover;
}

/* -------------------------------------------------------------------------
   14. CONTACT → Admission enquiry (index-2 contact-one)
   ------------------------------------------------------------------------- */
.contact-one__info__inner {
  max-width: 100%;
}
.contact-one__info__content {
  min-width: 0;
}
.contact-one__info__text {
  overflow-wrap: anywhere;
}
.contact-one__info__text.mrm-email {
  font-size: 15px;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .contact-one__info li:nth-child(even) {
    margin-left: 30px;
  }
}
.mrm-form-result {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.mrm-form-result:empty {
  display: none;
}
.mrm-form-result.is-error {
  color: #c4001d;
}
.mrm-form-result.is-success {
  color: #0b7a35;
}
.contact-one .form-one input.is-invalid {
  border-color: #c4001d !important;
}

/* -------------------------------------------------------------------------
   15. FOOTER (COMPACT SPACING & HIGH-VISIBILITY SOCIAL - ALL PAGES)
   ------------------------------------------------------------------------- */
/* 1. Newsletter Box (Compact & Balanced) */
.main-footer--two .main-footer__logo {
  background-color: var(--mrm-magenta-deep);
  padding: 20px 28px !important;
}
.main-footer--two .main-footer__logo img {
  width: 230px !important;
  max-width: 100%;
  height: auto;
}
.main-footer--two .main-footer__newsletter {
  margin-bottom: 28px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}
.main-footer--two .main-footer__newsletter__title {
  font-size: 20px !important;
  line-height: 1.3 !important;
}

/* 2. Top & Bottom Padding Overrides (Compact Spacing across all pages) */
.main-footer,
.main-footer--two {
  position: relative;
}
.main-footer__top,
.main-footer--two .main-footer__top {
  padding-top: 0 !important;
  padding-bottom: 26px !important;
}
.main-footer .row.gutter-y-40 {
  --bs-gutter-y: 20px !important;
}
.footer-widget__title {
  margin-bottom: 14px !important;
  font-size: 20px !important;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.footer-widget__text {
  margin-bottom: 12px !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}
.footer-widget__links li + li {
  margin-top: 6px !important;
}
.footer-widget__links li {
  font-size: 14.5px !important;
}
.footer-widget--links,
.footer-widget--blog {
  margin-top: 0 !important;
}
.footer-widget__blog__image img {
  height: 76px;
  object-fit: cover;
}
.main-footer--two .mc-form__response {
  margin-top: 10px;
  font-size: 15px;
  color: #ffffff;
}
.main-footer--two .mc-form__response.is-error {
  color: var(--mrm-yellow);
}

/* 3. Bottom Bar Compact Spacing */
.main-footer__bottom__inner {
  padding: 14px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
  gap: 16px 24px !important;
}
.main-footer__copyright {
  font-size: 14.5px !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

/* 4. Follow Us & Social Icons (Crystal Clear High Contrast) */
.main-footer .mrm-footer-social {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}
.main-footer .mrm-footer-social > span {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}
.main-footer .mrm-footer-social > span::after {
  content: ":";
  margin-left: 3px;
  color: var(--mrm-yellow, #ffb606) !important;
  font-weight: 800 !important;
}
.main-footer .mrm-footer-social .social-links {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
}
.main-footer .mrm-footer-social .social-links a {
  width: 36px !important;
  height: 36px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}
.main-footer .mrm-footer-social .social-links a .social-links__icon,
.main-footer .mrm-footer-social .social-links a i {
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.main-footer .mrm-footer-social .social-links a:hover {
  background: var(--mrm-yellow, #ffb606) !important;
  border-color: var(--mrm-yellow, #ffb606) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(255, 182, 6, 0.45) !important;
}
.main-footer .mrm-footer-social .social-links a:hover .social-links__icon,
.main-footer .mrm-footer-social .social-links a:hover i {
  color: #0a204f !important;
}
.footer-widget--about .social-links a:hover .social-links__icon {
  color: var(--mrm-magenta);
}

/* 5. Even & Balanced Footer Column Spacing (Desktop & Laptop) */
@media (min-width: 1200px) {
  .main-footer .container > .row.gutter-y-40,
  .main-footer__top .container > .row {
    display: grid !important;
    grid-template-columns: 1.4fr 0.8fr 1.5fr !important;
    gap: 60px !important;
    justify-content: space-between !important;
    align-items: start !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
  }
  .main-footer .container > .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 991px) {
  .main-footer__top,
  .main-footer--two .main-footer__top {
    padding-bottom: 22px !important;
  }
  .main-footer--two .main-footer__newsletter {
    margin-bottom: 22px !important;
  }
  .main-footer__bottom__inner {
    padding: 16px 0 !important;
    gap: 14px !important;
  }
  .main-footer .mrm-footer-social {
    justify-content: center !important;
  }
}

/* -------------------------------------------------------------------------
   16. COMPACT SECTION SPACING OVERRIDES
   ------------------------------------------------------------------------- */
:root {
  --section-space: 38px !important;
}
.section-space {
  padding-top: 38px !important;
  padding-bottom: 38px !important;
}
.section-space-t {
  padding-top: 38px !important;
}
.section-space-b {
  padding-bottom: 38px !important;
}
@media (max-width: 991px) {
  :root {
    --section-space: 26px !important;
  }
  .section-space {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }
  .section-space-t {
    padding-top: 26px !important;
  }
  .section-space-b {
    padding-bottom: 26px !important;
  }
}

/* -------------------------------------------------------------------------
   17. TEACHERS PAGE - 4 PILLARS OF TEACHING (2x2 CARD GRID)
   ------------------------------------------------------------------------- */
.mi-pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 767px) {
  .mi-pillar-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.mi-pillar-card {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 26px;
  border: 1px solid rgba(16, 49, 120, 0.08);
  box-shadow: 0 10px 30px -10px rgba(10, 32, 79, 0.08);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  gap: 22px;
  align-items: flex-start;
  overflow: hidden;
}
.mi-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--mrm-navy, #103178);
  transition: background 0.3s ease, width 0.3s ease;
}
.mi-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -12px rgba(10, 32, 79, 0.16);
  border-color: rgba(245, 179, 1, 0.4);
}
.mi-pillar-card:hover::before {
  background: var(--mrm-yellow, #f5b301);
  width: 6px;
}
.mi-pillar-card__icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 14px;
  background: #edf2fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--mrm-navy, #103178);
  transition: all 0.35s ease;
}
.mi-pillar-card:hover .mi-pillar-card__icon {
  background: var(--mrm-yellow, #f5b301);
  color: #0a204f;
  transform: scale(1.08) rotate(3deg);
}
.mi-pillar-card__content {
  flex: 1;
}
.mi-pillar-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.mi-pillar-card__num {
  font-size: 13px;
  font-weight: 800;
  color: var(--mrm-yellow, #f5b301);
  background: rgba(245, 179, 1, 0.14);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.mi-pillar-card__title {
  font-size: 19px;
  font-weight: 700;
  color: #0a204f;
  margin: 0 0 10px;
  line-height: 1.35;
}
.mi-pillar-card__text {
  font-size: 15px;
  line-height: 1.65;
  color: #536173;
  margin: 0;
}

/* Compact spacing for Vision & Mission section */
.testimonials-one.section-space {
  padding-top: 20px !important;
}
.finance-growth.section-space {
  padding-bottom: 26px !important;
}
@media (max-width: 991px) {
  .testimonials-one.section-space {
    padding-top: 16px !important;
  }
  .finance-growth.section-space {
    padding-bottom: 20px !important;
  }
}

/* =========================================================================
   PARAGRAPH JUSTIFICATION (Site-wide)
   ========================================================================= */
p {
  text-align: justify;
  text-justify: inter-word;
}

/* Retain center/left/right alignments where explicitly required */
.text-center,
.text-center p,
.mi-center,
.mi-center p,
.mi-center .mi-lead,
.sec-title--center,
.sec-title--center p,
.mi-profile-card__meta,
.mi-profile-card__meta p,
.funfact__item__title,
.active-user__text,
.mrm-loader__pct {
  text-align: center !important;
}

.sec-title__tagline,
.text-start,
.text-start p {
  text-align: left;
}

.text-end,
.text-end p {
  text-align: right;
}

/* Hide event card badges (20 photos, 7 videos, etc.) */
.mi-event__count {
  display: none !important;
}

