/* 9576184 - 9/20/24 - Jon B */

@media (min-width: 1000px) {
  .custom-image-slider .slick-slide figcaption,
  body:not(.fsComposeMode):not(.home):not(.fsHasLeftBanner):not(.fsHasRightBanner).fsHasOneColumnLayout .fsPageLayout .fsLayout .custom-image-slider .slick-slide figcaption {
    width: 80%;
    left: 10%;
  }

  .custom-image-slider .fsPrevButton,
  body:not(.fsComposeMode):not(.home):not(.fsHasLeftBanner):not(.fsHasRightBanner).fsHasOneColumnLayout .fsPageLayout .fsLayout .custom-image-slider .fsPrevButton {
    left: calc(10% - 40px);
  }

  .custom-image-slider .fsNextButton,
  body:not(.fsComposeMode):not(.home):not(.fsHasLeftBanner):not(.fsHasRightBanner).fsHasOneColumnLayout .fsPageLayout .fsLayout .custom-image-slider .fsNextButton {
    right: calc(10% - 40px);
  }
}

@media (max-width: 999px) {
  .custom-image-slider .fsPrevButton {
    left: 0 !important;
  }

  .custom-image-slider .fsNextButton {
    right: 0 !important;
  }
}

/* ==========================================================================
   R.R. VIDYAPEETH BRANDING & ENHANCED HEADER STYLES
   ========================================================================== */

/* Header Brand Flex Container */
#fsHeader .header-logo {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: visible !important;
}

#fsHeader .header-brand,
.overlay-menu .header-brand {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
  text-decoration: none !important;
  transition: opacity 0.25s ease;
}

#fsHeader .header-brand:hover,
.overlay-menu .header-brand:hover {
  opacity: 0.92;
}

/* Header Logo Image - Prominently Increased Size */
#fsHeader .header-logo img[src="/uploaded/rrv-logo.png"] {
  max-height: 112px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
}

#fsHeader .header-logo.white img[src="/uploaded/rrv-logo.png"] {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.4)) !important;
}

/* Header Brand Text Typography */
.header-brand-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: visible !important;
  text-align: left !important;
  line-height: 1.15 !important;
}

.header-brand-text .brand-title,
.header-brand-text .brand-name {
  font-family: 'EB Garamond', 'Cinzel', Georgia, serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
}

.header-brand-text .brand-sub {
  font-family: 'Figtree', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  margin-top: 3px !important;
  white-space: normal !important;
}

.header-brand-text .brand-address {
  font-family: 'Figtree', Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px !important;
  margin-top: 2px !important;
  white-space: normal !important;
  opacity: 0.95 !important;
}

/* State 1: Transparent Header on Hero (White theme) */
#fsHeader .header-logo.white .brand-title {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 3px rgba(0, 0, 0, 0.9) !important;
}

#fsHeader .header-logo.white .brand-sub {
  color: #ffd700 !important; /* Premium Gold */
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8) !important;
}

#fsHeader .header-logo.white .brand-address {
  color: #f1f5f9 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
}

/* State 2: Solid / Colored / Scrolled Header */
#fsHeader .header-logo.colored .brand-title {
  color: #0b2545 !important; /* Deep Royal Navy */
  text-shadow: none !important;
}

#fsHeader .header-logo.colored .brand-sub {
  color: #c07d08 !important; /* Warm Gold */
  text-shadow: none !important;
}

#fsHeader .header-logo.colored .brand-address {
  color: #475569 !important; /* Slate */
  text-shadow: none !important;
}

/* Overlay / Mobile Menu Brand */
.overlay-menu .header-brand-text .brand-title {
  color: #ffffff !important;
}
.overlay-menu .header-brand-text .brand-sub {
  color: #ffd700 !important;
}
.overlay-menu .header-brand-text .brand-address {
  color: #cbd5e1 !important;
}

/* Header Spacing & Vertical Alignment */
#fsHeader .header-main {
  padding-top: 38px !important;
  padding-bottom: 38px !important;
}

.has-hero #fsHeader .header-main,
.no-nav-secondary #fsHeader .header-main {
  padding-top: 38px !important;
  padding-bottom: 38px !important;
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 991px) {
  #fsHeader .header-logo img[src="/uploaded/rrv-logo.png"] {
    max-height: 85px !important;
    max-width: none !important;
  }
  #fsHeader .header-brand {
    gap: 12px !important;
  }
  .header-brand-text .brand-title,
  .header-brand-text .brand-name {
    font-size: 22px !important;
    letter-spacing: 1.5px !important;
  }
  .header-brand-text .brand-sub {
    font-size: 11.5px !important;
  }
  .header-brand-text .brand-address {
    font-size: 10.5px !important;
  }
}

@media (max-width: 899px) {
  #fsHeader .header-main .header-right {
    flex-shrink: 0 !important;
  }
  .overlay-menu .overlay-trigger.search-trigger {
    width: 36px !important;
    height: 36px !important;
    padding: 6px !important;
    margin-left: 4px !important;
    margin-right: 46px !important;
  }
  .mobile-menu-trigger {
    width: 40px !important;
    height: 40px !important;
    padding: 8px !important;
    top: 20px !important;
    right: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .mobile-menu-trigger .fs-menu-handle {
    width: 18px !important;
    height: 12px !important;
  }
}

@media (max-width: 767px) {
  #fsHeader .header-main,
  .has-hero #fsHeader .header-main,
  .no-nav-secondary #fsHeader .header-main {
    padding: 16px 12px !important;
  }
  #fsHeader .header-logo img[src="/uploaded/rrv-logo.png"] {
    max-height: 58px !important;
    max-width: none !important;
  }
  #fsHeader .header-brand {
    gap: 10px !important;
  }
  .header-brand-text .brand-title,
  .header-brand-text .brand-name {
    font-size: clamp(0.95rem, 4vw, 1.25rem) !important;
    letter-spacing: 0.7px !important;
    white-space: nowrap !important;
  }
  .header-brand-text .brand-sub {
    font-size: clamp(0.62rem, 2.5vw, 0.78rem) !important;
    letter-spacing: 0.35px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }
  .header-brand-text .brand-address {
    font-size: clamp(0.58rem, 2.2vw, 0.72rem) !important;
    letter-spacing: 0.2px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }
  .mobile-menu-trigger {
    top: 22px !important;
  }
}

