@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
/*-----------------------------------------
   Dayanand Arya Vedic Public School, Godda
   Custom Color Theme Overrides
   Colors: Gold (#DCAE1D), Light Mint (#CAE4DB), Dark Teal (#00303F), Sage (#7A9D96)
-----------------------------------------*/

:root {
  /* User-defined colors */
  --color-gold: #DCAE1D;
  --color-light-mint: #CAE4DB;
  --color-dark-teal: #084c9d;
  --color-sage: #7A9D96;

  /* Body background & base typography */
  --rs-white: #FFFFFF;
  --rs-black: #000000;

  /* Redefining template theme variables */
  --rs-theme-blue: var(--color-dark-teal);
  --rs-theme-blue-two: #00222D;
  /* Darker teal shade for header/footers */
  --rs-theme-red: var(--color-gold);
  --rs-theme-red-two: #C19614;
  /* Hover state gold */

  --rs-theme-cyan: var(--color-sage);
  --rs-theme-light-cyan: #99BBB4;
  --rs-theme-green: var(--color-sage);
  --rs-theme-green-two: #568178;

  /* Background values */
  --rs-bg-primary: var(--color-light-mint);
  /* Mint skin background */
  --rs-bg-secondary: #E5F3EE;
  /* Subtle green-mint tint */
  --rs-bg-dark-blue: #00222D;

  /* Typography colors */
  --rs-text-primary: #2C3E42;
  /* Dark slate-teal text for high contrast */
  --rs-text-secondary: #5A7377;
  --rs-title-primary: #00202A;
  /* Slate-teal for headings */
  --rs-title-secondary: var(--color-dark-teal);
  --rs-title-tertiary: #00202A;
}

/* Base Body Styles */
body {
  background-color: #F3FAF8 !important;
  /* Soft mint skin body background */
  color: var(--rs-text-primary) !important;
}

/* Header & Navigation Overrides */
.multipage-menu a,
.rs-menu a,
.main-menu a,
.mobile-menu a,
.submenu a,
.mean-nav ul li a,
.offcanvas-menu a {
  font-family: 'Roboto', sans-serif !important;
}

