   :root {
      --green: #00715d;
      --yellow: #fbd45a;
      --dark: #283734;
      --gray: #6f7775;
      --white: #ffffff;
      --font-main: 'Manrope', sans-serif;
    }

    body {
      margin: 0;
      font-family: var(--font-main);
      background: #f9f9f9;
    }

    a { text-decoration: none; }

    .top-bar {
      background: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 40px;
      flex-wrap: wrap;
      gap: 15px;
      position: relative;
      z-index: 100;
    }

    .logo img {
      height: 80px;
    }

.contact-box {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background-color: #fff8e4; /* Light greenish background */
  color: var(--green);
  font-size: 18px; /* Icon size smaller for 40px circle */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-text small {
  color: var(--gray);
  font-size: 13px;
}

.contact-text strong {
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
}

/* Hover Effect */
.contact-item:hover i {
  background-color: var(--green); /* Theme green */
  color: #ffffff; /* White icon on hover */
}



/* Mobile Specific Styles (≤768px) */
@media (max-width: 768px) {
  /* Top bar: Center everything */
  .top-bar {
    flex-direction: column;
    align-items: center;
    padding: 15px 20px; /* Adjusted padding */
  }

  /* Logo Center */
  .logo img {
    height: 50px; /* Further reduced logo size */
  }

  /* Contact Box: Stack and center */
  .contact-box {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 0 10px; /* Reduced padding */
  }

  /* Contact Items: Stack and center align, remove icons */
  .contact-item {
    flex-direction: column;
    align-items: center;
    gap: 5px; /* Reduced gap */
    margin-bottom: 10px; /* Adjust bottom margin */
  }

  /* Hide icons on mobile */
  .contact-item i {
    display: none;
  }

  /* Contact Text Adjustments */
  .contact-text {
    text-align: center;
  }

  .contact-text small {
    font-size: 12px; /* Smaller text */
    color: var(--gray);
  }

  .contact-text strong {
    font-size: 14px; /* Smaller text */
    color: var(--dark);
    font-weight: 600;
  }
}




/* Container */
.nav {
  background: var(--green);
  position: relative;
  z-index: 1000;
}
.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 20px;
}

/* Toggle Button (Mobile) */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* Menu */
.nav__menu {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Remove bullets and left indent from submenus */
.nav__submenu {
  list-style: none;
  padding-left: 0;
  margin: 0;
}


.nav__item {
  position: relative;
}
.nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
/* Hover border flush at bottom */
.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s;
}
.nav__item:hover > .nav__link::after {
  background: var(--yellow);
}

/* Dropdown Arrow */
.nav__arrow {
  margin-left: 6px;
  font-size: 12px;
  color: var(--white);
}

/* Submenu */
.nav__has-dropdown:hover > .nav__submenu {
  display: flex;
}
.nav__submenu {
  position: absolute;
  top: 60px;
  left: 0;
  display: none;
  flex-direction: column;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 5px 0;
  min-width: 200px;
  z-index: 1000;
}
.nav__sublink {
  display: block;
  padding: 10px 20px;
  color: var(--dark);
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.nav__sublink:hover {
  background: var(--green);
  color: var(--white);
}

/* Donate Button */
.nav__donate {
  background: var(--yellow);
  color: var(--dark);
  font-weight: 700;
  font-size: 14px;
  height: 60px;
  padding: 0 20px;
  border: none;
  display: flex;
  align-items: center;
  transition: background 0.3s, color 0.3s;
}
.nav__donate i {
  color: var(--green);
  margin-right: 8px;
  animation: heartbeat 1.5s infinite;
}
.nav__donate:hover {
  background: var(--green);
  color: var(--white);
}
.nav__donate:hover i {
  color: var(--white);
}

/* Responsive */
@media (max-width: 991px) {
  .nav__toggle {
    display: block;
  }
  .nav__menu,
  .nav__donate {
    display: none;
  }
  .nav__menu.show {
    display: flex !important;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
	height:100vh;
    flex-direction: column;
    background: var(--green);
    padding: 10px 0;
    gap: 0;
  }
  .nav__item {
    width: 100%;
  }
  .nav__link {
    padding: 12px 20px;
    justify-content: flex-start;
    height: auto;
  }
  /* Mobile click-to-open submenu */
  .nav__has-dropdown.open > .nav__submenu {
    display: flex;
  }
  .nav__submenu {
    position: static;
    display: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }
  .nav__sublink {
    padding: 10px 30px;
  }
}


@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(0.9);
  }
  75% {
    transform: scale(1.1);
  }
}







    .slider {
      height: 550px;
      background-color: #233b35;
      display: flex;
      position: relative;
      overflow: hidden;
      padding-left: 5%;
    }

    .slider-content {
      z-index: 2;
      max-width: 50%;
      color: white;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .slider-content h4 {
      font-size: 22px;
      color: var(--yellow);
      margin-bottom: 10px;
    }

    .slider-content h1 {
      font-size: 48px;
      font-weight: 800;
      margin-bottom: 20px;
    }

    .slider-content p {
      font-size: 16px;
      color: #ddd;
    }

    .slider-image {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 50%;
      z-index: 1;
      overflow: hidden;
    }

    .slider-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1);
      transition: transform 20s ease;
    }

   /* 1. Remove hover-zoom */
