/* ============================================
   Saral Jeevan Foundation - Custom Styles
   Color Theme: Orange, White, Green
   ============================================ */

:root {
  --primary-orange: #FF6B35;
  --primary-orange-dark: #E55A2B;
  --primary-orange-light: #FF8C5A;
  --primary-green: #2E7D32;
  --primary-green-dark: #1B5E20;
  --primary-green-light: #4CAF50;
  --white: #FFFFFF;
  --off-white: #F9F9F9;
  --light-gray: #F5F5F5;
  --medium-gray: #E0E0E0;
  --dark-gray: #333333;
  --text-dark: #2D2D2D;
  --text-medium: #555555;
  --text-light: #777777;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

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

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
  padding: 8px 0;
  font-size: 14px;
  color: var(--white);
}

.top-bar a {
  color: var(--white);
  margin-right: 20px;
  font-size: 13px;
}

.top-bar a:hover {
  color: var(--primary-orange-light);
}

.top-bar .social-icons a {
  margin-right: 12px;
  font-size: 16px;
}

.top-bar i {
  margin-right: 5px;
}

/* ============================================
   NAVBAR
   ============================================ */
.main-navbar {
  background: var(--white);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: var(--transition);
}

.main-navbar.scrolled {
  box-shadow: var(--shadow-md);
  padding: 6px 0;
}

.navbar-brand img {
  height: 55px;
  margin-right: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text .brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.brand-text .brand-tagline {
  font-size: 11px;
  color: var(--primary-orange);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.main-navbar .nav-link {
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px !important;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.main-navbar .nav-link {
  position: relative;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--primary-orange) !important;
  background: rgba(255, 107, 53, 0.08);
}

/* Underline only on non-dropdown links */
.main-navbar .nav-link:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-orange);
  transition: var(--transition);
  border-radius: 2px;
}

.main-navbar .nav-link:not(.dropdown-toggle):hover::after,
.main-navbar .nav-link:not(.dropdown-toggle).active::after {
  width: 60%;
}

.btn-donate {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
  color: var(--white) !important;
  border: none;
  border-radius: 50px !important;
  padding: 10px 28px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.35);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-donate:hover {
  background: linear-gradient(135deg, var(--primary-orange-dark), var(--primary-orange));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
  color: var(--white) !important;
}

/* ============================================
   MEGA MENU / DROPDOWN for Our Work
   ============================================ */
/* About Us Dropdown - Text Only */
/* Show dropdown on hover */
@media (min-width: 992px) {
  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
    animation: fadeInUp 0.3s ease;
  }

  .navbar .dropdown-toggle::after {
    transition: transform 0.3s ease;
  }

  .navbar .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

.navbar .dropdown-menu {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  min-width: 220px;
  background: var(--white);
  animation: fadeInUp 0.3s ease;
  border-top: 3px solid var(--primary-orange);
  margin-top: 0;
}

.navbar .dropdown-item {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  border-radius: 0;
  display: flex;
  align-items: center;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: var(--light-gray);
  color: var(--primary-orange);
  padding-left: 25px;
  transform: none;
  box-shadow: none;
}

.navbar .dropdown-item i {
  font-size: 13px;
  width: 18px;
  text-align: center;
  color: var(--primary-orange);
  transition: var(--transition);
}

.navbar .dropdown-item:hover i {
  transform: scale(1.15);
}

@media (max-width: 991px) {
  .navbar .dropdown-menu {
    min-width: 100%;
    box-shadow: none;
    padding: 5px 0;
    background: var(--white);
    border: none;
    border-top: none;
  }

  .navbar .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
  }

  .navbar .dropdown-item:hover,
  .navbar .dropdown-item:focus {
    padding-left: 25px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

/* ============================================
   HERO SECTION - Split Layout (70/30)
   ============================================ */
.hero-split {
  display: flex;
  min-height: 500px;
  position: relative;
}

/* Left Side - Banner Slider 70% */
.hero-split .hero-slider-left {
  width: 70%;
  position: relative;
  overflow: hidden;
}

.hero-split .hero-slider-left .carousel-item {
  height: 500px;
  position: relative;
}

.hero-split .hero-slider-left .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-split .hero-slider-left .carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.65), rgba(30, 30, 30, 0.4));
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.hero-split .hero-slider-left .carousel-content {
  color: var(--white);
  max-width: 600px;
}

.hero-split .hero-slider-left .carousel-content .subtitle {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: var(--primary-orange-light);
}

.hero-split .hero-slider-left .carousel-content h1 {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-split .hero-slider-left .carousel-content p {
  font-size: 15px;
  margin-bottom: 25px;
  opacity: 0.95;
}

/* Right Side - Scanner/CTA 30% */
.hero-split .hero-sidebar-right {
  width: 30%;
  background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 25px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-sidebar-right::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.hero-sidebar-right::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
}

.hero-sidebar-right .sidebar-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--primary-orange-light);
}

.hero-sidebar-right h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.3;
}

.hero-sidebar-right .sidebar-desc {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 25px;
  line-height: 1.7;
}

/* QR/Scanner placeholder */
.hero-sidebar-right .scanner-box {
  width: 160px;
  height: 160px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-sidebar-right .scanner-box img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 8px;
}