.header-wrapper,
#rs-sticky-header,
.rs-header-area .header-wrapper {
  background-image: linear-gradient(-90deg, #084c9d 0%, #084c9d 100%) !important;
}

/* Replace inline blue/purple gradients */
[style*="background-image:-webkit-linear-gradient(-90deg, #0b4383"],
[style*="background-image: -webkit-linear-gradient(-90deg, #0b4383"],
[style*="background-image:-webkit-linear-gradient(-90deg, #1575e3"],
[style*="background-image: -webkit-linear-gradient(-90deg, #1575e3"] {
  background-image: linear-gradient(-90deg, var(--color-dark-teal) 0%, #001E27 100%) !important;
}

/* Heading Typography Overrides (Dark teal headings) */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  color: var(--color-dark-teal) !important;
  font-family: "Bitter", serif;
}

/* Ensure Breadcrumb Headings are White against dark background */
@media only screen and (max-width: 767px) {

  .rs-breadcrumbs,
  .rs-breadcrumb-area,
  .rs-breadcrumb-wrapper {
    padding-top: 60px !important;
    padding-bottom: 30px !important;
  }
}

.rs-breadcrumbs h1,
.rs-breadcrumb-area h1,
.rs-breadcrumb-wrapper h1 {
  color: var(--rs-white) !important;
}

.is-white,
.is-white * {
  color: var(--rs-white) !important;
}

/* Primary buttons (Gold text contrast styling) */
.rs-btn.has-theme-red {
  background: var(--color-gold) !important;
  color: var(--rs-title-primary) !important;
  border-color: var(--color-gold) !important;
  font-weight: 700;
}

.rs-btn.has-theme-red:hover {
  background: var(--color-dark-teal) !important;
  color: var(--rs-white) !important;
  border-color: var(--color-dark-teal) !important;
}

.rs-btn.has-theme-red.has-icon .icon-box svg path {
  fill: var(--rs-title-primary) !important;
}

.rs-btn.has-theme-red:hover.has-icon .icon-box svg path {
  fill: var(--rs-white) !important;
}

/* Subtitle Highlights */
.section-subtitle.has-theme-red {
  color: var(--color-gold) !important;
}

.section-subtitle.has-theme-red svg path {
  fill: var(--color-gold) !important;
}

/* Page Section Backgrounds */
.bg-primary {
  background-color: var(--color-light-mint) !important;
}

.bg-secondary {
  background-color: #E5F3EE !important;
}

/* Form Styles (Unrolling Paper Scroll Animation) */
.rs-contact-form-wrapper {
  background: linear-gradient(to bottom, #fffdfa 0%, #fefcf5 50%, #faf6ea 100%) !important;
  border-radius: 6px !important;
  border-left: 4px double #dcae1d !important;
  border-right: 4px double #dcae1d !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 50px 40px !important;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.12), inset 0 20px 20px -20px rgba(0, 0, 0, 0.05) !important;
  position: relative !important;
  overflow: visible !important;
  /* Visible for spindle overhang */

  /* Progressive Enhancement: Form is fully visible by default */
  transform: none !important;
  opacity: 1 !important;
  clip-path: none !important;
}

/* Rolled state applied immediately by JS on load */
.rs-contact-form-wrapper.is-rolled {
  transform-origin: top center !important;
  transform: perspective(1200px) rotateX(-38deg) scaleY(0.01) !important;
  opacity: 0 !important;
  clip-path: inset(0 0 99% 0) !important;
  transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1), clip-path 1.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 1.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

/* Unrolled state class triggered by IntersectionObserver */
.rs-contact-form-wrapper.is-rolled.is-unrolled {
  transform: perspective(1200px) rotateX(0deg) scaleY(1) !important;
  opacity: 1 !important;
  clip-path: inset(0 0 0% 0) !important;
}

/* Rolled paper top cylinder cap */
.rs-contact-form-wrapper::before {
  content: "" !important;
  position: absolute !important;
  left: -15px !important;
  right: -15px !important;
  height: 20px !important;
  background: linear-gradient(to bottom, #ffffff 0%, #e8dec2 60%, #bca574 100%) !important;
  border: 1px solid #9c8453 !important;
  border-radius: 10px !important;
  top: -10px !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
  z-index: 98 !important;
  pointer-events: none !important;
}

/* Bottom unrolling spindle bar */
.rs-contact-form-wrapper::after {
  content: "" !important;
  position: absolute !important;
  left: -15px !important;
  right: -15px !important;
  height: 20px !important;
  background: linear-gradient(to bottom, #dcae1d 0%, #a3790e 50%, #dcae1d 100%) !important;
  border: 1px solid #7c5c07 !important;
  border-radius: 10px !important;
  bottom: -10px !important;
  /* Default fully unrolled position */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25) !important;
  z-index: 99 !important;
  pointer-events: none !important;
}

.rs-contact-form-wrapper.is-rolled::after {
  bottom: calc(100% - 10px) !important;
  /* Start at top when rolled */
  transition: bottom 1.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

/* Bottom spindle position when unrolled */
.rs-contact-form-wrapper.is-rolled.is-unrolled::after {
  bottom: -10px !important;
}

/* Input boxes & fields styling */
.rs-contact-input input,
.rs-contact-input textarea {
  border: 1px solid rgba(0, 48, 63, 0.12) !important;
  border-bottom: 3px solid rgba(0, 48, 63, 0.15) !important;
  background-color: #ffffff !important;
  color: var(--color-dark-teal) !important;
  padding: 14px 18px !important;
  border-radius: 10px !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01) !important;
}

.rs-contact-input input:hover,
.rs-contact-input textarea:hover {
  border-color: rgba(220, 174, 29, 0.4) !important;
  border-bottom-color: #dcae1d !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(220, 174, 29, 0.08) !important;
  background-color: #ffffff !important;
}

.rs-contact-input input:focus,
.rs-contact-input textarea:focus {
  border-color: #084c9d !important;
  border-bottom-color: #dcae1d !important;
  background-color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(0, 48, 63, 0.08) !important;
  transform: translateY(-3px) !important;
  outline: none !important;
}

.rs-contact-input input::placeholder,
.rs-contact-input textarea::placeholder {
  color: #8fa6ad !important;
  font-weight: 400 !important;
  transition: color 0.3s ease !important;
}

.rs-contact-input input:focus::placeholder,
.rs-contact-input textarea:focus::placeholder {
  color: rgba(0, 48, 63, 0.3) !important;
}

/* Submit Button */
.rs-contact-btn button[type="submit"] {
  background: linear-gradient(135deg, #084c9d 0%, #004a61 100%) !important;
  color: #ffffff !important;
  border: none !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  padding: 16px 30px !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 25px rgba(0, 48, 63, 0.25) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  cursor: pointer !important;
}

.rs-contact-btn button[type="submit"]:hover {
  background: linear-gradient(135deg, #dcae1d 0%, #c49614 100%) !important;
  box-shadow: 0 15px 35px rgba(220, 174, 29, 0.45) !important;
  transform: translateY(-4px) scale(1.01) !important;
  color: #ffffff !important;
  letter-spacing: 2.5px !important;
  border-radius: 14px !important;
}

.rs-contact-btn button[type="submit"]:active {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 15px rgba(220, 174, 29, 0.3) !important;
}

/* Odometer & Stats Section (Make numbers dark teal and gold) */
.rs-funfact-item {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease !important;
}

.rs-funfact-item:hover {
  transform: scale(1.05) translateY(-5px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
  z-index: 2;
  position: relative;
}

.rs-funfact-item .rs-funfact-number {
  color: var(--color-dark-teal) !important;
}

.rs-funfact-item .rs-funfact-title {
  color: var(--color-sage) !important;
}

/* Selection Cursor Overrides */
#cursor-ball {
  border: 2px solid var(--color-gold) !important;
  box-shadow:
    0 0 10px var(--color-gold),
    0 0 20px rgba(255, 186, 0, 0.4),
    inset 0 0 8px var(--color-gold) !important;
  background-color: rgba(255, 186, 0, 0.05) !important;
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease !important;
}

#cursor-ball::after {
  background: var(--color-gold) !important;
  box-shadow:
    0 0 8px var(--color-gold),
    0 0 16px var(--color-gold) !important;
  width: 5px !important;
  height: 5px !important;
}

.cursor-hover #cursor-ball {
  background-color: var(--color-gold) !important;
  box-shadow:
    0 0 20px var(--color-gold),
    0 0 40px var(--color-gold) !important;
}

/* Back-to-Top Button */
.rs-backtotop.has-theme-red {
  background: var(--color-gold) !important;
}

.rs-backtotop.has-theme-red svg.arrowicon path {
  fill: var(--rs-title-primary) !important;
}

.rs-backtotop.has-theme-red svg.scrollprogress circle {
  stroke: var(--color-dark-teal) !important;
}

/* Mobile responsive navigation overrides (MeanMenu) */
.mean-container .mean-bar {
  background: var(--color-dark-teal) !important;
}

.mean-container .mean-nav {
  background: var(--color-dark-teal) !important;
}

.mean-container .mean-nav ul li a {
  color: var(--rs-white) !important;
}

.mean-container .mean-nav ul li a:hover {
  color: var(--color-gold) !important;
}

.mean-container .mean-nav ul li a.mean-expand {
  background: rgba(255, 255, 255, 0.08) !important;
}

.mean-container .mean-nav ul li a.mean-expand:hover {
  background: var(--color-gold) !important;
  color: var(--rs-title-primary) !important;
}

.mean-container .mean-nav>ul {
  display: block !important;
}


/* Fix Mobile Submenu - must stay inside panel */
.mean-container {
  overflow: hidden !important;
}

.mean-container .mean-nav ul ul,
.mean-container .mean-nav ul.submenu {
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  left: 0 !important;
  right: 0 !important;
  box-sizing: border-box !important;
  display: none;
  /* Let jQuery MeanMenu slideDown handle the display block */
}

.mean-container .mean-nav ul li {
  overflow: hidden !important;
}

/* Footer Section styling */
.rs-footer-area {
  background-color: #001D27 !important;
}

.rs-footer-area .rs-footer-widget-title {
  color: var(--color-gold) !important;
}

.rs-footer-area p,
.rs-footer-area span,
.rs-footer-area a {
  color: rgba(255, 255, 255, 0.8) !important;
}

.rs-footer-area a:hover {
  color: var(--color-gold) !important;
}

.rs-footer-widget-social .theme-social a {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.rs-footer-widget-social .theme-social a:hover {
  background-color: var(--color-gold) !important;
}

.rs-footer-widget-social .theme-social a:hover svg path,
.rs-footer-widget-social .theme-social a:hover i {
  fill: var(--rs-title-primary) !important;
  color: var(--rs-title-primary) !important;
}

.rs-footer-copyright-area {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Program Card & List Details */
.rs-program-content {
  background-color: var(--color-dark-teal) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.rs-program-content .rs-program-title a {
  color: var(--color-gold) !important;
}

.rs-program-content .rs-program-desc {
  color: rgba(255, 255, 255, 0.8) !important;
}

.rs-program-list-item p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.rs-program-list-icon svg path {
  fill: var(--color-gold) !important;
}

/* Container for phone/email top line */
.header-top-contact-shine {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 4px 0;
}

.header-top-contact-shine a {
  color: var(--rs-white) !important;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-top-contact-shine .shine-sep {
  color: rgba(255, 255, 255, 0.4);
  font-weight: normal;
}

/* Full top-bar diagonal silver shine effect */
.rs-header-top.rs-header-top-one {
  position: relative !important;
  overflow: hidden !important;
}

.rs-header-top.rs-header-top-one::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(224, 224, 224, 0.25) 20%,
      rgba(255, 255, 255, 0.55) 50%,
      rgba(224, 224, 224, 0.25) 80%,
      rgba(255, 255, 255, 0) 100%);
  transform: skewX(-30deg);
  z-index: 100;
  pointer-events: none;
  /* Crucial: clicks pass through to login buttons */
  animation: full-silver-shine 8s infinite ease-in-out;
}

@keyframes full-silver-shine {
  0% {
    left: -150%;
  }

  85% {
    /* Glides extremely slowly over 6.8 seconds */
    left: 150%;
  }

  100% {
    /* Pauses for 1.2 seconds offscreen */
    left: 150%;
  }
}

/* Align logo and style it nicely */
.header-logo {
  display: flex !important;
  align-items: center !important;
}

/* School banner logo */
.header-logo img[src="img/logo.webp"] {
  max-height: 80px !important;
  width: auto !important;
  object-fit: contain;
  border-radius: 4px;
  background-color: #ffffff !important;
  padding: 4px;
  margin: 2px 0 !important;
  /* 2px top and bottom margin */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease;
}

.rs-footer-widget-logo img[src="img/logo.webp"] {
  max-height: 250px !important;
  width: auto !important;
  object-fit: contain;
  border-radius: 4px;
  background-color: #ffffff !important;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  display: block;
  margin-bottom: 20px;
}

.header-logo img[src="img/logo.webp"]:hover {
  transform: scale(1.02);
}

/* Scale down the logo in the sticky header for a compact scroll experience */
.rs-sticky-header .header-logo img[src="img/logo.webp"] {
  max-height: 55px !important;
}

/* Mobile responsive scaling */
@media only screen and (max-width: 575px) {
  .header-logo img[src="img/logo.webp"] {
    max-height: 48px !important;
  }
}

/* Styling for nested submenus (flyouts) inside "More" */
.main-menu .submenu li {
  position: relative !important;
}

/* Initially hide nested submenu */
.main-menu .submenu li>ul {
  position: absolute !important;
  left: 100% !important;
  top: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: all 0.3s ease-in-out !important;
  background-color: #084c9d !important;
  /* Premium Dark Teal background */
  width: 240px !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  padding: 10px 0 !important;
  z-index: 1000 !important;
}

/* Show nested submenu on hover */
.main-menu .submenu li:hover>ul {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scaleX(1) !important;
  pointer-events: all !important;
}

/* Style links inside nested submenu */
.main-menu .submenu li>ul li a {
  color: #ffffff !important;
  font-size: 13px !important;
  padding: 8px 20px !important;
  transition: all 0.2s ease-in-out !important;
  text-transform: capitalize !important;
}

.main-menu .submenu li>ul li a:hover {
  background-color: #dcae1d !important;
  /* Accent Gold */
  color: #084c9d !important;
  /* Dark Teal text */
  padding-left: 25px !important;
}

/* Arrow indicator for items that have nested submenus */
.main-menu .submenu .menu-item-has-children>a::after {
  content: "\f105" !important;
  /* FontAwesome right angle chevron */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  float: right !important;
  margin-top: 3px !important;
  font-size: 12px !important;
  transition: transform 0.2s ease !important;
}

/* Force Submenu High Z-Index and fix clickability */
.main-menu .submenu {
  z-index: 99999 !important;
}

.main-menu ul li:hover>.submenu,
.main-menu ul.multipage-menu>li:hover>ul.submenu,
.main-menu .submenu li:hover>ul {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Animated sliding underline & water droplet ripple for main top-level menu items */
.main-menu ul.multipage-menu>li {
  position: relative !important;
}

.main-menu ul.multipage-menu>li>a {
  position: relative !important;
  display: inline-block !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  z-index: 1 !important;
}

/* Water droplet ripple / wavy background effect on hover */
.main-menu ul.multipage-menu>li>a::before {
  content: "" !important;
  position: absolute !important;
  width: 40px !important;
  height: 40px !important;
  top: 50% !important;
  left: 50% !important;
  background: radial-gradient(circle, rgba(220, 174, 29, 0.25) 0%, rgba(220, 174, 29, 0) 70%) !important;
  border: 1px solid rgba(220, 174, 29, 0.5) !important;
  border-radius: 50% !important;
  transform: translate(-50%, -50%) scale(0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
  transform-origin: center !important;
}

.main-menu ul.multipage-menu>li:hover>a::before {
  animation: water-droplet-wavy 1.2s ease-in-out infinite alternate !important;
}

@keyframes water-droplet-wavy {
  0% {
    transform: translate(-50%, -50%) scale(0.6) !important;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55% !important;
    /* Wavy droplet shape */
    opacity: 0.8 !important;
  }

  50% {
    border-radius: 70% 30% 52% 48% / 60% 40% 60% 40% !important;
    transform: translate(-50%, -50%) scale(1.1) rotate(45deg) !important;
    opacity: 0.5 !important;
  }

  100% {
    border-radius: 50% !important;
    transform: translate(-50%, -50%) scale(1.6) rotate(90deg) !important;
    opacity: 0 !important;
  }
}

.main-menu ul.multipage-menu>li>a::after {
  content: "" !important;
  position: absolute !important;
  width: 0 !important;
  height: 2px !important;
  bottom: 25px !important;
  left: 50% !important;
  background-color: #ffffff !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  transform: translateX(-50%) !important;
}

.main-menu ul.multipage-menu>li:hover>a::after,
.main-menu ul.multipage-menu>li.active>a::after {
  width: 70% !important;
}

.main-menu ul.multipage-menu>li:hover>a {
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* About Section Overlapping Thumbs & Centered Badge (2 Image Style) */
.rs-about-two .rs-about-thumb-wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 550px !important;
  margin: 0 auto !important;
  aspect-ratio: 550 / 580 !important;
  display: block !important;
}

.rs-about-two .rs-about-thumb-wrapper .rs-about-thumb {
  position: absolute !important;
  width: 73% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  border-radius: 40px !important;
  border: 10px solid #ffffff !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
  overflow: hidden !important;
  background: #ffffff !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  animation: none !important;
  transition: all 0.4s ease !important;
}

/* First/Top Image */
.rs-about-two .rs-about-thumb-wrapper .rs-about-thumb:nth-child(1) {
  top: 0 !important;
  left: 0 !important;
  z-index: 1 !important;
}

/* Second/Bottom Image */
.rs-about-two .rs-about-thumb-wrapper .rs-about-thumb:nth-child(2) {
  bottom: 0 !important;
  right: 0 !important;
  z-index: 2 !important;
}

.rs-about-two .rs-about-thumb-wrapper .rs-about-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 30px !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  display: block !important;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.25, 1) !important;
}

.rs-about-two .rs-about-thumb-wrapper .rs-about-thumb:hover img {
  transform: scale(1.08) !important;
}

.rs-about-two .rs-about-badge {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 10 !important;
  width: 150px !important;
  height: 150px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #dcae1d !important;
  border-radius: 50% !important;
  border: 8px solid #ffffff !important;
  box-shadow: 0 10px 30px rgba(220, 174, 29, 0.5) !important;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  overflow: visible !important;
}

.rs-about-two .rs-about-badge img {
  width: 90px !important;
  height: 90px !important;
  object-fit: contain !important;
  z-index: 2 !important;
  transition: transform 0.5s ease !important;
}

/* Watery wavy ripple animation on hover */
.rs-about-two .rs-about-badge::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: rgba(220, 174, 29, 0.3) !important;
  border-radius: 50% !important;
  z-index: 1 !important;
  transition: all 0.5s ease !important;
}

.rs-about-two .rs-about-badge:hover {
  box-shadow: 0 12px 35px rgba(220, 174, 29, 0.7) !important;
  animation: watery-blob 3s ease-in-out infinite alternate !important;
}

.rs-about-two .rs-about-badge:hover img {
  transform: scale(1.1) rotate(5deg) !important;
}

/* Outer watery wave rings on hover */
.rs-about-badge:hover::before {
  animation: watery-wave-ring 2s linear infinite !important;
}

@keyframes watery-blob {
  0% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55% !important;
    transform: translate(-50%, -50%) rotate(0deg) !important;
  }

  33% {
    border-radius: 70% 30% 52% 48% / 60% 40% 60% 40% !important;
    transform: translate(-50%, -50%) rotate(10deg) scale(1.05) !important;
  }

  66% {
    border-radius: 50% 50% 30% 70% / 50% 60% 40% 50% !important;
    transform: translate(-50%, -50%) rotate(-10deg) scale(0.98) !important;
  }

  100% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55% !important;
    transform: translate(-50%, -50%) rotate(0deg) !important;
  }
}

@keyframes watery-wave-ring {
  0% {
    transform: scale(1) !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(220, 174, 29, 0.8) !important;
  }

  100% {
    transform: scale(1.6) !important;
    opacity: 0 !important;
    border-radius: 50% !important;
    border: 3px solid rgba(220, 174, 29, 0.1) !important;
  }
}

/* Sketchy background shapes styling */
.sketchy-shape {
  position: absolute !important;
  opacity: 0.12 !important;
  pointer-events: none !important;
  z-index: 1 !important;
  transition: all 0.5s ease-in-out !important;
}

.sketchy-shape svg {
  width: 90px !important;
  height: 90px !important;
  stroke: #00222b !important;
  stroke-width: 1.5 !important;
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.sketchy-shape.shape-book {
  top: 15% !important;
  left: 5% !important;
  animation: float-wavy-1 14s ease-in-out infinite !important;
}

.sketchy-shape.shape-idea {
  bottom: 12% !important;
  left: 8% !important;
  animation: float-wavy-2 16s ease-in-out infinite !important;
}

.sketchy-shape.shape-pencil {
  top: 18% !important;
  right: 5% !important;
  animation: float-wavy-1 15s ease-in-out infinite !important;
  animation-delay: -3s !important;
  /* Offset phase */
}

.sketchy-shape.shape-cap {
  bottom: 15% !important;
  right: 8% !important;
  animation: float-wavy-2 18s ease-in-out infinite !important;
  animation-delay: -5s !important;
  /* Offset phase */
}

@keyframes float-wavy-1 {
  0% {
    transform: translate(0, 0) rotate(0deg) !important;
  }

  25% {
    transform: translate(12px, -20px) rotate(4deg) !important;
  }

  50% {
    transform: translate(-8px, -35px) rotate(-3deg) !important;
  }

  75% {
    transform: translate(-18px, -15px) rotate(2deg) !important;
  }

  100% {
    transform: translate(0, 0) rotate(0deg) !important;
  }
}

@keyframes float-wavy-2 {
  0% {
    transform: translate(0, 0) rotate(0deg) !important;
  }

  33% {
    transform: translate(-15px, -25px) rotate(-5deg) !important;
  }

  66% {
    transform: translate(12px, -15px) rotate(4deg) !important;
  }

  100% {
    transform: translate(0, 0) rotate(0deg) !important;
  }
}

/* ==========================================================================
   Overlapping Fun Fact Strip Styles
   ========================================================================== */
.rs-funfact-overlap {
  position: relative !important;
  z-index: 99 !important;
  margin-top: -95px !important;
  margin-bottom: -45px !important;
  padding: 0 !important;
  background-color: transparent !important;
}

.rs-funfact-overlap .rs-funfact-wrapper {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.4), 0 10px 30px rgba(0, 48, 63, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  padding: 35px 30px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  align-items: center !important;
  overflow: visible !important;
}

@media (max-width: 991px) {
  .rs-funfact-overlap {
    margin-top: -60px !important;
    margin-bottom: -30px !important;
  }

  .rs-funfact-overlap .rs-funfact-wrapper {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 30px 20px !important;
  }
}

.rs-funfact-overlap .rs-funfact-item {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 15px 20px !important;
  border-radius: 12px !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
}

.rs-funfact-overlap .rs-funfact-item:hover {
  transform: translateY(-5px) !important;
  background: rgba(220, 174, 29, 0.05) !important;
  border-color: rgba(220, 174, 29, 0.15) !important;
}

/* Styled Gold Card for the Highlighted Middle "Top 10" item */
.rs-funfact-overlap .rs-funfact-item.has-theme-red {
  background: linear-gradient(135deg, #dcae1d 0%, #c49614 100%) !important;
  border: 1px solid #dcae1d !important;
  box-shadow: 0 10px 25px rgba(220, 174, 29, 0.35) !important;
}

.rs-funfact-overlap .rs-funfact-item.has-theme-red:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: 0 15px 30px rgba(220, 174, 29, 0.45) !important;
}

.rs-funfact-overlap .rs-funfact-icon {
  width: 65px !important;
  height: 65px !important;
  min-width: 65px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(0, 48, 63, 0.06) !important;
  padding: 12px !important;
  transition: all 0.4s ease !important;
}

.rs-funfact-overlap .rs-funfact-item:hover .rs-funfact-icon {
  background: rgba(0, 48, 63, 0.1) !important;
  transform: scale(1.1) rotate(5deg) !important;
}

/* Middle gold card icon style */
.rs-funfact-overlap .rs-funfact-item.has-theme-red .rs-funfact-icon {
  background: rgba(255, 255, 255, 0.2) !important;
}

.rs-funfact-overlap .rs-funfact-item.has-theme-red:hover .rs-funfact-icon {
  background: rgba(255, 255, 255, 0.3) !important;
}

.rs-funfact-overlap .rs-funfact-icon svg {
  width: 100% !important;
  height: 100% !important;
  fill: #084c9d !important;
}

.rs-funfact-overlap .rs-funfact-item.has-theme-red .rs-funfact-icon svg {
  fill: #ffffff !important;
}

/* Content styling */
.rs-funfact-overlap .rs-funfact-content {
  flex-grow: 1 !important;
}

.rs-funfact-overlap .rs-funfact-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #084c9d !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.2 !important;
}

.rs-funfact-overlap .rs-funfact-item.has-theme-red .rs-funfact-title {
  color: #ffffff !important;
}

.rs-funfact-overlap .rs-funfact-desc {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  color: #556c75 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

.rs-funfact-overlap .rs-funfact-item.has-theme-red .rs-funfact-desc {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* White outline modifier for sketchy background shapes in dark/red sections */
.sketchy-shape.is-white-stroke svg {
  stroke: #00222b !important;
}

/* Faculty Item Image Hover Zoom Animation */
.rs-faculty-five .rs-faculty-thumb img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.25, 1) !important;
}

.rs-faculty-five .rs-faculty-item:hover .rs-faculty-thumb img {
  transform: scale3d(1.08, 1.08, 1) !important;
}

/* Program Section Custom Pinning & Overlapping Styles */
.rs-program-area {
  position: relative !important;
  overflow: hidden !important;
}

/* ==========================================================================
   Team Item Premium Hover & Shine Effects
   ========================================================================== */
.rs-team-item {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.22, 1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

/* Diagonal Shine Effect on Circular Image Container (Glow-like line) */
.rs-team-one .rs-team-thumb>a {
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 50% !important;
}

.rs-team-one .rs-team-thumb>a::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 50% !important;
  height: 100% !important;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.7),
      transparent) !important;
  transform: skewX(-25deg) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.rs-team-item:hover .rs-team-thumb>a::after {
  left: 150% !important;
  transition: left 2s cubic-bezier(0.25, 1, 0.22, 1) !important;
}

/* Animated circular yellow outline on hover */
.rs-team-one .rs-team-thumb {
  position: relative !important;
}

.rs-team-one .rs-team-thumb::before {
  content: '' !important;
  position: absolute !important;
  top: -6px !important;
  left: -6px !important;
  right: -6px !important;
  bottom: -6px !important;
  border-radius: 50% !important;
  padding: 3px !important;
  background: conic-gradient(from 0deg,
      transparent 0%,
      transparent 40%,
      rgba(255, 186, 0, 0.4) 60%,
      var(--rs-theme-yellow) 80%,
      #ffffff 95%,
      var(--rs-theme-yellow) 100%) !important;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0) !important;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask-composite: exclude !important;
  filter: drop-shadow(0 0 3px var(--rs-theme-yellow)) !important;
  opacity: 0 !important;
  transform: scale(0.9) rotate(0deg) !important;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.25, 1, 0.22, 1) !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