@media (max-width: 480px) {
  #fsHeader .header-logo img[src="/uploaded/rrv-logo.png"] {
    max-height: 52px !important;
    max-width: none !important;
  }
  #fsHeader .header-brand {
    gap: 8px !important;
  }
  .header-brand-text .brand-title,
  .header-brand-text .brand-name {
    font-size: clamp(0.95rem, 4vw, 1.15rem) !important;
    letter-spacing: 0.5px !important;
  }
  .header-brand-text .brand-sub {
    font-size: clamp(0.6rem, 2.4vw, 0.72rem) !important;
  }
  .header-brand-text .brand-address {
    font-size: clamp(0.56rem, 2.1vw, 0.68rem) !important;
  }
  .mobile-menu-trigger {
    top: 19px !important;
  }
}

/* ==========================================================================
   DIRECT TOP HEADER NAVIGATION BAR (Desktop & Mobile)
   ========================================================================== */
#fsHeader .rrv-direct-nav {
  position: relative !important;
  z-index: 120 !important;
  width: 100% !important;
  background: #eaeff5 !important; /* Premium clean grey bar */
  border-top: 1px solid #dce3eb !important;
  border-bottom: 2px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

#fsHeader .rrv-direct-nav-list {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px 22px !important;
  list-style: none !important;
  margin: 0 auto !important;
  padding: 10px 20px !important;
  max-width: 1200px !important;
}

#fsHeader .rrv-direct-nav-list li {
  margin: 0 !important;
  padding: 0 !important;
}

#fsHeader .rrv-direct-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  font-family: 'Figtree', Arial, sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: #00285e !important; /* Dark blue font for inactive */
  background: #ffffff !important; /* Crisp white pill button */
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.22s ease-in-out !important;
  white-space: nowrap !important;
}

#fsHeader .rrv-direct-nav-link:hover,
#fsHeader .rrv-direct-nav-link:focus,
#fsHeader .rrv-direct-nav-link.is-active {
  background: #00285e !important; /* Dark Blue active/hover state */
  color: #ffffff !important; /* Crisp white font */
  border-color: #00285e !important;
  box-shadow: 0 3px 10px rgba(0, 40, 94, 0.28) !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 767px) {
  #fsHeader .rrv-direct-nav-list {
    gap: 6px 8px !important;
    padding: 8px 10px !important;
  }
  #fsHeader .rrv-direct-nav-link {
    padding: 6px 11px !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.5px !important;
  }
}

/* ==========================================================================
   HIDE FLOATING PAGE ALERT / BELL NOTIFICATION ACROSS ALL PAGES
   ========================================================================== */
#fsPagePopNotification,
.fsPagePopNotification,
.fsPagePopAlert,
.fsAlert,
[id^="fsAlert"],
[class*="alert"],
.alert-indicator {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   FOOTER 4 SOCIAL MEDIA ICONS - PROMINENT & CRISP SVG STYLING
   ========================================================================== */
#fsFooter .social-media {
  padding-top: 36px !important;
}

#fsFooter .social-media .fsNavLevel1 {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
}

#fsFooter .social-media .fsNavLevel1 li {
  margin: 0 !important;
}

#fsFooter .social-media .fsNavLevel1 a,
#fsFooter .social-media .fsNavLevel1 a.rrv-social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255, 215, 0, 0.75) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  text-indent: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
}

#fsFooter .social-media .fsNavLevel1 a.rrv-social-link::before {
  display: none !important;
  content: none !important;
}

#fsFooter .social-media .fsNavLevel1 a.rrv-social-link svg {
  width: 22px !important;
  height: 22px !important;
  fill: currentColor !important;
  display: block !important;
}

#fsFooter .social-media .fsNavLevel1 a:hover,
#fsFooter .social-media .fsNavLevel1 a:focus,
#fsFooter .social-media .fsNavLevel1 a.rrv-social-link:hover,
#fsFooter .social-media .fsNavLevel1 a.rrv-social-link:focus {
  background: #ffd700 !important;
  border-color: #ffd700 !important;
  color: #00285e !important;
  transform: translateY(-3px) !important;
}

/* ==========================================================================
   TRANSPARENT STILL (PARALLAX) BACKGROUND EFFECT
   When scrolling, background photos remain FIXED/STILL while content & graphics move!
   ========================================================================== */

/* Main Page Container Still Background */
body:not(.fsComposeMode) .fsPageLayout .fsLayout {
  background-color: transparent !important;
}

/* Section 1: Welcome & Mission & Empowering Minds with Real School Building */
#fsEl_49106.welcome-message,
#fsEl_48518.mission-statement,
.home .mission-statement-wrapper {
  position: relative !important;
  background-image: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.18)), url('/uploaded/school_photos/still_bg_building.jpg') !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  padding: 60px 20px !important;
}

#fsEl_49029.fixed-anchors {
  position: relative !important;
  background-image: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.90)), url('/uploaded/school_photos/still_bg_campus.jpg') !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* Section 2: Path to Excellence (Image Cards) */
#fsEl_49844.image-cards {
  position: relative !important;
  background-image: linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.90)), url('/uploaded/school_photos/still_bg_classroom.jpg') !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* Section 3: 14 Modern Facilities (Tabs) */
#fsEl_48982.hp-tabs {
  position: relative !important;
  background-image: linear-gradient(rgba(255, 255, 255, 0.87), rgba(255, 255, 255, 0.90)), url('/uploaded/school_photos/still_bg_sports.jpg') !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* Section 4: Social Tabs / News & Campus Highlights */
#fsEl_49310.social-tabs {
  position: relative !important;
  background-image: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.90)), url('/uploaded/school_photos/still_bg_campus.jpg') !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* Subpage Main Content Still Background */