.hero-sidebar-right .btn-donate-sidebar {
  background: var(--primary-orange);
  color: var(--white);
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-sidebar-right .btn-donate-sidebar:hover {
  background: var(--white);
  color: var(--primary-green);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

/* Hero Slider for Inner Pages (About, Donate, Contact) */
/* Hero Banner for Inner Pages */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider .hero-banner-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* Vertically center the breadcrumb block inside hero only */
.hero-slider .page-breadcrumb {
  top: 30%;
  transform: translate(-50%, -50%);
}

/* Enhance h1 inside hero only */
.hero-slider .page-breadcrumb h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-slider .carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.65), rgba(30, 30, 30, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

@media (max-width: 991px) {
  .hero-slider .hero-banner-img {
    height: 320px;
  }

  .hero-slider .page-breadcrumb h1 {
    font-size: 32px;
  }
}

@media (max-width: 575px) {
  .hero-slider .hero-banner-img {
    height: 260px;
  }

  .hero-slider .page-breadcrumb h1 {
    font-size: 24px;
  }
}

/*Home slider*/
.hero-split .carousel-indicators {
  bottom: 15px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.carousel-indicators .active {
  background: var(--primary-orange);
  width: 30px;
  border-radius: 6px;
}

.hero-split .btn-hero {
  background: var(--primary-orange);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  transition: var(--transition);
  border: 2px solid var(--primary-orange);
}

.hero-split .btn-hero:hover {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-split .btn-hero-outline {
  background: transparent;
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--white);
  transition: var(--transition);
}

.hero-split .btn-hero-outline:hover {
  background: var(--white);
  color: var(--primary-green);
  transform: translateY(-2px);
}

/* Mobile responsive hero split */
@media (max-width: 991px) {
  .hero-split {
    flex-direction: column;
    min-height: auto;
  }

  .hero-split .hero-slider-left {
    width: 100%;
  }

  .hero-split .hero-slider-left .carousel-item {
    height: 380px;
  }

  .hero-split .hero-sidebar-right {
    width: 100%;
    padding: 30px 20px;
    min-height: auto;
  }

  .hero-split .hero-slider-left .carousel-content h1 {
    font-size: 30px;
  }
}

@media (max-width: 575px) {
  .hero-split .hero-slider-left .carousel-item {
    height: 280px;
  }

  .hero-split .hero-slider-left .carousel-content h1 {
    font-size: 22px;
  }

  .hero-split .hero-slider-left .carousel-content .subtitle {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .hero-split .hero-slider-left .carousel-content p {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .hero-sidebar-right h2 {
    font-size: 20px;
  }

  .hero-sidebar-right .scanner-box {
    width: 130px;
    height: 130px;
  }

  .hero-sidebar-right .scanner-box img {
    width: 110px;
    height: 110px;
  }
}

/* ============================================
   SERVICE TABS (Below Slider - No Overlap)
   ============================================ */
.service-tabs {
  padding: 25px 0;
  background: var(--light-gray);
  position: relative;
  z-index: 10;
}

.service-tabs .tab-container {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.service-tabs .tab-container::-webkit-scrollbar {
  display: none;
}

.service-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  min-width: 130px;
  text-decoration: none;
  border: 2px solid transparent;
  background: var(--light-gray);
  flex-shrink: 0;
}

.service-tab-item:hover {
  border-color: var(--primary-orange);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2);
}

.service-tab-item.active {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
  border-color: var(--primary-orange);
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.service-tab-item .tab-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary-orange);
}

.service-tab-item .tab-img-icon {
  width: 45px;
  height: 45px;
  margin-bottom: 8px;
  border-radius: 8px;
  object-fit: contain;
  transition: var(--transition);
}

.service-tab-item:hover .tab-icon,
.service-tab-item.active .tab-icon {
  color: var(--white);
}

.service-tab-item .tab-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  white-space: nowrap;
}

.service-tab-item:hover .tab-label,
.service-tab-item.active .tab-label {
  color: var(--white);
}

@media (max-width: 768px) {
  .service-tabs .tab-container {
    justify-content: flex-start;
    padding: 10px 15px;
    gap: 8px;
  }

  .service-tab-item {
    padding: 12px 18px;
    min-width: 100px;
  }

  .service-tab-item .tab-icon {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .service-tab-item .tab-img-icon {
    width: 34px;
    height: 34px;
  }

  .service-tab-item .tab-label {
    font-size: 10px;
  }
}

/* ============================================
   WELCOME / ABOUT SECTION
   ============================================ */
.section-welcome {
  padding: 80px 0;
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title .subtitle {
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: inline-block;
}

.section-title h2 {
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
}

.section-title .title-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-green));
  margin: 15px auto 0;
  border-radius: 2px;
}

.welcome-content h3 {
  color: var(--primary-green);
  font-size: 28px;
  margin-bottom: 10px;
}

.welcome-content .highlight-text {
  color: var(--primary-orange);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.welcome-content p {
  color: var(--text-medium);
  margin-bottom: 15px;
  font-size: 15px;
}

.welcome-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.welcome-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.welcome-image .image-overlay-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--primary-orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-md);
}

/* ============================================
   Certificate Section Styles
   ============================================ */

.section-certificates {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.certificate-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.certificate-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* Certificate Image */
.certificate-image {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.certificate-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.certificate-card:hover .certificate-image img {
  transform: scale(1.05);
}

.certificate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.certificate-overlay .btn-light {
  border-radius: 50px;
  padding: 8px 24px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Certificate Body */
.certificate-body {
  padding: 24px;
  text-align: center;
}

.cert-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #ffffff;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.certificate-body h4 {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.certificate-body p {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .section-certificates {
    padding: 60px 0;
  }

  .certificate-image {
    height: 200px;
  }

  .certificate-body {
    padding: 20px;
  }

  .certificate-body h4 {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .certificate-image {
    height: 180px;
  }
}

/* ============================================
   OUR WORK / SERVICES CARDS
   ============================================ */
.section-work {
  padding: 80px 0;
  background: var(--light-gray);
}

.work-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 30px;
  height: 100%;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.work-card .card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.work-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.work-card .card-image .card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-orange);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.work-card .card-body {
  padding: 25px;
}

.work-card .card-body h4 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.work-card .card-body p {
  color: var(--text-medium);
  font-size: 14px;
  margin-bottom: 20px;
}

.btn-card {
  background: var(--primary-green);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 2px solid var(--primary-green);
}

.btn-card:hover {
  background: transparent;
  color: var(--primary-green);
}

/* ============================================
   STATISTICS / COUNTER
   ============================================ */
.section-stats {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
  color: var(--white);
  position: relative;
}

.section-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>');
  background-size: 200px;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-item .stat-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--primary-orange-light);
}

