/* ==========================================================================
   YUGBHARTI INDRAPRASTHA FOUNDATION - OFFICIAL STYLESHEET
   Flat Solid Colors Only | Premium NGO Aesthetic | High Contrast & Accessibility
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (DESIGN SYSTEM TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette - FLAT Solid Colors ONLY (NO Gradients) */
  --primary-orange: #F5821F;
  --primary-orange-hover: #D96E14;
  --deep-maroon: #8B1E1E;
  --deep-maroon-hover: #6E1616;
  --dark-charcoal: #2B2B2B;
  --secondary-gray: #6B6B6B;
  --bg-offwhite: #FAF9F6;      /* Lighter, cleaner off-white background */
  --bg-purewhite: #FFFFFF;
  --dark-panel-bg: #2C2C2C;
  --dark-card-hover: #363636;
  --border-divider: #E8E4DD;
  --border-dark-card: #3E3E3E;

  /* Global Equal Section Padding Token (Equal top & bottom padding) */
  --section-padding: 55px;

  /* Typography Families */
  --font-heading: 'Tiro Devanagari Hindi', 'Merriweather', Georgia, serif;
  --font-body: 'Hind', 'Noto Sans Devanagari', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Strict Font Scale Hierarchy (Nothing smaller than 0.95rem anywhere) */
  --font-size-h1: 2.5rem;      /* Hero H1 (2.25rem - 2.75rem requirement) */
  --font-size-h2: 1.85rem;     /* Section H2 (1.75rem - 2.0rem identical requirement) */
  --font-size-h3: 1.30rem;     /* Card/Focus Area H3 (1.25rem - 1.35rem requirement) */
  --font-size-tagline: 1.1rem; /* Sub-tagline requirement (1.1rem italic/medium) */
  --font-size-body: 1rem;      /* Body paragraph & list items (1rem / 16px) */
  --font-size-meta: 0.95rem;   /* Absolute Minimum font size (labels, footer, meta) */

  /* UI Transitions & Soft Shadows (Flat style, no gradients) */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --card-border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Tablet Padding Scale */
@media (max-width: 991px) {
  :root {
    --section-padding: 40px;
    --font-size-h1: 2.15rem;
    --font-size-h2: 1.65rem;
  }
}

