* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  /* choose your desired font */
  margin: 0;
  padding: 0;

}

main {
  padding-top: 10px;
  /* Adjust this value if your navbar is taller or shorter */
}

img[rel="icon"],
link[rel="icon"] {
  background-color: white;
}

/* Custom styles for the top banner with text */
#hero-banner {
  position: relative;
  color: white;
  text-align: center;
  display: block;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* Background image set in index.php inline style */
}

#hero-banner .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  /* Darker overlay for text readability */
}

#hero-banner h1,
#hero-banner h2 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  /* Text shadow for better readability */
  color: #fff;
}

/* ===== Logo Bar (above navbar) ===== */
.logo-bar {
  background-color: #ffffff;
  text-align: center;
  padding: 10px 0;
  /* space above and below logo */
  border-bottom: 2px solid #18357e;
}

.logo-bar img {
  height: 100px;
  /* increase logo size */
  background-color: white;
  max-width: 350px;
  object-fit: contain;
}

/* ===== Compact Navbar Styling ===== */
.navbar {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 40px !important;
  /* decreased height */
  min-height: 45px !important;
  font-family: 'Roboto', sans-serif;
}

.navbar-brand {
  display: none !important;
  /* hide duplicate brand inside navbar */
}

.navbar-nav {
  gap: 15px !important;
}

.navbar .nav-link {
  font-size: 14px !important;
  padding: 0.25rem 0.4rem !important;
  font-weight: 550 !important;
  color: #ffea00 !important;
  transition: all 0.2s ease-in-out;
}

/* 🔹 Hover effect */
.navbar .nav-link:hover {
  color: black !important;
  background-color: #ffea00 !important;
  /* bright yellow */

}

/* 🔹 Active link (white text, no background change) */
.navbar .nav-link.active {
  color: white !important;
  background-color: transparent !important;
}

/* ===== Mobile view adjustments ===== */
@media (max-width: 992px) {
  .logo-bar img {
    height: 65px;
    /* smaller logo on mobile */
  }

  .navbar {
    height: auto !important;
    padding: 0.3rem 0 !important;
  }

  .navbar .nav-link {
    font-size: 14px !important;
    padding: 0.4rem !important;
  }
}

.btn-close {
  filter: invert(1);
  /* white close icon on dark bg */
  opacity: 0.9;
  transition: 0.3s;
}

.btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

#closeMenuBtn {
  top: 0.75rem;
  /* tweak vertically */
  right: 1rem;
  /* tweak horizontally */
}

/* Custom SaaD Brand Blue */
.bg-saad-blue {
  background-color: #18357e !important;
  /* Your specific hex color */
}
/* HERO CAROUSEL – PERFECT CENTER ARROWS */
#homeCarousel {
  position: relative;
}

#homeCarousel .carousel-control-prev,
#homeCarousel .carousel-control-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  bottom: auto !important;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.45);
  border-radius: 50%;
  opacity: 1;
  z-index: 20;
}

#homeCarousel .carousel-control-prev {
  left: 10px !important;
}

#homeCarousel .carousel-control-next {
  right: 10px !important;
}

#homeCarousel .carousel-control-prev-icon,
#homeCarousel .carousel-control-next-icon {
  width: 18px;
  height: 18px;
}

/* Gallery-style white base with shadow */
#homeCarousel .carousel-item {
  position: relative;
  background: #fff;
}

#homeCarousel .carousel-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% - 34px);
  object-fit: cover;
}

/* ================= MODERN CAROUSEL CONTROLS (FIXED & STABLE) ================= */
.carousel-control-prev,
.carousel-control-next {
  position: absolute !important;
  /* ✅ Button lock */
  width: 32px;
  height: 32px;
  top: 50% !important;
  transform: translateY(-50%) !important;
  /* ✅ Only translate, NO SCALE */
  background: rgba(8, 8, 8, 0.85);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: background 0.25s ease, box-shadow 0.25s ease;
  /* ✅ NO transform animation */
  opacity: 1;
  z-index: 999;
}


/* Icon size */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 15px;
  height: 15px;
}

/* ✅ Hover effect WITHOUT SCALE (NO JUMP) */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

/* Position tweak */
.carousel-control-prev {
  left: 18px !important;
}

.carousel-control-next {
  right: 18px !important;
}
.carousel-indicators [data-bs-target]{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.6);
  margin: 0 6px;
  border: none;
  transition: all 0.3s ease;
}

/* Mobile */
@media(max-width:768px) {

  .carousel-control-prev,
  .carousel-control-next {
    width: 25px;
    height: 25px;
  }
}


/* ✅ SHADOW STAYS FIXED */
.hero-shadow {
  position: relative;
  width: 100%;
  margin-top: -5px;
  z-index: 5;
}

/* =========================================================
   ✅ GLOBAL RESPONSIVE RESET
========================================================= */
img {
  max-width: 100%;
  height: auto;
}

/* =====================================================
   ✅ FINAL SINGLE HERO HEIGHT SYSTEM (NO JUMP, NO SHIFT)
===================================================== */

#homeCarousel {
  width: 100%;
  background: #000;
}

#homeCarousel .carousel-inner,
#homeCarousel .carousel-item {
  width: 100%;
  aspect-ratio: 16 / 7;
  /* ✅ Screen jaisa proportion */
  height: 100%;
  overflow: hidden;
}

/* ✅ FULL WIDTH IMAGE */
#homeCarousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ✅ Full width fill */
  object-position: center;
  /* ✅ Center pe rahe */
  display: block;
}

#hero-banner h1,
.hero-overlay h2 {
  letter-spacing: 0.1px;
}

/* Slider outer frame – white base + shadow */
.slider-container{
  background:#fff;
  padding-bottom:45px;               /* white tray height */
  box-shadow:0 12px 26px rgba(0,0,0,0.25);
  position:relative;
}

/* ✅ Tablets */
@media (max-width: 991px) {

  #homeCarousel,
  #homeCarousel .carousel-inner,
  #homeCarousel .carousel-item {
    height: 60vh;
  }
}

/* ✅ Mobiles */
@media (max-width: 576px) {

  #homeCarousel,
  #homeCarousel .carousel-inner,
  #homeCarousel .carousel-item {
    height: 45vh;
  }
}


/* DESKTOP */
@media (min-width: 1200px) {

  #homeCarousel,
  #homeCarousel .carousel-inner,
  #homeCarousel .carousel-item,
  #homeCarousel img {
    height: 100%;
    max-height: 700px;
    width: 100%;
  }

  .carousel-caption h1 {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  #hero-banner .carousel-caption h1 {
    font-size: 24px;
    line-height: 1.2;
  }

  #hero-banner .carousel-caption h2 {
    font-size: 16px;
    line-height: 1.3;
  }

  #hero-banner .badges .badge {
    font-size: 11px;
    padding: 6px 10px;
  }
}
/* LAPTOP */
@media (max-width: 1199px) and (min-width: 992px) {

  #homeCarousel,
  #homeCarousel .carousel-inner,
  #homeCarousel .carousel-item,
  #homeCarousel img {
    height: 65vh;
    max-height: 600px;
  }

  .carousel-caption h1 {
    font-size: 2.2rem;
  }
}

/* TABLET */
@media (max-width: 991px) and (min-width: 768px) {

  #homeCarousel,
  #homeCarousel .carousel-inner,
  #homeCarousel .carousel-item,
  #homeCarousel img {
    height: 55vh;
    max-height: 450px;
  }

  .carousel-caption h1 {
    font-size: 1.8rem;
  }
}