.stat-item .stat-number {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 5px;
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
  font-weight: 600;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.section-gallery {
  padding: 80px 0;
  /* background: var(--white); */
  background: var(--light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 125, 50, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay i {
  color: var(--white);
  font-size: 32px;
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-item .video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5);
  transition: var(--transition);
}

.video-item:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--primary-orange-dark);
}

.video-play-btn i {
  color: var(--white);
  font-size: 28px;
  margin-left: 4px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(0, 0, 0, 0.8));
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/donate-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.section-cta .container {
  position: relative;
  z-index: 2;
}

.cta-content {
  text-align: center;
  color: var(--white);
}

.cta-content h2 {
  font-size: 40px;
  margin-bottom: 15px;
  font-weight: 800;
}

.cta-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  background: var(--primary-orange);
  color: var(--white);
  padding: 16px 45px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
  transition: var(--transition);
}

.btn-cta:hover {
  background: var(--white);
  color: var(--primary-orange);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

/* ============================================
   MISSION VISION SECTION
   ============================================ */
.section-mission {
  padding: 40px 0;
  background: var(--white);
}

.mission-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--medium-gray);
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-orange);
}

.mission-card .mission-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
}

.mission-card .mission-icon.icon-orange {
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary-orange);
}

.mission-card .mission-icon.icon-green {
  background: rgba(46, 125, 50, 0.1);
  color: var(--primary-green);
}

.mission-card h4 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.mission-card p {
  color: var(--text-medium);
  font-size: 14px;
}

/* ============================================
   DETAIL PAGE
   ============================================ */
.detail-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
  color: var(--white);
  text-align: center;
}

.detail-hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.detail-hero p {
  font-size: 18px;
  opacity: 0.9;
}

.detail-content {
  padding: 60px 0;
}

.detail-content h2 {
  color: var(--primary-green);
  margin-bottom: 15px;
}

.detail-content h3 {
  color: var(--primary-orange);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 20px;
}

.detail-content h4 {
  color: var(--text-dark);
}

.detail-content h4 {
  color: var(--text-dark);
}

.detail-content .detail-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.detail-content .detail-image img {
  width: 100%;
  border-radius: var(--border-radius);
}

.detail-features {
  list-style: none;
  padding: 0;
}

.detail-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--medium-gray);
  font-size: 15px;
  color: var(--text-medium);
}

.detail-features li i {
  color: var(--primary-green);
  margin-right: 12px;
  font-size: 18px;
}

.detail-sidebar {
  background: var(--light-gray);
  border-radius: var(--border-radius);
  padding: 30px;
}

.detail-sidebar h4 {
  font-size: 20px;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.detail-content .MakeDifference {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  color: var(--white);
}

.detail-content .MakeDifference h4 {
  color: var(--white);
}

.detail-content .MakeDifference p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-bottom: 20px;
}

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

.sidebar-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--medium-gray);
}

.sidebar-list li a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
}

.sidebar-list li a:hover {
  color: var(--primary-orange);
}

.sidebar-list li a i {
  margin-right: 8px;
  color: var(--primary-orange);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
  padding: 80px 0;
  background: var(--white);
}

.about-intro .about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-intro .about-image img {
  width: 100%;
  border-radius: var(--border-radius);
}

.about-content h3 {
  color: var(--primary-green);
  font-size: 28px;
  margin-bottom: 15px;
}

.about-content .highlight {
  color: var(--primary-orange);
  font-weight: 600;
}

.about-content p {
  color: var(--text-medium);
  margin-bottom: 15px;
  font-size: 15px;
}

.about-values {
  padding: 80px 0;
  background: var(--light-gray);
}

.value-card {
  text-align: center;
  padding: 35px 25px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-card .value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--white);
}

.value-card h5 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-medium);
  font-size: 14px;
}

.section-team {
  padding: 80px 0;
  background: var(--white);
}

.team-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-card .team-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--primary-orange);
}

.team-card h5 {
  color: var(--text-dark);
  font-size: 18px;
  margin-bottom: 5px;
}

.team-card .team-role {
  color: var(--primary-orange);
  font-size: 14px;
  font-weight: 600;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.section-contact {
  padding: 80px 0;
  background: var(--white);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid var(--medium-gray);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 14px;
  transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.15);
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 6px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
  color: var(--white);
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.35);
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
}

.contact-info-card {
  display: flex;
  align-items: center;
  padding: 20px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-info-card .info-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-info-card .info-icon.icon-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.contact-info-card .info-icon.icon-phone {
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary-orange);
}

.contact-info-card .info-icon.icon-email {
  background: rgba(46, 125, 50, 0.1);
  color: var(--primary-green);
}