.rs-team-item:hover .rs-team-thumb::before {
  opacity: 1 !important;
  transform: scale(1) rotate(360deg) !important;
  animation: outline-spin 1.5s linear infinite !important;
}

@keyframes outline-spin {
  0% {
    transform: scale(1) rotate(0deg) !important;
  }

  100% {
    transform: scale(1) rotate(360deg) !important;
  }
}

/* Sketchy watermark background shapes inside team cards */
.rs-team-item {
  position: relative !important;
}

.rs-team-item .sketchy-shape {
  position: absolute !important;
  width: 60px !important;
  height: 60px !important;
  stroke: rgba(0, 48, 63, 0.04) !important;
  fill: none !important;
  stroke-width: 1.5 !important;
  pointer-events: none !important;
  z-index: 1 !important;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.22, 1) !important;
}

.rs-team-item .shape-book {
  bottom: 20px !important;
  left: 15px !important;
  transform: rotate(-15deg) !important;
}

.rs-team-item .shape-laptop {
  bottom: 20px !important;
  right: 15px !important;
  transform: rotate(15deg) !important;
}

/* Hover effects for sketchy shapes: subtle color glow and gentle float */
.rs-team-item:hover .shape-book {
  transform: translateY(-5px) rotate(-5deg) scale(1.15) !important;
  stroke: rgba(225, 48, 108, 0.08) !important;
}

.rs-team-item:hover .shape-laptop {
  transform: translateY(-5px) rotate(5deg) scale(1.15) !important;
  stroke: rgba(0, 119, 181, 0.08) !important;
}

/* Grey Outline & Position Lift on Hover */
.rs-team-item:hover {
  transform: translateY(-8px) !important;
  border-color: rgba(180, 180, 180, 0.5) !important;
  box-shadow: 0 0 25px 4px rgba(180, 180, 180, 0.25), 0 12px 35px rgba(0, 48, 63, 0.08) !important;
}

/* Image Zoom & Contrast Increase on Hover (Zooming Towards User) */
.rs-team-item .rs-team-thumb img {
  transition: all 0.4s cubic-bezier(0.25, 1, 0.22, 1) !important;
}

.rs-team-item:hover .rs-team-thumb img {
  filter: contrast(1.18) brightness(1.05) !important;
  transform: scale(1.08) !important;
}

/* ==========================================================================
   Social Icons Hover Drop Animation (Drop to bottom, slide back in)
   ========================================================================== */
/* Elevate z-index so the dropdown is not hidden under the card contents */
.rs-team-one .rs-team-social {
  z-index: 99 !important;
}

