/* ==========================================================================
   Maya Disability & Community Services - Premium Stylesheet
   ========================================================================== */

/* --- Custom CSS Variables --- */
:root {
  --primary: #ad176a;        /* Maya Magenta */
  --primary-light: #d23a8c;  /* Bright Pink Accent */
  --primary-dark: #7d0f4c;   /* Deep Magenta */
  --secondary: #F39C12;      /* Maya Orange */
  --secondary-hover: #E08600;
  --accent: #fbe6f1;         /* Soft Pink Tint */
  --accent-dark: #7d0f4c;    /* Deep Magenta text */
  --bg-light: #F9FAFB;
  --bg-dark: #111827;
  --text-dark: #111827;
  --text-body: #374151;
  --text-muted: #6B7280;
  
  --font-outfit: 'Outfit', sans-serif;
  --font-inter: 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-circle: 50%;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(173, 23, 106, 0.08), 0 4px 6px -2px rgba(173, 23, 106, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(173, 23, 106, 0.12), 0 10px 10px -5px rgba(173, 23, 106, 0.06);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Reset & Typography --- */
body {
  font-family: var(--font-inter);
  color: var(--text-body);
  background-color: #ffffff;
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .font-outfit {
  font-family: var(--font-outfit);
  color: var(--text-dark);
  font-weight: 600;
}

/* --- Theme Helpers --- */
.text-teal { color: var(--primary) !important; }
.text-coral { color: var(--secondary) !important; }
.text-mint { color: var(--accent) !important; }
.bg-teal { background-color: var(--primary) !important; }
.bg-coral { background-color: var(--secondary) !important; }
.bg-mint { background-color: var(--accent) !important; }
.bg-light-section { background-color: var(--bg-light); }

.border-teal { border-color: var(--primary) !important; }
.border-coral { border-color: var(--secondary) !important; }

/* --- Buttons --- */
.btn-teal {
  background-color: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary);
  transition: var(--transition-smooth);
}
.btn-teal:hover {
  background-color: #8f1257;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-teal {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: var(--transition-smooth);
}
.btn-outline-teal:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-coral {
  background-color: var(--secondary);
  color: #ffffff;
  border: 1px solid var(--secondary);
  transition: var(--transition-smooth);
}
.btn-coral:hover {
  background-color: var(--secondary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(243, 156, 18, 0.25);
}

/* --- Sections Spacing --- */
section {
  padding: 100px 0;
  position: relative;
}
@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--accent);
  color: var(--accent-dark);
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}

/* --- Navbar styling --- */
.navbar-nav .nav-link {
  color: var(--text-body);
  transition: var(--transition-smooth);
  padding: 0.5rem 1rem;
}
.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
  color: var(--primary);
}
.navbar-brand span {
  transition: var(--transition-smooth);
}
.navbar-brand:hover span.text-teal {
  color: var(--secondary) !important;
}
.brand-logo {
  height: 52px;
  width: auto;
  transition: var(--transition-smooth);
}
.navbar-brand:hover .brand-logo {
  transform: scale(1.03);
}
@media (max-width: 575px) {
  .brand-logo { height: 42px; }
}

/* --- Dropdown Menus --- */
.navbar-nav .dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  margin-top: 14px;
  min-width: 230px;
  border-top: 3px solid var(--primary);
}
.navbar-nav .dropdown-item {
  font-weight: 500;
  color: var(--text-body);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.navbar-nav .dropdown-item i {
  color: var(--primary);
  width: 18px;
  transition: var(--transition-smooth);
}
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateX(4px);
}
.navbar-nav .dropdown-item:hover i {
  color: var(--secondary);
}
/* Caret tweak */
.navbar-nav .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: 2px;
  border-top-color: currentColor;
  transition: var(--transition-smooth);
}

/* Hover-to-open on desktop (xl and up where navbar expands) */
@media (min-width: 1200px) {
  .has-dropdown:hover > .dropdown-menu {
    display: block;
    animation: dropdownFade 0.25s ease;
  }
  .has-dropdown > .dropdown-menu {
    margin-top: 0; /* removes hover gap so menu stays open */
  }
  /* invisible bridge so the menu doesn't close in the gap under the link */
  .has-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 16px;
  }
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile: indent dropdown items, no shadow box */
@media (max-width: 1199px) {
    .navbar-nav .dropdown-menu {
        box-shadow: none;
        border-top: none;
        border-left: 2px solid var(--accent);
        margin: 4px 0 8px 12px;
        padding: 4px 0;
        border-radius: 0;
        min-width: auto;
        height: 26vh;
        overflow-y: scroll;
    }
}

/* --- Hero Slider Section --- */
.hero-slider-section {
  position: relative;
  overflow: hidden;
}