.contact-info-card h5 {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.contact-info-card p {
  color: var(--text-medium);
  font-size: 13px;
  margin-bottom: 0;
}

.contact-info-card a {
  color: var(--primary-orange);
  font-weight: 600;
}

.contact-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

/* Contact info row */
.contact-info-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-info-row .contact-info-card {
  flex: 1;
  min-width: 200px;
}

@media (max-width: 991px) {
  .contact-image {
    min-height: 300px;
    margin-bottom: 30px;
  }

  .contact-info-row {
    flex-direction: column;
  }
}

/* ============================================
   DONATE PAGE
   ============================================ */
/* ========================================
   DONATE SECTION
   ======================================== */
.section-donate {
  /* padding: 80px 0; */
  background: var(--white);
}

.donate-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 50px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: var(--transition);
}

.donate-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-5px);
}

.donate-card .donate-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 40px;
  color: var(--white);
}

.donate-card h4 {
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.donate-card p {
  color: var(--text-medium);
  font-size: 15px;
  margin-bottom: 25px;
}

.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 25px;
}
     .razorpay-wrapper {
       /* display: flex; */
       align-items: center;
       justify-content: center;
       flex-wrap: wrap;
       gap: 15px;
       padding: 30px 40px;
       background: linear-gradient(135deg, #fff7ed, #fed7aa);
       border: 1px solid #fdba74;
       border-radius: 12px;
       width: 100%;
       text-align: center;
     }
  
     .razorpay-wrapper h3 {
       color: var(--primary-orange);;
       font-weight: 700;
       margin-bottom: 20px;
     }
     
.donate-amounts .amount-btn {
  padding: 10px 25px;
  border: 2px solid var(--primary-orange);
  border-radius: 50px;
  background: transparent;
  color: var(--primary-orange);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.donate-amounts .amount-btn:hover,
.donate-amounts .amount-btn.active {
  background: var(--primary-orange);
  color: var(--white);
}

/* ========================================
   DONATE FORM CARD
   ======================================== */
.donate-form-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--medium-gray);
  overflow: hidden;
}

.donate-form-header {
  background: linear-gradient(135deg, var(--primary-green), #1a8a4a);
  padding: 35px 40px;
  text-align: center;
  position: relative;
}

.donate-form-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--white);
  border-radius: 20px 20px 0 0;
}

.donate-form-header-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 30px;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.donate-form-header h3 {
  color: var(--white);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.donate-form-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* Form Body */
.donate-form {
  padding: 35px 40px 10px;
}

.donate-form .form-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.form-text-muted {
  font-size: 12px !important;
  color: var(--text-light) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper .form-control {
  padding-left: 44px;
  border: 2px solid var(--medium-gray);
  border-radius: 12px;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-right: 16px;
  font-size: 15px;
  transition: var(--transition);
  background: var(--white);
}

.input-icon-wrapper .form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 4px rgba(34, 139, 34, 0.1);
}

.input-icon-wrapper>i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 15px;
  z-index: 2;
  transition: var(--transition);
}

.input-icon-wrapper .form-control:focus+i,
.input-icon-wrapper:focus-within>i {
  color: var(--primary-green);
}

.input-amount-wrapper>i {
  font-weight: 700;
  color: var(--primary-orange) !important;
}

.btn-donate-submit {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 52px;
}

.btn-donate-submit:hover {
  background: linear-gradient(135deg, var(--primary-orange-dark), #d4450a);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.35);
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px 40px 30px;
  border-top: 1px solid var(--light-gray);
  margin-top: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-medium);
  font-weight: 500;
}

.trust-item i {
  color: var(--primary-green);
  font-size: 15px;
}

/* ========================================
   BANK DETAILS CARD (Enhanced UI)
   ======================================== */
.bank-details-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--medium-gray);
  overflow: hidden;
}

.bank-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding: 30px 40px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-bottom: 1px solid #bbf7d0;
}

.bank-header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bank-header-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-green), #1a8a4a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--white);
  flex-shrink: 0;
}

.bank-header h3 {
  color: var(--text-dark);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.bank-header p {
  color: var(--text-medium);
  font-size: 14px;
  margin-bottom: 0;
}

.bank-header-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-green);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* Bank Details Grid */
.bank-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.bank-info-block {
  padding: 25px 35px;
  border-right: 1px solid var(--light-gray);
}

.bank-info-block:last-child {
  border-right: none;
}

.bank-block-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-green);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #dcfce7;
}

.bank-block-label i {
  font-size: 14px;
}

.bank-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}

.bank-detail-item:last-child {
  border-bottom: none;
}

.bank-detail-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bank-detail-value {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Copy Button */
.bank-copyable {
  position: relative;
}

.copy-btn {
  background: var(--light-gray);
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-medium);
  font-size: 13px;
}

.copy-btn:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--white);
}

.copy-btn.copied {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--white);
}

/* Tax Badge */
.tax-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dcfce7;
  color: var(--primary-green) !important;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 13px !important;
  font-weight: 700 !important;
}

/* Bank Footer Note */
.bank-footer-note {
  padding: 20px 40px;
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  border-bottom: 1px solid #fde68a;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #92400e;
  line-height: 1.6;
}

.note-item i {
  color: #f59e0b;
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Bank Action Buttons */
.bank-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 25px 40px 30px;
}

.bank-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
}

.bank-action-whatsapp {
  background: #dcfce7;
  color: #16a34a;
  border-color: #bbf7d0;
}

.bank-action-whatsapp:hover {
  background: #16a34a;
  color: var(--white);
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
}

/* EMAIL BUTTON */
.bank-action-email {
  background: #fff3e8;
  color: #ff6b2c;
  border-color: #ffd2b8;
}