body:not(.home) .fsPageLayout,
body:not(.home) .fsPageLayout .fsLayout .fsDiv {
  background-image: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.90)), url('/uploaded/school_photos/still_bg_campus.jpg') !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* Ensure inner cards and typography have crisp backdrop contrast */
.fixed-anchors .fsElementContent,
.image-cards .fsListItems,
.social-tabs .fsListItems,
.hp-tabs .fsTabsContent {
  position: relative !important;
  z-index: 2 !important;
}

/* Footer Logo Styling */
#fsFooter .footer-logo img[src="/uploaded/rrv-logo.png"] {
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}


/* ==========================================================================
   R.R. VIDYAPEETH - EMPOWERING MINDS & THEME BLUE TEXT ENHANCEMENTS
   ========================================================================== */

/* 1. Welcome & Empowering Minds Section with Prominent Building Still Background */
body:not(.fsComposeMode).home .welcome-message,
#fsEl_49106.welcome-message {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 80vh !important;
  padding: 70px 20px !important;
  position: relative !important;
  background-image: linear-gradient(rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.16)), url('/uploaded/school_photos/still_bg_building.jpg') !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* Frosted glass container: Premium semi-transparent glassmorphism so school building shines through */
body:not(.fsComposeMode).home .welcome-message > .fsElementContent,
#fsEl_49106.welcome-message > .fsElementContent {
  background: rgba(255, 255, 255, 0.48) !important;
  backdrop-filter: blur(14px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  padding: 35px 55px !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 40px rgba(0, 40, 94, 0.16), inset 0 1px 2px rgba(255, 255, 255, 0.85) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.70) !important;
  max-width: 980px !important;
  width: 92% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* Fix text from invisible white to theme navy blue (#00285e) */
body:not(.fsComposeMode).home .welcome-message p,
#fsEl_49106.welcome-message p {
  color: #00285e !important;
  font-family: 'EB Garamond', Georgia, serif !important;
  font-size: 2.25rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 8px 0 !important;
  width: auto !important;
  max-width: 100% !important;
  text-align: center !important;
  text-shadow: none !important;
}

body:not(.fsComposeMode).home .welcome-message span,
#fsEl_49106.welcome-message span {
  color: #c07d08 !important; /* Rich warm gold accent */
  font-style: italic !important;
  font-weight: 800 !important;
}

/* 2. Mission Statement Section */
body:not(.fsComposeMode).home .mission-statement,
#fsEl_48518.mission-statement,
.home .mission-statement-wrapper {
  position: relative !important;
  background-image: linear-gradient(rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.16)), url('/uploaded/school_photos/still_bg_building.jpg') !important;
  background-attachment: fixed !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  min-height: 80vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 70px 20px !important;
}

body:not(.fsComposeMode).home .mission-statement > .fsElementContent,
#fsEl_48518.mission-statement > .fsElementContent {
  background: rgba(255, 255, 255, 0.52) !important;
  backdrop-filter: blur(14px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  padding: 40px 55px !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 40px rgba(0, 40, 94, 0.16), inset 0 1px 2px rgba(255, 255, 255, 0.85) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.70) !important;
  max-width: 920px !important;
  width: 92% !important;
  margin: 25px auto 0 auto !important;
  text-align: center !important;
  opacity: 1 !important;
  transform: none !important;
}

body:not(.fsComposeMode).home .mission-statement p,
#fsEl_48518.mission-statement p {
  color: #00285e !important;
  font-family: 'EB Garamond', Georgia, serif !important;
  font-size: 2.1rem !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  text-align: center !important;
  margin: 0 !important;
}

/* Mission statement highlighted keywords - theme navy blue & gold instead of animating to white */
body:not(.fsComposeMode).home .mission-statement .color-mission,
body:not(.fsComposeMode).home .mission-statement.animate .color-mission,
#fsEl_48518.mission-statement .color-mission {
  color: #00285e !important;
  animation: none !important;
  font-weight: 700 !important;
}

body:not(.fsComposeMode).home .mission-statement.animate .color-mission.first,
#fsEl_48518.mission-statement .color-mission.first {
  color: #00285e !important;
  font-weight: 800 !important;
  animation: none !important;
}

body:not(.fsComposeMode).home .mission-statement.animate .color-mission.second,
#fsEl_48518.mission-statement .color-mission.second {
  color: #c07d08 !important; /* Rich amber gold */
  font-weight: 800 !important;
  animation: none !important;
}

body:not(.fsComposeMode).home .mission-statement.animate .color-mission.third,
#fsEl_48518.mission-statement .color-mission.third {
  color: #00285e !important;
  font-weight: 800 !important;
  animation: none !important;
}

body:not(.fsComposeMode).home .mission-statement-wrapper .text-line,
body:not(.fsComposeMode).home .mission-statement-wrapper p {
  color: #00285e !important;
}

/* 3. Global Section Titles & Headings - Theme Navy Blue (#00285e) */
.fixed-anchors > header h2,
.video-card-layout > header h2,
.hp-tabs > header h2,
.image-cards > header h2,
.social-tabs > header h2 {
  color: #00285e !important;
}

.fixed-anchors > header h2 span,
.video-card-layout > header h2 span,
.hp-tabs > header h2 span,
.image-cards > header h2 span,
.social-tabs > header h2 span {
  color: #2d79c5 !important;
}

.fixed-anchors > header .fsElementHeaderContent p,
.video-card-layout > header .fsElementHeaderContent p,
.hp-tabs > header .fsElementHeaderContent p,
.image-cards > header .fsElementHeaderContent p,
.social-tabs > header .fsElementHeaderContent p {
  color: #00285e !important;
  font-weight: 500 !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  body:not(.fsComposeMode).home .welcome-message,
  #fsEl_49106.welcome-message,
  #fsEl_49106.welcome-message p {
    font-size: 1.5rem !important;
  }
  #fsEl_49106.welcome-message > .fsElementContent {
    padding: 22px 25px !important;
  }
  body:not(.fsComposeMode).home .mission-statement > .fsElementContent,
  #fsEl_48518.mission-statement > .fsElementContent,
  #fsEl_48518.mission-statement p {
    font-size: 1.35rem !important;
  }
  #fsEl_48518.mission-statement > .fsElementContent {
    padding: 24px 26px !important;
  }
}