.slider:hover .slider-image img {
  transform: none;
  transition: none;
}

/* 2. Continuous zoom animation */
@keyframes sliderZoom {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.slider-image img {
  animation: sliderZoom 30s ease-in-out infinite;
}

/* 3. Change H4 font */
.slider-content h4 {
  font-family: 'Lora', serif;
  font-size: 22px;
  color: var(--yellow);
  margin-bottom: 10px;
}

/* 4. H1 entrance animation */
@keyframes fadeInDown {
  0%   { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.slider-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  animation: fadeInDown 1.5s ease-out both;
}



@media (max-width: 768px) {
  .slider {
    flex-direction: column;
    height: auto;
    padding: 0; /* Remove side padding */
    margin: 0;
  }

  .slider-image {
    position: relative;
    width: 100%;
    height: auto;
    order: -1;
    margin: 0;
    padding: 0;
  }

  .slider-image img {
    display: block;
    width: 100vw;  /* Ensures image spans full viewport width */
    height: auto;
    object-fit: cover;
  }

  .slider-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
    align-items: center;
    padding: 20px 10px;
    box-sizing: border-box;
  }

  .slider-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .slider-content h1 {
    font-size: 30px;
    animation: fadeInDown 1.5s ease-out both;
  }

  .slider-content p {
    font-size: 14px;
    padding: 0 10px;
    color: #ccc;
  }
}
@media (min-width: 769px) {
  .slider {
    padding-left: 5%;
  }
}



  /* Main Container */
  .ngo-section {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
  }
  .ngo-left, .ngo-middle, .ngo-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
	
  }

  /* ===== Left Column: Sliders ===== */
/* Card Container */
.card-slider {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  position: relative;
  height: 385px; /* 🔥 Card height updated */
  border: 1px solid rgba(255,255,255,0.3);
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: var(--green);
  height: 40px;
}

.card-header h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.icon-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--yellow);
  width: 30px; /* 🔥 Smaller Circle */
  height: 30px;
  border-radius: 50%;
}

.icon-circle i {
  color: var(--green);
  font-size: 14px; /* 🔥 Smaller Icon */
}