/* EMAIL BUTTON HOVER */
.bank-action-email:hover {
  background: #ff6b2c;
  color: var(--white);
  border-color: #ff6b2c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 44, 0.25);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991.98px) {
  .bank-details-grid {
    grid-template-columns: 1fr;
  }

  .bank-info-block {
    border-right: none;
    border-bottom: 1px solid var(--light-gray);
    padding: 20px 30px;
  }

  .bank-info-block:last-child {
    border-bottom: none;
  }

  .bank-header {
    padding: 25px 30px;
  }

  .bank-footer-note {
    padding: 18px 30px;
  }

  .bank-actions {
    padding: 20px 30px 25px;
  }

  .donate-form {
    padding: 25px 30px 10px;
  }

  .trust-indicators {
    padding: 20px 30px 25px;
  }
}

@media (max-width: 767.98px) {
  .donate-card {
    padding: 35px 25px;
  }

  .donate-form-header {
    padding: 30px 25px;
  }

  .bank-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
  }

  .bank-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bank-action-btn {
    justify-content: center;
  }

  .trust-indicators {
    gap: 15px 25px;
  }

  .donate-form {
    padding: 20px 20px 5px;
  }

  .bank-details-grid .bank-info-block {
    padding: 20px 25px;
  }

  .bank-footer-note {
    padding: 15px 25px;
  }

  .bank-actions {
    padding: 20px 25px 25px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-brand .brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-orange);
  margin-bottom: 5px;
}

.footer-brand .brand-tagline {
  font-size: 12px;
  color: var(--primary-green-light);
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-orange);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--primary-orange);
  padding-left: 5px;
}

.footer-links li a i {
  margin-right: 8px;
  color: var(--primary-orange);
  font-size: 12px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-contact li i {
  color: var(--primary-orange);
  margin-right: 12px;
  margin-top: 4px;
  font-size: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary-orange);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-bottom: 0;
}

/* ============================================
   POPUP - Unified Gallery Popup with Prev/Next
   ============================================ */
.gallery-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-popup.active {
  display: flex;
}

.gallery-popup .popup-content {
  position: relative;
  max-width: 85%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-popup .popup-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gallery-popup .popup-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: var(--primary-orange);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  z-index: 10;
}

.gallery-popup .popup-close:hover {
  background: var(--primary-orange-dark);
  transform: rotate(90deg);
}

/* Popup Nav Arrows */
.popup-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}

.popup-nav:hover {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
}

.popup-prev {
  left: -70px;
}

.popup-next {
  right: -70px;
}

/* Popup Counter */
.popup-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
}

/* Video Popup */
.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-popup.active {
  display: flex;
}

.video-popup .popup-content {
  position: relative;
  width: 80%;
  max-width: 900px;
}

.video-popup .popup-content iframe,
.video-popup .popup-content video {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  border: none;
}

.video-popup .popup-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: var(--primary-orange);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.video-popup .popup-close:hover {
  background: var(--primary-orange-dark);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .popup-prev {
    left: 10px;
  }

  .popup-next {
    right: 10px;
  }

  .popup-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .gallery-popup .popup-content {
    max-width: 95%;
  }

  .gallery-popup .popup-close {
    top: -45px;
  }
}

/* ============================================
   PAGE BREADCRUMB
   ============================================ */
.page-breadcrumb {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  width: 100%;
  padding: 0;
  background: transparent;
  text-align: center;
  color: var(--white);
}

.page-breadcrumb h1 {
  font-size: 38px;
  margin-bottom: 10px;
}

.page-breadcrumb .breadcrumb {
  background: none;
  justify-content: center;
  margin-bottom: 0;
  padding: 0;
}

.page-breadcrumb .breadcrumb-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.page-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
}

.page-breadcrumb .breadcrumb-item a:hover {
  color: var(--primary-orange-light);
}

.page-breadcrumb .breadcrumb-item.active {
  color: var(--primary-orange-light);
}

.page-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-green);
  transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1199px) {
  .hero-split .hero-slider-left .carousel-content h1 {
    font-size: 34px;
  }
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-welcome,
  .section-work,
  .section-gallery,
  .section-mission,
  .about-intro,
  .about-values,
  .section-team,
  .section-contact,
  .section-donate,
  .section-cta,
  .section-stats {
    padding: 60px 0;
  }
}