/* MOBILE */
@media (max-width: 768px) {

  #homeCarousel,
  #homeCarousel .carousel-inner,
  #homeCarousel .carousel-item,
  #homeCarousel img {
    height: 48vh;
    max-height: 360px;
  }

  .carousel-caption {
    padding: 0 14px;
  }

  .carousel-caption h1 {
    font-size: 1.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .badges {
    justify-content: center;
    gap: 10px; 
    gap: 8px !important;
    margin-top: 16px !important;
  }

  .badge {
    font-size: 12px;
    padding: 8px 14px;
    font-size: 11px !important;
    padding: 6px 12px !important;
  } 
}

/* SMALL PHONES */
@media (max-width: 480px) {

  #homeCarousel,
  #homeCarousel .carousel-inner,
  #homeCarousel .carousel-item,
  #homeCarousel img {
    height: 42vh;
    max-height: 300px;
  }

  .carousel-caption h1 {
    font-size: 1.8rem;
  }
}

/* =========================================================
   ✅ HERO SHADOW FIX
========================================================= */
.hero-shadow {
  position: relative;
  width: 100%;
  margin-top: -5px;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.hero-shadow img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   ✅ WHO WE ARE TEXT RESPONSIVE
========================================================= */
@media (max-width: 768px) {
  #who-we-are h2 {
    font-size: 26px !important;
  }

  #who-we-are p {
    font-size: 15px !important;
    text-align: justify;
  }

  #who-we-are .btn {
    font-size: 13px;
    padding: 10px 18px;
  }
}

/* =========================================================
   ✅ PROGRAMS GRID RESPONSIVE
========================================================= */
@media (max-width: 992px) {
  #our-programs .row {
    justify-content: center;
  }

  #our-programs img {
    height: 200px !important;
  }
}

@media (max-width: 576px) {
  #our-programs img {
    height: 180px !important;
  }

  #our-programs h2 {
    font-size: 26px !important;
  }

  #our-programs p {
    font-size: 15px !important;
  }
}

/* =========================================================
   ✅ TEAM SECTION RESPONSIVE
========================================================= */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-body h3 {
    font-size: 14px;
  }
}

/* =========================================================
   ✅ AWARDS RESPONSIVE
========================================================= */
@media (max-width: 768px) {
  .awards-grid {
    grid-template-columns: 1fr;
  }

  .award-title {
    font-size: 15px;
  }
}

/* =========================
   AWARDS RESPONSIVE
========================= */