/* Mobile Padding Scale */
@media (max-width: 575px) {
  :root {
    --section-padding: 32px;
    --font-size-h1: 1.85rem;
    --font-size-h2: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  line-height: 1.75;
  color: var(--dark-charcoal);
  background-color: var(--bg-purewhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Heading Typography Rules */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--deep-maroon);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.font-serif {
  font-family: var(--font-heading);
}

p {
  font-size: var(--font-size-body);
  line-height: 1.75;
  color: var(--dark-charcoal);
  margin-bottom: 1rem;
}

a {
  color: var(--primary-orange);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: var(--primary-orange-hover);
}

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

/* Enforce strict font scale limit (nothing < 0.95rem) */
small, .meta-text, .caption, .badge, .btn, .nav-link, footer p, footer a, .contact-link, address {
  font-size: var(--font-size-meta) !important;
}

.font-style-normal {
  font-style: normal;
}

.object-fit-cover {
  object-fit: cover;
}

/* Consistent Max-Width Container (1360px) */
.custom-container {
  max-width: 1360px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

/* Universal Section Padding Class */
.site-section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  position: relative;
}

/* Flat Background Color Utilities */
.bg-offwhite {
  background-color: var(--bg-offwhite) !important;
}

.bg-purewhite {
  background-color: var(--bg-purewhite) !important;
}

.bg-dark-panel {
  background-color: var(--dark-panel-bg) !important;
}

.bg-charcoal-card {
  background-color: #333333 !important;
}

.bg-solid-orange {
  background-color: var(--primary-orange) !important;
}

.bg-orange-light {
  background-color: #FFF3E8 !important;
}

/* Color Utilities */
.text-maroon {
  color: var(--deep-maroon) !important;
}

.text-orange {
  color: var(--primary-orange) !important;
}

.border-thin {
  border: var(--card-border) !important;
}

.border-divider {
  border-color: var(--border-divider) !important;
}

.border-dark-card {
  border-color: var(--border-dark-card) !important;
}

/* Section Header Shared Styles */
.section-title {
  font-size: var(--font-size-h2);
  font-weight: 700;
  color: var(--deep-maroon);
  margin-bottom: 0.5rem;
}

.section-divider-line {
  width: 60px;
  height: 3px;
  background-color: var(--primary-orange);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.max-w-700 {
  max-width: 700px;
}

.max-w-800 {
  max-width: 800px;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & INTERACTIVE ELEMENTS (FLAT STYLES ONLY)
   -------------------------------------------------------------------------- */
.btn {
  font-family: var(--font-body);
  font-size: var(--font-size-meta);
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-solid-orange {
  background-color: var(--primary-orange);
  color: #FFFFFF !important;
  border: 1px solid var(--primary-orange);
}

.btn-solid-orange:hover, .btn-solid-orange:focus {
  background-color: var(--primary-orange-hover);
  border-color: var(--primary-orange-hover);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.btn-outline-maroon {
  background-color: transparent;
  color: var(--deep-maroon) !important;
  border: 2px solid var(--deep-maroon);
}

.btn-outline-maroon:hover, .btn-outline-maroon:focus {
  background-color: var(--deep-maroon);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.btn-header-action {
  background-color: #FFFFFF;
  color: var(--deep-maroon) !important;
  border: 1px solid #FFFFFF;
  font-weight: 700;
}

.btn-header-action:hover {
  background-color: var(--bg-offwhite);
  color: var(--primary-orange) !important;
}

/* --------------------------------------------------------------------------
   4. HEADER & BRANDING (INCREASED LOGO & NGO NAME SIZE)
   -------------------------------------------------------------------------- */
/* Sliding Announcement Ticker Bar */
.announcement-ticker-bar {
  background-color: var(--deep-maroon);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 45s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 50px;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.ticker-star {
  color: var(--primary-orange);
  font-size: 0.65rem;
  animation: ticker-star-pulse 1.5s ease-in-out infinite;
}

.ticker-divider {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
  margin: 0 4px;
}

.ticker-highlight {
  color: var(--primary-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ticker-cta {
  color: var(--primary-orange);
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 6px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ticker-content:hover .ticker-cta {
  color: #fff;
}

@keyframes ticker-star-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 575px) {
  .ticker-content {
    padding: 3px 40px;
    font-size: 0.78rem;
  }
  .ticker-cta {
    font-size: 0.72rem;
    padding: 1px 8px;
  }
}

/* Top Utility Bar */
.top-utility-bar {
  background-color: var(--primary-orange);
  color: #FFFFFF;
  padding: 0.45rem 0;
  font-size: var(--font-size-meta);
}

.top-bar__link {
  color: #FFFFFF !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1;
}

.top-bar__link i {
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.top-bar__link:hover {
  color: #FFE6D0 !important;
}

.social-icon-sm {
  width: 26px;
  height: 26px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.social-icon-sm:hover {
  background-color: #FFFFFF;
  color: var(--primary-orange) !important;
}

/* Main Branding Bar */
.brand-logo-img {
  width: 95px;
  height: 95px;
  object-fit: contain;
}

.brand-title {
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--deep-maroon);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  /* color: var(--secondary-gray); */
}

.trust-icon-box {
  width: 46px;
  height: 46px;
  background-color: #FFF3E8;
  color: var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* Sticky Main Navigation */
.main-navbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: var(--primary-orange);
  padding: 0;
  transition: box-shadow var(--transition-normal);
}

.main-navbar.scrolled-navbar {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.main-navbar .nav-link {
  color: #FFFFFF !important;
  font-size: var(--font-size-meta) !important;
  font-weight: 600;
  padding: 0.9rem 1.2rem !important;
  transition: var(--transition-fast);
  position: relative;
}

.main-navbar .nav-link:hover, .main-navbar .nav-link.active {
  background-color: var(--primary-orange-hover);
  color: #FFFFFF !important;
}

/* Hover Dropdown Menu Styling (Opens on hover, Theme BG + White text on item hover) */
@media (min-width: 992px) {
  .main-navbar .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.main-navbar .dropdown-menu {
  background-color: #FFFFFF;
  border-top: 4px solid var(--deep-maroon);
  padding: 0.4rem 0;
  min-width: 300px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.main-navbar .dropdown-item {
  font-size: var(--font-size-meta);
  font-weight: 500;
  color: var(--dark-charcoal);
  padding: 0.75rem 1.25rem;
  transition: var(--transition-fast);
}

/* Dropdown Item Hover: Theme Background Color (#F5821F) & Pure White Text */
.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
  background-color: var(--primary-orange) !important;
  color: #FFFFFF !important;
  padding-left: 1.5rem;
}

.main-navbar .dropdown-item:hover i,
.main-navbar .dropdown-item:focus i {
  color: #FFFFFF !important;
}

/* Mobile Offcanvas */
.mobile-offcanvas {
  width: 310px;
}

.mobile-nav-link {
  color: var(--dark-charcoal) !important;
  font-size: 1rem !important;
  font-weight: 600;
  padding: 0.75rem 1rem !important;
  border-radius: 4px;
}

.mobile-nav-link.active, .mobile-nav-link:hover {
  background-color: var(--bg-offwhite);
  color: var(--primary-orange) !important;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION (EXPANDED HEIGHT & HIGH-IMPACT CENTERED PANEL)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--section-padding) + 45px);
  padding-bottom: calc(var(--section-padding) + 45px);
  min-height: 700px; /* Increased hero section height */
  display: flex;
  align-items: center;
}

/* Hero Background Image Carousel Slider (Full-Width, Flat Solid Overlay) */
.hero-bg-carousel {
  z-index: 1;
}

.hero-carousel-track {
  position: relative;
}

.hero-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  z-index: 1;
}

.hero-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Flat Dark Overlay over Slider */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 30, 0.72);
  z-index: 3;
}

.hero-carousel-ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background-color: rgba(0, 0, 0, 0.45);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-carousel-ctrl:hover, .hero-carousel-ctrl:focus {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
}

.hero-carousel-ctrl.ctrl-prev {
  left: 20px;
}

.hero-carousel-ctrl.ctrl-next {
  right: 20px;
}

@media (max-width: 576px) {
  .hero-carousel-ctrl.ctrl-prev {
    left: 10px;
  }
  .hero-carousel-ctrl.ctrl-next {
    right: 10px;
  }
}

.hero-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-carousel-dots .dot.active,
.hero-carousel-dots .dot:hover {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
  width: 28px;
  border-radius: 6px;
}

/* Hero Open Content Layout (No White Container Box) */
.hero-motto-chip {
  background-color: rgba(139, 30, 30, 0.85);
  border: 1px solid rgba(245, 130, 31, 0.5);
  backdrop-filter: blur(4px);
}

.hero-motto-chip .motto-text {
  font-size: var(--font-size-meta);
  font-weight: 600;
  color: #FFFFFF;
}

.hero-title {
  font-size: var(--font-size-h1);
  line-height: 1.25;
}

.hero-resolution-open-box {
  background-color: rgba(20, 20, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.hero-resolution-text-white {
  font-size: var(--font-size-body);
  line-height: 1.85;
  color: #FFFFFF;
}

.hero-stat-chip-dark {
  background-color: rgba(35, 35, 35, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-normal);
}

.hero-stat-chip-dark:hover {
  background-color: rgba(139, 30, 30, 0.85);
  border-color: var(--primary-orange);
  transform: translateY(-2px);
}

.drop-shadow-sm {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.badge-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--primary-orange);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* --------------------------------------------------------------------------
   6. ABOUT US SECTION STYLES (OPEN LAYOUT & CLEAN WHITE CARDS)
   -------------------------------------------------------------------------- */
.shadow-xs {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.about-paragraph {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--dark-charcoal);
  font-weight: 400;
}

.impact-stat-card {
  transition: var(--transition-normal);
  background-color: #FFFFFF;
}

.impact-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-orange) !important;
  box-shadow: 0 8px 20px rgba(245, 130, 31, 0.12) !important;
}

.pillar-chip {
  transition: var(--transition-normal);
  background-color: #FFFFFF;
}

.pillar-chip:hover {
  transform: translateY(-3px);
  border-color: var(--primary-orange) !important;
  box-shadow: 0 8px 20px rgba(245, 130, 31, 0.12) !important;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-card {
  box-shadow: var(--card-shadow);
  min-height: 380px;
}

.about-image-overlay-badge {
  background-color: rgba(44, 44, 44, 0.92);
}

/* --------------------------------------------------------------------------
   7. OUR FOCUS AREAS (TABBED & ACCORDION) - PERFECT HEIGHT-BALANCED SIDEBAR
   -------------------------------------------------------------------------- */
.focus-interactive-container {
  box-shadow: var(--card-shadow);
}

/* Desktop Tab Menu - Heights perfectly flush with right panel */
.focus-tab-menu {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.focus-tab-menu .focus-tab-btn {
  border-radius: 0;
  transition: var(--transition-normal);
  background-color: #FFFFFF;
  padding: 0.95rem 1.25rem !important;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.focus-tab-menu .focus-tab-btn:hover {
  background-color: var(--bg-offwhite);
}

.focus-tab-menu .focus-tab-btn.active {
  background-color: var(--bg-offwhite) !important;
}

.focus-tab-num {
  font-size: 1.15rem;
}

.focus-tab-arrow {
  color: #CCCCCC;
  transition: var(--transition-fast);
}

.focus-tab-btn.active .focus-tab-arrow {
  color: var(--primary-orange);
  transform: translateX(3px);
}

/* Focus Panel Content */
.focus-icon-circle {
  width: 50px;
  height: 50px;
  background-color: var(--dark-panel-bg);
  color: var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.focus-panel-title {
  font-size: var(--font-size-h3);
}

.focus-tagline {
  font-size: var(--font-size-tagline);
  color: var(--deep-maroon) !important;
}

.focus-intro-p {
  font-size: var(--font-size-body);
  line-height: 1.75;
}

.bullet-marker {
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.bullet-content {
  font-size: var(--font-size-body);
  line-height: 1.7;
}

/* Mobile Accordion Adjustments */
.accordion-button:not(.collapsed) {
  background-color: var(--bg-offwhite);
  color: var(--primary-orange);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0,0,0,0.1);
}

/* --------------------------------------------------------------------------
   8. CALL TO ACTION SECTION STYLES
   -------------------------------------------------------------------------- */
.cta-title {
  font-size: var(--font-size-h2);
}

.cta-intro-p {
  font-size: var(--font-size-body) !important;
  line-height: 1.75;
}

.cta-action-card {
  border: 1px solid var(--border-dark-card);
  transition: var(--transition-normal);
}

.cta-action-card:hover {
  transform: translateY(-4px);
  background-color: var(--dark-card-hover) !important;
}

/* --------------------------------------------------------------------------
   9. CONTACT FORM SECTION STYLES (EQUAL CARD HEIGHTS)
   -------------------------------------------------------------------------- */
.contact-info-card, .contact-form-card {
  box-shadow: var(--card-shadow);
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-form-card .form-control, .contact-form-card .form-select {
  border: 1px solid var(--border-divider);
  font-size: var(--font-size-meta);
  border-radius: 4px;
  transition: var(--transition-fast);
}

.contact-form-card .form-control:focus, .contact-form-card .form-select:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 0.2rem rgba(245, 130, 31, 0.15);
}

/* --------------------------------------------------------------------------
   10. FOOTER STYLES (HIGH-CONTRAST READABILITY)
   -------------------------------------------------------------------------- */
.footer-heading {
  font-family: var(--font-body);
}

.border-bottom-orange {
  border-bottom: 2px solid var(--primary-orange);
  display: inline-block;
}

.footer-mission-text {
  color: #E0E0E0 !important;
  font-size: var(--font-size-meta) !important;
  line-height: 1.7;
}

.footer-link {
  color: #E0E0E0 !important;
  text-decoration: none;
  font-size: var(--font-size-meta) !important;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-orange) !important;
  padding-left: 4px;
}

/* HIGH-CONTRAST FOOTER CONTACT DETAILS */
.footer-contact-details, 
.footer-contact-details p, 
.footer-contact-details address {
  color: #FFFFFF !important;
  font-size: var(--font-size-meta) !important;
  font-weight: 500;
  line-height: 1.8;
}

.footer-contact-details .fa-solid {
  color: var(--primary-orange) !important;
  font-size: 1.1rem;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.footer-social-icon:hover {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
  color: #FFFFFF !important;
}

.copyright-text, .footer-legal-links a {
  color: #FFFFFF !important;
  font-size: var(--font-size-meta) !important;
}

.fs-xs {
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   11. SCROLL REVEAL ANIMATIONS (INTERSECTION OBSERVER)
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Print Optimization */
@media print {
  .top-utility-bar, .main-navbar, .footer-social-links, .whatsapp-float-btn {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   12. FLOATING WHATSAPP BUTTON (PREMIUM ANIMATED & RESPONSIVE)
   -------------------------------------------------------------------------- */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.whatsapp-float-content {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.15rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.whatsapp-float-btn:hover .whatsapp-float-content {
  transform: scale(1.12) rotate(8deg);
  background-color: #1EBE5D;
}

/* Pulsing Outer Ring Animation */
.whatsapp-pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.5);
  z-index: 1;
  animation: whatsappPulse 2s infinite ease-out;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.68);
    opacity: 0;
  }
}

/* Tooltip Badge on Hover */
.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background-color: #2C2C2C;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 0.95rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #2C2C2C;
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 576px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float-content {
    width: 52px;
    height: 52px;
    font-size: 1.85rem;
  }
  .whatsapp-pulse-ring {
    width: 52px;
    height: 52px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}

/* ==========================================================================
   PAGE-SPECIFIC STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page Title Banner (shared across inner pages)
   -------------------------------------------------------------------------- */
.page-title-banner {
  background: linear-gradient(135deg, #F5821F 0%, #f9a825 100%);
  padding: 3rem 0;
  text-align: center;
}
.page-title-banner .page-title-main {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
@media (max-width: 575px) {
  .page-title-banner { padding: 2rem 0; }
  .page-title-banner .page-title-main { font-size: 1.8rem; }
}

/* --------------------------------------------------------------------------
   Page Sidebar (shared across inner pages)
   -------------------------------------------------------------------------- */
.page-sidebar {
  position: sticky;
  top: 90px;
}
.page-sidebar .sidebar-heading {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  padding-bottom: .75rem;
  margin-bottom: 0;
  border-bottom: 2px solid var(--primary-orange);
}
.page-sidebar .sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-sidebar .sidebar-menu li {
  border-bottom: 1px solid var(--border-divider);
}
.page-sidebar .sidebar-menu li a {
  display: block;
  padding: .75rem 0 .75rem .75rem;
  color: var(--dark-charcoal);
  text-decoration: none;
  font-size: .95rem;
  line-height: 1.5;
  border-left: 3px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
}
.page-sidebar .sidebar-menu li a:hover {
  color: var(--primary-orange);
  border-left-color: var(--primary-orange);
  background: #fff8f2;
}
.page-sidebar .sidebar-menu li.active a {
  color: var(--primary-orange);
  font-weight: 600;
  border-left-color: var(--primary-orange);
  background: #fff3e8;
}
@media (max-width: 991px) {
  .page-sidebar { position: static; margin-bottom: 1.5rem; }
}

/* --------------------------------------------------------------------------
   Services Sidebar (shared across inner pages)
   -------------------------------------------------------------------------- */
.services-sidebar-wrapper {
  position: sticky;
  top: 90px;
}
.services-sidebar-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-divider);
  box-shadow: var(--card-shadow);
  background: var(--bg-purewhite);
}
.services-sidebar-header {
  background: var(--primary-orange);
  padding: 14px 20px;
}
.services-sidebar-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
}
.services-sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.services-sidebar-item {
  border-bottom: 1px solid var(--border-divider);
}
.services-sidebar-item:last-child {
  border-bottom: none;
}
.services-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  color: var(--dark-charcoal);
  text-decoration: none;
  font-size: var(--font-size-meta);
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.services-sidebar-link .link-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.services-sidebar-link .link-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #fff3e8;
  color: var(--primary-orange);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.services-sidebar-link:hover {
  background: #fff8f2;
  color: var(--primary-orange);
}
.services-sidebar-link.active {
  background: var(--primary-orange);
  color: #fff;
  font-weight: 600;
}
.services-sidebar-link.active .link-icon {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.services-sidebar-link.active .fa-chevron-right {
  color: #fff !important;
}
@media (max-width: 991px) {
  .services-sidebar-wrapper { position: static; margin-bottom: 1.5rem; }
}

/* --------------------------------------------------------------------------
   About Page
   -------------------------------------------------------------------------- */
.about-page h1 { font-size: var(--font-size-h1); }
.about-page .about-page-banner { border-bottom: 1px solid var(--border-divider); }
.about-page .about-kicker { display: block; color: var(--primary-orange); font-weight: 600; margin-bottom: .5rem; }
.about-page .about-copy { line-height: 1.95; margin-bottom: 0; }
.about-page .about-sidebar-nav {
  background: #fff;
  border: 1px solid var(--border-divider);
  border-radius: .375rem;
  overflow: hidden;
}
.about-page .about-sidebar-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
}
.about-page .about-sidebar-list li + li { border-top: 1px solid var(--border-divider); }
.about-page .about-sidebar-link {
  display: flex !important;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1.15rem;
  color: var(--dark-charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: .97rem;
  transition: background .2s, color .2s;
}
.about-page .about-sidebar-link:hover { background: #fff8f0; color: var(--primary-orange); }
.about-page .about-sidebar-link.active { background: var(--primary-orange); color: #fff !important; font-weight: 600; }
.about-page .about-sidebar-link.active .about-sidebar-icon { background: #fff; color: var(--primary-orange); }
.about-page .about-sidebar-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-orange); color: #fff;
  border-radius: 50%; font-size: .95rem;
}
.about-page .inspiration-card { background: #fff; border: 1px solid var(--border-divider); border-radius: 12px; transition: box-shadow .2s; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.about-page .inspiration-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.about-page .inspiration-img { width: 200px; height: 200px; object-fit: cover; border: 4px solid var(--primary-orange); border-radius: 70%; }
@media (max-width: 575px) { .about-page .inspiration-img { width: 160px; height: 160px; } }
.about-page .about-identity img { max-width: 180px; height: auto; }
.about-page .about-motto { color: var(--deep-maroon); font-size: 1.2rem; line-height: 1.7; }
.about-page .vidyalay-staff-table thead th { background: var(--primary-orange); color: #fff; font-weight: 600; white-space: nowrap; }
.about-page .vidyalay-staff-table tbody td { vertical-align: middle; }
.about-page .vidyalay-staff-table tbody tr:hover { background: #fff8f0; }
.about-page .about-quote { background: #fff8f0; border: 1px solid var(--border-divider); }
.about-page .about-quote > i { font-size: 1.6rem; }
.about-page .about-quote p { color: var(--deep-maroon); font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.7; }
.about-page a:focus-visible { outline: 3px solid var(--primary-orange); outline-offset: 3px; }
@media (max-width: 575px) {
  .about-page .about-identity img { max-width: 140px; }
  .about-page .about-quote p { font-size: 1.25rem; }
}

/* --------------------------------------------------------------------------
   Committee Page
   -------------------------------------------------------------------------- */
.committee-page h1 { font-size: var(--font-size-h1); }
.committee-page .committee-banner { border-bottom: 1px solid var(--border-divider); }
.committee-page .committee-term { display: inline-flex; align-items: center; padding: .55rem 1.25rem; background: #fff3e8; color: var(--deep-maroon); border-radius: 24px; font-weight: 600; }
.committee-page .committee-group + .committee-group { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--border-divider); }
.committee-page .committee-group-heading { text-align: center; margin-bottom: 1.75rem; }
.committee-page .committee-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.committee-page .committee-card {
  flex: 0 1 calc((100% - 4.5rem) / 4);
  min-width: 0;
  padding: 2rem 1.25rem;
  text-align: center;
  background: white;
  border: 1px solid var(--border-divider);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(43, 43, 43, .045);
}
.committee-page .committee-portrait {
  width: 144px;
  height: 144px;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-offwhite);
  border: 1px solid var(--border-divider);
  display: flex;
  align-items: center;
  justify-content: center;
}
.committee-page .committee-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.committee-page .committee-portrait i { color: #baaea3; font-size: 3.25rem; }
.committee-page .committee-name { font-family: var(--font-body); font-size: 1.2rem; font-weight: 600; margin-bottom: .6rem; line-height: 1.5; }
.committee-page .committee-role { display: inline-block; padding: .2rem .85rem; background: #fff3e8; color: var(--deep-maroon); border-radius: 20px; margin: 0; }
.committee-page .committee-city { color: var(--secondary-gray); margin: .75rem 0 0; }
@media (max-width: 991px) {
  .committee-page .committee-card { flex-basis: calc((100% - 1.5rem) / 2); }
}
@media (max-width: 575px) {
  .committee-page .committee-grid { gap: .85rem; }
  .committee-page .committee-card { flex-basis: calc((100% - .85rem) / 2); padding: 1.25rem .6rem; }
  .committee-page .committee-portrait { width: 100px; height: 100px; margin-bottom: 1rem; }
  .committee-page .committee-portrait i { font-size: 2.5rem; }
  .committee-page .committee-name { font-size: 1rem; }
  .committee-page .committee-role { font-size: .95rem; padding: .2rem .45rem; }
  .committee-page .committee-group + .committee-group { margin-top: 2rem; padding-top: 2rem; }
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.contact-page-banner { border-bottom: 1px solid var(--border-divider); }
.contact-page-banner h1 { font-size: var(--font-size-h1); }
.contact-detail-link { color: var(--dark-charcoal); overflow-wrap: anywhere; }
.contact-email-detail { min-width: 0; }
.contact-office-map {
  display: block;
  width: 100%;
  min-height: 360px;
  flex: 1;
  border: 0;
}
.contact-page main a:focus-visible {
  outline: 3px solid var(--primary-orange);
  outline-offset: 4px;
}
@media (max-width: 575px) {
  .contact-office-map { min-height: 300px; height: 300px; }
}

/* --------------------------------------------------------------------------
   Convention Page
   -------------------------------------------------------------------------- */
.convention-page h1 { font-size: var(--font-size-h1); }
.convention-page .convention-hero { border-bottom: 1px solid var(--border-divider); }
.convention-page .convention-tag,
.convention-page .convention-theme,
.convention-page .convention-upi { background: #fff3e8; color: var(--deep-maroon); }
.convention-page .convention-dates { font-size: 1.2rem; color: var(--deep-maroon); }
.convention-page .convention-fee-card,
.convention-page .convention-venue,
.convention-page .convention-payment-card {
  border: 1px solid var(--border-divider);
  border-radius: 10px;
  background: white;
  box-shadow: var(--card-shadow);
}
.convention-page .convention-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: #fff3e8; color: var(--primary-orange); border-radius: 50%; font-size: 1.5rem; }
.convention-page .convention-fee { font-size: 3rem; line-height: 1.3; color: var(--deep-maroon); }
.convention-page .convention-date-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; width: 80px; height: 86px; background: #fff3e8; color: var(--deep-maroon); border-radius: 8px; }
.convention-page .convention-date-tile strong { font-size: 2rem; line-height: 1.2; }
.convention-page .convention-map-link { color: var(--deep-maroon); }
.convention-page .convention-qr { width: 300px; max-width: 100%; height: auto; }
.convention-page .convention-upi strong { font-size: 1.3rem; }
.convention-page .convention-bank > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border-divider); }
.convention-page .convention-bank > div:last-child { border: 0; }
.convention-page .convention-bank dt { font-weight: 500; color: var(--secondary-gray); }
.convention-page .convention-bank dd { font-weight: 600; margin: 0; overflow-wrap: anywhere; }
.convention-page .convention-account { color: var(--deep-maroon); font-size: 1.15rem; }
.convention-page .convention-instructions { background: white; border: 1px solid var(--border-divider); }
.convention-page .convention-welcome-card { background: #fff8f0; border: 1px solid var(--border-divider); }
.convention-page .convention-steps { padding-left: 1.5rem; margin: 0; }
.convention-page .convention-steps li { padding-left: .5rem; margin-bottom: 1rem; }
.convention-page .convention-steps li::marker { color: var(--deep-maroon); font-weight: 700; }
.convention-page .convention-steps li:last-child { margin-bottom: 0; }
.convention-page .convention-steps a { color: var(--deep-maroon); text-decoration: underline; overflow-wrap: anywhere; }
.convention-page #registration,
.convention-page #details { scroll-margin-top: 90px; }
.convention-page a:focus-visible { outline: 3px solid var(--primary-orange); outline-offset: 3px; }
@media (max-width: 575px) {
  .convention-page .convention-bank > div { grid-template-columns: 1fr; gap: .35rem; }
  .convention-page .convention-dates { font-size: 1.05rem; }
}

/* --------------------------------------------------------------------------
   Donation Page
   -------------------------------------------------------------------------- */
.donation-page .donation-banner { border-bottom: 1px solid var(--border-divider); }
.donation-page h1 { font-size: var(--font-size-h1); }
.donation-page .donation-card {
  background: var(--bg-purewhite);
  border: 1px solid var(--border-divider);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
}
.donation-page .donation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: #FFF3E8;
  color: var(--primary-orange);
  border-radius: 50%;
  font-size: 1.4rem;
}
.donation-page .donation-qr img { width: 300px; max-width: 100%; height: auto; }
.donation-page .donation-upi,
.donation-page .donation-bank-note { background: var(--bg-offwhite); }
.donation-page .donation-upi-id { font-size: 1.4rem; color: var(--deep-maroon); }
.donation-page .donation-bank-details > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-divider);
}
.donation-page .donation-bank-details > div:first-child { padding-top: 0; }
.donation-page .donation-bank-details dt { font-weight: 600; }
.donation-page .donation-bank-details dt span {
  display: block;
  font-size: var(--font-size-meta);
  font-weight: 400;
  color: var(--secondary-gray);
}
.donation-page .donation-bank-details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.donation-page .donation-account { color: var(--deep-maroon); font-size: 1.2rem; }
.donation-page .donation-receipt { background: #FFF3E8; }
.donation-page .donation-receipt .donation-icon { background: white; }
.donation-page .donation-email { color: var(--deep-maroon); overflow-wrap: anywhere; }
.donation-page a:focus-visible { outline: 3px solid var(--primary-orange); outline-offset: 4px; }
@media (max-width: 575px) {
  .donation-page .donation-bank-details > div { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .donation-page .donation-receipt .donation-icon { display: none; }
}

/* --------------------------------------------------------------------------
   Members Page
   -------------------------------------------------------------------------- */
.members-page .members-banner { border-bottom: 1px solid var(--border-divider); }
.members-page h1 { font-size: var(--font-size-h1); }
.members-page .members-event-tag { background: #FFF3E8; color: var(--deep-maroon); font-weight: 600; }
.members-page .members-list-card {
  border: 1px solid var(--border-divider);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-purewhite);
  box-shadow: var(--card-shadow);
}
.members-page .members-list-card,
.members-page .members-help { width: 100%; margin-inline: auto; }
.members-page .members-list-heading { background: var(--bg-offwhite); color: var(--dark-charcoal); }
.members-page .members-list-heading h2 { color: var(--deep-maroon); }
.members-page .members-list-heading .text-muted { color: var(--secondary-gray) !important; }
.members-page #members-count { color: var(--secondary-gray); font-size: .95rem; }
.members-page #members-source-status { font-size: .95rem; }
.members-page .members-search { position: relative; width: min(100%, 360px); }
.members-page .members-search i { position: absolute; top: 50%; left: 1rem; transform: translateY(-50%); color: var(--secondary-gray); }
.members-page .members-search input { width: 100%; border: 1px solid var(--border-divider); border-radius: 6px; padding: .75rem 1rem .75rem 2.6rem; background: var(--bg-offwhite); font: inherit; }
.members-page .members-search input:focus { outline: 2px solid var(--primary-orange); outline-offset: 2px; }
.members-page .members-table-scroll { max-height: 720px; overflow: auto; scrollbar-color: #bdb2a8 #f6f3ee; }
.members-page .members-table-scroll { -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; overscroll-behavior-x: contain; }
.members-page .members-scroll-controls:not([hidden]) { display: flex; align-items: center; gap: 1rem; padding: .75rem 1rem; background: white; border-bottom: 1px solid var(--border-divider); }
.members-page .members-scroll-controls button { width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--border-divider); border-radius: 8px; background: #fff3e8; color: var(--deep-maroon); touch-action: manipulation; }
.members-page .members-scroll-controls button:disabled { opacity: .35; }
.members-page .members-scroll-controls button:focus-visible { outline: 2px solid var(--primary-orange); outline-offset: 2px; }
.members-page .members-scroll-slider { flex: 1; min-width: 0; text-align: center; }
.members-page .members-scroll-slider label { display: block; font-size: .95rem; color: var(--secondary-gray); }
.members-page .members-scroll-slider input { display: block; width: 100%; height: 30px; margin: 0; accent-color: var(--deep-maroon); cursor: ew-resize; }
.members-page .members-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; text-align: left; }
.members-page .members-table th { position: sticky; top: 0; z-index: 1; background: #f3eae5; color: var(--deep-maroon); font-weight: 700; padding: 1rem 1.25rem; border-bottom: 1px solid #dfd0c5; white-space: nowrap; }
.members-page .members-table td { padding: .9rem 1.25rem; border-bottom: 1px solid #eee9e3; vertical-align: middle; }
.members-page .members-table td:first-child { text-align: center; color: var(--secondary-gray); width: 80px; }
.members-page .members-table td:nth-child(3) { font-weight: 600; overflow-wrap: anywhere; max-width: 360px; }
.members-page .members-table tbody tr:nth-child(even) { background: #faf8f5; }
.members-page .members-table tbody tr:hover { background: #fff1e4; }
.members-page .members-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #FFF3E8;
  color: var(--primary-orange);
  font-size: 1.4rem;
}
.members-page .members-scroll-hint { background: var(--bg-offwhite); border-block: 1px solid var(--border-divider); }
.members-page .members-list-bottom { border-top: 1px solid var(--border-divider); }
.members-page .members-help { background: var(--bg-offwhite); }
.members-page a:focus-visible,
.members-page .members-table-scroll:focus-visible { outline: 3px solid var(--primary-orange); outline-offset: -3px; }
@media (max-width: 575px) {
  .members-page .members-list-heading > .btn { width: 100%; }
  .members-page .members-list-heading h2 { font-size: 1.2rem; }
  .members-page .members-table-scroll { max-height: 560px; }
  .members-page .members-search { width: 100%; }
}

/* ==========================================================================
   YUGBHARTI INDRAPRASTHA FOUNDATION - SKILL DEVELOPMENT STYLESHEET
   File: minhaj.css
   Author: Yugbharti Tech Team
   Description: Custom professional styling for Skill Development & Livelihood
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. TOP UTILITY STRIP & UTILITY CLASSES
   -------------------------------------------------------------------------- */
.topbar-strip,
.bg-maroon {
  background-color: #8B1E1E !important;
  color: #FFFFFF !important;
}

.text-orange {
  color: var(--primary-orange, #F5821F) !important;
}

.bg-orange {
  background-color: var(--primary-orange, #F5821F) !important;
}

/* Dropdown Active State Override (Remove Default Bootstrap Blue) */
.main-navbar .dropdown-item.active,
.main-navbar .dropdown-item:active,
.dropdown-item.active,
.dropdown-item:active {
  background-color: #FFF4E8 !important;
  color: var(--primary-orange, #F5821F) !important;
  font-weight: 700 !important;
}

.main-navbar .dropdown-item.active i,
.main-navbar .dropdown-item:active i,
.dropdown-item.active i,
.dropdown-item:active i {
  color: var(--primary-orange, #F5821F) !important;
}

.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus,
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--primary-orange, #F5821F) !important;
  color: #FFFFFF !important;
}

.main-navbar .dropdown-item:hover i,
.main-navbar .dropdown-item:focus i,
.dropdown-item:hover i,
.dropdown-item:focus i {
  color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   1. PAGE BANNER & HERO SECTION
   -------------------------------------------------------------------------- */
.skill-hero-section {
  background-color: var(--bg-offwhite);
  position: relative;
  overflow: hidden;
}

.skill-hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(var(--border-divider) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}

.skill-hero-badge {
  background-color: #FFF4E8;
  color: var(--primary-orange);
  border: 1px solid rgba(245, 130, 31, 0.25);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
}

.skill-hero-title {
  font-size: 40px;
  color: var(--deep-maroon);
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
}

.skill-hero-tagline {
  font-size: 1rem;
  color: var(--primary-orange);
  font-weight: 600;
  font-style: italic;
  display: block;
}

.skill-hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4A4A4A;
}

/* --------------------------------------------------------------------------
   2. STATS & IMPACT COUNTERS
   -------------------------------------------------------------------------- */
.skill-stats-row {
  margin-top: 1rem;
}

.skill-stat-card {
  background-color: var(--bg-purewhite);
  border: 1px solid var(--border-divider);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.skill-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-orange);
}

.skill-stat-icon {
  width: 52px;
  height: 52px;
  line-height: 52px;
  border-radius: 50%;
  background-color: #FFF4E8;
  color: var(--primary-orange);
  font-size: 1.35rem;
  margin: 0 auto 0.85rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-stat-number {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--deep-maroon);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.skill-stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-charcoal);
  margin-bottom: 0.15rem;
}

.skill-stat-sub {
  font-size: 0.85rem;
  color: var(--secondary-gray);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. STICKY SERVICES / FOCUS AREAS SIDEBAR
   -------------------------------------------------------------------------- */
.services-sidebar-wrapper {
  position: sticky;
  top: 95px;
  z-index: 10;
}

.services-sidebar-card {
  background-color: var(--bg-purewhite);
  border: 1px solid var(--border-divider);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.services-sidebar-header {
  background-color: var(--deep-maroon);
  color: #FFFFFF;
  padding: 1.15rem 1.25rem;
}

.services-sidebar-header h3 {
  color: #FFFFFF;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.services-sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-sidebar-item {
  border-bottom: 1px solid var(--border-divider);
}

.services-sidebar-item:last-child {
  border-bottom: none;
}

.services-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.15rem;
  color: var(--dark-charcoal);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  transition: all 0.25s ease;
  background-color: var(--bg-purewhite);
}

.services-sidebar-link .link-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.services-sidebar-link .link-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: #FFF4E8;
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.services-sidebar-link:hover {
  background-color: #FFF8F2;
  color: var(--primary-orange);
  padding-left: 1.35rem;
}

.services-sidebar-link:hover .link-icon {
  background-color: var(--primary-orange);
  color: #FFFFFF;
}

.services-sidebar-link.active {
  background-color: var(--primary-orange);
  color: #FFFFFF !important;
}

.services-sidebar-link.active .link-icon {
  background-color: #FFFFFF;
  color: var(--primary-orange);
}

.services-sidebar-link.active i.fa-chevron-right {
  color: #FFFFFF !important;
}

/* Sidebar Contact Card */
.sidebar-contact-card {
  background-color: var(--bg-purewhite);
  border: 1px solid var(--border-divider);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.sidebar-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #FFF4E8;
  color: var(--primary-orange);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

/* --------------------------------------------------------------------------
   4. CORE STRATEGIC PILLARS
   -------------------------------------------------------------------------- */
.skill-pillar-card {
  background-color: var(--bg-purewhite);
  border: 1px solid var(--border-divider);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.skill-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-orange);
}

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: #FFF4E8;
  color: var(--primary-orange);
  font-size: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.skill-pillar-card:hover .pillar-icon-box {
  background-color: var(--primary-orange);
  color: #FFFFFF;
}

.pillar-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--deep-maroon);
  margin-bottom: 0.65rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.65;
  margin-bottom: 1.15rem;
}

.pillar-features-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  margin-top: auto;
}

.pillar-features-list li {
  font-size: 0.92rem;
  color: var(--dark-charcoal);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pillar-features-list li:last-child {
  margin-bottom: 0;
}

.pillar-features-list li i {
  color: var(--primary-orange);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. 4-STEP SKILLING & PLACEMENT ROADMAP
   -------------------------------------------------------------------------- */
.roadmap-container {
  position: relative;
}

.step-card {
  background-color: var(--bg-purewhite);
  border: 1px solid var(--border-divider);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-orange);
}

.step-number-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--deep-maroon);
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.step-card:hover .step-number-badge {
  background-color: var(--primary-orange);
}

.step-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #FFF4E8;
  color: var(--primary-orange);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem auto 1.15rem auto;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep-maroon);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.91rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   6. TRAINING FACILITIES & INFRASTRUCTURE
   -------------------------------------------------------------------------- */
.facility-card {
  background-color: var(--bg-purewhite);
  border: 1px solid var(--border-divider);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: var(--primary-orange);
}

.facility-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background-color: #FFF4E8;
  color: var(--primary-orange);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.facility-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep-maroon);
  margin-bottom: 0.35rem;
}

.facility-desc {
  font-size: 0.91rem;
  color: #555555;
  line-height: 1.55;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. CSR & PARTNERSHIP BANNER
   -------------------------------------------------------------------------- */
.partnership-banner {
  background-color: var(--dark-panel-bg);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.partnership-banner::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 130, 31, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.partnership-title {
  color: #FFFFFF;
  font-size: 1.7rem;
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
}

.partnership-desc {
  color: #D1D5DB;
  font-size: 0.98rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   8. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.skill-faq-accordion .accordion-item {
  border: 1px solid var(--border-divider);
  border-radius: 10px !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.skill-faq-accordion .accordion-button {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--deep-maroon);
  background-color: #FFFFFF;
  padding: 1rem 1.25rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.skill-faq-accordion .accordion-button:not(.collapsed) {
  background-color: #FFF4E8;
  color: var(--primary-orange);
  box-shadow: none;
}

.skill-faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-divider);
}

.skill-faq-accordion .accordion-body {
  font-size: 0.95rem;
  color: #444444;
  line-height: 1.7;
  background-color: #FFFFFF;
  padding: 1.25rem;
  border-top: 1px solid var(--border-divider);
}

/* --------------------------------------------------------------------------
   9. CALL TO ACTION SECTION
   -------------------------------------------------------------------------- */
.skill-cta-section {
  background-color: var(--deep-maroon);
  color: #FFFFFF;
  position: relative;
}

.skill-cta-title {
  color: #FFFFFF;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.skill-cta-desc {
  color: #F8D3B4;
  font-size: 1.05rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .services-sidebar-wrapper {
    position: static;
    margin-bottom: 2.5rem;
  }

  .partnership-banner {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .skill-hero-title {
    font-size: 30px;
  }
}