@media (max-width: 767px) {
  .section-title h2 {
    font-size: 28px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-gallery-grid {
    grid-template-columns: 1fr;
  }

  .stat-item .stat-number {
    font-size: 32px;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 15px;
  }

  .contact-form {
    padding: 25px;
  }

  .donate-card {
    padding: 30px 20px;
  }

  .top-bar {
    display: none;
  }

  .main-navbar .navbar-brand img {
    height: 40px;
  }

  .brand-text .brand-name {
    font-size: 16px;
  }

  .brand-text .brand-tagline {
    font-size: 10px;
  }
}

@media (max-width: 575px) {

  .btn-hero,
  .btn-hero-outline {
    padding: 10px 25px !important;
    font-size: 14px !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .section-welcome,
  .section-work,
  .section-gallery,
  .section-mission,
  .about-intro,
  .about-values,
  .section-team,
  .section-contact,
  .section-donate,
  .section-cta,
  .section-stats {
    padding: 45px 0;
  }

  .page-breadcrumb h1 {
    font-size: 28px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

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

.animate-pulse {
  animation: pulse 2s infinite;
}

.scroll-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  pointer-events: none;
}

.page-loader .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--medium-gray);
  border-top: 4px solid var(--primary-orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

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

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 55px;
  height: 55px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 28px;
  z-index: 998;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

/* ============================================
   SECTION
   ============================================ */
.blog-sec {
  padding: 80px 0 100px;
  background: var(--off-white);
  position: relative;
}

/* Tiranga top accent */
.blog-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      var(--primary-orange) 0%, var(--primary-orange) 33.33%,
      var(--white) 33.33%, var(--white) 66.66%,
      var(--primary-green) 66.66%, var(--primary-green) 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.blog-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================
   HEADER — dual-color eyebrow
   ============================================ */
.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.blog-head-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* Saffron dash */
.blog-eyebrow::before {
  content: '';
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--primary-orange);
}

/* Green dash */
.blog-eyebrow::after {
  content: '';
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--primary-green);
}

/* Gradient text: saffron → green */
.blog-eyebrow {
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -1px;
}

.blog-sub {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 320px;
  margin: 0;
  padding-bottom: 4px;
}

/* ============================================
   GRID
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

/* ============================================
   CARD
   ============================================ */
.b-card {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.b-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Full-card link */
.b-card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* ============================================
   TRICOLOR STRIPE (top of each card)
   ============================================ */
.b-card-tricolor {
  display: flex;
  height: 3px;
  position: relative;
  z-index: 2;
}

.tri-saffron {
  flex: 1;
  background: var(--primary-orange);
}

.tri-white {
  flex: 1;
  background: var(--white);
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}

.tri-green {
  flex: 1;
  background: var(--primary-green);
}

/* ============================================
   IMAGE
   ============================================ */
.b-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.b-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.b-card:hover .b-card-img img {
  transform: scale(1.07);
}

.b-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

/* ============================================
   GLASS PILL — mapped to Tiranga tones
   ============================================ */
.b-card-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Saffron tones for Food */
.pill-food {
  background: rgba(255, 107, 53, 0.88);
  color: var(--white);
}

/* Dark saffron for Health */
.pill-health {
  background: rgba(229, 90, 43, 0.88);
  color: var(--white);
}

/* Green tones for Education */
.pill-edu {
  background: rgba(46, 125, 50, 0.88);
  color: var(--white);
}

/* Dark green for Elderly */
.pill-elderly {
  background: rgba(27, 94, 32, 0.88);
  color: var(--white);
}

/* ============================================
   BODY
   ============================================ */
.b-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Meta */
.b-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--text-light);
  font-weight: 500;
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--medium-gray);
  flex-shrink: 0;
}

/* Title */
.b-card-h {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
  letter-spacing: -0.2px;
}

/* Orange accent cards → saffron hover */
.accent-orange:hover .b-card-h {
  color: var(--primary-orange);
}

/* Green accent cards → green hover */
.accent-green:hover .b-card-h {
  color: var(--primary-green);
}

/* Excerpt */
.b-card-p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   CTA — arrow slides in on hover
   ============================================ */
.b-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.b-card-cta svg {
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.35s ease;
  opacity: 0;
  transform: translateX(-6px);
}

.accent-orange:hover .b-card-cta {
  color: var(--primary-orange);
}

.accent-green:hover .b-card-cta {
  color: var(--primary-green);
}

.b-card:hover .b-card-cta svg {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   PAGINATION — Tiranga active state
   ============================================ */
.blog-pag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pag-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--medium-gray);
  border-radius: 12px;
  background: var(--white);
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.25s ease;
}