@media (max-width: 992px) {
  .awards-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .award-img {
    height: 220px;
  }

  .award-title {
    font-size: 15px;
  }

  .award-year {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .awards-section {
    padding: 40px 16px;
  }

  .awards-grid {
    grid-template-columns: 1fr; /* ek hi card per row */
    gap: 16px;
  }

  .award-panel {
    padding: 16px 16px 18px;
  }

  .award-img {
    height: 200px;
  }

  .award-year {
    font-size: 15px;
  }

  .award-title {
    font-size: 14px;
    line-height: 1.4;
  }
}


/* =========================================================
   ✅ DONORS RESPONSIVE
========================================================= */
@media (max-width: 768px) {
  .donors-wall {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .donors-wall {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   ✅ GENERAL SECTION SPACING MOBILE
========================================================= */
@media (max-width: 768px) {
  section {
    padding: 40px 16px !important;
  }
}

.badges {
  display: flex;
  gap: 18px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 16px 26px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 700;
  color: #0b3a82;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  animation: float 5s ease-in-out infinite;
}

.badge:nth-child(2) {
  animation-delay: 1.5s;
}

.badge:nth-child(3) {
  animation-delay: 3s;
}


.card {
  width: 100%;
  max-width: 390px;
  /* larger card width */
  height: 400px;
  /* larger card height */
  margin: 0 auto;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 240px;
  /* image taller for better visual */
  object-fit: cover;
}

.card-body {
  padding-top: 20px;
  /* more space between image and title */
}

.card-title {
  color: #2A4B9C;
  font-weight: 200;
  font-size: 0.8rem;
  line-height: 1.4;
  position: relative;
  display: inline-block;
}

/* This is the small color block under the title */
.card-title::after {
  content: "";
  display: block;
  width: 50px;
  /* width of block */
  height: 8px;
  /* height of block (thicker block) */
  background-color: #2A4B9C;
  margin: 10px auto 0;
  /* space between title and block */
}

/* * Ensure links are white on the dark blue navbar. * We are targeting the specific links inside the bg-saad-blue nav. */
.bg-saad-blue .nav-link {
  color: #ffea00 !important;
  font-size: 22px;
  font-weight: bold;
  padding: 0.8rem 1rem;
  transition: color 0.3s ease;
  gap: 40px;
}

:root{
  --primary:#18357e;
  --secondary:#ffd400;
  --yellow:#f2b705;
  --text:#173447;
  --muted:#6b7c89;
  --bg:#f5f7fb;
  --card:#ffffff;
  --white:#ffffff;
  --dark:#0b1c44;
  --radius:14px;
  --shadow:0 8px 22px rgba(0,0,0,0.08);
}



section {
  padding: 20px 20px;
}

.subtext {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: #555;
}

/* HERO */
.hero {
  background: var(--primary);
  color: white;
  padding: 130px 20px 100px;
}

.hero-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-card {
  background: var(--white);
  color: #222;
  padding: 40px;
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

/* TEAM (as in your last version) */
.team-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  position: relative;
  transition: .3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-photo {
  height: 160px;
  background: #ddd;
}

.team-body {
  padding: 10px 10px 12px;
  text-align: center;
}

.team-body h3 {
  font-size: 14px;
  margin: 0 0 2px;
}

.team-role {
  color: var(--secondary);
  font-weight: 600;
  font-size: 11px;
  margin-bottom: 4px;
}

/* REVEAL ON HOVER */
.reveal-hidden {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--primary), #102c6c);
  color: white;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translateY(100%);
  transition: .45s ease;
}

.team-card:hover .reveal-hidden {
  transform: translateY(0);
}

/* ⭐ NEW, SOFTER AWARDS LAYOUT */
.awards-section {
  background: var(--white);
  color: #222;
}

.awards-grid {
  max-width: 1100px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.award-panel {
  background: var(--white);
  padding: 22px 22px 20px 26px;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  border-left: 6px solid var(--primary);
  position: relative;
}
.award-img {
  width: 100%;
  height: 260px;      /* increased */
  object-fit: cover;
  background: #fff;
  padding: 10px;
}


.award-year {
  font-size: 18px;
  font-weight: 700;
  color: brown;
  margin-bottom: 6px;
}

.award-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--primary);
}

.award-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--light);
  color: #666;
  margin-top: 8px;
}

/* ACCORDION */
.accordion {
  max-width: 800px;
  margin: 60px auto 0;
}

.acc-item {
  background: white;
  margin-bottom: 16px;
  border-radius: 16px;
  overflow: hidden;
}

.acc-title {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  background: var(--primary);
  color: white;
}

.acc-content {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: .4s ease;
}

.acc-item.active .acc-content {
  max-height: 250px;
  padding: 20px 24px;
}

/* DONORS */
.donors-wall {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
}

.donor-box {
  background: var(--white);
  padding: 24px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* CTA */
.cta {
  background: linear-gradient(120deg, var(--primary), #102c6c);
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.cta a {
  display: inline-block;
  margin: 16px;
  padding: 14px 42px;
  background: var(--secondary);
  color: #222;
  font-weight: 700;
  border-radius: 50px;
}

@media(max-width:900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.bg-saad-blue {
  color: #ffffff !important;
  /* Make text white */
  /* Use your DONATE/Warning color for hover */
}

.btn-warning {
  background-color: #e79d19 !important;
  /* Match your "DONATE" button color */
  color: white;
  border-radius: 99px;
  box-shadow: none;
  margin-top: 20px;
  padding: 0.4em 1.2em 0.4em 1.2em;
  border: 2px solid RGBA(255, 255, 255, 1);
}

@media (max-width: 480px) {
  .carousel-caption h1 {
    font-size: 1rem;
  }

  .donate-btn {
    font-size: 0.80rem;
    padding: 7px 10px;
  }

  .carousel-indicators.custom-indicators {
    margin-top: 5px;
  }

  .carousel-indicators.custom-indicators [data-bs-target] {
    width: 5px;
    height: 5px;
  }
}

.btn-warning:hover {
  background-color: #f6f5f3 !important;
  color: #0e0e0e;
}

.button-online {
  background-color: #e79d19 !important;
  color: white !important;
  font-size: 12px;
  /* Smaller text */
  padding: 10px 10px !important;
  /* Reduce padding */
  height: auto;
  /* Adjust height dynamically */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.button-online:hover {
  background-color: #d09216 !important;
  color: white !important;
}


/* Custom SaaD Section Heading Blue */
.saad-heading-color {
  color: #2a4b9c !important;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 30px;
}

.saad-heading-color .about p {
  font-size: 26px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.4rem 0.6rem;
  color: #f4f2f2;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  padding: 0 10px;
}

.prev-arrow {
  left: 10px;
}

.next-arrow {
  right: 10px;
}

.slider-arrow:hover {
  background: rgba(10, 10, 10, 0.5);
  color: #fff;
}

.slider-dots {
  position: relative;
  /* not absolute — this moves them OUTSIDE */
  bottom: auto;
  left: 0;
  width: 100%;
  margin-top: 10px;
  /* spacing between image and dots */
  padding: 8px 0;
  background: #fff;
  /* white background strip */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #eee;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.dot.active{
  background:#000;
}
.slider-dots .dot.active {
  background-color: #070707;
}

.section-wrapper {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Mobile – ONLY for custom slider (Who we are page) */
@media (max-width: 768px) {
  #imageSlider {
    width: 100%;
  }

  #imageSlider .slide-img {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
  }

  .slider-container {
    overflow: hidden;
  }
}

/* =========================
       COMMON IMAGE CONTAINER
    ========================== */
.image-block {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 360px;
  overflow: hidden;
  background: #fff;
  /* ✅ This blocks the image underneath */
}

/* Match mask position with text panel */
.mission::after {
  right: 0;
}

.vision::after {
  left: 0;
}


.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-panel {
  position: absolute;
  top: 25%;
  width: 380px;
  height: 50%;
  min-height: 100px;
  background: white;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  z-index: 2;
  /* ✅ Ensures text is above image */
}

.mission-text{
  position:absolute;
  right:4%;
  top:26%;
  background:rgba(255,255,255,0.92);
  padding:16px 22px;     /* height kam hogi */
  max-width:380px;       /* thoda narrow */
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

.mission-text h2{
  color:#18357e;
  font-weight:800;
  letter-spacing:1px;
  margin-bottom:14px;
}

.mission-text p{
  color:#444;
  font-size:16px;
  line-height:1.7;
}

.vision-text{
position:absolute;
  right:10%;
  top:24%;
  background:rgba(255,255,255,0.92);
  padding:16px 22px;     /* height kam hogi */
  max-width:380px;       /* thoda narrow */
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

.vision-text h2{
  color:#18357e;
  font-weight:800;
  letter-spacing:1px;
  margin-bottom:14px;
}

.vision-text p{
  color:#444;
  font-size:16px;
  line-height:1.7;
}


.text-panel h2 {
  font-size: 36px;
  font-weight: 900;
  color: #18357e;
  margin-bottom: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.text-panel p {
  font-size: 18px;
  line-height: 1;
  color: #555;
  font-weight: 1000;
}
.text-panel{
  backdrop-filter: blur(2px);   /* thoda glass effect */
}

.text-panel h2{
  letter-spacing: 1px;
}

.mission-text p,
.vision-text p {
  font-size: 16px !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  word-spacing: 0 !important;
}

.mission-text h2,
.vision-text h2 {
  margin-bottom: 10px !important;
}

/* =========================
       MISSION (RIGHT CUT)
    ========================== */
.mission img {
  clip-path: polygon(
    0 0,
    85% 0,
    85% 28%,
    100% 28%,
    100% 72%,
    85% 72%,
    85% 100%,
    0 100%
  );
}


.mission .text-panel {
  right: 0;
}

/* =========================
       VISION (LEFT CUT - REVERSE)
    ========================== */
.vision {
  margin-left: auto;
}

.vision img {
  clip-path: polygon(10% 0,
      100% 0,
      100% 100%,
      10% 100%,
      10% 70%,
      0 70%,
      0 30%,
      10% 30%);
}

.vision .text-panel {
  left: 0;
}

/* =========================
       RESPONSIVE
    ========================== */
@media (max-width: 900px) {
  .image-block {
    height: 260px;
  }

  .text-panel {
    width: 85%;
    height: auto;
    top: auto;
    bottom: 20px;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
  }

  .text-panel h2 {
    font-size: 24px;
  }

  .text-panel p {
    font-size: 15px;
  }
}

/* Center everything within mission and vision */
.mission,
.vision {
  border-radius: 10px;
  padding: 30px;
  height: auto;
  text-align: center;
  /* ensures all inside content is centered */
}

/* Icon styling */
.section-icon {
  width: 70px;
  /* adjust size as needed */
  height: 70px;
  display: inline-block;
  /* ensures perfect horizontal centering */
  margin-bottom: 15px;
  vertical-align: middle;
}

/* Top "about" paragraph */
p.about {
  font-size: 16px;
  /* bigger and prominent */
  font-weight: 600;
  /* semi-bold */
  line-height: 1.8;
  /* improve readability */
  margin-bottom: 10px;
  /* spacing from next paragraph */
}

/* Main content paragraphs */
.content-section p:not(.about) {
  text-align: justify;
  font-size: 16px;
  /* slightly bigger than normal */
  line-height: 1.9;
  /* improve readability */
  margin-bottom: 5px;
  /* spacing between paragraphs */
}

.content-section {
  max-width: 1100px;
  margin: auto;
  padding: 30px 20px 40px 20px;

  /* added bottom padding */
}

🟦 General section spacing
section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* 🟨 Custom list styling */
.custom-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.custom-list li {
  margin-bottom: 0.75rem;
  /* smaller gap between bullet points */
  line-height: 1.7;
  /* slightly increased readability */
  text-align: justify;
  /* even alignment for long sentences */
}

/* 🟧 Headings and paragraph balance */
section h2 {
  margin-bottom: 1rem;
}

section p.lead {
  margin-bottom: 1.2rem;
}

/* 🔧 Extra compact spacing for small devices */
@media (max-width: 576px) {

  section {
    padding-top: 1.2rem !important;
    padding-bottom: 1.2rem !important;
  }

  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .lead {
    margin-bottom: 0.6rem !important;
  }

  .container,
  .container-fluid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Cards / columns spacing */
  .row.g-4 {
    --bs-gutter-y: 0.8rem;
  }

  .p-4 {
    padding: 1rem !important;
  }

  h1 {
    margin-bottom: 0.6rem !important;
  }

  h3 {
    margin-bottom: 0.5rem !important;
  }
}

/* 📱 Mobile paragraph layout fix */
@media (max-width: 576px) {

  .lead {
    font-size: 14px !important;
    line-height: 1.7 !important;
    text-align: justify !important;   /* justify hata do mobile par */
    margin-bottom: 12px !important;
  }

  .p-4 {
    padding: 14px !important;
  }

  h3 {
    font-size: 17px !important;
    line-height: 1.4;
    margin-bottom: 8px !important;
  }

  section.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}


/* 🟩 Responsive readability */
@media (max-width: 768px) {
  .custom-list {
    padding-left: 1.2rem;
  }

  .custom-list li {
    font-size: 15px;
    margin-bottom: 0.6rem;
  }
}


/* Animation keyframes */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

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

/* =========================================
   ✅ DISABLE CUT DESIGN ON MOBILE & TABLET
========================================= */
@media (max-width: 992px) {

  .image-block {
    height: auto !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .image-block::after {
    display: none !important;
    /* ✅ remove white mask */
  }

  .image-block img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    /* ✅ NO CUT */
    clip-path: none !important;
    /* ✅ remove shape cut */
  }

  .text-panel {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 15px;
    box-shadow: none !important;
    padding: 20px !important;
    text-align: center;
  }

  .mission,
  .vision {
    margin-left: 0 !important;
    padding: 0 !important;
  }

  .text-panel h2 {
    font-size: 24px !important;
  }

  .text-panel p {
    font-size: 15px !important;
    line-height: 1.6;
  }
}

/* Apply animations */
.mission {
  opacity: 0;
  animation: slideInLeft 1s ease-out forwards;
  animation-delay: 0.3s;
}

.vision {
  opacity: 0;
  animation: slideInRight 1s ease-out forwards;
  animation-delay: 0.3s;
}

h1,
h2 {
  margin-bottom: 25px;
}

p {
  font-size: 14px;
  line-height: 1.6;
}


.project-card {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-inner img {
  height: 100% !important;
  width: 100%;
  object-fit: cover;
}

/* Style for program cards */
#our-programs .card-img-top {
  height: 200px;
  /* Uniform height for program images */
  object-fit: cover;
}

.lead {
  text-align: justify;
}

/* Customizing the "Read More" button */
.btn-outline-primary {
  color: #007bff;
  /* Primary brand color */
  border-color: #007bff;
}

.btn-outline-primary:hover {
  background-color: #007bff;
  color: white;
}

/* --- FOOTER FONT SIZE ENHANCEMENT --- */
/* Targets ALL content inside the footer's container for larger text */
.bg-saad-blue .container {
  font-size: 1.15rem;
  /* Base text size: ~15% larger than default */
  line-height: 1.6;
  /* Increased spacing between lines for readability */
}

/* Ensure the copyright/powered text at the very bottom remains smaller */
.bg-saad-blue .container small {
  font-size: 0.9rem !important;
  line-height: 1.4;
}

/* Add left and right padding for the footer content */
.custom-footer-container {
  padding-left: 50px;
  /* adjust as needed */
  padding-right: 50px;
  /* adjust as needed */
}

.custom-input {
  background-color: #f1f1f1 !important;
  border: 1px solid #ddd !important;
  border-radius: 10px;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.custom-input:focus {
  background-color: #b4b1b1 !important;
  border-color: #999 !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

textarea.custom-input {
  resize: none;
}

/* Optional: make it responsive */
@media (max-width: 768px) {
  .custom-footer-container {
    padding-left: 20px;
    padding-right: 20px;
  }

}

/* Custom SaaD Footer Heading Accent Color */
.footer-heading-accent {
  color: #ffea00 !important;
  /* Your specific bright yellow/gold color */
  font-size: 14px;
}

.list-unstyled {
  color: #fbfbf9 !important;
  /* Your specific bright yellow/gold color */
  font-size: 16px;
}

/* We also need to make sure the accent icon color matches the text color */
footer .text-warning {
  color: #ffea00 !important;
  /* Forces the phone/clock/mail icons to be this color */
}

/* Footer social icons */
footer .fab {
  font-size: 1.3rem;
  /* Larger social icons */
}

footer a:hover {
  color: #ffc107 !important;
  /* Highlight on hover for footer links */
}

.footer-social-img img {
  width: 30px;
  height: 30px;
  border-radius: 0%;
  transition: all 0.3s ease;
}

/* ✅ RESPONSIVE DONATION CONTACT BOX */
.footer-donation-box {
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  word-wrap: break-word;
  /* ✅ WIDTH CONTROL */
  max-width: 280px;
  /* ✅ controls box width */
  width: 100%;
}

.footer-donation-box p {
  margin-bottom: 0.4rem;
  word-break: break-word;
}

/* ✅ MOBILE AUTO FULL WIDTH */
@media (max-width: 576px) {
  .footer-donation-box {
    max-width: 100%;
    /* full width on phones */
    font-size: 0.9rem;
    padding: 0.8rem;
  }
}

/* Responsive adjustments for logo if needed */
@media (max-width: 991px) {
  .navbar-brand img {
    height: 50px;
    /* Smaller logo on mobile */
  }
}

@media (max-width: 992px) {
  .navbar-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* center links under logo */
    gap: 10px;
  }

  .navbar-nav .nav-link {
    text-align: center;
    padding: 0.5rem 0;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .navbar .nav-link {
    font-size: 18px;
    /* slightly smaller for tablets */
    padding: 0.5rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .navbar .nav-link {
    font-size: 14px;
    /* smaller for mobile */
    padding: 0.4rem 0.6rem;
    text-align: center;
    /* center text in collapsed menu */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .navbar-nav {
    gap: 10px;
    /* reduce spacing on small screens */
  }
}

@media (max-width: 768px) {
  .carousel-indicators.custom-indicators {
    margin-top: 10px;
  }

  .carousel-indicators.custom-indicators [data-bs-target] {
    width: 5px;
    height: 5px;
  }

  .carousel-indicators.custom-indicators .active {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 576px) {
  .logo-bar img {
    max-width: 140px;
    /* smaller on phones */
  }
}

/* Make toggler icon visible and centered */
.navbar-toggler {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

/* Hover effect */
.navbar-toggler:hover {
  background-color: rgba(255, 255, 255, 0.35);
}

/* Responsive sizing */
@media (max-width: 575.98px) {
  .navbar-toggler {
    padding: 0.4rem 0.6rem;
    font-size: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .navbar-toggler {
    padding: 0.5rem 0.8rem;
    font-size: 1.1rem;
  }
}

@media (min-width: 768px) {
  .navbar-toggler {
    padding: 0.6rem 1rem;
  }
}

/* =======================================================
   📱 SaaD Full Responsive Enhancements
   Makes all sections mobile-friendly and properly spaced
======================================================= */

/* 🟦 General text + section padding for smaller screens */
@media (max-width: 768px) {
  body {
    font-size: 15px;
    line-height: 1.7;
  }

  section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  h1,
  h2 {
    font-size: 1.4rem;
    line-height: 1.4;
    text-align: center;
  }

  p,
  .lead {
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 1rem;
  }
}

/* 🟨 Hero banner responsiveness */
@media (max-width: 768px) {
  #hero-banner {
    flex-direction: column;
    padding: 40px 15px;
    text-align: center;
  }

  #hero-banner h1 {
    font-size: 1.6rem;
  }

  #hero-banner p {
    font-size: 15px;
  }
}

/* 🟩 Cards responsiveness (programs, projects, etc.) */
@media (max-width: 992px) {
  .card {
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
  }

  .card-img-top {
    height: 200px;
  }

  .card-body {
    padding: 1rem;
  }

  .card-title {
    font-size: 1rem;
  }
}

/* 🟧 List and content section adjustments */
@media (max-width: 768px) {
  .custom-list {
    padding-left: 1.2rem;
    margin-top: 0.8rem;
  }

  .custom-list li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
  }

  .content-section {
    padding: 30px 15px;
  }
}

/* 🟪 Mission & Vision boxes */
@media (max-width: 768px) {

  .mission,
  .vision {
    padding: 20px;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .section-icon {
    width: 50px;
    height: 50px;
  }

  .mission h2,
  .vision h2 {
    text-align: center !important;
  }
}



/* 🟫 Footer adjustments */
@media (max-width: 768px) {
  .custom-footer-container {
    padding: 20px;
  }

  .footer-heading-accent {
    font-size: 16px;
  }

  .list-unstyled {
    font-size: 15px;
  }

  footer .fab {
    font-size: 1.1rem;
  }

  .footer-social-img img {
    width: 25px;
    height: 25px;
  }
}

/* 🟨 Navbar improvement for small screens */
@media (max-width: 768px) {
  .navbar-nav {
    gap: 6px;
  }

  .navbar .nav-link {
    font-size: 16px !important;
    padding: 0.4rem 0.8rem !important;
  }

  .navbar-toggler {
    margin-right: 10px;
  }

  .logo-bar img {
    max-width: 130px;
    height: auto;
  }
}

/* 🟦 Carousel images */
@media (max-width: 768px) {
  .carousel-inner img {
    height: 300px;
    width: 100%;
    object-fit: cover;
  }

  .carousel-caption h1 {
    font-size: 1.2rem;
  }
}

/* =========================================
   📱 Fix Carousel Text + Donate Button Mobile View
========================================= */

/* For devices smaller than tablets */
@media (max-width: 768px) {
  #hero-banner .carousel-caption {
    padding: 0 20px;
    top: 0;
    bottom: 0;
  }

  #hero-banner h1 {
    font-size: 1.2rem;
    /* smaller heading */
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  #hero-banner .btn {
    font-size: 14px !important;
    padding: 10px 20px !important;
    border-radius: 30px;
  }

  /* Make sure text stays visible on smaller screens */
  #hero-banner .carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20%;
    transform: translateY(0);
  }


  /* Prevent overlapping of caption */
  #homeCarousel {
    overflow: hidden;
  }
}

/* For very small screens (e.g. 375x667) */
@media (max-width: 480px) {
  #hero-banner h1 {
    font-size: 1rem;
    line-height: 1.3;
  }

  #hero-banner .btn {
    font-size: 13px !important;
    padding: 8px 18px !important;
  }

  #hero-banner img {
    height: 45vh;
  }

  #hero-banner .carousel-caption {
    bottom: 15%;
  }
}

/* 📱 Make initiative carousel fully responsive */
#initiativeCarousel img {
  width: 100%;
  height: auto;
  /* natural aspect ratio by default */
  object-fit: cover;
}

/* For smaller screens */
@media (max-width: 768px) {
  #initiativeCarousel img {
    height: 300px;
    /* smaller height for mobile */
    object-fit: cover;
  }
}

/* For very small phones like 375x667 */
@media (max-width: 480px) {
  #initiativeCarousel img {
    height: 220px;
  }
}

/* Footer Responsive Fix */
@media (max-width: 576px) {
  footer {
    text-align: center;
    padding: 1rem;
  }

  footer .btn {
    font-size: 14px !important;
    padding: 10px 20px !important;
  }

  footer p,
  footer a,
  footer li {
    text-align: center;
    font-size: 14px !important;
    line-height: 1.5;
  }

  footer .footer-logo img {
    max-width: 120px !important;
  }
}

/* 🌿 About Us page responsive font sizes */
@media (max-width: 576px) {

  .content-section p,
  .content-section .about,
  .content-section strong {
    font-size: 14px !important;
    line-height: 1.6 !important;
    text-align: justify !important;
  }

  .content-section h2 {
    font-size: 18px !important;
    margin-top: 1rem !important;
  }

  .content-section .saad-heading-color {
    font-size: 18px !important;
  }

  .section-icon {
    width: 60px !important;
    height: auto !important;
  }

  .content-section .row {
    flex-direction: column !important;
  }

  .content-section .col-md-6 {
    width: 100% !important;
  }

  /* Hero banner text */
  #hero-banner p {
    font-size: 14px !important;
  }

  /* Slider image height fix */
  .slide-img {
    height: 180px !important;
  }
}