/* ========================================================
   ENHANCED LEADERSHIP & COUNSELOR SHOWCASE (EMOJI-FREE)
   ======================================================== */
.directors-showcase {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  margin: 25px 0 35px 0;
  box-sizing: border-box;
}

.director-profile-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #d2deeb;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(0, 40, 94, 0.09);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 36px 40px;
  box-sizing: border-box;
}

.director-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 40, 94, 0.14);
}

.director-card-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #00285e 0%, #004080 60%, #de7c0d 100%);
}

.director-card-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  padding-bottom: 26px;
  border-bottom: 1px solid #e5edf5;
  margin-bottom: 24px;
}

.director-img-container {
  flex-shrink: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 240px;
  max-width: 100%;
}

.director-img-frame {
  position: relative;
  display: block;
  padding: 5px;
  background: #ffffff;
  border: 1px solid #cfdceb;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 40, 94, 0.16);
  width: 100%;
  box-sizing: border-box;
}

.director-main-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  display: block;
}

.director-badge {
  margin-top: 14px !important;
  width: 100%;
  text-align: center;
  background: #00285e;
  border: 1px solid #de7c0d;
  color: #ffffff !important;
  font-family: "Figtree", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 20px;
  display: block !important;
  box-shadow: 0 2px 6px rgba(0, 40, 94, 0.2);
  line-height: 1.35;
  box-sizing: border-box;
}

.director-header-info {
  flex-grow: 1;
}

.director-name {
  color: #00285e !important;
  font-family: "EB Garamond", Georgia, serif !important;
  font-size: 2.35rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  margin: 0 0 6px 0 !important;
  line-height: 1.15;
}

.director-designation {
  color: #de7c0d !important;
  font-family: "Figtree", sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px;
  margin: 0 0 6px 0 !important;
}

.director-tenure {
  color: #4a5d73 !important;
  font-family: "Figtree", sans-serif !important;
  font-size: 0.98rem !important;
  font-style: italic;
  margin: 0 0 16px 0 !important;
}

.director-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.director-tag {
  background: #f0f4f9;
  border: 1px solid #d3e0ec;
  color: #00285e;
  font-family: "Figtree", sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.director-contact-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.director-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  font-family: "Figtree", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 40, 94, 0.15);
  cursor: pointer;
  box-sizing: border-box;
}

.director-btn.phone-btn {
  background: #00285e;
  color: #ffffff !important;
  border: 1px solid #00285e;
}

.director-btn.phone-btn:hover {
  background: #de7c0d;
  border-color: #de7c0d;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(222, 124, 13, 0.25);
}

.director-btn.email-btn {
  background: #f0f5fa;
  color: #00285e !important;
  border: 1px solid #c9d8e8;
}

.director-btn.email-btn:hover {
  background: #00285e;
  border-color: #00285e;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 40, 94, 0.25);
}

.btn-tag {
  font-weight: 400;
  opacity: 0.85;
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-right: 2px;
}

.director-card-body {
  padding-top: 4px;
}

.director-lead-text p {
  color: #1e293b !important;
  font-family: "Figtree", sans-serif !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  margin-bottom: 24px !important;
}

.director-message-quote {
  position: relative;
  background: #fafcff;
  border: 1px solid #d9e4f0;
  border-left: 5px solid #00285e;
  border-radius: 0 14px 14px 0;
  padding: 30px 34px 28px 34px;
  margin-top: 15px;
  box-shadow: 0 2px 8px rgba(0, 40, 94, 0.03);
}

.quote-header {
  margin-bottom: 16px;
  border-bottom: 1px solid #e6eff7;
  padding-bottom: 10px;
}

.quote-title {
  color: #00285e;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
}

.quote-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #de7c0d;
  margin-top: 4px;
}

.quote-body p.quote-p {
  color: #0f172a !important;
  font-family: "EB Garamond", Georgia, serif !important;
  font-size: 1.22rem !important;
  line-height: 1.85 !important;
  font-style: italic;
  margin-bottom: 16px !important;
}

.quote-body p.quote-p:last-of-type {
  margin-bottom: 20px !important;
}

.director-signoff {
  border-top: 1px solid #e1ebf5;
  padding-top: 14px;
  margin-top: 10px;
  text-align: right;
}

.signoff-name {
  color: #00285e;
  font-family: "EB Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: block;
}

.signoff-title {
  color: #de7c0d;
  font-family: "Figtree", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  display: block;
}

/* Homepage-specific styling for Community section */
body:not(.fsComposeMode).home .video-card-layout {
  position: relative !important;
  margin: 0 !important;
  background: #ffffff !important;
  padding-bottom: 60px !important;
}

body:not(.fsComposeMode).home .video-card-layout:before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 580px !important;
  bottom: auto !important;
  background: #00285e !important;
  z-index: 0 !important;
}

body:not(.fsComposeMode).home .video-card-layout > header {
  position: relative !important;
  z-index: 1 !important;
  padding: 45px 20px 30px 20px !important;
  text-align: center !important;
}

body:not(.fsComposeMode).home .video-card-layout > header h2 {
  color: #ffffff !important;
  font-family: "EB Garamond", Georgia, serif !important;
  font-size: 3.4rem !important;
  font-weight: 700 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 12px !important;
  opacity: 1 !important;
  transform: none !important;
}

body:not(.fsComposeMode).home .video-card-layout > header h2 span {
  color: #b5d2ee !important;
  font-style: italic !important;
  font-weight: 400 !important;
  opacity: 1 !important;
  transform: none !important;
}

body:not(.fsComposeMode).home .video-card-layout > header .fsElementHeaderContent p {
  color: #e3edf8 !important;
  font-family: "Figtree", sans-serif !important;
  font-size: 1.18rem !important;
  line-height: 1.6 !important;
  max-width: 850px !important;
  margin: 0 auto !important;
  opacity: 1 !important;
  transform: none !important;
}