/* Override global section padding for hero */
.hero-slider-section.position-relative {
  padding: 0 !important;
}

/* Swiper Container */
.hero-swiper {
  width: 100%;
  height: 100vh;
  min-height: 600px;
}
@media (max-width: 991px) {
  .hero-swiper {
    height: 75vh;
    min-height: 500px;
  }
}
@media (max-width: 576px) {
  .hero-swiper {
    height: 60vh;
    min-height: 460px;
  }
}

/* Each slide */
.swiper-slide {
  position: relative;
  overflow: hidden;
}

/* Full-cover background */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 8s ease;
}
.swiper-slide-active .hero-slide-bg {
  transform: scale(1.0);
}

/* Dark overlay (even darkening for centered text readability) */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(61, 20, 80, 0.55) 0%,
    rgba(61, 20, 80, 0.45) 45%,
    rgba(61, 20, 80, 0.65) 100%
  );
  z-index: 2;
}

/* Slide content wrapper */
.hero-slide-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  padding-top: 100px; /* account for sticky nav */
}

/* Centered content block (no card, text directly over image) */
.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badge / section tag inside hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251, 230, 241, 0.18);
  border: 1px solid rgba(251, 230, 241, 0.4);
  color: #fbe6f1;
  font-family: var(--font-outfit);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 26px;
}

/* Large headline */
.hero-headline {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
/* Accent underline beneath the headline */
.hero-headline::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
  margin: 24px auto 0;
}

/* Description */
.hero-desc {
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 26px;
  margin-bottom: 36px;
  font-weight: 400;
  max-width: 640px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
@media (max-width: 576px) {
  .hero-desc {
    font-size: 0.97rem;
  }
}

/* CTA group */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Outline button inside glass card (white outline) */
.hero-outline-btn {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
}
.hero-outline-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Navigation arrows */
.swiper-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
}
.swiper-nav-btn:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-50%) scale(1.1);
}
.hero-swiper-prev {
  left: 30px;
}
.hero-swiper-next {
  right: 30px;
}
@media (max-width: 576px) {
  .swiper-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
  }
  .hero-swiper-prev { left: 14px; }
  .hero-swiper-next { right: 14px; }
}

/* Pagination dots */
.hero-swiper-pagination {
  bottom: 120px !important;
  left: 0;
  right: 0;
  text-align: left;
  padding-left: calc((100vw - min(100%, 1320px)) / 2 + 12px);
  z-index: 20;
}
.hero-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: var(--transition-smooth);
  margin: 0 5px;
}
.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--secondary);
  width: 32px;
  border-radius: 5px;
}
@media (max-width: 576px) {
  .hero-swiper-pagination {
    bottom: 105px !important;
    text-align: center;
    padding-left: 0;
  }
}

/* --- Hero Stats Bar (floating over bottom of slider) --- */
.hero-stats-bar {
  position: relative;
  z-index: 30;
  margin-top: -72px;
}
@media (max-width: 991px) {
  .hero-stats-bar {
    margin-top: 0;
    padding-top: 0;
  }
}

.hero-stats-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 40px;
  box-shadow:
    0 20px 60px rgba(173, 23, 106, 0.15),
    0 4px 16px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 768px) {
  .hero-stats-wrapper {
    padding: 24px 20px;
    gap: 20px;
    border-radius: 16px;
  }
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 160px;
}
@media (max-width: 576px) {
  .hero-stat-card {
    min-width: 140px;
    gap: 14px;
  }
}

.hero-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hero-stat-num {
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(173, 23, 106, 0.12);
  flex-shrink: 0;
}



/* --- Trust & Impact Section --- */
.impact-section {
  margin-top: 0;
  padding-top: 80px;
  padding-bottom: 80px;
  z-index: 10;
}
@media (max-width: 991px) {
  .impact-section {
    padding-top: 60px;
  }
}
.impact-card-wrapper {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.impact-counter {
  font-size: 3rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  font-family: var(--font-outfit);
}
.impact-label {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 1.05rem;
}

/* --- Why Choose Us --- */
.feature-card {
  background: #ffffff;
  border: 1px solid rgba(173, 23, 106, 0.08);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  transition: var(--transition-smooth);
  height: 100%;
  box-shadow: var(--shadow-sm);
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  background-color: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 2rem;
  transition: var(--transition-smooth);
}
.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary);
  color: #ffffff;
  transform: rotate(8deg);
}