.pag-btn:hover:not(:disabled) {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.pag-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pag-nums {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pag-n {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: transparent;
  border: 1.5px solid transparent;
  color: var(--text-medium);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.pag-n:hover {
  background: var(--light-gray);
}

/* Active page: saffron bg with green text — inverted Tiranga */
.pag-n.active {
  background: var(--primary-orange);
  color: var(--white);
  border-color: var(--primary-orange);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.pag-dots {
  color: var(--text-light);
  font-size: 16px;
  padding: 0 4px;
  user-select: none;
  font-weight: 700;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .blog-sec {
    padding: 60px 0 80px;
  }

  .blog-title {
    font-size: 32px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .b-card-img {
    height: 190px;
  }
}

@media (max-width: 600px) {
  .blog-sec {
    padding: 40px 0 70px;
  }

  .blog-wrap {
    padding: 0 16px;
  }

  .blog-head {
    margin-bottom: 32px;
    gap: 12px;
  }

  .blog-title {
    font-size: 26px;
    letter-spacing: -0.5px;
  }

  .blog-sub {
    font-size: 14px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .b-card-img {
    height: 220px;
  }

  .b-card-body {
    padding: 18px 20px 20px;
  }

  .b-card-h {
    font-size: 17px;
  }

  .pag-n,
  .pag-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
}

/* ============================================
   SECTION Blog
   ============================================ */
.blog-sec {
  padding: 80px 0 100px;
  background: var(--off-white);
  position: relative;
}

/* Tiranga top accent */
.blog-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      var(--primary-orange) 0%, var(--primary-orange) 33.33%,
      var(--white) 33.33%, var(--white) 66.66%,
      var(--primary-green) 66.66%, var(--primary-green) 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.blog-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================
   HEADER — dual-color eyebrow
   ============================================ */
.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.blog-head-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* Saffron dash */
.blog-eyebrow::before {
  content: '';
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--primary-orange);
}

/* Green dash */
.blog-eyebrow::after {
  content: '';
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--primary-green);
}

/* Gradient text: saffron → green */
.blog-eyebrow {
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -1px;
}

.blog-sub {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 320px;
  margin: 0;
  padding-bottom: 4px;
}

/* ============================================
   GRID
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

/* ============================================
   CARD
   ============================================ */
.b-card {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.b-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Full-card link */
.b-card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

/* ============================================
   TRICOLOR STRIPE (top of each card)
   ============================================ */
.b-card-tricolor {
  display: flex;
  height: 3px;
  position: relative;
  z-index: 2;
}

.tri-saffron {
  flex: 1;
  background: var(--primary-orange);
}

.tri-white {
  flex: 1;
  background: var(--white);
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}

.tri-green {
  flex: 1;
  background: var(--primary-green);
}

/* ============================================
   IMAGE
   ============================================ */
.b-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.b-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.b-card:hover .b-card-img img {
  transform: scale(1.07);
}

.b-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

/* ============================================
   GLASS PILL — mapped to Tiranga tones
   ============================================ */
.b-card-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Saffron tones for Food */
.pill-food {
  background: rgba(255, 107, 53, 0.88);
  color: var(--white);
}

/* Dark saffron for Health */
.pill-health {
  background: rgba(229, 90, 43, 0.88);
  color: var(--white);
}

/* Green tones for Education */
.pill-edu {
  background: rgba(46, 125, 50, 0.88);
  color: var(--white);
}

/* Dark green for Elderly */
.pill-elderly {
  background: rgba(27, 94, 32, 0.88);
  color: var(--white);
}

/* ============================================
   BODY
   ============================================ */
.b-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Meta */
.b-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--text-light);
  font-weight: 500;
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--medium-gray);
  flex-shrink: 0;
}

/* Title */
.b-card-h {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
  letter-spacing: -0.2px;
}

/* Orange accent cards → saffron hover */
.accent-orange:hover .b-card-h {
  color: var(--primary-orange);
}

/* Green accent cards → green hover */
.accent-green:hover .b-card-h {
  color: var(--primary-green);
}

/* Excerpt */
.b-card-p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   CTA — arrow slides in on hover
   ============================================ */
.b-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.b-card-cta svg {
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.35s ease;
  opacity: 0;
  transform: translateX(-6px);
}

.accent-orange:hover .b-card-cta {
  color: var(--primary-orange);
}

.accent-green:hover .b-card-cta {
  color: var(--primary-green);
}

.b-card:hover .b-card-cta svg {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   PAGINATION — Tiranga active state
   ============================================ */
.blog-pag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pag-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--medium-gray);
  border-radius: 12px;
  background: var(--white);
  color: var(--text-medium);
  cursor: pointer;
  transition: all 0.25s ease;
}

.pag-btn:hover:not(:disabled) {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.pag-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pag-nums {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pag-n {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: transparent;
  border: 1.5px solid transparent;
  color: var(--text-medium);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.pag-n:hover {
  background: var(--light-gray);
}

/* Active page: saffron bg with green text — inverted Tiranga */
.pag-n.active {
  background: var(--primary-orange);
  color: var(--white);
  border-color: var(--primary-orange);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.pag-dots {
  color: var(--text-light);
  font-size: 16px;
  padding: 0 4px;
  user-select: none;
  font-weight: 700;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .blog-sec {
    padding: 60px 0 80px;
  }

  .blog-title {
    font-size: 32px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .b-card-img {
    height: 190px;
  }
}

@media (max-width: 600px) {
  .blog-sec {
    padding: 40px 0 70px;
  }

  .blog-wrap {
    padding: 0 16px;
  }

  .blog-head {
    margin-bottom: 32px;
    gap: 12px;
  }

  .blog-title {
    font-size: 26px;
    letter-spacing: -0.5px;
  }

  .blog-sub {
    font-size: 14px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .b-card-img {
    height: 220px;
  }

  .b-card-body {
    padding: 18px 20px 20px;
  }

  .b-card-h {
    font-size: 17px;
  }

  .pag-n,
  .pag-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
}

/* ============================================
   SECTION Detils Blog
   ============================================ */

.blog-detail-sec {
  padding: 60px 0 100px;
  background: var(--off-white);
  position: relative;
}

.blog-detail-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      var(--primary-orange) 0%, var(--primary-orange) 33.33%,
      var(--white) 33.33%, var(--white) 66.66%,
      var(--primary-green) 66.66%, var(--primary-green) 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ============================================
     ROW — flex with gap (replaces Bootstrap row)
     col-8 = 66.666% | col-4 = 33.333%
     ============================================ */
.blog-detail-row {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.bd-col-main {
  flex: 0 0 66.666%;
  max-width: 66.666%;
}

.bd-col-side {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  position: sticky;
  top: 85px;
  align-self: flex-start;
}

/* ============================================
     FEATURED IMAGE
     ============================================ */
.bd-featured-img {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}

.bd-featured-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
     META BAR
     ============================================ */
.bd-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.bd-pill {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 8px;
}

.pill-food {
  background: rgba(255, 107, 53, 0.12);
  color: var(--primary-orange);
}

.pill-health {
  background: rgba(229, 90, 43, 0.12);
  color: var(--primary-orange-dark);
}

.pill-edu {
  background: rgba(46, 125, 50, 0.12);
  color: var(--primary-green);
}

.pill-elderly {
  background: rgba(27, 94, 32, 0.12);
  color: var(--primary-green-dark);
}

.bd-meta-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-light);
  font-weight: 500;
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--medium-gray);
  flex-shrink: 0;
}

/* ============================================
     TITLE
     ============================================ */
.bd-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0 0 24px;
  letter-spacing: -0.5px;
}

/* Tricolor Divider */
.bd-tricolor-divider {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}

.bd-tricolor-divider span {
  height: 3px;
  border-radius: 2px;
}

.bd-tricolor-divider span:nth-child(1) {
  width: 40px;
  background: var(--primary-orange);
}

.bd-tricolor-divider span:nth-child(2) {
  width: 20px;
  background: var(--medium-gray);
}

.bd-tricolor-divider span:nth-child(3) {
  width: 40px;
  background: var(--primary-green);
}

/* ============================================
     CONTENT TYPOGRAPHY
     ============================================ */
.bd-content {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.8;
}

.bd-content p {
  margin: 0 0 20px;
}

.bd-lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.75;
  border-left: 4px solid var(--primary-orange);
  padding-left: 20px;
  margin-bottom: 32px !important;
}

.bd-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 40px 0 16px;
  letter-spacing: -0.3px;
  position: relative;
  padding-left: 16px;
}

.bd-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--primary-green);
}