/* Card Body */
.card-body {
  height: calc(100% - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


@media (max-width: 768px) {
  .card-slider {
    width: 85vw !important;          /* Use viewport width and force it */
    max-width: 95vw !important;
    margin: 20px auto !important;    /* Center horizontally */
    height: auto !important;
    display: block !important;       /* Prevent flex-based squishing */
  }

  .card-body {
    padding: 15px 0;
  }

  .member-slider {
    justify-content: center;
  }
}



/* Member Slider */
.member-slider {
  position: relative;
  width: 100%;
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.member-card {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  height: 100%;
}

.member-card.active {
  display: flex;
}

.member-card img {
  width: 160px;
  height: 200px;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.member-card h4 {
  font-size: 20px;
  font-weight: bold;
  color: var(--dark);
  margin-top: 15px;
  margin-bottom: 5px; /* 🔥 Gap reduced */
}

.member-card p {
  font-size: 14px;
  color: var(--dark);
  margin-top: 0;
}

/* Indicators */
.indicator {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.6;
  transition: opacity 0.3s;
  cursor: pointer;
}

.dot.active {
  opacity: 1;
}

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 28%;
    transform: translateY(-50%);
    background: var(--yellow);
    color: var(--green);
    border: none;
    border-radius: 18%;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-arrow:hover {
  background: var(--green);
  color: var(--white);
}

.slider-arrow.left {
  left: -8px; /* 🔥 Close to left border */
}

.slider-arrow.right {
  right: -8px; /* 🔥 Close to right border */
}

/* Card Hover - No effect */
.card-slider:hover {
  transform: none;
}

  /* ===== Middle Column: Action Buttons + Activity ===== */
/* Container */
.action-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 5px; /* 🔥 Top से 5px का gap */
}

/* Each Button (Glass Card) */
.action-btn {
	background: rgb(0 113 93);
    backdrop-filter: blur(6px);
    border-radius: 15px;
    width: 120px;
    text-align: center;
    padding: 24px 19px;
    color: var(--white);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    margin-top: -16px;
}

/* Hover effect */
.action-btn:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgb(252 222 127); /* Hover पर थोड़ा bright background */
  color: var(--yellow);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Icon */
.action-btn .icon {
  width: 50px;
  height: 50px;
  background: var(--white);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px;
  font-size: 22px;
  animation: blink 1.5s infinite;
}

/* Icon Blink Animation */
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Text */
.action-btn p {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: var(--white); /* Text को white color दो ताकि background पर clearly दिखे */
}

  
  
 /* Card Outer Container */
.activity-card {
  background: rgba(255, 255, 255, 0.2); /* Glass effect */
  backdrop-filter: blur(8px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Card Header */
.activity-header-main {
  background: var(--green);
  padding: 15px;
  text-align: center;
}

.activity-header-main h3 {
  color: var(--white);
  font-size: 20px;
  margin: 0;
}

/* Scrollable List */
.activity-list {
  max-height: 536px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 15px;
}

/* Each Activity Card */
.activity-item {
  background: var(--white);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.activity-item:hover {
  transform: translateY(-5px);
}

/* Inside Header */
.activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green);
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.left-side {
  display: flex;
  align-items: center;
  gap: 8px;
}

.left-side i {
  color: var(--yellow);
  font-size: 16px;
}

.activity-title {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
}

.right-side {
  display: flex;
  align-items: center;
  gap: 5px;
}

.right-side i {
  color: var(--yellow);
  font-size: 14px;
}

.time {
  font-size: 12px;
  color: var(--white);
}

/* Image Styling */
.activity-item img {
  width: 100%;
  height: 365px; /* Fixed height */
  object-fit: cover; /* crop nicely if large image */
  border-radius: 6px;
  border: 2px solid #ededed;
}

  /* ===== Right Column: Marquee + Image ===== */
  .marquee-box {
    background: var(--white);
    padding: 10px;
    border: 2px solid var(--green);
    border-radius: 10px;
  }
  .marquee-heading {
    background: var(--green);
    color: var(--white);
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 8px;
  }
  .marquee-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: var(--dark);
  }
  .marquee-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .fixed-img-box {
    position: relative;
    margin-top: 20px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
  }
  .fixed-img-box img {
    width: 100%;
    height: 272px;
    object-fit: cover;
    border-radius: 8px;
  }
  .img-overlay {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
  }
  .donate-btn, .whatsapp-btn {
    background: var(--yellow);
    color: var(--dark);
    padding: 6px 10px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
  }
  .donate-btn:hover, .whatsapp-btn:hover {
    background: var(--green);
    color: var(--white);
  }
  
  /* Star Icon Blink Animation */
@keyframes starBlink {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

/* Apply blink only to star icons */
.left-side i.fa-star {
  animation: starBlink 1.5s infinite;
}




/* Container */
.about-us-container {
  height: 80vh; /* थोड़ा height बढ़ाया */
  padding: 20px 40px;
  background: var(--white);
  color: var(--dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Scrollable Content */
.about-us-content {
  overflow-y: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

/* Section Heading */
.about-us-heading {
  font-size: 32px; /* 🔥 Heading और बड़ा */
  color: var(--white);
  background: var(--green);
  padding: 15px 30px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.about-us-heading .heading-icon {
  font-size: 28px;
}

/* Text Content */
.about-us-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Image Rows */
.about-us-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

/* Images Styling */
.about-us-image {
  flex: 1;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #dcdcdc;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Prevent Horizontal Scroll */
.about-us-container {
  overflow-x: hidden;
}

  
 /* Section */
.president-container {
  padding: 30px 50px;
}

/* Columns Layout */
.columns {
  display: flex;
  gap: 30px; /* 🔥 Proper gap between cards */
  align-items: flex-start;
}

/* President Card */
.president-card {
  flex: 0.4; /* 🔥 40% Width */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

/* Card Top */
.card-top {
  background: var(--green);
  padding: 15px;
  text-align: center;
}

.card-heading {
  color: var(--white);
  margin: 0;
  font-size: 20px;
}

/* Card Body */
.card-body {
  display: flex;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* Card Image */
.card-image {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Card Text */
.card-text {
  flex: 1;
  font-size: 16px;
  color: var(--dark);
  line-height: 1.6;
  text-align: justify;
}

/* Marquee Card */
.marquee-card {
  flex: 0.6; /* 🔥 60% Width */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Marquee Header */
.marquee-header {
  background: var(--green);
  padding: 15px;
  text-align: center;
}

.marquee-header h4 {
  color: var(--white);
  font-size: 20px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Star Blink inside Header */
.marquee-header i.fa-star {
  animation: blinkStar 1.5s infinite;
  color: var(--yellow);
}

/* Marquee Body */
.marquee-body {
  flex: 1;
  padding: 6px;
  padding-left: 26px;
  background: rgba(255,255,255,0.1);
}

.marquee-body marquee {
  width: 100%;
  height: 100%;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

/* Marquee paragraph */
.marquee-body p {
  margin-bottom: 15px;
}

/* Blink Animation for Stars */
.marquee-body p::before {
  content: '';
}

/* Blink Star Animation Keyframes */
@keyframes blinkStar {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}




/* Main Container */
.custom-objective-container {
  padding: 50px 20px;
  background-color: var(--white);
  text-align: center;
}

/* Header */
.custom-objective-header {
  margin-bottom: 40px;
  background-color: var(--green);
  padding: 12px 0;
  border-radius: 13px;
}

.custom-objective-header-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.custom-objective-header h2 {
  color: var(--white);
  font-size: 32px;
  margin: 0;
}

.custom-objective-header h2 i {
  margin-right: 8px;
}

.custom-objective-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* Center rows */
}

/* Remove fixed width, use flex-basis = 25% minus gaps */
.custom-objective-card {
  flex: 0 1 calc((100% - 3 * 20px) / 4);
  /* यानी (100% - total gaps)/4 = width for each of 4 cards */
  height: 260px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  /* बाकी अपनी existing styles जैसे background, border, etc. वही रखें */
}


.custom-objective-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Card Body (Image) */
.custom-objective-card-body {
  flex: 1;
    display: flex
;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 2px solid #fdfdf1;
    border-radius: 8px;
}

.custom-objective-card-body img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
}

/* Card Footer (Heading) */
.custom-objective-card-footer {
  background: var(--green);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 12px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.3);
}

/* Responsive */
@media (max-width: 992px) {
  .custom-objective-card {
    width: 45%;
  }
}

@media (max-width: 576px) {
  .custom-objective-card {
    width: 100%;
  }
}






.custom-youtube-container {
  padding: 60px 20px 40px;
  background-color: var(--white);
  margin-top: 50px;
}

.custom-youtube-header {
  background-color: var(--green);
  padding: 10px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.custom-youtube-header h2 {
  font-family: var(--font-main);
  color: var(--white);
  font-size: 24px;
  margin: 0;
}

.custom-youtube-icon {
  width: 28px;
  height: 28px;
}

.custom-youtube-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
}

.custom-youtube-video {
  flex: 0 0 32%;
}

.custom-youtube-video iframe {
  width: 100%;
  height: 250px;
  border-radius: 8px;
}



/* Container */
.custom-gallery-container {
  padding: 60px 20px 40px;
  margin-top: -16px;
}

/* Header */
.custom-gallery-header {
  background-color: var(--green);
  padding: 10px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.custom-gallery-header h2 {
  font-family: var(--font-main);
  color: var(--white);
  font-size: 24px;
  margin: 0;
}

.custom-gallery-header i {
  margin-right: 8px;
}

/* Gallery Slider */
.custom-gallery-slider {
  padding: 0 20px;
}

/* Swiper Container */
.swiper {
  width: 100%;
}

/* Bigger slides */
.swiper-slide {
  width: 250px !important;
  height: 250px !important;
  padding: 10px;
}

/* Image styling: full cover, light border, rounded corners */
.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.6); /* Light white border */
  border-radius: 12px; /* Smooth rounded corners */
}
/* 2. Pause animation on hover */
.custom-gallery-slider:hover .swiper-wrapper {
  animation-play-state: paused !important;
}

/* Swiper Settings for Infinite Loop */
.swiper-wrapper {
  display: flex;
  flex-wrap: nowrap; /* Ensures images are in a single row */
}

.swiper {
  display: flex;
  overflow: hidden;
}

.swiper-slide {
  flex: 0 0 auto; /* Prevents items from shrinking */
}

/* Swiper Infinite Scroll */
.mySwiper {
  width: 100%;
}

.swiper {
  display: flex;
  overflow: hidden;
}

/* Swiper Loop - Infinite Scrolling */
.swiper-wrapper {
  display: flex;
  animation: swiperLoop 20s linear infinite; /* Infinite animation */
}

@keyframes swiperLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}



/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 40px;
  right: 60px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


.custom-footer {
  background-color: #111;
  color: #fff;
  padding: 22px 0px;
  margin-top: 40px;
  width: 100%;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-item {
  flex: 1 1 250px;
  max-width: 300px;
  padding: 10px 20px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border-radius: 12px;
}

.footer-item:hover {
  background-color: #1c1c1c;
  transform: translateY(-5px);
}

.footer-item h3 {
  color: #00715d; /* light green */
  margin: 10px 0;
  font-weight: 600;
}

.footer-item i.icon {
  font-size: 24px;
  color: #00715d;
  background-color: #222;
  border-radius: 50%;
  padding: 16px;
  width: 56px;
  height: 56px;
  line-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-item:hover i.icon {
  background-color: #00715d;
  color: #111;
}

.footer-item p {
  margin: 0;
  line-height: 1.6;
}




.main-footer {
 background-color: #0b0b0b;
  color: white;
  padding: 40px 20px 0;
  font-family: sans-serif;
  overflow-x: hidden;         /* 👈 horizontal scroll se bachaata hai */
  width: 100%;
  box-sizing: border-box;  
}

.footer-line {
  border: none;
  border-top: 2px solid #00715d;
  margin-bottom: 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  overflow-x: hidden;         /* 👈 container level par bhi apply */
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 20px;
  background-color: var(--green);
  color: var(--white);
}

.footer-col {
  flex: 1 1 280px;
  min-width: 250px;
  box-sizing: border-box;
  overflow-x: hidden;
  margin-bottom: 30px;
}

.logo-col img.footer-logo {
    width: 250px;
    margin-bottom: 10px;
    margin-top: 0px;
}

.logo-col p {
  margin: 10px 0;
}

.read-more {
  color: #00715d;
  text-decoration: none;
  font-weight: bold;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: white;
  background-color: #333;
  margin: 5px;
  border-radius: 50%;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  background-color: #00715d;
  color: #111;
}

.links-col h3 {
  color: #00715d;
  margin-bottom: 10px;
}

.links-col ul {
  list-style: none;
  padding: 0;
}

.links-col li {
  margin-bottom: 8px;
}

.links-col a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.links-col a:hover {
  color: #00715d;
}

/* Footer bottom bar */
.footer-bottom {
  background-color: #121212;
  padding: 15px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 14px;
  align-items: center;
}

.footer-bottom .left-text a {
  color: #00715d;
  text-decoration: none;
}

.footer-bottom .right-links a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom .right-links a:hover {
  color: #00715d;
}



/* Media Query For Resonsiveness start from here */

/* For mobile and tablets up to 1024px */
@media (max-width: 1024px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer-bottom .left-text {
    text-align: center;
    margin-bottom: 10px;
  }

  .footer-bottom .right-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-bottom .right-links a {
    display: inline-block;
  }
}

@media (max-width: 767px) {
  .footer-col {
    margin-bottom: 10px; /* 🔧 पहले अगर ज्यादा था तो अब कम */
	margin-bottom: 20px;

  }

  .footer-container {
    gap: 0; /* 🔧 दोनों col के बीच का container-level gap भी हटा दिया */
  }

  .links-col {
    margin-bottom: 5px; /* 🔧 Ensure minimal space between both link sections */
  }

  .links-col ul {
    margin: 0;
    padding: 0;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  .footer-container {
    display: flex;
    flex-wrap: nowrap; /* 🔧 Wrap रोका */
    justify-content: space-between;
    gap: 20px;
    padding: 20px 30px;
  }

  .footer-col {
    flex: 1 1 33.33%;
    min-width: auto;
    text-align: left;
    margin-bottom: 0; /* 🔧 Gap रोका */
  }

  .logo-col {
    padding-right: 20px;
  }

  .logo-col img.footer-logo {
    margin-bottom: 10px;
  }

  .social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* ===== Mobile View Fix (max-width: 767px) ===== */
@media (max-width: 767px) {
  .footer-content {
    gap: 20px; /* Gap कम किया */
  }

  .footer-item {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 10px;
  }

  .footer-item i.icon {
    font-size: 18px;
    width: 40px;
    height: 40px;
    padding: 10px;
  }

  .footer-item h3 {
    font-size: 16px;
  }

  .footer-item p {
    font-size: 14px;
  }
}

/* ===== Tablet View Fix (768px to 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .footer-content {
    flex-wrap: nowrap; /* एक ही row में रखो */
    gap: 20px;
  }

  .footer-item {
    flex: 1 1 30%; /* तीन items एक row में */
    max-width: none;
  }
}


/* 📱 Mobile view fix */
@media (max-width: 767px) {
  .custom-youtube-grid {
    flex-wrap: nowrap;            /* एक ही row में wrap ना हो */
    overflow-x: auto;             /* Horizontal scroll allow करो */
    gap: 10px;
    padding: 0 10px;
  }

  .custom-youtube-video {
    flex: 0 0 80%;                /* छोटा करें: width हर वीडियो की */
    max-width: 200px;
  }

  .custom-youtube-video iframe {
    height: 160px;               /* Height कम की ताकि proportion ठीक रहे */
    border-radius: 8px;
  }

  /* Optional: scrollbar को छुपाने के लिए (cross-browser safe नहीं) */
  .custom-youtube-grid::-webkit-scrollbar {
    display: none;
  }
}


/* 💻 Tablet view fix */
@media (min-width: 768px) and (max-width: 1024px) {
  .custom-youtube-grid {
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: space-between;
  }

  .custom-youtube-video {
    flex: 1 1 32%;
    max-width: 100%;
  }
}


/* 📱 Mobile View — 3 Cards per Row, Two-line Headings */
@media (max-width: 767px) {
  .custom-objective-card {
    flex: 0 0 calc((100% - 2 * 10px) / 3); /* 3 cards with 10px gap between */
    max-width: calc((100% - 2 * 10px) / 3);
    height: auto;
  }

  .custom-objective-card-footer {
    white-space: normal;
    height: 48px; /* Ensure space for 2 lines */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    font-size: 14px;
  }

  .custom-objective-grid {
    gap: 10px;
  }
}

/* 💻 Tablet View — Same style */
@media (min-width: 768px) and (max-width: 1024px) {
  .custom-objective-card {
    flex: 0 0 calc((100% - 2 * 20px) / 3);
    max-width: calc((100% - 2 * 20px) / 3);
    height: auto;
  }

  .custom-objective-card-footer {
    white-space: normal;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    font-size: 14px;
  }

  .custom-objective-grid {
    gap: 20px;
  }
}

/* 📱 Mobile View — Stack cards in 2 rows */
@media (max-width: 767px) {
  .columns {
    flex-direction: column;
    gap: 20px;
  }

  .president-card,
  .marquee-card {
    flex: 1 1 100%;
    width: 100%;
  }
}

/* 💻 Tablet View — Equal height for both cards */
@media (min-width: 768px) and (max-width: 1024px) {
  .columns {
    display: flex;
    gap: 20px;
    align-items: stretch; /* Cards will stretch equally */
  }

  .president-card,
  .marquee-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .marquee-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
  }

  .marquee-card {
    height: auto; /* Allow flex to stretch it equally */
  }
}

/* 📱 Mobile View: Text full width + images scrollable */
@media (max-width: 767px) {
  .about-us-text {
    max-width: 100%;
    font-size: 16px;
    padding: 0 10px;
    text-align: justify;
  }

  .about-us-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 10px;
    padding-bottom: 10px;
  }

  .about-us-image {
    flex: 0 0 70%;
    max-width: 250px;
    height: 130px;
  }

  .about-us-row::-webkit-scrollbar {
    display: none; /* scrollbar हटाओ */
  }
}

/* 💻 Tablet View: Heading + Text Center, remove extra spacing */
@media (min-width: 768px) and (max-width: 1024px) {
  .about-us-heading {
    text-align: center;
    justify-content: center;
  }

  .about-us-text {
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
  }

  .about-us-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 12px;
    padding-bottom: 0px;      /* 👈 bottom padding हटाई */
    margin-bottom: 0px;       /* 👈 margin भी हटाई */
  }

   .about-us-container {
    height: auto; /* 👈 Fix height हटा दी */
    padding: 20px 30px; /* थोड़ा compact padding */
  }

  .about-us-content {
    max-height: 500px; /* Optional: अगर scroll रखना है */
    overflow-y: auto;
  }
}
  .about-us-image {
    flex: 0 0 25%;
    height: 140px;
  }

  .about-us-row::-webkit-scrollbar {
    display: none;
  }
}




/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {

  .ngo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ngo-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .card-slider {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .member-slider {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .member-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .slider-arrow.left,
  .slider-arrow.right {
    top: 35%;
  }
  
}

@media (max-width: 767px) {
  .ngo-middle .action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 12px;
    gap: 0; /* we'll control spacing directly on cards */
  }

  .ngo-middle .action-btn {
    width: 48%;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px 10px;
    box-sizing: border-box;
    margin-bottom: 16px; /* vertical spacing between rows */
	margin-top: -5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .ngo-middle .action-btn:nth-child(odd) {
    margin-right: 4%;
  }

  .ngo-middle .action-btn .icon {
    font-size: 24px;
    margin-bottom: 6px;
    color: var(--green, #0a8754);
  }

  .ngo-middle .action-btn p {
    font-size: 14px;
    line-height: 1.3;
    color: #333;
    margin: 0;
  }
}




/* ================= TABLET VIEW ================= */
@media (min-width: 768px) and (max-width: 991px) {

  /* Action Buttons in 1 row */
  .action-buttons {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
  }

  .action-btn {
    width: 22%;
    padding: 15px 10px;
  }

  /* Reduce height of right column cards */
  .marquee-card {
    height: 220px;
  }

  .activity-list {
    max-height: 430px; /* reduce height to balance columns */
  }

  .fixed-img-box img {
    height: 250px;
    object-fit: cover;
  }
}