/* --- About Organization --- */
.about-img-grid {
  position: relative;
}
.about-img-1 {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 85%;
  position: relative;
  z-index: 3;
}
.about-img-2 {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 55%;
  position: absolute;
  bottom: -40px;
  right: 0;
  z-index: 4;
  border: 6px solid #ffffff;
}
.timeline-item {
  position: relative;
  padding-left: 35px;
  padding-bottom: 30px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: var(--accent);
}
.timeline-item:last-child::before {
  height: 15px;
}
.timeline-marker {
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--secondary);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 4px var(--accent);
}
.timeline-year {
  font-family: var(--font-outfit);
  font-weight: 600;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

/* --- Our Services --- */
.service-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.service-card img{
    height:300px;
    width:100%;
    object-fit:cover;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(251, 230, 241, 0.1) 0%, rgba(173, 23, 106, 0.03) 100%);
  opacity: 0;
  z-index: -1;
  transition: var(--transition-smooth);
}
.service-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  border-color: rgba(173, 23, 106, 0.2);
}
.service-card:hover::after {
  opacity: 1;
}
.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 25px;
  display: inline-block;
  transition: var(--transition-smooth);
}
.service-card:hover .service-icon {
  transform: scale(1.1);
  color: var(--secondary);
}

/* --- Success Stories --- */
.stories-slider {
  padding-bottom: 60px;
}
.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(173, 23, 106, 0.05);
  margin: 15px;
  position: relative;
}
.quote-icon {
  position: absolute;
  top: 40px;
  right: 45px;
  font-size: 3rem;
  color: rgba(173, 23, 106, 0.1);
}
.client-avatar {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--accent);
}
.rating-stars {
  color: #FBBF24;
}

/* --- Programs & Support Areas --- */
.program-grid-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 380px;
  z-index: 1;
}
.program-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.program-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(173, 23, 106, 0.95) 0%, rgba(173, 23, 106, 0.4) 60%, rgba(173, 23, 106, 0) 100%);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  transition: var(--transition-smooth);
}
.program-grid-item:hover .program-img {
  transform: scale(1.08);
}
.program-grid-item:hover .program-overlay {
  background: linear-gradient(to top, rgba(173, 23, 106, 0.98) 0%, rgba(243, 156, 18, 0.8) 100%);
}
.program-meta {
  background: var(--accent);
  color: var(--accent-dark);
  font-weight: 500;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 50px;
  align-self: flex-start;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* --- Video Highlights --- */
.video-highlights-section {
  background: linear-gradient(135deg, #ad176a 0%, #5a1a6b 55%, #3d1450 100%);
  overflow: hidden;
}
.video-highlights-section .section-tag {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.text-white-70 {
  color: rgba(255, 255, 255, 0.7) !important;
}
/* Soft glowing blob behind the video */
.video-bg-blob {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(210, 58, 140, 0.45) 0%, rgba(210, 58, 140, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
}
.video-thumbnail-container {
  position: relative;
  cursor: pointer;
  display: block;
}
.video-thumbnail {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-wrapper:hover .video-thumbnail {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .video-thumbnail {
    height: 340px;
  }
}
.video-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 20, 80, 0.85) 0%, rgba(61, 20, 80, 0.1) 45%, rgba(61, 20, 80, 0.2) 100%);
  transition: var(--transition-smooth);
}
.video-wrapper:hover .video-overlay-gradient {
  background: linear-gradient(to top, rgba(61, 20, 80, 0.8) 0%, rgba(61, 20, 80, 0.15) 50%, rgba(173, 23, 106, 0.25) 100%);
}

.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  background-color: var(--secondary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  padding-left: 6px;
  box-shadow: 0 10px 30px rgba(243, 156, 18, 0.5);
  transition: var(--transition-smooth);
  z-index: 10;
}
.video-wrapper:hover .play-btn-overlay {
  background-color: #ffffff;
  color: var(--primary);
  transform: translate(-50%, -50%) scale(1.08);
}
/* Pulsing ripple rings */
.play-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: playPulse 2.4s ease-out infinite;
}
.play-ripple:nth-child(2) {
  animation-delay: 1.2s;
}
@keyframes playPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* Glassy caption bar over the bottom of the thumbnail */
.video-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.video-caption-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
  margin-bottom: 4px;
}
.video-caption h5 {
  font-size: 1.15rem;
  font-weight: 600;
}
.video-duration {
  flex-shrink: 0;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}
@media (max-width: 575px) {
  .video-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 16px;
  }
  .video-caption h5 { font-size: 0.95rem; }
  .video-duration { display: none; }
}

/* Trust stat row beneath the video */
.video-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 45px;
}
.video-stat {
  text-align: center;
  min-width: 150px;
}
.video-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
}
.video-stat-num .fa-star {
  font-size: 1.2rem;
  color: #FCD34D;
}
.video-stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}
.video-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.18);
}
@media (max-width: 768px) {
  .video-stat-divider { display: none; }
}