/* Inline Image */
.bd-inline-img {
  margin: 36px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.bd-inline-img img {
  width: 100%;
  display: block;
}

.bd-img-caption {
  display: block;
  background: var(--light-gray);
  padding: 12px 18px;
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
}

/* Blockquote */
.bd-quote {
  position: relative;
  margin: 36px 0;
  padding: 28px 28px 28px 56px;
  background: var(--white);
  border-radius: 12px;
  border-left: 4px solid var(--primary-orange);
  box-shadow: var(--shadow-sm);
}

.bd-quote-mark {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-orange);
  opacity: 0.2;
  line-height: 1;
  font-family: Georgia, serif;
}

.bd-quote p {
  font-size: 17px;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
  margin: 0 0 12px !important;
}

.bd-quote cite {
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--primary-green);
}

/* ============================================
     SHARE
     ============================================ */
.bd-share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--medium-gray);
}

.bd-share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.bd-share-icons {
  display: flex;
  gap: 8px;
}

.bd-share-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition);
}

.si-orange {
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary-orange);
}

.si-orange:hover {
  background: var(--primary-orange);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

.si-green {
  background: rgba(46, 125, 50, 0.1);
  color: var(--primary-green);
}

.si-green:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.3);
}

/* ============================================
     SIDEBAR — SEARCH
     ============================================ */
.bd-search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--medium-gray);
  border-radius: 14px;
  padding: 4px 4px 4px 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 32px;
}

.bd-search-box:focus-within {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.bd-search-icon {
  flex-shrink: 0;
  color: var(--text-light);
}

.bd-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  background: transparent;
  min-width: 0;
}

.bd-search-input::placeholder {
  color: var(--text-light);
}

.bd-search-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  background: var(--primary-orange);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: inherit;
}

.bd-search-btn:hover {
  background: var(--primary-orange-dark);
}

/* ============================================
     SIDEBAR — RECENT ARTICLES
     ============================================ */
.bd-recent-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 24px;
  letter-spacing: -0.2px;
}

.bd-recent-dash {
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--primary-orange), var(--primary-green));
  flex-shrink: 0;
}

.bd-recent-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  margin-bottom: 10px;
  border: 1px solid transparent;
}

.bd-recent-card:hover {
  background: var(--white);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.bd-recent-img {
  flex-shrink: 0;
  width: 80px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
}

.bd-recent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.bd-recent-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bd-recent-cat {
  width: fit-content;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 5px;
}

.bd-recent-body h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.bd-recent-card:hover .bd-recent-body h4 {
  color: var(--primary-orange);
}

.bd-recent-date {
  font-size: 11.5px;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================
     RESPONSIVE — TABLET (stack columns)
     ============================================ */
@media (max-width: 1024px) {
  .blog-detail-row {
    flex-direction: column;
    gap: 48px;
  }

  .bd-col-main {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .bd-col-side {
    flex: 1 1 100%;
    max-width: 100%;
    position: relative;
    top: 0;
  }

  .bd-title {
    font-size: 28px;
  }
}

/* ============================================
     RESPONSIVE — MOBILE
     ============================================ */
@media (max-width: 600px) {
  .blog-detail-sec {
    padding: 40px 0 70px;
  }

  .blog-detail-row {
    padding: 0 16px;
    gap: 36px;
  }

  .bd-featured-img {
    border-radius: 12px;
    margin-bottom: 20px;
  }

  .bd-meta-bar {
    margin-bottom: 12px;
  }

  .bd-title {
    font-size: 22px;
    letter-spacing: -0.3px;
    margin-bottom: 18px;
  }

  .bd-tricolor-divider {
    margin-bottom: 24px;
  }

  .bd-tricolor-divider span:nth-child(1),
  .bd-tricolor-divider span:nth-child(3) {
    width: 30px;
  }

  .bd-tricolor-divider span:nth-child(2) {
    width: 14px;
  }

  .bd-lead {
    font-size: 15px;
    padding-left: 14px;
    border-left-width: 3px;
  }

  .bd-content {
    font-size: 15px;
    line-height: 1.75;
  }

  .bd-content h2 {
    font-size: 19px;
    padding-left: 14px;
  }

  .bd-content h2::before {
    width: 3px;
  }

  .bd-quote {
    padding: 20px 20px 20px 40px;
    margin: 28px 0;
  }

  .bd-quote-mark {
    font-size: 32px;
    left: 12px;
    top: 14px;
  }

  .bd-quote p {
    font-size: 15px;
  }

  .bd-inline-img {
    margin: 24px 0;
    border-radius: 10px;
  }

  .bd-img-caption {
    font-size: 12px;
    padding: 10px 14px;
  }

  .bd-share-row {
    margin-top: 32px;
    padding-top: 20px;
    flex-wrap: wrap;
  }

  .bd-share-icon {
    width: 36px;
    height: 36px;
  }

  /* Sidebar mobile */
  .bd-search-box {
    margin-bottom: 24px;
    padding: 3px 3px 3px 12px;
  }

  .bd-search-input {
    padding: 8px 8px;
    font-size: 13px;
  }

  .bd-search-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .bd-recent-card {
    padding: 10px;
    gap: 10px;
  }

  .bd-recent-img {
    width: 68px;
    height: 62px;
  }

  .bd-recent-body h4 {
    font-size: 12.5px;
  }

  .bd-recent-date {
    font-size: 11px;
  }
}