/* Header top: padding, layout and parallel alignment */
.header-top-one-wrapper {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Both sides to corners: content at left and right edges */
.header-top-one-wrapper .container {
  padding-left: 10px;
  padding-right: 10px;
}

.header-top-one-wrapper .header-top-one {
  align-items: center;
}

.header-top-one-wrapper .left-information {
  padding: 4px 0;
  align-items: center;
  line-height: 1.4;
  margin-left: 0;
}

/* Phone/email icons and text white on dark header */
.header-top-one-wrapper .left-information a,
.header-top-one-wrapper .left-information .email,
.header-top-one-wrapper .left-information .email a {
  color: #fff !important;
}

.header-top-one-wrapper .left-information i,
.header-top-one-wrapper .left-information .email i {
  color: #fff !important;
  border: 1px solid #fff !important;
  font-size: 14px;
  padding: 8px;
  border-radius: 50%;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.header-top-one-wrapper .right-information {
  padding: 4px 0;
  align-items: center;
  line-height: 1.4;
  margin-right: 0;
}

.header-top-one-wrapper .center-information {
  padding: 4px 0;
  align-items: center;
  line-height: 1.4;
}

/* Header top: center marquee (admissions) - same line as contact */
.header-top-one-wrapper .center-information {
  flex: 1;
  min-width: 0;
  margin: 0 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.header-top-one-wrapper .header-marquee-link {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 24px;
  overflow: hidden;
}

.header-top-one-wrapper .header-admission-marquee {
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  display: inline-block;
}

/* Keep marquee and contact on same baseline */
.header-top-one-wrapper .left-information a,
.header-top-one-wrapper .center-information .header-marquee-link {
  display: inline-flex;
  align-items: center;
}

/* Header top: Upcoming Events, Career, Admissions on the right */
.header-top-one-wrapper .right-information .social-area {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-top-one-wrapper .right-information .social-area li {
  list-style: none;
  margin: 0;
}

/* Frame style for Upcoming Events, Career, Admissions buttons */
.header-top-one-wrapper .upcoming-events-box {
  font-size: 15px !important;
  padding: 8px 18px;
  color: #fff !important;
  background-color: #e7ad28;
  border: 2px solid #d4a020;
  border-radius: 6px;
  box-shadow: 4px 4px 0 0 #000;
  font-weight: 600;
  text-transform: uppercase;
}

.header-top-one-wrapper .upcoming-events-box:hover {
  background-color: #c99720;
  color: #fff !important;
  border-color: #b8860b;
  box-shadow: 4px 4px 0 0 #000;
}

/* News & Events nav link: no text wrap */
.main-nav-one .nav-link-nowrap {
  white-space: nowrap;
}

/* Nav dropdown arrow icon: use Font Awesome 6 so icon displays */
.main-nav-one ul li.has-dropdown>a::before {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  content: "\f078" !important;
}

/* Menu font size increase */
.main-nav-one ul li>a,
.main-nav-one ul li a.nav-link {
  font-size: 16px !important;
}

.icon {
  height: 128px;
  width: 128px;
}

.highlight {
  background: #ffffff;
  border-left: 6px solid #292967;
  padding: 1.2rem;
  margin-bottom: 2rem;
  font-size: 16px;
}

.highlight-one {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #e7ad28;
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem auto;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.highlight-two {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 4px solid #e7ad28;
  background-color: #fff;
  border-radius: 8px;
  padding: 1.8rem;
  margin: 2rem auto;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Theme background for Vision/Mission/Motto/Core Values section */
.rts-counter-up-area.area-2 {
  background-image: linear-gradient(180deg, rgba(41, 34, 102, 0.10) 0%, rgba(245, 240, 250, 0.95) 40%, #f5f0fa 100%) !important;
  background-color: #f5f0fa !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  padding: 25px 0 !important;
}

/* Remove the dark overlay from the template background */
.rts-counter-up-area.area-2::after {
  background: transparent !important;
}

/* Make cards match theme (subtle border + softer shadow) */
.rts-counter-up-area.area-2 .highlight-two {
  border: 1px solid rgba(41, 41, 103, 0.12);
  box-shadow: 0 10px 26px rgba(41, 41, 103, 0.12);
}

.rts-counter-up-area.area-2 .highlight-two:hover {
  box-shadow: 0 14px 34px rgba(41, 41, 103, 0.18);
}

/* Vision / Mission / Motto / Core Values – card animations */
@keyframes vmCardSlideUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vmCardSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes vmCardZoom {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes vmCardSlideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.rts-counter-up-area.area-2 .row>.col-lg-3:nth-child(1) .about-content {
  animation: vmCardSlideLeft 0.55s ease-out forwards;
}

.rts-counter-up-area.area-2 .row>.col-lg-3:nth-child(2) .about-content {
  animation: vmCardSlideUp 0.55s ease-out 0.12s forwards;
  opacity: 0;
}

.rts-counter-up-area.area-2 .row>.col-lg-3:nth-child(3) .about-content {
  animation: vmCardZoom 0.55s ease-out 0.24s forwards;
  opacity: 0;
}

.rts-counter-up-area.area-2 .row>.col-lg-3:nth-child(4) .about-content {
  animation: vmCardSlideRight 0.55s ease-out 0.36s forwards;
  opacity: 0;
}

.rts-counter-up-area.area-2 .highlight-two {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rts-counter-up-area.area-2 .highlight-two:hover {
  transform: translateY(-5px);
}

/* About Royal Vidyalaya – School & Trust section: theme background */
.about-section.rts-about-area.primary-bg.bg-section2 {
  background-color: #292967 !important;
  background-image: linear-gradient(160deg, #292967 0%, #311136 50%, #251a3b 100%) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
}

.news-info .card {
  box-shadow: none;
  margin-bottom: 10px;
  padding: 30px 15px 10px;
}

.news-info .card h3,
.news-info .card p {
  color: #f3f1f1;
}

.news-info .stars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.news-info .card h3 {
  line-height: 0;
}

.footer-quote {
  text-align: center;
  font-style: italic;
  margin: 3rem 0 1.5rem;
  font-size: 20px;
  color: #252525;
}

.footer-note {
  text-align: center;
  color: #252525;
  margin-bottom: 2.5rem;
}

.bg-one {
  background: #292967;
}

/* Primary variant */
.bg-two {
  background: #1e1e4a;
}

/* Deep Indigo Blue */
.bg-three {
  background: #311b92;
}

/* Regal Purple */
.bg-four {
  background: #27a098;
}

/* Amethyst Violet */
.bg-five {
  background: #4a148c;
}

/* Dark Majesty Purple */
.bg-six {
  background: #6a1b9a;
}

/* Royal Orchid */
.bg-seven {
  background: #512da8;
}

/* Deep Lavender */
.bg-eight {
  background: #3949ab;
}

/* Sapphire Blue */
.bg-nine {
  background: #1565c0;
}

/* Rich Cobalt */
.bg-ten {
  background: #2e7d32;
}

/* Deep Emerald Green */
.bg-eleven {
  background: #1b5e20;
}

/* Dark Forest Green */
.bg-twelve {
  background: #1cb7b2;
}

/* Deep Crimson */
.bg-thirteen {
  background: #880e4f;
}

/* Royal Wine */
.bg-fourteen {
  background: #ad1457;
}

/* Mulberry Jewel */
.bg-fifteen {
  background: #b2c628;
}

/* Ruby Red */
.bg-sixteen {
  background: #9c27b0;
}

/* Regal Lilac */
.highlight ul {
  list-style-type: disc;
  padding-left: 2rem;
  margin: 1rem 0;
}

.highlight ul li {
  margin-bottom: 0.5rem;
}

.highlight-alt {
  background: linear-gradient(135deg, #fff5e6, #f7f0fa);
  border-left: 8px solid #9b59b6;
  /* royal purple accent */
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.highlight-alt h2,
.highlight-alt h3 {
  color: #6a1b9a;
  /* deep royal purple */
  margin-top: 0;
}

.highlight-alt-one {
  background: #4b2e83;
  /* deep royal purple */
  border-left: 6px solid #f1c40f;
  /* rich gold accent */
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.highlight-alt-one h2,
.highlight-alt-one h3 {
  color: #f9e79f;
  /* soft gold text */
  margin-top: 0;
}

.highlight-alt-one p,
.highlight-alt-one li {
  color: #f8f9f9;
  /* almost white for contrast */
  line-height: 1.8;
}

.highlight-alt-one ul {
  padding-left: 1.2rem;
}

.highlight-alt-two {
  background: linear-gradient(135deg, #5c2a9d, #8e44ad);
  /* plum gradient */
  color: #fdf6ee;
  /* royal cream text */
  padding: 2.8rem;
  margin: 2rem 0;
  border-radius: 1.5rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-alt-two h2,
.highlight-alt-two h3 {
  color: #ffdd7f;
  /* soft regal gold headings */
  margin-top: 0;
}

.highlight-alt-two p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #fff;
  font-size: 16px;

}

.highlight-alt-two ul {
  list-style: circle inside;
  margin-top: 1rem;
}

.highlight-alt-two li {
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 15px;
}

.highlight-election td {
  color: #fff;
}

.highlight-election {
  background: rgba(19, 30, 74, 0.95);
  /* deep royal navy with slight transparency */
  color: #f5e8c7;
  /* warm soft gold text */
  padding: 3rem;
  margin: 2.5rem 0;
  border-left: 8px solid #e7ad28;
  /* gold accent line */
  border-radius: 1.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

.highlight-election h2,
.highlight-election h3 {
  color: #e7ad28;
  /* bright gold headings */
  font-family: 'Merriweather', serif;
  margin-top: 0;
}

.highlight-election p {
  color: #fff;
  line-height: 1.9;
  font-size: 15px
}

.highlight-election ul {
  margin-top: 1.5rem;
  list-style: square inside;
}

.highlight-election li {
  margin-bottom: 0.8rem;
  color: #fff;
}

.highlight-election strong {
  color: #ffeb7a;
}

.rvvm-header .rvvm-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(231, 173, 40, 0.55);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.rvvm-grid .rvvm-card {
  height: 100%;
  padding: 22px 22px 20px;
  border-radius: 18px;
  border: 1px solid rgba(231, 173, 40, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.rvvm-card__top {
  margin-bottom: 14px;
}

.rvvm-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #0c1634;
  background: linear-gradient(135deg, #ffeb7a, #e7ad28);
  box-shadow: 0 8px 18px rgba(231, 173, 40, 0.25);
}

.rvvm-pill i {
  color: rgba(12, 22, 52, 0.9);
}

.rvvm-list,
.rvvm-values {
  list-style: none;
  padding-left: 0;
}

.rvvm-list li,
.rvvm-values li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.rvvm-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffeb7a;
  font-weight: 800;
}

.rvvm-values li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: #e7ad28;
  font-size: 12px;
  transform: translateY(2px);
}

.rvvm-card--motto {
  border-color: rgba(255, 235, 122, 0.45);
  background: radial-gradient(120% 120% at 20% 10%, rgba(255, 235, 122, 0.18), rgba(255, 255, 255, 0.02));
}

.highlight-yellow {
  background: linear-gradient(135deg, #f8f7e4, #ecefd1);
  color: #000;
  padding: 3rem;
  margin: 2.5rem 0;
  border-left: 10px solid #d29f08;
  border-radius: 1.75rem;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.highlight-blue {
  background: linear-gradient(135deg, #e4eff8, #d1e5ef);
  color: #000;
  padding: 3rem;
  margin: 2.5rem 0;
  border-left: 10px solid #007bb5;
  border-radius: 1.75rem;
  box-shadow: 0 8px 6px rgb(2 45 65);

}

.highlight-white {
  background: linear-gradient(135deg, #ffffff, #ffffff);
  color: #2e562e;
  padding: 3rem;
  margin: 2.5rem 0;
  border-left: 10px solid #e7ad28;
  border-radius: 1.75rem;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.highlight-green {
  background: linear-gradient(135deg, #ffffff, #f5fff5);
  color: #2e562e;
  padding: 3rem;
  margin: 2.5rem 0;
  border-left: 10px solid #4caf50;
  border-radius: 1.75rem;
  box-shadow: 0 8px 20px rgb(2 30 3 / 30%);
}

.highlight-green h2,
.highlight-green h3 {
  color: #1b5e20;

  margin-top: 0;
}

.highlight-green p {
  line-height: 1.9;
}

.highlight-green ul {
  margin-top: 1.5rem;
  list-style: '🌿 ';
  padding-left: 1rem;
}

.highlight-green li {
  margin-bottom: 0.8rem;
  text-align: justify;

}

.highlight-green strong {
  color: #2e7d32;
}

.highlight-green em {
  color: #388e3c;
  font-style: normal;
  font-weight: 600;
}

/* Admission section – animation */
@keyframes admissionTitleIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes admissionContentIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes admissionImageIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.admission-section .admission-title {
  animation: admissionTitleIn 0.55s ease-out forwards;
}

.admission-section .admission-intro {
  animation: admissionContentIn 0.6s ease-out 0.15s forwards;
  opacity: 0;
}

.admission-section .admission-image-wrap {
  opacity: 0;
  animation: admissionImageIn 0.6s ease-out 0.25s forwards;
}

/* Facilities section – match other sections (Vision/Mission, About) font & size */
.facilities-section {
  background: linear-gradient(180deg, #f5f0fa 0%, #ebe5f5 50%, #f0ebf8 100%);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.facilities-main-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.23;
  color: #292967;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.facilities-intro {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  text-align: justify;
}

.facility-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(41, 41, 103, 0.12);
  border-radius: 1.25rem;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid #e7ad28;
}

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

.facility-card-img {
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #f0f0f0;
}

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

.facility-title {
  font-size: 28px;
  font-weight: 700;
  color: #292967;
  margin: 0;
  padding: 1rem 1.25rem;
  line-height: 1.3;
}

.facility-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin: 0;
  text-align: justify;
}

@media (max-width: 1200px) {
  .facilities-main-title {
    font-size: 36px;
    line-height: 1.1;
  }
}

@media (max-width: 450px) {
  .facilities-main-title {
    font-size: 24px;
  }

  .facility-title {
    font-size: 22px;
  }
}

.facilities-carousel-wrap {
  position: relative;
  padding: 0 0 40px;
}

.facilities-carousel {
  overflow: hidden;
}

.facilities-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.facilities-carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.facilities-carousel-slide .row {
  margin: 0 -0.5rem;
}

.facilities-carousel-slide .row>[class*="col-"] {
  padding: 0 0.5rem;
}

.facilities-carousel-single .facilities-carousel-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.facilities-carousel-single .facilities-carousel-slide .facility-card {
  max-width: 720px;
  width: 100%;
}

.facilities-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #292967;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.facilities-carousel-btn:hover {
  background: #292967;
  color: #fff;
}

.facilities-carousel-prev {
  left: 0;
}

.facilities-carousel-next {
  right: 0;
}

.facilities-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.facilities-carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(41, 41, 103, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.facilities-carousel-dots .dot:hover {
  background: rgba(41, 41, 103, 0.6);
}

.facilities-carousel-dots .dot.active {
  background: #292967;
  transform: scale(1.2);
}

@media (max-width: 767px) {
  .facilities-carousel-wrap {
    padding-bottom: 32px;
  }
}

/* Events section */
.events-section {
  background: linear-gradient(180deg, #fff 0%, #f5f0fa 100%);
}

.events-section-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.23;
  color: #292967;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.events-section-intro {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  text-align: justify;
}

.event-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(41, 41, 103, 0.12);
  border-radius: 1rem;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.event-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f0f0f0;
  flex-shrink: 0;
}

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

.event-card .event-date {
  flex-shrink: 0;
}

.event-card-bottom {
  display: flex;
  flex-direction: row;
  flex: 1;
}

.event-date {
  background: linear-gradient(135deg, #292967, #3d3254);
  color: #fff;
  text-align: center;
  padding: 1rem 0.75rem;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.event-day {
  display: block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
}

.event-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.event-title {
  font-size: 28px;
  font-weight: 700;
  color: #292967;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.event-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin: 0;
  text-align: justify;
}

@media (max-width: 1200px) {
  .events-section-title {
    font-size: 36px;
    line-height: 1.1;
  }
}

@media (max-width: 450px) {
  .events-section-title {
    font-size: 24px;
  }

  .event-title {
    font-size: 22px;
  }
}

.highlight-admissions {
  background: linear-gradient(135deg, #e8f0fa, #ffffff);
  color: #2c3e50;
  border-left: 8px solid #292967;
  /* royal blue */
  border-radius: 1.5rem;
  padding: 3rem;
  margin: 2.5rem 0;
  box-shadow: 0 6px 20px rgba(42, 82, 152, 0.25);
  font-family: 'Segoe UI', sans-serif;
}

.highlight-admissions h2,
.highlight-admissions h3 {
  color: #292967;
  margin-top: 0;
}

.section-highlight li {
  text-align: justify;
}

.highlight-admissions p {
  line-height: 1.8;
}

.highlight-admissions ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
}

.highlight-admissions li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 15px;
}

.highlight-admissions li::before {
  content: '⭐';
  position: absolute;
  left: 0;
  color: #e7ad28;
  /* secondary */
}

.highlight-admissions strong {
  color: #292967;
  margin-left: 10px;

}

.highlight-admissions em {
  color: #e7ad28;
  font-style: normal;
  font-weight: 600;
}

.highlight-royal-leadership {
  background: #f8f9fa;
  border-left: 8px solid #292967;
  border-radius: 1.25rem;
  padding: 3rem;
  margin: 2rem auto;
  max-width: 100%;
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.1);
}

.highlight-royal-leadership h2,
.highlight-royal-leadership h3 {
  color: #292967;
  position: relative;
  padding-bottom: 0.4rem;
}

.highlight-royal-leadership h2::after,
.highlight-royal-leadership h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #e7ad28;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.4s;
}

.highlight-royal-leadership h2:hover::after,
.highlight-royal-leadership h3:hover::after {
  width: 100px;
}

.highlight-royal-leadership p {
  font-size: 15px;
  line-height: 1.9;
  margin: 1.5rem 0;
}

.highlight-royal-leadership ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1.8rem;
}

.highlight-royal-leadership li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.4rem;
  font-size: 15px;
}

.highlight-royal-leadership li::before {
  content: '⭐';
  position: absolute;
  left: 0;
  color: #e7ad28;
  font-size: 16px;
}

.highlight-royal-leadership blockquote {
  margin: 2.5rem 0;
  padding: 1.8rem 2.5rem;
  background: #fff8dc;
  border-left: 6px solid #e7ad28;
  font-style: italic;
  color: #5c4528;
  border-radius: 0.75rem;
}

.highlight-royal-leadership strong {
  color: #292967;
}

.highlight-royal-leadership em {
  color: #e7ad28;
  font-style: normal;
  font-weight: 600;
}

.highlight-section {
  background: #f5f0fa;
  /* very light lavender */
  border-left: 6px solid #7e57c2;
  /* elegant medium purple */
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(126, 87, 194, 0.2);
}

header blockquote {
  font-size: 1.4rem;
  font-style: italic;
  border-left: 4px solid rgba(255, 255, 255, 0.6);
  padding-left: 1rem;
  max-width: 700px;
  margin: 1rem auto 0;
}

.mainpage blockquote {
  background: #f5f0fa;
  border-left: 6px solid #e7ad28;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(126, 87, 194, 0.1);
  font-style: italic;
  font-size: 20px;
}

.mainpage h1 {
  line-height: 45px;
}

/* Mission / Core Values list (no scrolling) */
.auto-scroll-wrap ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.auto-scroll-wrap li {
  margin: 10px 0;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: justify;
}

.auto-scroll-wrap li i {
  margin-top: 3px;
  color: #e7ad28;
  flex: 0 0 auto;
}

.auto-scroll-wrap li span {
  display: block;
  flex: 1 1 auto;
}

/* Ensure the 4 cards wrap correctly on all screens */
.rts-counter-up-area.area-2 .row {
  flex-wrap: wrap !important;
}

/* Utility: justified text (use on specific paragraphs only) */
.text-justify {
  text-align: justify;
}

/* Center headings inside the 4 cards */
.rts-counter-up-area.area-2 .section-title-area>h2 {
  text-align: center;
}

/* Vision / Mission section heading */
@keyframes vmHeadingIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rts-counter-up-area.area-2 .vm-section-heading {
  animation: vmHeadingIn 0.5s ease-out forwards;
}

/* Match Leadership & Vision section heading sizes */
.rts-counter-up-area.area-2 .vm-section-heading .section-title {
  color: #292967;
  font-size: 38px;
  line-height: 1.23;
  font-weight: 700;
  text-transform: uppercase;
}

.rts-counter-up-area.area-2 .vm-section-heading p {
  color: #555;
  font-size: 28px;
  line-height: 1.4;
}

@media (max-width: 1200px) {
  .rts-counter-up-area.area-2 .vm-section-heading .section-title {
    font-size: 36px;
    line-height: 1.1;
  }

  .rts-counter-up-area.area-2 .vm-section-heading p {
    font-size: 24px;
  }
}

@media (max-width: 450px) {
  .rts-counter-up-area.area-2 .vm-section-heading .section-title {
    font-size: 24px;
  }

  .rts-counter-up-area.area-2 .vm-section-heading p {
    font-size: 18px;
  }
}

/* Center image fits and fills the container (Royal Vidyalaya Advantage section) */
.advantage-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  overflow: hidden;
}

.advantage-center-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

/* About Janet Educational and Social Trust – section animations */
@keyframes aboutTrustTitleScale {
  from {
    opacity: 0;
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes aboutTrustSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes aboutTrustZoomIn {
  from {
    opacity: 0;
    transform: scale(0.75);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes aboutTrustSlideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-grid .section-inner .row .col-lg-12 .section-title-area {
  animation: aboutTrustTitleScale 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.about-grid .section-inner .row .col-lg-4:nth-child(2) .about-content,
.about-grid .section-inner .row .col-lg-4:nth-child(2) .about-image {
  animation: aboutTrustSlideLeft 0.6s ease-out 0.15s forwards;
  opacity: 0;
}

.about-grid .section-inner .row .col-lg-4:nth-child(3) .about-content,
.about-grid .section-inner .row .col-lg-4:nth-child(3) .about-image {
  animation: aboutTrustZoomIn 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.about-grid .section-inner .row .col-lg-4:nth-child(4) .about-content,
.about-grid .section-inner .row .col-lg-4:nth-child(4) .about-image {
  animation: aboutTrustSlideRight 0.6s ease-out 0.45s forwards;
  opacity: 0;
}

.about-grid .about-content,
.about-grid .about-image {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-grid .about-content:hover,
.about-grid .about-image:hover {
  transform: translateY(-6px);
}

/* Management messages layout */
.management-section {
  padding-left: 15px;
  padding-right: 15px;
  background: linear-gradient(135deg, rgba(244, 208, 63, 0.92) 0%, rgba(249, 231, 159, 0.92) 40%, rgba(247, 220, 111, 0.92) 100%),
    url(../images/advantage.webp) center center / cover no-repeat;
}

.management-section .section-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.management-section .section-title-area h2,
.management-section .section-title-area h3 {
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.management-section .section-title-area h2.section-title {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
}

.management-section .section-title-area h3 {
  font-size: 30px;
  line-height: 1.35;
  font-weight: 600;
  margin-top: 0.35em;
}

@keyframes managementTitleIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.management-section .section-title-area {
  animation: managementTitleIn 0.6s ease-out forwards;
}

.management-grid {
  border-left-color: #292967;
  background: radial-gradient(circle at top left, #fff9e6 0%, #ffffff 45%, #f5f0fa 100%);
}

/* Management card entrance animation */
@keyframes managementFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.management-section .row.g-4 .col-lg-4:nth-child(1) .management-card {
  animation: managementFadeInUp 0.6s ease-out forwards;
}

.management-section .row.g-4 .col-lg-4:nth-child(2) .management-card {
  animation: managementFadeInUp 0.6s ease-out 0.15s forwards;
  opacity: 0;
}

.management-section .row.g-4 .col-lg-4:nth-child(3) .management-card {
  animation: managementFadeInUp 0.6s ease-out 0.3s forwards;
  opacity: 0;
}

.management-card {
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 255, 0.98));
  border-radius: 1.4rem;
  border: 1px solid rgba(41, 41, 103, 0.14);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.management-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.management-card::before {
  content: "“";
  position: absolute;
  right: 18px;
  top: -10px;
  font-size: 70px;
  color: rgba(231, 173, 40, 0.18);
  font-family: "Georgia", serif;
}

.management-card-header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 1rem;
}

.management-avatar {
  width: 150px;
  height: 190px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, #ffe9a6, #e7ad28);
  padding: 4px;
  clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%);
}

.management-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 22px;
}

.management-meta {
  flex: 1 1 auto;
}

.management-name {
  font-size: 22px;
  margin: 0 0 6px;
  color: #292967;
  font-weight: 700;
}

.management-role {
  font-size: 16px;
  margin: 0;
  color: #555;
  line-height: 1.5;
}

.management-role span {
  display: block;
  font-weight: 600;
  color: #292967;
}

.management-body p {
  font-size: 16px;
  margin-bottom: 0;
  line-height: 1.6;
}

.management-card-alt {
  border-left: 6px solid #e7ad28;
}

.management-card-emphasis {
  border-left: 6px solid #27a098;
}

@media (max-width: 1200px) {
  .management-section .section-title-area h2.section-title {
    font-size: 38px;
  }

  .management-section .section-title-area h3 {
    font-size: 26px;
  }

  .management-name {
    font-size: 20px;
  }

  .management-role {
    font-size: 15px;
  }
}

@media (max-width: 991.98px) {
  .management-card {
    margin-bottom: 0.5rem;
  }

  .management-section .section-title-area h2.section-title {
    font-size: 32px;
  }

  .management-section .section-title-area h3 {
    font-size: 22px;
  }

  .management-name {
    font-size: 19px;
  }

  .management-role {
    font-size: 14px;
  }

  .management-body p {
    font-size: 15px;
  }
}

@media (max-width: 450px) {
  .management-section .section-title-area h2.section-title {
    font-size: 26px;
  }

  .management-section .section-title-area h3 {
    font-size: 18px;
  }

  .management-name {
    font-size: 17px;
  }

  .management-role {
    font-size: 13px;
  }
}


/* Page background color - different from header */
.bg-section {
  background-color: #f5f0fa !important;
  background-image: linear-gradient(180deg, #f5f0fa 0%, #ebe5f5 50%, #f0ebf8 100%) !important;
}

/* --- Global Premium Animations --- */

/* Hover Effects */
.hover-scale {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
}

.hover-scale:hover {
  transform: scale(1.03) translateY(-5px) !important;
  box-shadow: 0 15px 35px rgba(125, 31, 126, 0.15) !important;
}

/* Icon Pulse Animation */
@keyframes iconPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.animate-icon:hover i {
  animation: iconPulse 1s infinite ease-in-out;
}

/* Float Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Specific Page Enhancements */
.admission-step {
  transition: all 0.3s ease;
}

.admission-step:hover {
  transform: translateX(10px);
  border-left-width: 8px !important;
}

.facility-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.facility-card:hover {
  transform: translateY(-10px);
}

.contact-card {
  transition: all 0.4s ease;
}

.contact-card:hover {
  border-color: #e7ad28 !important;
}