/* --- Team Section --- */
.team-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(173, 23, 106, 0.05);
  transition: var(--transition-smooth);
  height: 100%;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.team-avatar-wrapper {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 25px auto;
}
.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: var(--transition-smooth);
  border: 4px solid var(--accent);
}
.team-card:hover .team-avatar {
  border-color: var(--secondary);
}
.team-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}
.team-card:hover .team-socials {
  opacity: 1;
  transform: translateY(0);
}
.team-social-link {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}
.team-social-link:hover {
  background: var(--secondary);
  color: #ffffff;
}

/* --- Community Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-item.tall {
  grid-row: span 2;
  height: 520px;
}
@media (max-width: 768px) {
  .gallery-item.tall {
    grid-row: span 1;
    height: 250px;
  }
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(173, 23, 106, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  color: #ffffff;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}
.gallery-item:hover .gallery-hover-overlay {
  opacity: 1;
}

/* --- Lightbox Modal --- */
.lightbox-modal .modal-content {
  background: transparent;
  border: 0;
}
.lightbox-modal .modal-body {
  position: relative;
  padding: 0;
}
.lightbox-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: 0;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

/* --- Latest News & Articles --- */
.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(173, 23, 106, 0.05);
  transition: var(--transition-smooth);
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.blog-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.blog-card:hover .blog-img {
  transform: scale(1.06);
}
.blog-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--secondary);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.75rem;
  padding: 5px 15px;
  border-radius: 50px;
  text-transform: uppercase;
}
.blog-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

/* --- Partner Organizations --- */
.partner-logo-wrapper {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(173, 23, 106, 0.05);
  transition: var(--transition-smooth);
}
.partner-logo-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.partner-logo-text {
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}
.partner-logo-wrapper:hover .partner-logo-text {
  color: var(--primary);
}

/* --- CTA Banner --- */
.cta-gradient-section {
  background: linear-gradient(135deg, var(--primary) 0%, #2e0f40 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-gradient-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary) 0%, rgba(243, 156, 18, 0) 65%);
  bottom: -250px;
  right: -100px;
  opacity: 0.25;
  pointer-events: none;
}

/* --- Footer --- */
.main-footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 80px 0 30px 0;
}
.footer-logo {
  height: 64px;
  width: auto;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.footer-title {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}
.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 50px 0 0 50px;
  padding-left: 20px;
}
.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.newsletter-form .form-control:focus {
  box-shadow: none;
  border-color: var(--primary-light);
  background-color: rgba(255, 255, 255, 0.08);
}
.newsletter-form .btn {
  border-radius: 0 50px 50px 0;
  background-color: var(--secondary);
  color: #ffffff;
  border: none;
  padding: 0 25px;
}
.newsletter-form .btn:hover {
  background-color: var(--secondary-hover);
}
.bottom-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  margin-top: 50px;
}

/* Animations and tweaks */
.hover-white:hover {
  color: #ffffff !important;
}
.font-outfit {
  font-family: var(--font-outfit);
}
.tracking-wider {
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Story Sections (Alternating Image + Content Blocks)
   ========================================================================== */
.story-section {
  overflow: hidden;
}
.story-content .section-tag {
  margin-bottom: 16px;
}
.story-content .story-title {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 22px;
  color: var(--primary);
}
@media (max-width: 768px) {
  .story-content .story-title {
    font-size: 1.85rem;
  }
}
.story-content .story-lead {
  color: var(--text-body);
  font-size: 1.08rem;
  margin-bottom: 28px;
}

/* Image wrapper with decorative accent + floating badge */
.story-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
}
.story-img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.story-img-wrap::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: var(--radius-lg);
  z-index: -1;
  transition: var(--transition-smooth);
}
.story-img-wrap.accent-bottom::before {
  bottom: -22px;
  right: -22px;
  background: var(--accent);
}
.story-img-wrap.accent-top::before {
  top: -22px;
  left: -22px;
  background: rgba(243, 156, 18, 0.12);
}

/* Floating stat / badge card over the image */
.story-float-card {
  position: absolute;
  bottom: 28px;
  left: -24px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 250px;
}
@media (max-width: 575px) {
  .story-float-card {
    left: 12px;
    bottom: 12px;
    padding: 14px 16px;
  }
}
.story-float-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}
.story-float-num {
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary);
}
.story-float-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Icon bullet list */
.story-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}
.story-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.story-feature-list .feat-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  background: var(--accent);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.story-feature-list .feat-title {
  font-family: var(--font-outfit);
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 2px 0;
  font-size: 1.05rem;
}
.story-feature-list .feat-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}
/* ==========================================================================
   About Page
   ========================================================================== */