/* Reset default fly-up positions on hover */
.rs-team-one .rs-team-item:hover .rs-team-social a:nth-child(2),
.rs-team-one .rs-team-item:hover .rs-team-social a:nth-child(3),
.rs-team-one .rs-team-item:hover .rs-team-social a:nth-child(4),
.rs-team-one .rs-team-item:hover .rs-team-social a:nth-child(5) {
  bottom: 0;
}

/* Base transition & style for social icons */
.rs-team-one .rs-team-social a {
  position: absolute !important;
  bottom: 0;
  /* No !important here so keyframes can animate it */
  left: 0;
  /* No !important here so keyframes can animate it */
  width: 60px !important;
  height: 60px !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: rotate(0deg) scale(0.3) !important;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.22, 1) !important;
  /* smooth return */
  z-index: 10 !important;
}

.rs-team-one .rs-team-item:hover .rs-team-social a {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Drop and spin animations for each icon, landing below designation */
.rs-team-one .rs-team-item:hover .rs-team-social a:nth-child(2) {
  animation: ball-drop-1 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.rs-team-one .rs-team-item:hover .rs-team-social a:nth-child(3) {
  animation: ball-drop-2 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.08s;
}

.rs-team-one .rs-team-item:hover .rs-team-social a:nth-child(4) {
  animation: ball-drop-3 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.16s;
}

.rs-team-one .rs-team-item:hover .rs-team-social a:nth-child(5) {
  animation: ball-drop-4 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.24s;
}

/* Keyframe animations for bouncing and rotating like a falling ball */
@keyframes ball-drop-1 {
  0% {
    bottom: 0;
    left: 0;
    transform: rotate(0deg) scale(0.3);
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  75% {
    bottom: -195px;
    /* hits floor / squash */
    left: -110px;
    transform: rotate(270deg) scale(1.06);
  }

  90% {
    bottom: -180px;
    /* bounces up */
    left: -110px;
    transform: rotate(315deg) scale(0.97);
  }

  100% {
    bottom: -185px;
    /* settles */
    left: -110px;
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

@keyframes ball-drop-2 {
  0% {
    bottom: 0;
    left: 0;
    transform: rotate(0deg) scale(0.3);
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  75% {
    bottom: -195px;
    left: -38px;
    transform: rotate(270deg) scale(1.06);
  }

  90% {
    bottom: -180px;
    left: -38px;
    transform: rotate(315deg) scale(0.97);
  }

  100% {
    bottom: -185px;
    left: -38px;
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

@keyframes ball-drop-3 {
  0% {
    bottom: 0;
    left: 0;
    transform: rotate(0deg) scale(0.3);
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  75% {
    bottom: -195px;
    left: 38px;
    transform: rotate(270deg) scale(1.06);
  }

  90% {
    bottom: -180px;
    left: 38px;
    transform: rotate(315deg) scale(0.97);
  }

  100% {
    bottom: -185px;
    left: 38px;
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

@keyframes ball-drop-4 {
  0% {
    bottom: 0;
    left: 0;
    transform: rotate(0deg) scale(0.3);
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  75% {
    bottom: -195px;
    left: 110px;
    transform: rotate(270deg) scale(1.06);
  }

  90% {
    bottom: -180px;
    left: 110px;
    transform: rotate(315deg) scale(0.97);
  }

  100% {
    bottom: -185px;
    left: 110px;
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

/* Individual Icon Bouncy Ball Rotate on Hover */
.rs-team-one .rs-team-social a i {
  display: inline-block !important;
  font-size: 24px !important;
  transition: all 0.3s ease !important;
}

/* Set specific brand colors by default */
.rs-team-one .rs-team-social a .ri-facebook-fill {
  color: #1877F2 !important;
}

.rs-team-one .rs-team-social a .ri-twitter-x-fill {
  color: #000000 !important;
}

.rs-team-one .rs-team-social a .ri-instagram-line {
  color: #E1306C !important;
}

.rs-team-one .rs-team-social a .ri-linkedin-fill {
  color: #0077B5 !important;
}

/* On hover: fill background with brand color and turn icon white */
.rs-team-one .rs-team-social a:nth-child(2):hover {
  background-color: #1877F2 !important;
  border-color: #1877F2 !important;
}

.rs-team-one .rs-team-social a:nth-child(2):hover i {
  color: #ffffff !important;
}

.rs-team-one .rs-team-social a:nth-child(3):hover {
  background-color: #000000 !important;
  border-color: #000000 !important;
}

.rs-team-one .rs-team-social a:nth-child(3):hover i {
  color: #ffffff !important;
}

.rs-team-one .rs-team-social a:nth-child(4):hover {
  background-color: #E1306C !important;
  border-color: #E1306C !important;
}

.rs-team-one .rs-team-social a:nth-child(4):hover i {
  color: #ffffff !important;
}

.rs-team-one .rs-team-social a:nth-child(5):hover {
  background-color: #0077B5 !important;
  border-color: #0077B5 !important;
}

.rs-team-one .rs-team-social a:nth-child(5):hover i {
  color: #ffffff !important;
}

.rs-team-one .rs-team-social a:hover i {
  animation: bounceRotate 0.8s ease !important;
}

@keyframes bounceRotate {
  0% {
    transform: translateY(-20px) rotate(0deg);
  }

  40% {
    transform: translateY(10px) rotate(180deg);
  }

  60% {
    transform: translateY(-5px) rotate(250deg);
  }

  100% {
    transform: translateY(0) rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Falling Stationery Animation Overrides (Program Area Bottom)
--------------------------------------------------------------*/
.rs-program-area {
  position: relative !important;
  overflow: hidden !important;
}

.falling-stationery-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.falling-item {
  position: absolute;
  bottom: 25px;
  /* rest position slightly offset from the bottom edge */
  width: 60px;
  height: 60px;
  opacity: 0;
  color: #ffffff;
}

.falling-item svg {
  width: 100%;
  height: 100%;
  stroke: #ffffff;
  stroke-width: 1.5;
  filter: drop-shadow(0 0 8px #ffffff) drop-shadow(0 0 15px rgba(255, 255, 255, 0.7));
}

/* Horizontal positioning for desktop */
.falling-item.item-bag {
  left: 5%;
  --land-rotation: -10deg;
}

.falling-item.item-pencil {
  left: 13%;
  --land-rotation: 20deg;
}

.falling-item.item-book {
  left: 21%;
  --land-rotation: -5deg;
}

.falling-item.item-laptop {
  left: 29%;
  --land-rotation: 0deg;
}

.falling-item.item-ruler {
  left: 37%;
  --land-rotation: 30deg;
}

.falling-item.item-cap {
  left: 45%;
  --land-rotation: -15deg;
}

.falling-item.item-palette {
  left: 53%;
  --land-rotation: 12deg;
}

.falling-item.item-microscope {
  left: 61%;
  --land-rotation: -8deg;
}

.falling-item.item-globe {
  left: 69%;
  --land-rotation: 15deg;
}

.falling-item.item-calculator {
  left: 77%;
  --land-rotation: -12deg;
}

.falling-item.item-clock {
  left: 85%;
  --land-rotation: 8deg;
}

.falling-item.item-bell {
  left: 93%;
  --land-rotation: -22deg;
}

/* Triggering animation on observer success */
.animate-falling-stationery .falling-item {
  animation: fall-gravity 1.4s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

/* Delay staggered effects */
.animate-falling-stationery .falling-item.item-bag {
  animation-delay: 0.05s;
}

.animate-falling-stationery .falling-item.item-pencil {
  animation-delay: 0.25s;
}

.animate-falling-stationery .falling-item.item-book {
  animation-delay: 0.1s;
}

.animate-falling-stationery .falling-item.item-laptop {
  animation-delay: 0.45s;
}

.animate-falling-stationery .falling-item.item-ruler {
  animation-delay: 0.15s;
}

.animate-falling-stationery .falling-item.item-cap {
  animation-delay: 0.35s;
}

.animate-falling-stationery .falling-item.item-palette {
  animation-delay: 0.2s;
}

.animate-falling-stationery .falling-item.item-microscope {
  animation-delay: 0.5s;
}

.animate-falling-stationery .falling-item.item-globe {
  animation-delay: 0.3s;
}

.animate-falling-stationery .falling-item.item-calculator {
  animation-delay: 0.4s;
}

.animate-falling-stationery .falling-item.item-clock {
  animation-delay: 0.18s;
}

.animate-falling-stationery .falling-item.item-bell {
  animation-delay: 0.55s;
}

@keyframes fall-gravity {
  0% {
    transform: translateY(-800px) rotate(-140deg);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  65% {
    transform: translateY(0) rotate(5deg);
  }

  75% {
    transform: translateY(-50px) rotate(-8deg);
  }

  85% {
    transform: translateY(0) rotate(3deg);
  }

  92% {
    transform: translateY(-15px) rotate(-3deg);
  }

  100% {
    transform: translateY(0) rotate(var(--land-rotation, 0deg));
    opacity: 1;
  }
}

/* Responsive adjustments for mobile/tablets */
@media (max-width: 991px) {
  .falling-item {
    width: 45px;
    height: 45px;
    bottom: 15px;
  }

  /* Hide minor elements on tablets to prevent visual clutter */
  .falling-item.item-ruler,
  .falling-item.item-palette,
  .falling-item.item-microscope,
  .falling-item.item-clock {
    display: none !important;
  }

  /* Spacing for remaining 8 items on tablet */
  .falling-item.item-bag {
    left: 5%;
  }

  .falling-item.item-pencil {
    left: 18%;
  }

  .falling-item.item-book {
    left: 31%;
  }

  .falling-item.item-laptop {
    left: 44%;
  }

  .falling-item.item-cap {
    left: 57%;
  }

  .falling-item.item-globe {
    left: 70%;
  }

  .falling-item.item-calculator {
    left: 83%;
  }

  .falling-item.item-bell {
    left: 94%;
  }
}

@media (max-width: 767px) {
  .falling-item {
    width: 38px;
    height: 38px;
    bottom: 10px;
  }

  /* Hide minor elements on mobile to prevent overlapping */
  .falling-item.item-ruler,
  .falling-item.item-palette,
  .falling-item.item-microscope,
  .falling-item.item-clock,
  .falling-item.item-globe,
  .falling-item.item-calculator {
    display: none !important;
  }

  /* Spacing for remaining 6 items on mobile */
  .falling-item.item-bag {
    left: 4%;
  }

  .falling-item.item-pencil {
    left: 22%;
  }

  .falling-item.item-book {
    left: 40%;
  }

  .falling-item.item-laptop {
    left: 58%;
  }

  .falling-item.item-cap {
    left: 76%;
  }

  .falling-item.item-bell {
    left: 92%;
  }
}

/*--------------------------------------------------------------
# Event Card Hover Effects (Jelly, Sheen, Contrast & Glow)
--------------------------------------------------------------*/
/* Target only the event section's cards */
.rs-event-area .rs-event-item {
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
  position: relative;
  overflow: visible;
  /* to allow the glow to extend outwards */
}

/* 1. CSS Jello Wobble Animation on hover */
.rs-event-area .rs-event-item:hover {
  animation: jelly-wobble-card 0.9s ease-in-out;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

/* 2. Image Contrast & Saturation on hover */
.rs-event-area .rs-event-item .rs-event-thumb img {
  transition: filter 0.4s ease, transform 0.4s ease !important;
}

.rs-event-area .rs-event-item:hover .rs-event-thumb img {
  filter: contrast(1.2) brightness(1.1) saturate(1.1) !important;
}

/* 3. Drop Shadow/Glow on hover */
.rs-event-area .rs-event-item .rs-event-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  /* Matches layout */
  transition: box-shadow 0.4s ease !important;
}

.rs-event-area .rs-event-item:hover .rs-event-thumb {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 30px rgba(220, 174, 29, 0.6) !important;
}

/* 4. Diagonal Sheen sweep animation (smooth diagonal sweep) */
.rs-event-area .rs-event-thumb::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent);
  transform: skewX(-25deg);
  z-index: 3;
  pointer-events: none;
}

.rs-event-area .rs-event-item:hover .rs-event-thumb::before {
  left: 150%;
  transition: left 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes jelly-wobble-card {
  0% {
    transform: scale3d(1, 1, 1);
  }

  15% {
    transform: scale3d(1.06, 0.94, 1) rotate(-1.5deg);
  }

  30% {
    transform: scale3d(0.94, 1.06, 1) rotate(1.5deg);
  }

  45% {
    transform: scale3d(1.03, 0.97, 1) rotate(-1deg);
  }

  60% {
    transform: scale3d(0.98, 1.02, 1) rotate(0.5deg);
  }

  75% {
    transform: scale3d(1.01, 0.99, 1) rotate(-0.2deg);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}

/*--------------------------------------------------------------
# Campus Life Section Custom Styling
--------------------------------------------------------------*/
.rs-campus-life-area.rs-campus-life-two {
  position: relative !important;
  height: 35vh !important;
  min-height: 250px !important;
  width: 100% !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Full Width and height backgrounds */
.rs-campus-life-area.rs-campus-life-two .rs-campus-life-wrapper,
.rs-campus-life-area.rs-campus-life-two .rs-campus-life-thumb-large,
.rs-campus-life-area.rs-campus-life-two .swiper,
.rs-campus-life-area.rs-campus-life-two .swiper-wrapper,
.rs-campus-life-area.rs-campus-life-two .swiper-slide,
.rs-campus-life-area.rs-campus-life-two .rs-campus-life-bg-thumb {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rs-campus-life-area.rs-campus-life-two .rs-campus-life-bg-thumb {
  background-size: cover !important;
  background-position: center !important;
}

/* Light Yellow Overlay Layer */
.rs-campus-life-area.rs-campus-life-two::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(255, 255, 255, 0.85) !important;
  /* white overlay */
  z-index: 2 !important;
  pointer-events: none !important;
}

/* Hide small nav thumbnail images */
.rs-campus-life-area.rs-campus-life-two .rs-campus-life-thumb-small {
  display: none !important;
}

/* Container & center wrapper positioning */
.rs-campus-life-area.rs-campus-life-two .container {
  position: relative !important;
  z-index: 3 !important;
  pointer-events: none !important;
  max-width: 90% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.rs-campus-life-area.rs-campus-life-two .rs-campus-life-sec-wrapper {
  text-align: center !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Crumbled Text styling */
.crumbled-text {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem) !important;
  font-weight: 900 !important;
  color: #00303F !important;
  /* Premium dark color for contrast */
  text-shadow: 0 4px 10px rgba(255, 255, 255, 0.9), 0 2px 4px rgba(255, 255, 255, 0.7) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px 18px !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

.crumb-word {
  display: inline-block !important;
  will-change: transform, opacity !important;
}

/*--------------------------------------------------------------
# Testimonial Card Glassmorphism, Lift, and Snake Border Hover Animation
--------------------------------------------------------------*/
.rs-testimonial-area .rs-testimonial-item {
  position: relative !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.45) !important;
  /* Glassmorphic background */
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  /* Subtle white border */
  border-radius: 16px !important;
  padding: 30px !important;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.4s ease, box-shadow 0.4s ease !important;
  z-index: 1;
}

/* On Hover: Lift up, increase contrast & brightness, and add glowing box-shadow */
.rs-testimonial-area .rs-testimonial-item:hover {
  transform: translateY(-12px) !important;
  /* Lifts the card upwards */
  filter: contrast(1.15) brightness(1.05) !important;
  /* Increases contrast on hover */
  box-shadow: 0 20px 40px rgba(0, 46, 61, 0.25), 0 0 15px rgba(0, 46, 61, 0.15) !important;
}

/* Snake line container styles */
.rs-testimonial-area .rs-testimonial-item .snake-line {
  position: absolute !important;
  display: block !important;
  z-index: 5 !important;
  pointer-events: none !important;
  opacity: 0;
  transition: opacity 0.3s ease !important;
}

.rs-testimonial-area .rs-testimonial-item:hover .snake-line {
  opacity: 1 !important;
}

/* Snake Line 1: Top edge moving left to right */
.rs-testimonial-area .rs-testimonial-item .snake-line:nth-child(1) {
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 3px !important;
  background: linear-gradient(90deg, transparent, #002e3d) !important;
}

.rs-testimonial-area .rs-testimonial-item:hover .snake-line:nth-child(1) {
  animation: snake-top-glow 1.8s linear infinite !important;
}

@keyframes snake-top-glow {
  0% {
    left: -100%;
  }

  50%,
  100% {
    left: 100%;
  }
}

/* Snake Line 2: Right edge moving top to bottom */
.rs-testimonial-area .rs-testimonial-item .snake-line:nth-child(2) {
  top: -100% !important;
  right: 0 !important;
  width: 3px !important;
  height: 100% !important;
  background: linear-gradient(180deg, transparent, #002e3d) !important;
}

.rs-testimonial-area .rs-testimonial-item:hover .snake-line:nth-child(2) {
  animation: snake-right-glow 1.8s linear infinite !important;
  animation-delay: 0.45s !important;
}

@keyframes snake-right-glow {
  0% {
    top: -100%;
  }

  50%,
  100% {
    top: 100%;
  }
}

/* Snake Line 3: Bottom edge moving right to left */
.rs-testimonial-area .rs-testimonial-item .snake-line:nth-child(3) {
  bottom: 0 !important;
  right: -100% !important;
  width: 100% !important;
  height: 3px !important;
  background: linear-gradient(270deg, transparent, #002e3d) !important;
}

.rs-testimonial-area .rs-testimonial-item:hover .snake-line:nth-child(3) {
  animation: snake-bottom-glow 1.8s linear infinite !important;
  animation-delay: 0.9s !important;
}

@keyframes snake-bottom-glow {
  0% {
    right: -100%;
  }

  50%,
  100% {
    right: 100%;
  }
}

/* Snake Line 4: Left edge moving bottom to top */
.rs-testimonial-area .rs-testimonial-item .snake-line:nth-child(4) {
  bottom: -100% !important;
  left: 0 !important;
  width: 3px !important;
  height: 100% !important;
  background: linear-gradient(360deg, transparent, #002e3d) !important;
}

.rs-testimonial-area .rs-testimonial-item:hover .snake-line:nth-child(4) {
  animation: snake-left-glow 1.8s linear infinite !important;
  animation-delay: 1.35s !important;
}

@keyframes snake-left-glow {
  0% {
    bottom: -100%;
  }

  50%,
  100% {
    bottom: 100%;
  }
}

/*--------------------------------------------------------------
# Blog / Latest News Card Hover Animations (Glassy, Lift & Contrast)
--------------------------------------------------------------*/
.rs-blog-area .rs-blog-item {
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease !important;
  will-change: transform, background, box-shadow, filter;
  position: relative !important;
}

.rs-blog-area .rs-blog-item:hover {
  transform: translateY(-10px) scale(1.03) !important;
  /* Animates/moves card towards the user */
  background: rgba(255, 255, 255, 0.75) !important;
  /* White glassy background */
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  filter: contrast(1.15) brightness(1.05) !important;
  /* Boosts contrast on hover */
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.45), 0 0 20px rgba(255, 255, 255, 0.3) !important;
  /* Glowy shadow */
  z-index: 5 !important;
}

/*--------------------------------------------------------------
# Continuous Marquee Scrolling for Discover Campus Life Background
--------------------------------------------------------------*/
.rs-gallery-area {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.rs-gallery-wrapper {
  overflow: hidden !important;
  white-space: nowrap !important;
  position: relative !important;
}

.rs-gallery-item-wrapper.marquee-gallery {
  display: flex !important;
  width: max-content !important;
  animation: scroll-marquee 25s linear infinite !important;
  will-change: transform;
}

/* Pause the scrolling gently on hover */
.rs-gallery-item-wrapper.marquee-gallery:hover {
  animation-play-state: paused !important;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }

  /* The wrapper contains two exact sets of 6 images, so translating -50% loops it perfectly */
  100% {
    transform: translateX(-50%);
  }
}

.rs-gallery-item-wrapper.marquee-gallery .rs-gallery-item {
  flex-shrink: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.rs-gallery-item-wrapper.marquee-gallery .rs-gallery-item img {
  height: 35vh !important;
  /* Constrain image height to 35% */
  width: auto !important;
  /* Maintain aspect ratio horizontally */
  object-fit: cover !important;
}

/*--------------------------------------------------------------
# Contact Area GSAP Parchment Unroll & Owl Float
--------------------------------------------------------------*/
@keyframes hover-float {

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

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

.unroll-parchment {
  background-color: #fffaf0 !important;
  /* Parchment-like warm paper color */
  border: 1px solid #e2d2b3 !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), inset 0 0 20px rgba(220, 174, 29, 0.1) !important;
  border-radius: 8px !important;
  padding: 40px !important;
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
  /* GSAP handles the starting state */
}

/* To enhance the paper look, add a subtle top rolling shadow/gradient */
.unroll-parchment::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent);
  pointer-events: none;
}

/*--------------------------------------------------------------
# Footer Overrides
--------------------------------------------------------------*/
.rs-footer-area.rs-footer-one {
  background: #084c9d !important;
  /* Exact solid background color requested */
}

.rs-footer-area.rs-footer-one::before {
  display: none !important;
  /* Remove any existing gradients/overlays */
}

/* Fix Contact Info Alignment (Stack vertically for clean reading) */
.rs-footer-widget-contact-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  margin-top: 25px !important;
}

.rs-footer-content-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
}

.rs-footer-content-item span {
  min-width: 60px !important;
  margin-bottom: 0 !important;
  font-weight: 600 !important;
}

/* Ensure no weird text wrapping on phone numbers */
.rs-footer-content-item a {
  white-space: nowrap !important;
  word-break: keep-all !important;
}

/* Fix Social Link Alignment */
.rs-footer-widget-social {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 15px !important;
  margin-top: 30px !important;
}

.rs-footer-widget-social .rs-footer-social-title {
  margin-bottom: 0 !important;
  min-width: 80px !important;
}

.rs-footer-social {
  display: flex !important;
  gap: 8px !important;
}

/* Global font size override for all content (excluding headings) */
body,
p,
.section-desc,
.rs-testimonial-desc,
.rs-program-desc,
.rs-blog-desc,
.rs-team-designation,
.rs-testimonial-avater-designation,
ul li,
.rs-footer-widget-content,
.rs-footer-widget-link a,
.rs-contact-input input,
.rs-contact-input textarea,
.btn-text-wrap {
  font-size: 15px !important;
}

/*--------------------------------------------------------------
# Global Responsive Fixes (Mobile & Tablet)
--------------------------------------------------------------*/
html,
body {
  overflow-x: clip !important;
  width: 100%;
}

/* Tablet Adjustments */
@media (max-width: 991px) {
  .rs-contact-form-wrapper {
    padding: 35px 25px !important;
  }

  .rs-about-two .rs-about-thumb-wrapper {
    margin-top: 40px !important;
  }

  .rs-gallery-item-wrapper.marquee-gallery .rs-gallery-item img {
    height: 250px !important;
    width: auto !important;
  }

  .rs-event-area .rs-event-item .rs-event-thumb img {
    height: 200px !important;
  }
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .rs-contact-form-wrapper {
    padding: 25px 15px !important;
  }

  .crumbled-text {
    font-size: 2rem !important;
  }

  .rs-gallery-item-wrapper.marquee-gallery .rs-gallery-item img {
    height: 200px !important;
    width: auto !important;
  }

  .rs-testimonial-area .rs-testimonial-item {
    padding: 20px 15px !important;
  }

  .section-title {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }

  .rs-event-area .rs-event-item .rs-event-thumb img {
    height: 180px !important;
  }

  /* Ensure header logos scale correctly */
  .header-logo img[src="img/logo.webp"] {
    max-height: 50px !important;
  }

  .rs-footer-widget-logo img[src="img/logo.webp"] {
    max-height: 120px !important;
    /* Larger for mobile footer */
  }

  /* Fix slider arrows overlapping on small screens */
  .swiper-button-next,
  .swiper-button-prev {
    transform: scale(0.7) !important;
  }

  /* Header Top Bar Mobile Fixes */
  .rs-header-top-one {
    padding: 8px 10px !important;
    gap: 10px !important;
  }

  .header-top-left {
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .header-top-contact {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: center !important;
  }

  .header-top-contact .shine-sep {
    display: none !important;
    /* Hide pipes on mobile to prevent awkward wrapping */
  }

  .header-top-buttons {
    gap: 6px !important;
  }

  .header-top-buttons .btn {
    font-size: 11px !important;
    padding: 4px 6px !important;
    margin-bottom: 2px !important;
  }
}

/* Hide Theme Settings Gear */
.rs-theme-settings-area,
.rs-theme-settings-gear,
.rs-settings-wrapper {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Fix Offcanvas Menu Z-index to overlay header */
.fix {
  z-index: 999999 !important;
  position: relative;
}

.offcanvas-area {
  z-index: 999999 !important;
  scrollbar-width: thin !important;
  scrollbar-color: var(--color-gold) transparent !important;
}

.offcanvas-area::-webkit-scrollbar {
  display: block !important;
  width: 6px !important;
}

.offcanvas-area::-webkit-scrollbar-track {
  background: transparent !important;
}

.offcanvas-area::-webkit-scrollbar-thumb {
  background-color: var(--color-gold) !important;
  border-radius: 10px !important;
}

.offcanvas-overlay,
.offcanvas-overlay-white {
  z-index: 999998 !important;
  /* Must be lower than offcanvas-area (999999) so it doesn't block clicks/scrolling */
  background-color: transparent !important;
  cursor: default !important;
}

/* Team Card Attractive Animations */
.team-card {
  position: relative;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  z-index: 1;
  transition: all 0.7s ease;
  pointer-events: none;
}

.team-card:hover::before {
  left: 150%;
}

.team-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.team-card .team-img img {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.1);
  filter: contrast(1.15) brightness(1.05);
}

.team-card .team-social a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Funfact Area Hover Effect */
.rs-funfact-item {
  transition: all 0.4s ease;
  cursor: pointer;
}

.rs-funfact-item:hover {
  background-color: var(--color-gold) !important;
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.rs-funfact-item:hover .rs-funfact-title,
.rs-funfact-item:hover .rs-funfact-desc {
  color: var(--rs-white) !important;
}

.rs-funfact-item:hover .rs-funfact-icon svg path {
  fill: var(--rs-white) !important;
}

/* Dropdown Menu Hover Effect */
ul.sub-menu>li>a:hover,
ul.sub-menu>li>a:active,
ul.sub-menu>li>a:focus,
ul.submenu>li>a:hover,
ul.submenu>li>a:active,
ul.submenu>li>a:focus,
.offcanvas-area ul li a:hover,
.offcanvas-area ul li a:active,
.offcanvas-area ul li a:focus,
.rs-offcanvas-menu ul li a:hover,
.rs-offcanvas-menu ul li a:active,
.rs-offcanvas-menu ul li a:focus,
.mean-nav ul li a:hover,
.mean-nav ul li a:active,
.mean-nav ul li a:focus {
  background-color: #084c9d !important;
  color: #ffffff !important;
}

/* Banner Background Overrides */
.rs-banner-bg-thumb::before,
.rs-banner-bg-thumb::after,
.rs-banner-item-wrapper::before,
.rs-banner-item-wrapper::after {
  display: none !important;
  opacity: 0 !important;
}

.rs-banner-bg-thumb {
  background-color: transparent !important;
}

.rs-banner-bg-thumb::before {
  background: transparent !important;
}

/* Flash News Styles */
.flash-news-container .flash-news-strip {
  height: 6px;
  background: repeating-linear-gradient(to right, #004c8c, #004c8c 12px, #ffffff 12px, #ffffff 24px);
}

.flash-news-area {
  display: flex;
  background-color: #ffffff;
}

.flash-news-area .flash-title {
  background-color: #d80000;
  color: white;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flash-news-area .flash-title i {
  font-size: 18px;
}

.flash-news-area .flash-content {
  flex-grow: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: black;
  padding-left: 15px;
  font-size: 16px;
}

.flash-news-area marquee {
  width: 100%;
}

/* Funfact Area Base Styles */
.rs-funfact-area.rs-funfact-one {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Leadership Team Styles */
.custom-team-bg {
  background-color: #ffffff !important;
}

.team-card {
  background: #f9f9f9 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  padding-bottom: 30px !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

.team-img {
  width: 100% !important;
  height: 280px !important;
  overflow: hidden !important;
}

.team-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.team-content {
  padding-top: 25px !important;
}

.team-content h4 {
  color: #00222b !important;
  font-weight: 700 !important;
  margin-bottom: 5px !important;
  font-size: 22px !important;
}

.team-content span {
  color: #d80000 !important;
  font-weight: 600 !important;
  display: block !important;
  margin-bottom: 20px !important;
  font-size: 16px !important;
}

.team-social {
  display: flex !important;
  justify-content: center !important;
  gap: 12px !important;
}

.team-social a {
  width: 45px !important;
  height: 45px !important;
  border-radius: 50% !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 18px !important;
  transition: transform 0.3s ease !important;
}

.team-social a.social-fb {
  background: #ff4d4d;
}

.team-social a.social-tw {
  background: #1bc5bd;
}

.team-social a.social-ig {
  background: #ff7518;
}

.team-social a.social-li {
  background: #26a5d4;
}

/* Notice Board and Events Styles */
.notice-events-bg {
  background-color: #F3FAF8;
}

.notice-board-wrapper,
.upcoming-events-wrapper {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.4s ease;
  margin-top: 30px;
}

.notice-board-wrapper {
  border-top: 5px solid var(--color-gold);
}

.upcoming-events-wrapper {
  border-top: 5px solid var(--color-dark-teal);
}

.notice-board-wrapper:hover,
.upcoming-events-wrapper:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
  position: relative;
}

.section-header h3 {
  color: var(--color-dark-teal);
  font-weight: 800;
  font-size: 26px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header .pin-icon {
  position: absolute;
  top: -65px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  color: var(--color-gold);
  text-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);
}

.notice-list li,
.events-list .event-item {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed rgba(0, 48, 63, 0.15);
}

.notice-list li:last-child,
.events-list .event-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.notice-list a {
  color: var(--color-dark-teal);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  line-height: 1.5;
}

.notice-list a i {
  color: var(--color-gold);
  margin-right: 12px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.notice-list a:hover {
  color: var(--color-gold);
  padding-left: 8px;
}

.notice-list a:hover i {
  transform: scale(1.2);
}

.events-list .event-item {
  display: flex;
  align-items: center;
}

.events-list .event-date {
  background: var(--color-dark-teal);
  color: #ffffff;
  text-align: center;
  border-radius: 8px;
  padding: 10px;
  min-width: 65px;
  margin-right: 18px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.events-list .event-item:hover .event-date {
  background: var(--color-gold);
  color: var(--color-dark-teal);
  transform: scale(1.05);
}

.events-list .event-date span {
  display: block;
}

.events-list .event-date .day {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.events-list .event-date .month {
  font-size: 12px;
  text-transform: uppercase;
  margin-top: 4px;
  font-weight: 700;
}

.events-list .event-info p {
  color: var(--color-dark-teal);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.events-list .event-item:hover .event-info p {
  color: var(--color-gold);
}

.events-list .event-info .time {
  font-size: 13px;
  color: var(--color-sage);
  margin-top: 5px;
  display: block;
  font-weight: 500;
}

/* About Area Typography Styles */
.rs-about-area.about-area-wrapper {
  position: relative;
  overflow: hidden;
}

.about-section-title {
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.2;
}

.about-section-desc {
  text-align: justify;
  margin-bottom: 15px;
}

.about-strong-text {
  color: #00222b;
  font-weight: 600;
}

.about-bullet {
  margin: 0 5px;
  color: #a31f37;
}

/* --- Additional Migrated Styles --- */

/* Notice Board Additions */
.notice-marquee-container {
  height: 350px;
  overflow: hidden;
  position: relative;
}

.notice-marquee-container marquee {
  height: 100%;
}

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.upcoming-events-wrapper .pin-icon {
  color: var(--color-dark-teal) !important;
}

/* Program Area Additions */
.rs-program-item {
  background: #d2e6df !important;
  border: none !important;
}

.rs-program-item .rs-program-thumb img {
  height: 250px !important;
  object-fit: cover !important;
  width: 100% !important;
}

.rs-program-content {
  padding: 30px !important;
}

.rs-program-two {
  background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('../school_images/slider/s1.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
}

/* Faculty Area Additions */
.rs-faculty-five {
  position: relative;
  overflow: hidden;
}

/* Event Area Additions */
.rs-event-area .section-title {
  font-size: 36px !important;
  line-height: 1.3 !important;
}

/* Team Area Styles from Style Block */
.rs-team-area .rs-team-social a {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100px !important;
  height: 100px !important;
  font-size: 28px !important;
  margin: 0 8px !important;
  border-radius: 50% !important;
}

.rs-team-area .rs-team-social a i {
  font-size: 28px !important;
  line-height: 1 !important;
}

.rs-team-area .rs-team-social .social-icon {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 60px !important;
  height: 60px !important;
  font-size: 28px !important;
  border-radius: 50% !important;
}

.rs-team-area .rs-team-social .social-icon i {
  font-size: 28px !important;
  line-height: 1 !important;
}

.rs-team-area .rs-team-social {
  gap: 5px;
  padding: 15px !important;
}

.rs-team-area .rs-team-content-wrapper {
  padding-top: 50px !important;
}

/* Offcanvas Scrollbar Fix */
.offcanvas-area {
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: var(--color-gold) transparent !important;
}

.offcanvas-area::-webkit-scrollbar {
  display: block !important;
  width: 6px !important;
}

.offcanvas-area::-webkit-scrollbar-track {
  background: transparent !important;
}

.offcanvas-area::-webkit-scrollbar-thumb {
  background-color: var(--color-gold) !important;
  border-radius: 10px !important;
}

/* ============================================
   About Section - Content Clipped to Image Height
   ============================================ */
.rs-about-wrapper {
  display: flex !important;
  align-items: stretch !important;
}

.rs-about-thumb {
  flex-shrink: 0 !important;
}

.rs-about-content-wrapper.about-content-clipped {
  /* Height auto-matches via flex stretch */
}

.rs-about-btn-wrapper {
  padding: 15px 0 0 0;
}

/* About page full content styling */
.about-full-content {
  padding: 60px 0;
}

.about-full-content .about-section-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  margin-bottom: 40px;
}

.about-full-content .about-section-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-highlight-box {
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f4f8 100%);
  border-left: 4px solid var(--color-gold, #DCAE1D);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 20px 0;
}

.about-highlight-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.about-stat-card {
  background: white;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid var(--color-gold, #DCAE1D);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.about-stat-card .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #084c9d;
  line-height: 1;
  margin-bottom: 6px;
}

.about-stat-card .stat-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.about-values-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.about-values-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

.about-values-list li:last-child {
  border-bottom: none;
}

.about-values-list li .check-icon {
  color: var(--color-gold, #DCAE1D);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   Programs & Academics Card Grid System
   ============================================ */
.program-cards-grid {
  margin-top: 20px;
}

.prog-card {
  background: #ffffff;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.prog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.prog-card-badge {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 45px;
  height: 45px;
  background: var(--color-gold, #DCAE1D);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(220, 174, 29, 0.4);
  z-index: 3;
}

.prog-card-img {
  position: relative;
  height: 240px;
  width: 100%;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.prog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.prog-card:hover .prog-card-img img {
  transform: scale(1.08);
}

.prog-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 34, 45, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.prog-card:hover .prog-card-overlay {
  opacity: 1;
}

.prog-card-body {
  padding: 35px 30px;
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0 0 16px 16px;
}

.prog-card-icon {
  position: absolute;
  top: -30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-dark-teal, #084c9d);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition: transform 0.4s ease;
}

.prog-card:hover .prog-card-icon {
  transform: rotateY(360deg);
  background: var(--color-gold, #DCAE1D);
  color: #fff;
}

.prog-card-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-dark-teal, #00222d);
  margin-bottom: 5px;
}

.prog-card-class {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gold, #DCAE1D);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.prog-card-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
}

.prog-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.prog-card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
  margin-bottom: 12px;
}

.prog-card-list li:last-child {
  margin-bottom: 0;
}

.prog-card-list li i {
  color: #28a745;
  font-size: 16px;
}

.prog-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  /* Centers the button in flex column */
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff !important;
  background-color: var(--color-dark-teal, #084c9d);
  padding: 8px 20px;
  /* Reduced padding (blue strip) */
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.prog-card-btn i {
  transition: transform 0.3s ease;
}

.prog-card-btn:hover {
  background-color: var(--color-gold, #DCAE1D);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 174, 29, 0.4);
}

.prog-card-btn:hover i {
  transform: translateX(4px);
}

/* ============================================
   Custom Swiper Navigation Buttons (Testimonials)
   ============================================ */
.rs-testimonial-slider-wrapper,
.rs-team-wrapper,
.rs-event-wrapper {
  position: relative;
}

.rs-testimonial-slider-wrapper .custom-swiper-btn,
.rs-team-wrapper .custom-swiper-btn,
.rs-event-wrapper .custom-swiper-btn {
  position: absolute !important;
  top: 50% !important;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  color: var(--color-gold, #DCAE1D);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 10;
  margin-top: -25px;
}

.rs-testimonial-slider-wrapper .custom-swiper-btn:hover,
.rs-team-wrapper .custom-swiper-btn:hover,
.rs-event-wrapper .custom-swiper-btn:hover {
  background-color: var(--color-gold, #DCAE1D);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(220, 174, 29, 0.4);
}

.rs-testimonial-slider-wrapper .swiper-button-prev::after,
.rs-testimonial-slider-wrapper .swiper-button-next::after,
.rs-team-wrapper .swiper-button-prev::after,
.rs-team-wrapper .swiper-button-next::after,
.rs-event-wrapper .swiper-button-prev::after,
.rs-event-wrapper .swiper-button-next::after {
  display: none;
  /* Hide default swiper icons since we use remix icons */
}

.rs-testimonial-slider-wrapper .swiper-button-prev,
.rs-team-wrapper .swiper-button-prev,
.rs-event-wrapper .swiper-button-prev {
  left: 15px !important;
}

.rs-testimonial-slider-wrapper .swiper-button-next,
.rs-team-wrapper .swiper-button-next,
.rs-event-wrapper .swiper-button-next {
  right: 15px !important;
  left: auto !important;
}

@media (max-width: 768px) {

  .rs-testimonial-slider-wrapper .swiper-button-prev,
  .rs-team-wrapper .swiper-button-prev,
  .rs-event-wrapper .swiper-button-prev {
    left: 0px !important;
  }

  .rs-testimonial-slider-wrapper .swiper-button-next,
  .rs-team-wrapper .swiper-button-next,
  .rs-event-wrapper .swiper-button-next {
    right: 0px !important;
  }
}

/* Center and resize the Apply Now buttons on Program cards */
.prog-card-body {
  display: flex;
  flex-direction: column;
}

.prog-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 15px auto 0;
  padding: 10px 30px;
  border-radius: 6px;
}

@media (max-width: 767px) {
  .prog-card-badge {
    left: 5px;
    top: -10px;
  }
}

/* Ensure Event Cards (Our Core Focus) have the same height */
.rs-event-area .swiper-slide {
  height: auto;
}

.rs-event-area .rs-event-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rs-event-area .rs-event-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.rs-event-area .rs-event-btn {
  margin-top: auto !important;
}

/* Style for Team Coordinator Headings (Designations) */
.rs-team-item .rs-team-designation {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-dark-teal, #084c9d);
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 8px;
  font-family: var(--font-primary, 'Jost', sans-serif);
}

.rs-team-item .rs-team-designation::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--color-gold, #DCAE1D);
  border-radius: 2px;
}

.hide-team-name {
  display: none !important;
}

/* Ensure Team Cards (Our Team) have the same height */
.rs-team-wrapper .swiper-slide {
  height: auto;
}

.rs-team-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rs-team-item .rs-team-content-wrapper {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.rs-team-item .rs-team-desc {
  flex-grow: 1;
}

/* Board Results Section Styles */
.rs-board-results-area {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #f8f9fa;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2H0v-2h20v-2H0V8h20V6H0V4h20V2H0V0h22v20h-2zm0 20v-2H0v-2h20v-2H0v-2h20v-2H0v-2h20v-2H0v-2h20v-2H0v-2h22v20h-2zM40 20.5V18H20v-2h20v-2H20v-2h20v-2H20V8h20V6H20V4h20V2H20V0h20v20zM40 40.5V38H20v-2h20v-2H20v-2h20v-2H20v-2h20v-2H20v-2h20v-2H20v-2h20v20z' fill='%23e9ecef' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.board-results-col {
  background: transparent;
}

.board-results-header {
  background-color: #cc0000;
  color: #ffffff;
  text-align: center;
  padding: 12px 15px;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 2px solid #a10000;
  margin-bottom: 0;
}

.board-result-card {
  display: flex;
  flex-direction: column;
}

.board-result-img {
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 3px solid #28a745;
  background: #fff;
}

.board-result-img.border-green {
  border-color: #28a745;
}

.board-result-img.border-orange {
  border-color: #b05c28;
}

.board-result-img img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

.board-result-info {
  background-color: #03214d;
  color: #ffffff;
  text-align: center;
  padding: 12px 10px;
}

.board-result-name {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}

.board-result-percent {
  color: #ffc107;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0;
}

.board-view-more {
  text-align: center;
  margin-top: 20px;
}

.board-view-more a {
  display: inline-block;
  color: #03214d;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 2px solid #03214d;
  transition: all 0.3s ease;
}

.board-view-more a:hover {
  color: #cc0000;
  border-bottom-color: #cc0000;
}

.board-results-swiper {
  position: relative;
  overflow: hidden;
  padding: 1px;
  /* space for borders */
}

/* Custom Swiper Buttons for this section */
.board-results-swiper .swiper-button-prev,
.board-results-swiper .swiper-button-next {
  width: auto;
  height: auto;
  background-color: rgba(255, 255, 255, 0.85);
  color: #333;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  text-transform: lowercase;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  margin-top: -30px;
}

.board-results-swiper .swiper-button-prev::after,
.board-results-swiper .swiper-button-next::after {
  display: none;
  /* Hide default arrows, use text */
}

.board-results-swiper .swiper-button-prev::before {
  content: "prev";
  border-bottom: 2px solid #333;
}

.board-results-swiper .swiper-button-next::before {
  content: "next";
  border-bottom: 2px solid #333;
}

.board-results-swiper .swiper-button-prev {
  left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.board-results-swiper .swiper-button-next {
  right: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* -------------------------------------
   Class X Board Results Page Styles
--------------------------------------- */
.rs-board-results-page-area {
  padding-top: 150px;
  /* Space for sticky header */
  padding-bottom: 60px;
  background-color: #ffffff;
}

.board-page-main-title {
  text-align: center;
  color: #03214d !important;
  font-weight: 700;
  margin-bottom: 40px;
  font-size: 28px;
}

.board-page-section-header {
  background-color: #cc0000;
  color: #ffffff;
  text-align: center;
  padding: 12px 15px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 30px;
}

.board-page-cards-row {
  max-width: 1000px;
  margin: 0 auto;
}

.board-page-card {
  border: 1px solid #e0e0e0;
  padding: 5px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.board-page-card-img-wrap {
  border: 2px solid #28a745;
  margin-bottom: 10px;
  overflow: hidden;
}

.board-page-card-img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.board-page-card-info {
  text-align: center;
  padding: 5px 0;
}

.board-page-card-name {
  color: #000000;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.board-page-card-percent {
  color: #cc0000;
  font-size: 14px;
  font-weight: 700;
}

.board-page-table-wrapper {
  overflow-x: auto;
  margin-bottom: 50px;
}

.board-page-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.board-page-table th {
  background-color: #f1f1f1;
  color: #000000;
  padding: 12px 15px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid #e0e0e0;
}

.board-page-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
  color: #333333;
}

.board-page-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.board-page-slogan {
  text-align: center;
  color: #28a745;
  font-size: 18px;
  font-weight: 700;
  margin-top: 20px;
  line-height: 1.4;
}

/* Focus Areas Page Styles */
.focus-page-img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.focus-page-img.contain {
  object-fit: contain;
  background-color: #f8f9fa;
}

.focus-page-title {
  margin-bottom: 10px;
  font-size: 22px;
}

.focus-page-meta {
  display: block;
}

.focus-page-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 0;
}

.focus-page-btn-wrap {
  margin-top: 20px;
}

/* Fix testimonial image cropping to keep faces visible */
.testimonial-avatar-img {
  object-fit: cover;
  object-position: top center;
  width: 100%;
  height: 100%;
}

/* Focus Detail Pages */
.focus-detail-breadcrumb {
  padding: 120px 0 100px 0;
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/about/about-thumb-18.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: white;
}

.focus-detail-breadcrumb-title {
  color: white;
  font-size: 48px;
  margin-bottom: 10px;
}

.focus-detail-breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
}

.focus-detail-breadcrumb-list a {
  color: #DCAE1D;
  text-decoration: none;
}

/* About Us Box Titles */
.about-box-title-gold {
  color: #DCAE1D !important;
  font-size: 20px !important;
  margin-bottom: 14px !important;
}

.about-box-title-white {
  color: #ffffff !important;
  font-size: 20px !important;
  margin-bottom: 14px !important;
}

.focus-detail-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.focus-detail-title {
  margin-bottom: 20px;
  color: #004b93;
}

.focus-detail-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

/* Page Specific Breadcrumbs */
.page-breadcrumb-area {
  padding: 17px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: #ffffff;
}

.page-breadcrumb-area.laboratories-bg {
  background-image: linear-gradient(rgba(0, 34, 45, 0.75), rgba(0, 34, 45, 0.75)), url('../images/heading_img/bg_laboratories.png');
}

.page-breadcrumb-title {
  color: #ffffff !important;
  font-size: 48px;
  margin-bottom: 10px;
}

.page-breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
}

.page-breadcrumb-list li {
  color: #ffffff;
}

.page-breadcrumb-list a {
  color: #f9a11b !important;
  text-decoration: none;
}

.page-breadcrumb-area.security-safety-bg {
  background-image: linear-gradient(rgba(0, 34, 45, 0.75), rgba(0, 34, 45, 0.75)), url('../images/heading_img/bg_school_campus.png');
}
.breadcrumb-bg-about {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../banner/banner_1.webp');
}

.breadcrumb-bg-admin-staff {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_admission_guidelines.png');
}

.breadcrumb-bg-admission-guidelines {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_admission_guidelines.png');
}

.breadcrumb-bg-alumni {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_alumni.png');
}

.breadcrumb-bg-apply-now {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/about/about-thumb-18.webp');
}

.breadcrumb-bg-assembly {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_school_campus.png');
}

.breadcrumb-bg-book-list {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_book_list.png');
}

.breadcrumb-bg-clubs {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_laboratories.png');
}

.breadcrumb-bg-community-outreach {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_school_campus.png');
}

.breadcrumb-bg-cookies-policy {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/about/about-thumb-18.webp');
}

.breadcrumb-bg-curriculum {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_prospectus.png');
}

.breadcrumb-bg-disclaimer {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/about/about-thumb-18.webp');
}

.breadcrumb-bg-faculty-members {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/about/about-thumb-18.webp');
}

.breadcrumb-bg-fee-structure {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_fee_structure.png');
}

.breadcrumb-bg-fln {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_new_admission.png');
}

.breadcrumb-bg-focus-academic-excellence-future-success {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../school_images/slider/s2.webp');
}

.breadcrumb-bg-focus-areas {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/about/about-thumb-18.webp');
}

.breadcrumb-bg-focus-creative-arts-co-curriculars {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../school_images/slider/s1.webp');
}

.breadcrumb-bg-focus-early-childhood-to-academic-mastery {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../school_images/slider/s4.webp');
}

.breadcrumb-bg-focus-future-ready-education {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../school_images/slider/s2.webp');
}

.breadcrumb-bg-focus-holistic-learning-student-growth {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../school_images/slider/s1.webp');
}

.breadcrumb-bg-focus-innovation-research-skill-development {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../school_images/slider/s3.webp');
}

.breadcrumb-bg-focus-leadership-values-character-building {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../school_images/slider/s5.webp');
}

.breadcrumb-bg-foundational {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_new_admission.png');
}

.breadcrumb-bg-health-wellness {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_infirmary.png');
}

.breadcrumb-bg-holistic-development {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_playground.png');
}

.breadcrumb-bg-house-system {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_school_uniform.png');
}

.breadcrumb-bg-infirmary {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_infirmary.png');
}

.breadcrumb-bg-international-connect {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_library.png');
}

.breadcrumb-bg-library {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_library.png');
}

.breadcrumb-bg-life-skill {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_laboratories.png');
}

.breadcrumb-bg-mandatory-public-disclosure {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_mandatory.png');
}

.breadcrumb-bg-middle {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_library.png');
}

.breadcrumb-bg-ncc {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_playground.png');
}

.breadcrumb-bg-new-admission {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_new_admission.png');
}

.breadcrumb-bg-nss {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_school_campus.png');
}

.breadcrumb-bg-our-mission {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_mission.png');
}

.breadcrumb-bg-patronage {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_patronage.png');
}

.breadcrumb-bg-photo-gallery {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_school_campus.png');
}

.breadcrumb-bg-playground {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_playground.png');
}

.breadcrumb-bg-pre-primary-wing {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_new_admission.png');
}

.breadcrumb-bg-preparatory {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_laboratories.png');
}

.breadcrumb-bg-primary-wing {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_school_uniform.png');
}

.breadcrumb-bg-principals-message {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_principal.png');
}

.breadcrumb-bg-privacy-policy {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/about/about-thumb-18.webp');
}

.breadcrumb-bg-prospectus {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_prospectus.png');
}

.breadcrumb-bg-refund-policy {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/about/about-thumb-18.webp');
}

.breadcrumb-bg-sarvodaya {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_mission.png');
}

.breadcrumb-bg-school-calendar {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_admission_guidelines.png');
}

.breadcrumb-bg-school-campus {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_school_campus.png');
}

.breadcrumb-bg-school-timing {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_school_campus.png');
}

.breadcrumb-bg-school-uniform {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_school_uniform.png');
}

.breadcrumb-bg-sdc {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_laboratories.png');
}

.breadcrumb-bg-secondary {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_school_uniform.png');
}

.breadcrumb-bg-senior-wing {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_library.png');
}

.breadcrumb-bg-smc-pta {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_smc.png');
}

.breadcrumb-bg-sports {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_playground.png');
}

.breadcrumb-bg-steam {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_laboratories.png');
}

.breadcrumb-bg-sustainable-practices {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_school_campus.png');
}

.breadcrumb-bg-team-details {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_principal.png');
}

.breadcrumb-bg-terms-conditions {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/about/about-thumb-18.webp');
}

.breadcrumb-bg-transport {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_school_campus.png');
}

.breadcrumb-bg-values-ethos {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_mandatory.png');
}

.breadcrumb-bg-video-gallery {
  background-image: linear-gradient(rgba(0, 34, 45, 0.78), rgba(0, 34, 45, 0.78)), url('../images/heading_img/bg_school_uniform.png');
}

/* Principal Message Section */
.principal-img-wrapper {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.principal-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.principal-quote-block {
  border-left: 4px solid #a31f37;
  background: transparent;
}
.principal-quote-text {
  font-size: 18px;
  color: #00222b;
  font-style: normal;
  line-height: 1.6;
  font-weight: 700;
}
.principal-desc-text {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 20px;
}

/* Focus Area Section Styles */
.focus-img-contain {
  height: 250px;
  object-fit: contain;
  width: 100%;
  background-color: #f8f9fa;
}
.focus-img-cover {
  height: 250px;
  object-fit: cover;
  width: 100%;
}
.focus-title {
  margin-bottom: 10px;
  font-size: 22px;
}
.focus-meta {
  display: block;
}
.focus-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 0;
}
.focus-btn-wrap {
  margin-top: 20px;
}

/* Footer Custom Styles */
.footer-copy-text {
  color: #ffffff;
}
.footer-copy-link {
  color: red !important;
  font-weight: 600 !important;
}
.footer-policy-link {
  color: rgba(255, 255, 255, 0.7);
}
.footer-policy-sep {
  color: rgba(255, 255, 255, 0.3);
}
.footer-update-text {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Remaining specific elements from index.html */
.director-img {
  object-fit: cover; 
  aspect-ratio: 1; 
  width: 100%;
}
.director-message-text {
  margin-top: 15px; 
  font-size: 14px; 
  color: #555; 
  line-height: 1.6; 
  display: -webkit-box; 
  -webkit-line-clamp: 10; 
  -webkit-box-orient: vertical; 
  overflow: hidden; 
  text-align: left;
}
.gallery-img-thumb {
  height: 300px; 
  width: 400px; 
  object-fit: cover;
}
.map-container-wrapper {
  display: flex; 
  justify-content: center; 
  align-items: center; 
  width: 100%; 
  height: 400px; 
  background: #e5e3df;
}
.map-iframe {
  border: 0;
}
.footer-logo-img {
  max-width: 320px !important; 
  width: 100%; 
  height: auto;
}
.footer-address-link {
  line-height: 1.5; 
  display: inline-block;
}
.footer-social-wrapper {
  background: #fff; 
  border-radius: 8px; 
  padding: 5px;
}
.footer-fb-iframe {
  border: none; 
  overflow: hidden; 
  border-radius: 8px;
}