body:not(.fsComposeMode).home .video-card-layout > .fsElementContent {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  box-shadow: none !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .director-profile-card {
    padding: 24px 18px !important;
  }
  .director-card-header {
    flex-direction: column !important;
    text-align: center !important;
    gap: 18px !important;
    align-items: center !important;
  }
  .director-img-container {
    width: 200px !important;
    margin: 0 auto !important;
  }
  .director-main-img {
    height: 220px !important;
  }
  .director-name {
    font-size: 1.85rem !important;
  }
  .director-designation {
    font-size: 1.1rem !important;
  }
  .director-tags-list {
    justify-content: center !important;
  }
  .director-contact-bar {
    justify-content: center !important;
  }
  .director-message-quote {
    padding: 22px 18px !important;
  }
  .quote-title {
    font-size: 1.25rem !important;
  }
  .quote-body p.quote-p {
    font-size: 1.1rem !important;
  }
  body:not(.fsComposeMode).home .video-card-layout:before {
    height: 640px !important;
  }
  body:not(.fsComposeMode).home .video-card-layout > header h2 {
    font-size: 2.3rem !important;
  }
}


/* ==========================================================================
   OFFICIAL R.R. VIDYAPEETH LOGO ON ALL DECORATIVE RULES & DIVIDERS
   ========================================================================== */
.decorative-rule hr,
hr.decorative,
.home .decorative-rule hr {
  position: relative !important;
  height: 2px !important;
  border: none !important;
  margin: 35px auto !important;
}

.decorative-rule hr:before,
hr.decorative:before,
.home .decorative-rule hr:before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #e5e5e5 0%, #e5e5e5 calc(50% - 36px), rgba(229, 229, 229, 0) calc(50% - 36px), rgba(229, 229, 229, 0) calc(50% + 36px), #e5e5e5 calc(50% + 36px), #e5e5e5 100%) !important;
}

.decorative-rule hr:after,
hr.decorative:after,
.home .decorative-rule hr:after {
  content: "" !important;
  position: absolute !important;
  top: -24px !important;
  left: calc(50% - 24px) !important;
  width: 48px !important;
  height: 48px !important;
  background-color: #ffffff !important;
  background-image: url('/uploaded/rrv-logo.png') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 85% auto !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 12px rgba(0, 40, 94, 0.22), inset 0 0 0 1.5px rgba(212, 160, 36, 0.5) !important;
}

/* ==========================================================================
   WHERE YOUR JOURNEY BEGINS (STATS-SLIDER) - VIBRANT SKY BLUE VISIBILITY
   ========================================================================== */
.stats-slider,
#fsEl_49377.stats-slider {
  color: #e0f2fe !important;
}

/* "WHERE YOUR JOURNEY" - Vibrant Sky Blue */
.stats-slider header h2,
.stats-slider .section-content > header,
.stats-slider .section-content > header h2,
.stats-slider .section-content > header :is(h1,h2,h3,h4,h5,h6),
#fsEl_49377 header h2,
#fsEl_49377 .fsElementTitle {
  color: #38bdf8 !important; /* Radiant sky blue */
  text-shadow: 0 2px 10px rgba(0, 15, 35, 0.85), 0 0 20px rgba(56, 189, 248, 0.4) !important;
  font-weight: 800 !important;
}

/* "Begins" italic accent - Pure Crisp White */
.stats-slider header h2 span,
.stats-slider .section-content > header h2 span,
.stats-slider .section-content > header :is(h1,h2,h3,h4,h5,h6) span,
#fsEl_49377 header h2 span,
#fsEl_49377 .fsElementTitle span {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 15, 35, 0.9), 0 0 25px rgba(255, 255, 255, 0.6) !important;
}

/* Paragraph description - Soft Ice / Sky Blue */
.stats-slider header .fsElementHeaderContent p,
.stats-slider header .fsElementHeaderContent span,
.stats-slider .section-content > header .fsElementHeaderContent,
.stats-slider .section-content > header .fsElementHeaderContent p,
.stats-slider .section-content > header .fsElementHeaderContent span,
#fsEl_49377 .fsElementHeaderContent p,
#fsEl_49377 .fsElementHeaderContent span {
  color: #e0f2fe !important; /* Clear light sky blue */
  text-shadow: 0 2px 8px rgba(0, 15, 35, 0.95) !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

/* Call to Action Button */
.stats-slider .fsElementHeaderContent a.btn-small,
#fsEl_49377 .fsElementHeaderContent a.btn-small {
  color: #ffffff !important;
  background: rgba(56, 189, 248, 0.22) !important;
  border: 1.5px solid #38bdf8 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 4px 15px rgba(0, 20, 50, 0.4) !important;
  text-shadow: 0 1px 3px rgba(0, 15, 35, 0.9) !important;
  font-weight: 600 !important;
}

.stats-slider .fsElementHeaderContent a.btn-small:hover,
#fsEl_49377 .fsElementHeaderContent a.btn-small:hover {
  background: #38bdf8 !important;
  color: #00285e !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.6) !important;
  text-shadow: none !important;
}



/* ==========================================================================
   MOBILE RESPONSIVENESS: DIRECTORS & COUNSELOR SHOWCASE & MESSAGES
   ========================================================================== */