/* --- Inner Page Hero --- */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  padding: 90px 0 80px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .page-hero {
    min-height: 280px;
    padding: 70px 0 70px;
  }
}
.page-hero .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(61, 20, 80, 0.92) 0%, rgba(173, 23, 106, 0.7) 55%, rgba(61, 20, 80, 0.55) 100%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 3; }
.page-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}
.page-hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto 30px;
}
.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 26px;
  font-size: 0.85rem;
  font-weight: 500;
}
.page-breadcrumb a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: var(--transition-smooth); }
.page-breadcrumb a:hover { color: #fff; }
.page-breadcrumb .sep { color: var(--secondary); }
.page-breadcrumb .current { color: #fff; }

/* Floating achievement badges */
.hero-float-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}
.hero-float-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  padding: 10px 20px;
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
}
.hero-float-badge i { color: var(--secondary); }

/* Curved divider at bottom of hero */
.page-hero-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}
.page-hero-divider svg { width: 100%; height: 70px; display: block; }

/* --- About stat cards (Our Story) --- */
.about-stat-card {
  background: #fff;
  border: 1px solid rgba(173, 23, 106, 0.08);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
}
.about-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.about-stat-card .stat-num {
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--primary);
  line-height: 1;
}
.about-stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* --- Mission / Vision / Values (Glassmorphism on gradient) --- */
.mvv-section {
  background: linear-gradient(135deg, #ad176a 0%, #3d1450 100%);
  position: relative;
  overflow: hidden;
}
.mvv-section .mvv-blob {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 58, 140, 0.4) 0%, rgba(210, 58, 140, 0) 70%);
  pointer-events: none;
}
.mvv-section .mvv-blob.one { top: -120px; left: -100px; }
.mvv-section .mvv-blob.two { bottom: -140px; right: -100px; background: radial-gradient(circle, rgba(243, 156, 18, 0.35) 0%, rgba(243, 156, 18, 0) 70%); }
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  height: 100%;
  transition: var(--transition-smooth);
}
.glass-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.3);
}
.glass-card .glass-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
}
.glass-card.mission .glass-icon { background: linear-gradient(135deg, var(--primary-light), var(--primary)); }
.glass-card h3 { color: #fff; font-weight: 600; margin-bottom: 14px; }
.glass-card p { color: rgba(255, 255, 255, 0.8); margin: 0; }
.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 50px;
  margin: 0 8px 10px 0;
}
.value-chip i { color: var(--secondary); }

/* --- Impact Counters (gradient) --- */
.impact-gradient {
  background: linear-gradient(120deg, #3d1450 0%, var(--primary) 50%, #5a1a6b 100%);
  position: relative;
  overflow: hidden;
}
.impact-stat { text-align: center; padding: 20px; }
.impact-stat .impact-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}
.impact-stat:hover .impact-icon {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-6px) scale(1.05);
}
.impact-stat .impact-num {
  font-family: var(--font-outfit);
  font-weight: 600;
  font-size: 3rem;
  color: #fff;
  line-height: 1;
}
.impact-stat .impact-suffix { color: var(--secondary); }
.impact-stat .impact-text {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin-top: 8px;
}

/* --- Vertical Journey Timeline --- */
.journey-timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 0;
}
.journey-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--accent), var(--primary-light), var(--accent));
}
.journey-row {
  position: relative;
  display: flex;
  margin-bottom: 40px;
}
.journey-row:nth-child(odd) { justify-content: flex-start; }
.journey-row:nth-child(even) { justify-content: flex-end; }
.journey-content {
  width: 44%;
  background: #fff;
  border: 1px solid rgba(173, 23, 106, 0.08);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.journey-content:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.journey-dot {
  position: absolute;
  left: 50%;
  top: 26px;
  width: 20px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--secondary);
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px var(--accent);
  z-index: 2;
}
.journey-year {
  display: inline-block;
  font-family: var(--font-outfit);
  font-weight: 600;
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.journey-content h4 { color: var(--primary); font-weight: 600; margin-bottom: 8px; font-size: 1.15rem; }
@media (max-width: 767px) {
  .journey-timeline::before { left: 9px; }
  .journey-row, .journey-row:nth-child(even) { justify-content: flex-start; }
  .journey-content { width: calc(100% - 40px); margin-left: 40px; }
  .journey-dot { left: 9px; }
}

/* --- FAQ Accordion --- */
.faq-accordion .accordion-item {
  border: 1px solid rgba(173, 23, 106, 0.1);
  border-radius: var(--radius-md) !important;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-button {
  font-family: var(--font-outfit);
  font-weight: 600;
  color: var(--primary);
  background: #fff;
  padding: 22px 26px;
  font-size: 1.05rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--accent);
  color: var(--accent-dark);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}
.faq-accordion .accordion-button::after {
  background-size: 1rem;
  filter: hue-rotate(120deg);
}
.faq-accordion .accordion-body {
  padding: 4px 26px 24px;
  color: var(--text-muted);
}

/* ==========================================================================
   News / Blog / Service / Career / Contact Pages
   ========================================================================== */

/* Compact page hero variant already defined as .page-hero */

/* --- Featured Article (Blog list) --- */
.featured-article {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}
.featured-article:hover { box-shadow: var(--shadow-lg); }
.featured-article .fa-img {
  position: relative;
  min-height: 360px;
  background-size: cover;
  background-position: center;
}
.featured-article .fa-body {
  padding: 46px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-article .fa-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 16px 0 18px;
}
.featured-article h3 {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 16px;
}
@media (max-width: 991px) {
  .featured-article { grid-template-columns: 1fr; }
  .featured-article .fa-body { padding: 32px 26px; }
  .featured-article h3 { font-size: 1.5rem; }
}

.badge-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--secondary);
  color: #fff;
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 50px;
}