@media (max-width: 768px) {

  /* Center all contact info text and icons */
  .row.text-center .col-md-3,
  .row.text-center .col-md-12 {
    text-align: center !important;
  }

  /* Center h5 headings */
  section h5 {
    text-align: center !important;
    font-size: 16px !important;
  }

  /* Reduce paragraph font size slightly */
  section p {
    text-align: center !important;
    font-size: 14px !important;
  }
}

/* Blog Page Responsive Adjustments */
@media (max-width: 992px) {

  /* Stack post columns vertically on tablets */
  .row.align-items-center {
    flex-direction: column;
    text-align: center;
  }

  .row.align-items-center .col-lg-4,
  .row.align-items-center .col-lg-8,
  .row.align-items-center .col-md-5,
  .row.align-items-center .col-md-7 {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  /* Center blog images */
  .row.align-items-center img {
    margin: 0 auto 15px auto;
    height: auto;
    width: 100%;
    max-width: 400px;
    /* Optional: limits image size on larger tablets */
    object-fit: cover;
  }

  /* Center headings and text */
  .row.align-items-center h3 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .row.align-items-center p {
    font-size: 1rem;
    text-align: justify;
    /* optional: keep paragraph justified or change to center */
  }

  .row.mb-5:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .row.mb-5:first-child h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .row.mb-5:first-child p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (max-width: 576px) {

  /* Extra small screens (phones) */
  .row.align-items-center h3 {
    font-size: 1.1rem;
  }

  .row.align-items-center p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .row.align-items-center img {
    max-width: 100%;
    height: auto;
  }

  section.py-3 h1 {
    font-size: 1.6rem !important;
    /* smaller page header */
  }
}

@media (max-width: 992px) {
  .blog-header h1.blog-title {
    font-size: 1.8rem;
  }

  .blog-header p.blog-meta {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .blog-header h1.blog-title {
    font-size: 1.4rem;
  }

  .blog-header p.blog-meta {
    font-size: 0.95rem;
  }
}

/* ================= HERO ================= */
.events-lux-hero {
  background: linear-gradient(135deg, #f6f9ff, #e7efff);
  padding: 110px 20px;
  text-align: center;
}

.events-lux-hero h1 {
  font-size: 46px;
  color: #18357e;
  margin-bottom: 5px;
  font-weight: 800;
}

.events-lux-hero p {
  font-size: 18px;
  color: #5f6b7a;
  max-width: 800px;
  margin: auto;
}

/* ================= INTRO ================= */
.events-lux-intro {
  padding: 70px 20px;
  background: #ffffff;
  text-align: center;
}

.events-lux-intro p {
  font-size: 18px;
  line-height: 1.9;
  max-width: 900px;
  margin: auto;
  color: #243046;
}

/* ================= EVENT SECTIONS ================= */
.event-lux-section {
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.event-lux-section.alt {
  background: #eef4ff;
}

.event-lux-row {
  display: flex;
  align-items: center;
  gap: 70px;
  flex-wrap: wrap;
}

.event-lux-row.reverse {
  flex-direction: row-reverse;
}

.event-lux-image {
  flex: 1 1 45%;
}

.event-lux-image img {
  width: 100%;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  animation: floatSoft 6s ease-in-out infinite;
}

.event-lux-row:hover .event-lux-image img {
  transform: scale(1.05);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.25);
}

.event-lux-text {
  flex: 1 1 45%;
}

.event-lux-text h2 {
  font-size: 34px;
  color: #18357e;
  margin-bottom: 16px;
  font-weight: 800;
}

.event-lux-text p {
  font-size: 17px;
  line-height: 1.9;
  color: #5f6b7a;
  text-align: justify;
}

/* ================= PREMIUM BUTTON ================= */
.event-premium-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 34px;
  border-radius: 50px;
  background: linear-gradient(135deg, #eccf25, #ffe66b);
  color: #000000;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
}

.event-premium-btn:hover {
  background: linear-gradient(135deg, #18357e, #0b2b64);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ================= FOOTER STRIP ================= */
.events-lux-footer {
  background: linear-gradient(135deg, #f6f9ff, #e7efff);
  color: #18357e;
  padding: 70px 20px;
  text-align: center;
}

.events-lux-footer p {
  font-size: 18px;
  max-width: 900px;
  margin: auto;
  opacity: 0.95;
}

/* ================= SCROLL ANIMATION ================= */
.event-lux-text h2,
.event-lux-text p {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s ease;
}

.event-lux-row.show .event-lux-text h2,
.event-lux-row.show .event-lux-text p {
  opacity: 1;
  transform: translateY(0);
}

/* ================= FLOAT ================= */
@keyframes floatSoft {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

/* WHO WE ARE – space control */

#hero-banner {
  margin-bottom: 20px !important;
}

.events-lux-hero {
  padding: 60px 20px !important;  /* pehle 110px tha */
}

.content-section {
  padding: 30px 20px 50px !important;
}

.section-wrapper {
  gap: 20px !important;  /* pehle 100px tha */
}

/* Global section padding ko is page par soft karo */
#hero-banner + .content-section,
#hero-banner,
.section-wrapper {
  margin-top: 0 !important;
}
/* Remove extra gap between slider and SaaD text */

.slider-container {
  margin-bottom: 2px !important;
}

.content-section {
  padding-top: 6px !important;
}

.content-section p.about {
  margin-top: 0 !important;
}

/* Only reduce space between slider and SaaD text */

#hero-banner {
  margin-bottom: 0 !important;
}

#hero-banner + .content-section {
  padding-top: 8px !important;
}

#hero-banner + .content-section p.about {
  margin-top: 0 !important;
}


/* Mobile par aur compact */
@media (max-width: 768px) {
  .events-lux-hero {
    padding: 40px 16px !important;
  }

  .content-section {
    padding: 20px 16px 30px !important;
  }

  .section-wrapper {
    gap: 30px !important;
  }
}
/* Fix extra gap under "Our Mission" & "Our Vision" */

.text-panel p {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.text-panel h2 {
  margin-bottom: 8px !important;
}

.image-block {
  margin-bottom: 0 !important;
}

.mission,
.vision {
  padding-bottom: 0 !important;
  margin-bottom: 20px !important;
}


/* Mobile par aur compact */
@media (max-width: 768px) {
  .mission,
  .vision {
    margin-bottom: 12px !important;
  }

  .text-panel {
    padding-bottom: 10px !important;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .events-lux-hero h1 {
    font-size: 32px;
  }

  .event-lux-text h2 {
    font-size: 26px;
  }

  .event-lux-row {
    flex-direction: column;
  }
}

/* =========================================================
   ✅ FULL RESPONSIVE SUPPORT FOR ALL DEVICES
   ========================================================= */

/* ============ EXTRA SMALL DEVICES (Mobiles ≤ 480px) ============ */
@media (max-width: 480px) {
  .events-lux-hero {
    padding: 80px 16px;
  }

  .events-lux-hero h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .events-lux-hero p,
  .events-lux-intro p,
  .event-lux-text p {
    font-size: 15px;
  }

  .events-lux-intro {
    padding: 50px 16px;
  }

  .event-lux-section {
    padding: 60px 16px;
  }

  .event-lux-row {
    gap: 32px;
    flex-direction: column;
  }

  .event-lux-text h2 {
    font-size: 22px;
  }

  .event-premium-btn {
    width: 100%;
    text-align: center;
    padding: 13px 20px;
  }

  .events-lux-footer {
    padding: 55px 16px;
  }

  .events-lux-footer p {
    font-size: 15px;
  }
}


/* ============ SMALL DEVICES (Mobiles & Small Tablets 481px–768px) ============ */
@media (min-width: 481px) and (max-width: 768px) {
  .events-lux-hero {
    padding: 90px 24px;
  }

  .events-lux-hero h1 {
    font-size: 32px;
  }

  .events-lux-hero p,
  .event-lux-text p {
    font-size: 16px;
  }

  .events-lux-intro {
    padding: 60px 24px;
  }

  .event-lux-section {
    padding: 70px 24px;
  }

  .event-lux-row {
    gap: 44px;
    flex-direction: column;
  }

  .event-lux-text h2 {
    font-size: 26px;
  }

  .event-premium-btn {
    padding: 13px 28px;
  }
}


/* ============ MEDIUM DEVICES (Tablets & Small Laptops 769px–1024px) ============ */
@media (min-width: 769px) and (max-width: 1024px) {
  .events-lux-hero {
    padding: 100px 40px;
  }

  .events-lux-hero h1 {
    font-size: 38px;
  }

  .event-lux-row {
    gap: 50px;
  }

  .event-lux-text h2 {
    font-size: 30px;
  }

  .event-lux-text p {
    font-size: 16px;
  }

  .event-premium-btn {
    padding: 13px 32px;
  }
}


/* ============ LARGE SCREENS (Laptops & Desktops 1025px–1366px) ============ */
@media (min-width: 1025px) and (max-width: 1366px) {
  .events-lux-hero h1 {
    font-size: 42px;
  }

  .event-lux-text h2 {
    font-size: 32px;
  }
}


/* ============ EXTRA LARGE SCREENS (Large Desktops ≥ 1367px) ============ */
@media (min-width: 1367px) {
  .events-lux-hero {
    padding: 130px 20px;
  }

  .events-lux-hero h1 {
    font-size: 50px;
  }

  .event-lux-text h2 {
    font-size: 36px;
  }

  .event-lux-text p {
    font-size: 18px;
  }
}

/* ================= GET INVOLVED PREMIUM ================= */

.gi-hero {
  background: linear-gradient(135deg, #f6f9ff, #e7efff);
  padding: 100px 20px 70px;
  text-align: center;
}

.gi-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: #18357e;
  margin-bottom: 16px;
}

.gi-hero p {
  max-width: 1100px;
  margin: auto;
  font-size: 16px;
  color: #5f6b7a;
  line-height: 1.8;
}

/* Section Wrapper */
.gi-section {
  padding: 70px 20px;
}

.gi-section h2 {
  color: #18357e;
  font-weight: 700;
  margin-bottom: 14px;
}

.gi-section p,
.gi-section li {
  font-size: 16px;
  color: #243046;
  line-height: 1.8;
}

/* Premium Card Style */
.gi-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

/* Custom List Styling */
.custom-list {
  padding-left: 20px;
}

.custom-list li {
  margin-bottom: 14px;
}

/* CTA Buttons */
.gi-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 32px;
  border-radius: 50px;
  background: linear-gradient(135deg, #eccf25, #ffe66b);
  color: #000;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
}

.gi-btn:hover {
  background: linear-gradient(135deg, #18357e, #0b2b64);
  color: #fff;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .gi-hero h1 {
    font-size: 30px;
  }

  .gi-section {
    padding: 50px 16px;
  }
}

/* =====================
   HERO
===================== */
.gallery-hero {
  background: linear-gradient(135deg, #dee9ff, #f5f8ff);
  padding: 45px 20px 25px;
  text-align: center;
}

.gallery-badge {
  display: inline-block;
  background: linear-gradient(135deg, #eccf25, #ffe66b);
  padding: 5px 16px;
  border-radius: 30px;
  font-weight: 700;
}

.gallery-hero h1 {
  font-size: 36px;
  font-weight: 900;
  color: #0b3a82;
  margin-bottom: 2px;
}

.gallery-hero p {
  font-size: 16px;
  color: #444;
}

/* =====================
   INTRO
===================== */
.gallery-intro {
  padding: 40px 20px 25px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.gallery-intro h2 {
  font-size: 28px;
  color: #18357e;
  margin-bottom: 6px;
  font-weight: 800;
}

.gallery-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* =====================
   FEATURED
===================== */
.gallery-featured {
  padding: 45px 20px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.featured-video iframe {
  width: 100%;
  height: 280px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.15);
}

.featured-text h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #0b3a82;
  font-weight: 600;
}

.featured-text p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

.featured-text ul {
  margin-top: 10px;
  padding-left: 18px;
}

.featured-text li {
  font-weight: 700;
  margin-bottom: 6px;
  color: #18357e;
}

/* Sirf VIDEO cards ke liye */
.video-grid .gallery-card{
  height: 260px;   /* yahan size control karo */
  background:#000;
  overflow:hidden;
}

/* iframe aur video ko full fill karne ke liye */
.video-grid .gallery-card iframe,
.video-grid .gallery-card video{
  width:100%;
  height:100%;
  border:0;
  display:block;
}


/* =====================
   FILTER
===================== */
.gallery-filter {
  padding: 25px 15px;
  text-align: center;
}

.filter-btn {
  border: 2px solid #18357e;
  background: transparent;
  color: #18357e;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 40px;
  margin: 5px;
  cursor: pointer;
  transition: all .25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #18357e;
  color: white;
}
.year-section {
  margin: 0;
  padding: 0;
}

.year-section.active {
  display: block;
}

/* =====================
   GRID SECTION
===================== */
.gallery-grid-section {
  padding: 40px 20px 55px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.gallery-card {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.gallery-card iframe {
  width: 100%;
  height: 200px;
  border: none;
}

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

.card-title {
  padding: 12px;
  font-weight: 700;
  font-size: 15px;
  color: #18357e;
  text-align: center;
}

.gallery-title {
  font-size: 28px;
  font-weight: 800;
  color: #18357e;
  text-align: center;
  margin-bottom: 6px;
  position: relative;
}

/* subtle underline */
.gallery-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #f2b705;
  margin: 6px auto 0;
  border-radius: 4px;
}

/* =====================
   VALUES
===================== */
.gallery-values {
  background: #eef4ff;
  padding: 35px 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.value-item {
  background: white;
  padding: 10px 26px;
  border-radius: 50px;
  font-weight: 700;
  color: #0b3a82;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}


.gallery-years{
  max-width:1200px;
  margin:30px auto 10px;
  padding:0 20px;
}

.year-wrapper{
  display:flex;
  align-items:center;
  gap:14px;
}

.year-wrapper label{
  font-weight:700;
  color:#18357e;
  font-size:16px;
}

/* custom dropdown */
#yearSelect{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  background:#ffffff;
  border:2px solid #18357e;
  padding:10px 44px 10px 16px;
  border-radius:10px;

  font-size:15px;
  font-weight:700;
  color:#18357e;

  cursor:pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #18357e 50%),
    linear-gradient(135deg, #18357e 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 16px,
    calc(100% - 12px) 16px;
  background-size:6px 6px;
  background-repeat:no-repeat;
}

/* hover + focus */
#yearSelect:hover,
#yearSelect:focus{
  border-color:#0b3a82;
  outline:none;
}

.year-btn {
  padding: 10px 24px;
  border-radius: 30px;
  border: 2px solid #18357e;
  background: #fff;
  color: #18357e;
  font-weight: 700;
  margin: 5px;
  cursor: pointer;
}

.year-btn.active,
.year-btn:hover {
  background: #18357e;
  color: #fff;
}

.year-section {
  display: none;
}

.year-section.active {
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.gallery-card {
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
  overflow: hidden;
}

.gallery-card iframe,
.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: none;
}

.card-title {
  text-align: center;
  font-weight: 700;
  padding: 14px;
  color: #18357e;
}

/* VIDEO CARDS – SAME AS PHOTOS */
.video-grid .gallery-card{
  height: auto;          /* fixed height hata do */
  background:#fff;
}

.video-grid .gallery-card iframe,
.video-grid .gallery-card video{
  width:100%;
  height:220px;          /* photo jaisa fixed media height */
  border:0;
  display:block;
}

.video-grid .gallery-card .card-title{
  position: static;      /* normal flow */
  background: none;
  color: #18357e;
  padding: 12px;
  text-align: center;
}

.gallery-filter {
  margin: 40px 0;
}

.filter-btn {
  border: 2px solid #18357e;
  padding: 8px 22px;
  border-radius: 30px;
  background: #fff;
  color: #18357e;
  font-weight: 700;
  margin: 5px;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: #18357e;
  color: #fff;
}

@media(max-width:768px) {

  .gallery-card iframe,
  .gallery-card img {
    height: 200px;
  }
}
/* =======================
   RESPONSIVE
======================= */

/* Tablet */
@media (max-width: 768px){
  .video-grid .gallery-card iframe,
  .video-grid .gallery-card video{
    height: 200px;
  }

  .card-title{
    font-size: 14px;
    padding: 10px;
  }
}

/* Small phones */
@media (max-width: 480px){
  .video-grid .gallery-card iframe,
  .video-grid .gallery-card video{
    height: 170px;
  }

  .card-title{
    font-size: 13px;
    padding: 8px;
  }
}
/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {

  .gallery-hero {
    padding: 45px 16px;
  }

  .gallery-hero h1 {
    font-size: 28px;
  }

  .gallery-hero p {
    font-size: 14px;
  }

  .gallery-intro h2 {
    font-size: 24px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .featured-video iframe {
    height: 230px;
  }

  .gallery-grid-section {
    padding: 35px 16px 45px;
  }

  .gallery-grid {
    gap: 18px;
  }

  .card-title {
    font-size: 14px;
  }
  .gallery-years{
    margin:14px auto 6px;
  }

  .year-wrapper{
    flex-direction:column;     /* stack */
    align-items:flex-start;
    gap:6px;
  }

  .year-wrapper label{
    font-size:14px;
  }

  #yearSelect{
    width:100%;                /* full width */
    padding:10px 40px 10px 14px;
    font-size:15px;
  }

}

@media(max-width:600px) {
  .gallery-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {

  .gallery-years{
    margin: 6px auto 4px !important;
    padding: 0 12px !important;
  }

  .gallery-hero{
    padding-bottom: 16px !important;
  }

  .year-section{
    margin: 0 !important;
    padding: 0 !important;
  }

  .gallery-filter{
    margin-top: 6px !important;
    padding-top: 6px !important;
    margin-bottom: 6px !important;
  }

  .gallery-title{
    margin-bottom: 6px !important;
  }

  .gallery-title::after{
    margin: 3px auto 0 !important;
  }

  .gallery-grid-section{
    padding-bottom: 40px !important;
  }
  .gallery-filter {
    margin-bottom: 6px !important;
    padding-bottom: 6px !important;
  }

  .gallery-grid-section {
    padding-top: 6px !important;
  }
}

@media (max-width: 576px) {
  .filter-btn {
    padding: 5px 12px;
    font-size: 12px;
    border-width: 1.5px;
    margin: 3px;
    border-radius: 20px;
  }
}

.filter-center {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  width: 100%;
}


.gallery-filter {
  margin-bottom: 10px !important;
  padding-bottom: 8px !important;
}

.gallery-filter .filter-btn {
  margin-bottom: 4px !important;
}

.gallery-grid-section {
  padding-top: 10px !important;
}

.container-custom
{
  max-width:850px;
  margin:40px auto;
  padding:20px;}

/* HEADER */
.page-header{
  background:var(--card);
  padding:28px 30px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  margin-bottom:35px;
  max-width: 60%;        /* left-right gap kam karega */
  margin-left: auto;
  margin-right: auto;
}
.page-header h1{
  margin:0;
  color:var(--primary);
  font-size:34px;
  font-weight:700;
}
.page-header p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:16px;
}

/* HERO */
.hero-banner{
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  position:relative;
  margin-bottom:40px;
  height:65vh;        /* responsive height */
  min-height:420px;   /* prevents too small */
}

.hero-banner img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;   /* IMPORTANT */
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,rgba(0,0,0,.2),rgba(0,0,0,.6));
  padding:40px;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.hero-overlay h2{font-size:32px;margin:0;font-weight:700;}
.hero-overlay p{font-size:18px;margin:8px 0 0;}
.hero-btn{
  margin-top:14px;
  background:#fff;
  padding:10px 18px;
  border-radius:10px;
  color:var(--primary);
  font-weight:700;
  text-decoration:none;
  display:inline-block;
}

/* FILTERS */
.filters{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:25px 0;
}
.pill{
  padding:8px 16px;
  border:1px solid var(--primary);
  border-radius:999px;
  cursor:pointer;
  color:var(--primary);
  background:#fff;
  font-weight:600;
  transition:.2s;
}
.pill:hover{background:var(--primary);color:#fff;}
.pill.active{background:var(--primary);color:#fff;}

/* BLOG GRID */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:25px;
}
.blog-card{
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}

.blog-card img{
  width:100%;
  height:210px;
  object-fit:cover;
}
.blog-body{
  padding:18px;
}
.blog-cat{
  background:var(--yellow);
  padding:6px 10px;
  border-radius:8px;
  font-size:12px;
  color:#000;
  font-weight:600;
}
.blog-body h3{
  margin:10px 0 6px;
  color:var(--primary);
  font-size:20px;
  font-weight:bold;
}
.blog-body p{margin:0;color:var(--muted);font-size:15px;}
.blog-footer{
  padding:14px 18px;
  border-top:1px solid #eee;
  display:flex;
  justify-content:space-between;
}
.read-more{
  color:var(--primary);
  font-weight:700;
  text-decoration:none;
}

/* BLOG MODAL */
.modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(4px);
  justify-content:center;
  align-items:center;
  z-index:9999;
}
.modal.active{display:flex;}
.modal-box{
  background:#fff;
  width:90%;
  max-width:800px;
  padding:24px;
  border-radius:var(--radius);
  max-height:90vh;
  overflow:auto;
  position:relative;
}
.modal-close{
  position:absolute;
  top:12px;right:12px;
  background:var(--yellow);
  border:none;
  width:40px;
  height:40px;
  font-size:22px;
  border-radius:50%;
  cursor:pointer;
}

/* ============================
   MULTI VIDEO RESOURCE GALLERY
   ============================ */
.video-gallery{
  max-width:1000px;
  margin:auto;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:center;
}
.video-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:20px;
}
.video-thumb{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 12px 25px rgba(0,0,0,0.18);
}
.video-thumb img{
  width:100%;
  height:260px;
  object-fit:cover;
}
.video-play{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:42px;
  color:white;
}

.video-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.65);
  justify-content:center;
  align-items:center;
  z-index:99999;
}
.video-modal.active{display:flex;}
.video-modal-box{
  background:#000;
  padding:16px;
  border-radius:14px;
  width:90%;
  max-width:900px;
  position:relative;
}
.video-close{
  position:absolute;
  top:-18px;
  right:-18px;
  background:var(--yellow);
  border:none;
  width:40px;
  height:40px;
  border-radius:50%;
  font-size:22px;
  cursor:pointer;
}

.like-box{
  display:flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  font-weight:600;
  color:var(--primary);
}

.like-btn{
  font-size:18px;
}


.like-count{
  font-size:14px;
}

.like-box.liked{
  color:#18357e;
  transform:scale(1.05);
}

.admin-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-bottom:15px;
}

.admin-actions button{
  background:var(--primary);
  color:#fff;
  border:none;
  padding:8px 14px;
  border-radius:8px;
  font-weight:600;
  cursor:pointer;
  font-size:14px;
}

.admin-actions button:hover{
  background:#10265c;
}


/* ============================
   RESPONSIVE FIXES (ALL DEVICES)
   ============================ */

@media (max-width: 992px){
  .video-gallery{
    grid-template-columns:1fr;
  }

  .hero-banner{
    height:300px;
  }

  .hero-overlay h2{
    font-size:24px;
  }

  .hero-overlay p{
    font-size:15px;
  }
}

@media (max-width: 768px){

  .container-custom{
    margin:20px auto;
    padding:14px;
  }

  .page-header{
    padding:20px;
  }

  .page-header h1{
    font-size:24px;
  }

  .filters{
    justify-content:center;
  }

  .pill{
    font-size:13px;
    padding:6px 14px;
  }

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

  .video-thumb img{
    height:200px;
  }

  .video-modal-box iframe{
    height:260px;
  }
}

@media (max-width: 480px){

  .hero-banner{
    height:240px;
  }

  .hero-overlay{
    padding:20px;
  }

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

  .hero-btn{
    font-size:14px;
    padding:8px 14px;
  }

  .page-header{
    padding:18px;
  }

  .page-header h1{
    font-size:22px;
  }

  .video-thumb img{
    height:170px;
  }

  .modal-box{
    padding:16px;
  }
}

/* ===== GLOBAL RESPONSIVE FIX ===== */

@media (max-width: 1024px){
  .page-header{
    max-width: 85%;
  }
}

@media (max-width: 768px){
  .page-header{
    max-width: 100%;
    padding:20px;
  }

  .container-custom{
    padding:15px;
    margin:20px auto;
  }
}
@media (max-width: 600px){
  .admin-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .admin-actions button{
    width:100%;
  }
}