@media (max-width: 768px) {
  /* Community section on homepage: clean full-width blue header & crisp background */
  body:not(.fsComposeMode).home .video-card-layout {
    background: #f1f5f9 !important;
    padding: 0 12px 40px 12px !important;
  }
  body:not(.fsComposeMode).home .video-card-layout:before {
    display: none !important;
  }
  body:not(.fsComposeMode).home .video-card-layout > header {
    background: #00285e !important;
    padding: 35px 16px 30px 16px !important;
    margin: 0 -12px 25px -12px !important;
    text-align: center !important;
  }
  body:not(.fsComposeMode).home .video-card-layout > header h2 {
    font-size: 2.3rem !important;
    color: #ffffff !important;
  }
  body:not(.fsComposeMode).home .video-card-layout > header h2 span {
    color: #b5d2ee !important;
  }
  body:not(.fsComposeMode).home .video-card-layout > header .fsElementHeaderContent p {
    font-size: 1rem !important;
    line-height: 1.55 !important;
    color: #e2e8f0 !important;
  }
  
  body:not(.fsComposeMode).home .video-card-layout > * {
    max-width: 100% !important;
  }
  body:not(.fsComposeMode).home .video-card-layout .slick-slider,
  body:not(.fsComposeMode).home .video-card-layout .slick-list,
  body:not(.fsComposeMode).home .video-card-layout .slick-track,
  body:not(.fsComposeMode).home .video-card-layout .directors-showcase {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  /* Profile Card Container */
  .directors-showcase {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
    width: 100% !important;
    margin: 0 0 25px 0 !important;
    box-sizing: border-box !important;
  }

  .director-profile-card {
    padding: 22px 16px 22px 16px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 6px 24px rgba(0, 40, 94, 0.08) !important;
    border: 1px solid #d9e4ef !important;
  }

  /* Card Header: Stack Photo on Top, Details Below */
  .director-card-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
    padding-bottom: 18px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Photo Frame & Badge */
  .director-img-container {
    width: 200px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .director-img-frame {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .director-main-img {
    height: 210px !important;
    width: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }

  .director-badge {
    font-size: 10px !important;
    padding: 6px 12px !important;
    margin-top: 10px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.5px !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  /* Header Info (Name, Designation, Tenure) */
  .director-header-info {
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .director-name {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    letter-spacing: 0.3px !important;
    margin: 0 0 6px 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
  }

  .director-designation {
    font-size: 1.02rem !important;
    line-height: 1.35 !important;
    margin: 0 0 6px 0 !important;
    text-align: center !important;
  }

  .director-tenure {
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
    margin: 0 0 14px 0 !important;
    text-align: center !important;
  }

  /* Pillar Tags */
  .director-tags-list {
    justify-content: center !important;
    gap: 6px !important;
    margin-bottom: 16px !important;
  }

  .director-tag {
    font-size: 11px !important;
    padding: 4px 8px !important;
  }

  /* Action / Contact Buttons */
  .director-contact-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .director-btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.85rem !important;
    padding: 10px 12px !important;
    word-break: break-all !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  /* Lead Bio Text */
  .director-lead-text p {
    font-size: 0.96rem !important;
    line-height: 1.7 !important;
    margin-bottom: 18px !important;
    text-align: left !important;
  }

  /* Director & Counselor Message Quote Box */
  .director-message-quote {
    padding: 18px 14px 16px 14px !important;
    border: 1px solid #dce6f2 !important;
    border-left: 4px solid #00285e !important;
    border-radius: 0 12px 12px 0 !important;
    background: #f8fbfe !important;
    margin: 16px 0 0 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .quote-header {
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #e2edf7 !important;
  }

  .quote-title {
    font-size: 1.15rem !important;
    letter-spacing: 0.8px !important;
  }

  .quote-body p.quote-p {
    font-size: 1.02rem !important;
    line-height: 1.75 !important;
    margin-bottom: 12px !important;
    text-align: left !important;
  }

  /* Signoff */
  .director-signoff {
    padding-top: 10px !important;
    margin-top: 8px !important;
    text-align: right !important;
  }

  .signoff-name {
    font-size: 1.08rem !important;
  }

  .signoff-title {
    font-size: 0.85rem !important;
  }
}


/* ==========================================================================
   MOBILE GLOBAL BLANK SPACES & HIDDEN SECTIONS PERMANENT FIX
   ========================================================================== */
html,
body,
#fsPageWrapper,
#fsPageBodyWrapper,
#fsPageBody,
#fsPageContent {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
}

@media (max-width: 899px) {
  /* Reveal all elements permanently on mobile: kill Canterbury scroll-hide */
  body:not(.fsComposeMode).home .hp-tabs,
  body:not(.fsComposeMode).home .hp-tabs *,
  body:not(.fsComposeMode).home .hp-tabs .fsPanel > .fsElementContent,
  body:not(.fsComposeMode).home .hp-tabs .fsPanel.fsStateOpen > .fsElementContent,
  body:not(.fsComposeMode).home .stats-slider,
  body:not(.fsComposeMode).home .stats-slider *,
  body:not(.fsComposeMode).home .stats-slider .slider-target,
  body:not(.fsComposeMode).home .stats-slider .section-content > header,
  body:not(.fsComposeMode).home .social-tabs,
  body:not(.fsComposeMode).home .social-tabs *,
  body:not(.fsComposeMode).home .social-tabs .fsPanel > .fsElementContent,
  body:not(.fsComposeMode).home .image-cards,
  body:not(.fsComposeMode).home .image-cards *,
  body:not(.fsComposeMode).home .image-cards > .fsElementContent,
  body:not(.fsComposeMode).home .fixed-anchors,
  body:not(.fsComposeMode).home .fixed-anchors *,
  body:not(.fsComposeMode).home .video-card-layout,
  body:not(.fsComposeMode).home .video-card-layout * {
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Reset awkward translateX / translateY / scale transforms that push things off mobile screens */
  body:not(.fsComposeMode).home .hp-tabs .fsPanel > .fsElementContent,
  body:not(.fsComposeMode).home .hp-tabs .fsPanel.fsStateOpen > .fsElementContent,
  body:not(.fsComposeMode).home .image-cards > .fsElementContent,
  body:not(.fsComposeMode).home .stats-slider .slider-target,
  body:not(.fsComposeMode).home .stats-slider .section-content > header,
  body:not(.fsComposeMode).home .social-tabs .fsPanel > .fsElementContent {
    transform: none !important;
    -webkit-transform: none !important;
  }

  /* Eliminate social-tabs 100vw left overhang which caused giant black side gaps */
  body:not(.fsComposeMode).home .social-tabs .fsTabs:before {
    display: none !important;
  }

  /* A. 14 Modern Facilities (hp-tabs) Mobile Layout */
  body:not(.fsComposeMode).home .hp-tabs {
    padding: 35px 12px !important;
    min-height: auto !important;
  }
  body:not(.fsComposeMode).home .hp-tabs > header {
    text-align: center !important;
    margin-bottom: 20px !important;
  }
  body:not(.fsComposeMode).home .hp-tabs .fsTabsNav {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 0 25px 0 !important;
    padding: 0 !important;
  }
  body:not(.fsComposeMode).home .hp-tabs .fsTabsNav li {
    margin: 3px !important;
  }
  body:not(.fsComposeMode).home .hp-tabs .fsThreeColumnLayout {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  body:not(.fsComposeMode).home .hp-tabs .fsThreeColumnLayout .fsStyleColumn {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body:not(.fsComposeMode).home .hp-tabs .custom-image-card {
    margin-bottom: 12px !important;
  }

  /* B. Where Your Journey Begins (stats-slider) Mobile Layout */
  body:not(.fsComposeMode).home .stats-slider {
    min-height: auto !important;
    padding: 45px 14px 40px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }
  body:not(.fsComposeMode).home .stats-slider .section-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    top: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body:not(.fsComposeMode).home .stats-slider .section-content > header {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 25px 0 !important;
    text-align: center !important;
  }
  
  
  .stats-slider .slider-target .slick-slide.slick-current,
  .stats-slider .slider-target .slick-slide.slick-active {
    display: block !important;
    opacity: 1 !important;
  }

  body:not(.fsComposeMode).home .stats-slider .slider-target {
    width: 100% !important;
    max-width: 330px !important;
    margin: 0 auto !important;
  }

  /* C. Campus Life & Updates (social-tabs) Mobile Layout */
  body:not(.fsComposeMode).home .social-tabs {
    padding: 40px 14px !important;
    overflow: hidden !important;
    min-height: auto !important;
  }
  body:not(.fsComposeMode).home .social-tabs > header {
    text-align: center !important;
    margin-bottom: 25px !important;
  }
  body:not(.fsComposeMode).home .social-tabs .fsPanel > .fsElementContent {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  body:not(.fsComposeMode).home .social-tabs .fsListItems {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }
  body:not(.fsComposeMode).home .social-tabs .fsListItems article {
    width: 100% !important;
    margin: 0 0 16px 0 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 40, 94, 0.08) !important;
    padding-bottom: 12px !important;
  }
  body:not(.fsComposeMode).home .social-tabs .fsListItems article img {
    width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
    border-radius: 12px 12px 0 0 !important;
  }
  body:not(.fsComposeMode).home .social-tabs .fsListItems .fsTitle {
    padding: 10px 14px 0 14px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #00285e !important;
  }
}


/* ==========================================================================
   COMPREHENSIVE MOBILE VIEW FIXES: ALL HEADERS, SLIDERS & COMMUNITY SPACING
   ========================================================================== */
@media (max-width: 899px) {
  /* 1. FORCE VISIBILITY & CANCEL SCROLL TRANSFORMS ON ALL HEADERS */
  body:not(.fsComposeMode).home .image-cards > header :is(h1,h2,h3,h4,h5,h6),
  body:not(.fsComposeMode).home .image-cards > header :is(h1,h2,h3,h4,h5,h6) span,
  body:not(.fsComposeMode).home .image-cards > header .fsElementHeaderContent,
  body:not(.fsComposeMode).home .fixed-anchors > header :is(h1,h2,h3,h4,h5,h6),
  body:not(.fsComposeMode).home .fixed-anchors > header :is(h1,h2,h3,h4,h5,h6) span,
  body:not(.fsComposeMode).home .fixed-anchors > header .fsElementHeaderContent,
  body:not(.fsComposeMode).home .stats-slider > header :is(h1,h2,h3,h4,h5,h6),
  body:not(.fsComposeMode).home .stats-slider > header :is(h1,h2,h3,h4,h5,h6) span,
  body:not(.fsComposeMode).home .stats-slider > header .fsElementHeaderContent,
  body:not(.fsComposeMode).home .video-card-layout > header :is(h1,h2,h3,h4,h5,h6),
  body:not(.fsComposeMode).home .video-card-layout > header :is(h1,h2,h3,h4,h5,h6) span,
  body:not(.fsComposeMode).home .video-card-layout > header .fsElementHeaderContent,
  body:not(.fsComposeMode).home .hp-tabs > header :is(h1,h2,h3,h4,h5,h6),
  body:not(.fsComposeMode).home .hp-tabs > header :is(h1,h2,h3,h4,h5,h6) span,
  body:not(.fsComposeMode).home .hp-tabs > header .fsElementHeaderContent,
  body:not(.fsComposeMode).home .social-tabs > header :is(h1,h2,h3,h4,h5,h6),
  body:not(.fsComposeMode).home .social-tabs > header :is(h1,h2,h3,h4,h5,h6) span,
  body:not(.fsComposeMode).home .social-tabs > header .fsElementHeaderContent {
    transform: none !important;
    -webkit-transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }

  /* 2. SECTION 2: A PATH TO EXCELLENCE (IMAGE-CARDS) FIX */
  body:not(.fsComposeMode).home .image-cards {
    padding: 35px 14px !important;
  }
  body:not(.fsComposeMode).home .image-cards > header {
    text-align: center !important;
    margin-bottom: 25px !important;
  }
  body:not(.fsComposeMode).home .image-cards > header h2 {
    font-size: 2.2rem !important;
    color: #00285e !important;
    margin-bottom: 10px !important;
  }
  body:not(.fsComposeMode).home .image-cards > header h2 span {
    color: #de7c0d !important;
  }
  body:not(.fsComposeMode).home .image-cards > header .fsElementHeaderContent p {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: #00285e !important;
  }

  /* 3. COMMUNITY SECTION HEADER SPACING (NO OVERLAP WITH MR. VERMA'S CARD) */
  body:not(.fsComposeMode).home .video-card-layout {
    background: #00285e !important;
    padding: 35px 12px 45px 12px !important;
    overflow: visible !important;
  }
  body:not(.fsComposeMode).home .video-card-layout:before {
    display: none !important;
  }
  body:not(.fsComposeMode).home .video-card-layout > header {
    margin: 0 0 35px 0 !important;
    padding: 0 8px 10px 8px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 5 !important;
  }
  body:not(.fsComposeMode).home .video-card-layout > header h2 {
    font-size: 2.2rem !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
  }
  body:not(.fsComposeMode).home .video-card-layout > header h2 span {
    color: #b5d2ee !important;
  }
  body:not(.fsComposeMode).home .video-card-layout > header .fsElementHeaderContent p {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: #f1f5f9 !important;
    margin-bottom: 0 !important;
  }
  body:not(.fsComposeMode).home .video-card-layout > .fsElementContent {
    margin-top: 0 !important;
    padding-top: 0 !important;
    position: relative !important;
    z-index: 6 !important;
  }

  /* 4. STATS-SLIDER: WHERE YOUR JOURNEY BEGINS & SINGLE ACTIVE SLIDE */
  body:not(.fsComposeMode).home .stats-slider {
    min-height: auto !important;
    padding: 45px 14px 40px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  body:not(.fsComposeMode).home .stats-slider .section-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    top: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body:not(.fsComposeMode).home .stats-slider .section-content > header {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 25px 0 !important;
    text-align: center !important;
  }
  body:not(.fsComposeMode).home .stats-slider .slider-target {
    width: 100% !important;
    max-width: 330px !important;
    margin: 0 auto !important;
    display: block !important;
    min-height: 280px !important;
    box-sizing: border-box !important;
  }

  /* Slick slide clean rendering - avoid blank card & avoid overlapping text */
  .stats-slider .slider-target .slick-list {
    overflow: hidden !important;
    width: 100% !important;
  }
  .stats-slider .slider-target .slick-slide {
    display: block !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  .stats-slider .slider-target .slick-slide:not(.slick-active):not(.slick-current) {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
  .stats-slider .slider-target .slick-slide.slick-active,
  .stats-slider .slider-target .slick-slide.slick-current {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .stats-slider .slider-target .slick-slide > header :is(h1,h2,h3,h4,h5,h6) {
    font-size: 3.5rem !important;
    color: #38bdf8 !important;
    line-height: 1.1 !important;
    margin-bottom: 10px !important;
    display: block !important;
    text-shadow: 0 2px 10px rgba(0, 20, 50, 0.8) !important;
  }
  .stats-slider .slider-target .slick-slide > .fsElementContent h6 {
    margin: 0 auto !important;
    max-width: 270px !important;
  }
  .stats-slider .slider-target .slick-slide > .fsElementContent h6 span {
    color: #ffffff !important;
    font-size: 1.05rem !important;
    line-height: 1.55 !important;
    display: block !important;
    text-shadow: 0 1px 4px rgba(0, 20, 50, 0.9) !important;
  }
}


/* ==========================================================================
   FOOTER QUICK CONTACT FORM (MATCHING ROYAL NAVY BLUE #00285e)
   ========================================================================== */
.footer-quick-contact {
  width: 100% !important;
  max-width: 820px !important;
  margin: 0 auto 36px auto !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 20px !important;
  padding: 32px 36px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.fqc-header {
  text-align: center !important;
  margin-bottom: 24px !important;
}

.fqc-title {
  font-family: 'EB Garamond', Georgia, serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: 0.5px !important;
}

.fqc-title span {
  color: #fbbf24 !important; /* Gold brand accent */
}

.fqc-desc {
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0 !important;
  max-width: 620px !important;
  margin: 0 auto !important;
}

.fqc-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.fqc-row {
  display: flex !important;
  gap: 16px !important;
  width: 100% !important;
}

.fqc-field {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.fqc-field-full {
  flex: 1 1 100% !important;
}

.fqc-field label {
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  letter-spacing: 0.3px !important;
}

.fqc-req {
  color: #fbbf24 !important;
  font-weight: bold !important;
}

.fqc-field input,
.fqc-field textarea {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 14px !important;
  color: #ffffff !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
  outline: none !important;
}

.fqc-field input::placeholder,
.fqc-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}

.fqc-field input:focus,
.fqc-field textarea:focus {
  border-color: #38bdf8 !important;
  background: rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25) !important;
}

.fqc-field textarea {
  resize: vertical !important;
  min-height: 64px !important;
}

.fqc-footer-actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 4px !important;
}

.fqc-submit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #de7c0d 0%, #b86204 100%) !important;
  color: #ffffff !important;
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  padding: 13px 36px !important;
  border: 1px solid rgba(255, 215, 0, 0.4) !important;
  border-radius: 30px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(222, 124, 13, 0.35) !important;
  transition: all 0.25s ease !important;
}

.fqc-submit-btn:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #de7c0d 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45) !important;
}

.fqc-submit-btn:disabled {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.fqc-status {
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 13.5px !important;
  text-align: center !important;
  min-height: 20px !important;
  transition: all 0.3s ease !important;
}

.fqc-status.fqc-success {
  color: #4ade80 !important;
  font-weight: 600 !important;
}

.fqc-status.fqc-error {
  color: #f87171 !important;
  font-weight: 600 !important;
}

.fqc-status.fqc-loading {
  color: #38bdf8 !important;
}

@media (max-width: 767px) {
  .footer-quick-contact {
    padding: 24px 18px !important;
    margin: 0 10px 28px 10px !important;
    border-radius: 16px !important;
  }
  .fqc-title {
    font-size: 21px !important;
  }
  .fqc-desc {
    font-size: 13px !important;
  }
  .fqc-row {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .fqc-submit-btn {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
  }
}



/* ==========================================================================
   ENSURE FOOTER IS NATURAL FLOWING BLOCK ON ALL VIEWPORTS (NO 100VH CUT-OFF)
   ========================================================================== */
#fsFooter {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: auto !important;
  display: block !important;
  padding: 50px 20px 40px 20px !important;
  background: #00285e !important;
  z-index: 20 !important;
  overflow: visible !important;
}

#fsFooter .fsBanner {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

#fsPageWrapper {
  margin-bottom: 0 !important;
}