/* --- Blog category pills --- */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cat-pill {
  background: #fff;
  border: 1px solid rgba(173, 23, 106, 0.15);
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 9px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.cat-pill:hover, .cat-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* --- Sidebar Popular Posts --- */
.sidebar-card {
  background: #fff;
  border: 1px solid rgba(173, 23, 106, 0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}
.sidebar-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
}
.popular-post {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  padding: 10px 0;
  transition: var(--transition-smooth);
}
.popular-post:hover { transform: translateX(4px); }
.popular-post img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.popular-post .pp-title {
  font-family: var(--font-outfit);
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.35;
  transition: var(--transition-smooth);
}
.popular-post:hover .pp-title { color: var(--primary); }
.popular-post .pp-date { font-size: 0.78rem; color: var(--text-muted); }

/* --- Pagination --- */
.pagination-modern {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}
.pagination-modern a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid rgba(173, 23, 106, 0.15);
  color: var(--text-body);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.pagination-modern a:hover, .pagination-modern a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* --- Newsletter band --- */
.newsletter-band {
  background: linear-gradient(135deg, var(--primary) 0%, #3d1450 100%);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-band h3 { color: #fff; font-weight: 600; }
.newsletter-band .input-group {
  max-width: 480px;
  margin: 24px auto 0;
}
.newsletter-band .form-control {
  border: none;
  padding: 15px 22px;
  border-radius: 50px 0 0 50px;
}
.newsletter-band .btn {
  border-radius: 0 50px 50px 0;
  padding: 0 30px;
  font-weight: 600;
}

/* --- Article (Blog Detail) typography --- */
.article-body { font-size: 1.12rem; line-height: 1.9; color: var(--text-body); }
.article-body h2 { font-size: 1.8rem; color: var(--primary); margin: 40px 0 18px; }
.article-body h3 { font-size: 1.4rem; color: var(--primary); margin: 32px 0 14px; }
.article-body p { margin-bottom: 24px; }
.article-body img { border-radius: var(--radius-md); margin: 10px 0; }
.pull-quote {
  border-left: 5px solid var(--secondary);
  background: var(--bg-light);
  padding: 26px 30px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-outfit);
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  color: var(--primary);
  margin: 36px 0;
  line-height: 1.5;
}
.highlight-box {
  background: var(--accent);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin: 36px 0;
}
.highlight-box h4 { color: var(--accent-dark); font-weight: 600; margin-bottom: 10px; }
.highlight-box p { color: #7d0f4c; margin: 0; }
.article-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0;
}
.article-stats .stat {
  background: #fff;
  border: 1px solid rgba(173, 23, 106, 0.1);
  border-radius: var(--radius-md);
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.article-stats .stat .num { font-family: var(--font-outfit); font-weight: 600; font-size: 2.2rem; color: var(--secondary); }
.article-stats .stat .lbl { font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 575px) { .article-stats { grid-template-columns: 1fr; } }

/* Social share */
.social-share { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.share-btn:hover { transform: translateY(-3px); color: #fff; }
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #111; }
.share-btn.li { background: #0a66c2; }
.share-btn.em { background: var(--text-muted); }

/* Author box */
.author-box {
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin: 40px 0;
}
.author-box img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
@media (max-width: 575px){ .author-box { flex-direction: column; text-align: center; } }

/* Comments */
.comment-item { display: flex; gap: 16px; margin-bottom: 26px; }
.comment-item img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-bubble { background: #fff; border: 1px solid rgba(173, 23, 106,0.1); border-radius: var(--radius-md); padding: 18px 22px; box-shadow: var(--shadow-sm); width: 100%; }

/* --- How It Works / Recruitment steps --- */
.process-step {
  background: #fff;
  border: 1px solid rgba(173, 23, 106, 0.08);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  text-align: center;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.process-step:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.process-step .step-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-outfit);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(243, 156, 18, 0.4);
}
.process-step .step-icon {
  width: 64px; height: 64px; margin: 14px auto 18px;
  border-radius: var(--radius-md); background: var(--accent); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  transition: var(--transition-smooth);
}
.process-step:hover .step-icon { background: var(--primary); color: #fff; }
.process-step h5 { color: var(--primary); font-weight: 600; margin-bottom: 8px; }

/* --- Job Cards (Career) --- */
.job-card {
  background: #fff;
  border: 1px solid rgba(173, 23, 106, 0.1);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
}
.job-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.job-card h4 { color: var(--primary); font-weight: 600; font-size: 1.25rem; margin-bottom: 12px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.job-meta span {
  font-size: 0.8rem; font-weight: 500; color: var(--text-muted);
  background: var(--bg-light); padding: 5px 12px; border-radius: 50px;
}
.job-meta span i { color: var(--primary); margin-right: 5px; }

/* --- Contact Cards --- */
.contact-card {
  background: #fff;
  border: 1px solid rgba(173, 23, 106, 0.08);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.contact-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.contact-card .c-icon {
  width: 70px; height: 70px; margin: 0 auto 20px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; color: #fff;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transition: var(--transition-smooth);
}
.contact-card:hover .c-icon { transform: rotate(8deg) scale(1.05); }
.contact-card h5 { color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.contact-card a, .contact-card p { color: var(--text-muted); text-decoration: none; margin: 0; }
.contact-card a:hover { color: var(--secondary); }

/* Contact form floating labels */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}
.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
}
.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(210, 58, 140, 0.15);
}
.form-success {
  display: none;
  background: var(--accent);
  color: var(--accent-dark);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-weight: 500;
  margin-top: 16px;
}
.form-success.show { display: block; animation: dropdownFade 0.4s ease; }

/* Quick contact options */
.quick-contact {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid rgba(173, 23, 106,0.1);
  border-radius: var(--radius-md); padding: 22px 24px;
  text-decoration: none; transition: var(--transition-smooth); height: 100%;
}
.quick-contact:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.quick-contact .qc-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff;
}
.quick-contact h6 { margin: 0; color: var(--primary); font-weight: 600; }
.quick-contact span { font-size: 0.85rem; color: var(--text-muted); }

/* Emergency banner */
.emergency-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
  border-radius: var(--radius-lg);
  padding: 34px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.emergency-banner .eb-icon { font-size: 2.5rem; opacity: 0.9; }

/* Map */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
.program-overlay h4 {
    color: white;
}

/* ===== Service Detail page-specific ===== */
.svc-sidebar { position: sticky; top: 100px; }
.svc-side-card {
    background: #fff; border: 1px solid rgba(173,23,106,.08); border-radius: var(--radius-lg);
    padding: 1.75rem; box-shadow: var(--shadow-sm); margin-bottom: 1.75rem;
}
.svc-side-card h4 { font-family: var(--font-outfit); color: var(--primary); font-size: 1.2rem; margin-bottom: 1.25rem; }
.svc-side-list { list-style: none; padding: 0; margin: 0; }
.svc-side-list li { margin-bottom: .5rem; }
.svc-side-list li:last-child { margin-bottom: 0; }
.svc-side-list a {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px;
    text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: .95rem;
    background: #faf3f8; transition: var(--transition-smooth);
}
.svc-side-list a:hover, .svc-side-list a.active {
    background: var(--primary); color: #fff; transform: translateX(4px);
}
.svc-side-list a i { color: var(--secondary); width: 20px; text-align: center; transition: var(--transition-smooth); }
.svc-side-list a:hover i, .svc-side-list a.active i { color: #fff; }
.svc-help-card {
    background: linear-gradient(135deg, var(--primary), #7d0f4c); color: #fff;
    border-radius: var(--radius-lg); padding: 2rem; text-align: center; box-shadow: var(--shadow-md);
}
.svc-help-card i.lead-ic { font-size: 2.2rem; color: var(--secondary); margin-bottom: 1rem; }
.svc-help-card h4 { color: #fff; font-family: var(--font-outfit); margin-bottom: .5rem; }
.svc-help-card p { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 1.25rem; }
/* Content column */
.svc-content .story-img-wrap img { width: 100%; border-radius: var(--radius-lg); }
.svc-content h2 { font-family: var(--font-outfit); color: var(--primary); }
.svc-feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.svc-feature-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; }
.svc-feature-list .ic {
    flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent);
    color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: .8rem; margin-top: 2px;
}


/* ===== CSR page-specific ===== */
.commit-img-wrap { position: relative; border-radius: var(--radius-lg, 20px); overflow: hidden; box-shadow: var(--shadow-lg, 0 20px 50px rgba(0,0,0,.12)); }
.commit-img-wrap img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.commit-badge {
    position: absolute; bottom: 20px; left: 20px; right: 20px;
    background: rgba(255,255,255,.95); border-radius: 16px; padding: 18px 22px;
    display: flex; align-items: center; gap: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.15);
}
.commit-badge .ic { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--primary); font-size: 1.4rem; }
.csr-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 16px; }
.csr-gallery .g-item { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow-sm); }
.csr-gallery .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.csr-gallery .g-item:hover img { transform: scale(1.08); }
.csr-gallery .g-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(125,15,76,.55)); opacity: 0; transition: opacity .3s; }
.csr-gallery .g-item:hover::after { opacity: 1; }
.csr-gallery .g-cap { position: absolute; left: 14px; bottom: 12px; color: #fff; font-weight: 600; font-size: .85rem; z-index: 2; opacity: 0; transform: translateY(8px); transition: .3s; }
.csr-gallery .g-item:hover .g-cap { opacity: 1; transform: translateY(0); }
.csr-gallery .tall { grid-row: span 2; }
.csr-gallery .wide { grid-column: span 2; }
@media (max-width: 991px){ .csr-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px){ .csr-gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; } .csr-gallery .wide, .csr-gallery .tall { grid-column: auto; grid-row: auto; } }

 /* ===== Application Modal ===== */
        .apply-modal .modal-content {
            box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
        }

        .apply-modal-head {
            position: relative;
            padding: 2rem 2.5rem 1.75rem;
            color: #fff;
            background: linear-gradient(135deg, var(--secondary, #0e7c7b) 0%, var(--primary, #0a5c5b) 100%);
        }

        .apply-modal-head h3 {
            font-weight: 700;
        }

        .apply-modal-tag {
            display: inline-block;
            font-size: .72rem;
            letter-spacing: .12em;
            text-transform: uppercase;
            font-weight: 600;
            background: rgba(255, 255, 255, .16);
            padding: .35rem .9rem;
            border-radius: 50px;
            margin-bottom: .85rem;
        }

        .apply-close-btn {
            position: absolute;
            top: 1.1rem;
            right: 1.25rem;
            width: 38px;
            height: 38px;
            border: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, .18);
            color: #fff;
            font-size: 1rem;
            transition: background .2s, transform .2s;
        }

        .apply-close-btn:hover {
            background: rgba(255, 255, 255, .32);
            transform: rotate(90deg);
        }

        .apply-label {
            font-weight: 600;
            font-size: .85rem;
            color: #344;
            margin-bottom: .35rem;
        }

        .apply-input-group .input-group-text {
            background: #f6f9f9;
            border-right: 0;
            color: var(--secondary, #0e7c7b);
        }

        .apply-input-group .form-control,
        .apply-input-group .form-select {
            border-left: 0;
            padding-left: .25rem;
        }

        .apply-input-group .form-control:focus,
        .apply-input-group .form-select:focus {
            box-shadow: none;
            border-color: #ced4da;
        }

        .apply-input-group:focus-within {
            box-shadow: 0 0 0 .2rem rgba(14, 124, 123, .15);
            border-radius: .4rem;
        }

        .apply-file-drop {
            display: flex;
            align-items: center;
            gap: .9rem;
            width: 100%;
            padding: 1rem 1.25rem;
            border: 2px dashed #cdd;
            border-radius: .6rem;
            background: #f8fbfb;
            cursor: pointer;
            transition: border-color .2s, background .2s;
        }

        .apply-file-drop:hover {
            border-color: var(--secondary, #0e7c7b);
            background: #f0f7f7;
        }

        .apply-file-drop i {
            font-size: 1.5rem;
            color: var(--secondary, #0e7c7b);
        }

        .apply-file-text {
            display: flex;
            flex-direction: column;
            font-weight: 600;
            color: #344;
        }

        .apply-file-text small {
            font-weight: 400;
        }

        .apply-file-drop input[type=file] {
            display: none;
        }

        .apply-file-drop.has-file {
            border-color: var(--secondary, #0e7c7b);
            border-style: solid;
            background: #eef7f7;
        }

        .apply-success-icon {
            width: 76px;
            height: 76px;
            margin: 1rem auto 0;
            border-radius: 50%;
            background: rgba(14, 124, 123, .12);
            color: var(--secondary, #0e7c7b);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
        }
        
        .ndis {
        border-radius: 15px;
        height: 85px;
        margin-top: 15px;
        }
