/* Navbar*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

.top-header {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 10px 15px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 50px;
}

.title-text h1 {
  font-size: 16px;
  font-weight: 700;
}

.title-text p {
  font-size: 12px;
  color: #555;
}

.navbar {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  padding-left: 100px;
  float: right;
}

.navbar a {
  text-decoration: none;
  color: #000;
  font-size: 13px;
  font-weight: 500;
}

.navbar a:hover {
  color: #c40000;
}

.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 10px;
  }

  .navbar.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
.hero {
  padding: 60px 15px;
  text-align: center;

  background: #fff9f9;
  background-size: cover;
  padding: 60px 15px;
  text-align: center;
}
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #ffffff;
}
.hero .red {
  color: #9b1c1c;
  font-weight: 700;
}
.hero h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero .black {
  color: #111;
  font-weight: 700;
}

.hero p {
  max-width: 800px;
  margin: 0 auto 40px;
  color: #444;
  font-size: 15px;
  line-height: 1.8;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/Warli_art_d-768x512 copy 2.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

/*slider container*/

.hero-container {
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
  padding: 20px 0;
}

.image-row {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollLoop 100s linear infinite; /*speed*/
}

.img-card {
  flex: 0 0 500px;
  height: 300px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes scrollLoop {
  0% {
    transform: translateX();
  }
  100% {
    transform: translateX(calc(-50% - 15px));
  }
}

.image-row:hover {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .img-card {
    flex: 0 0 300px;
    height: 200px;
  }

  .image-row {
    flex-direction: row !important;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 26px;
  }

  .image-row {
    flex-direction: column;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f7f5f3;
  color: #333;
}

/* MAIN WRAPPER */
.page-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 30px 15px;
}

/* STATS */
.stats-box {
  background: #fff;
  padding: 0px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  position: relative; /* Needed for pseudo-element */
  background: #8b1c24;
  color: #fff;
  width: 120px;
  height: 100px;
  border-radius: 20px;
  /* border: 2px solid #fff;         Outer solid border */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.2);*/
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  /* overflow: hidden;              /* Ensure inner border stays inside */
}

.stat-card img {
  width: 100%;
  height: 100%;
  /* 'cover' fills the box, 'contain' shows the whole image */
  object-fit: cover;
  /* Ensures the image stays behind any text if necessary */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Inner dotted border */
.stat-card::before {
  content: "";
  position: absolute;
  top: 6px; /* adjust spacing from outer border */
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 3px dotted #fff; /* Inner dotted border */
  border-radius: 8px; /* slightly smaller than outer radius */
}

/* Hover effect */
.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.stat-title {
  font-size: 14px;
  margin-bottom: 5px;
  z-index: 1; /* Ensure text is above inner border */
  position: relative;
}

.stat-value {
  font-size: 20px;
  font-weight: bold;
  z-index: 1; /* Ensure text is above inner border */
  position: relative;
}

.stat-title {
  font-size: 14px;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 20px;
  font-weight: bold;
}

/* CONTENT  SECTION */

.content-section {
  display: flex;
  gap: 40px;
  align-items: stretch;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}

.image-box {
  flex: 1;
  max-width: 500px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.text-box {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-box p {
  /* This creates the space at the start of the first line */
  text-indent: 60px;

  /* This makes the edges look clean like a book/newspaper */
  text-align: justify;

  /* Adds a little breathing room between paragraphs */
  margin-bottom: 15px;

  /* Adjust line spacing for better readability of Marathi script */
  line-height: 1.2;
}

/* Style for the "Sandesh" section to match your image */
.sandesh p1 {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

@media (max-width: 900px) {
  .content-section {
    flex-direction: column;
    align-items: center;
  }
  .image-box img {
    height: 300px;
  }
}
/* --- SOCIAL INITIATIVES SECTION STYLES --- */

/* --- SOCIAL INITIATIVES SECTION: FULL COVERAGE & HOVER EFFECTS --- */
.initiative-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 5;
}

.initiative-card {
  cursor: pointer;
}

a {
  text-decoration: none; /* removes underline */
  color: inherit; /* uses parent text color */
}

.social-initiatives-wrapper {
  background-color: #8b2635; /* Main Background */
  padding: 15px; /* Small margin from screen edge */
  width: 100%;
}

.outer-container {
  width: 95 !important;
  max-width: 1400px !important; /* Max width to fill screen */
  margin: 0 auto;
  border: 8px dotted #fff;
  padding: 0%;
}

.inner-dotted-border {
  /* this is splid norder not dotted */
  border: 2px solid #fff;
  padding: 30px !important;
  width: 100%;
}

/* Header (1st Container) */
.initiative-header {
  text-align: center;
  color: #ffffff;
  margin-bottom: 40px;
}

.initiative-header h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.initiative-header p {
  font-size: 15px;
  max-width: 850px;
  margin: 0 auto;
}

.small-divider {
  width: 200px;
  height: 1px;
  background: #ffffff;
  margin: 15px auto 0;
}

/* Grid setup for 2 columns */
.initiatives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
}

/* Card Styling with Hover Effects */
.initiative-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  min-height: 280px; /* Uniform sizing */
  height: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

  /* Hover Transition Properties */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  position: relative;
  top: 0;
}

/* --- HOVER EFFECT --- */
.initiative-card:hover {
  top: -10px; /* Lifts card up */
  background-color: #fcfcfc;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4); /* Deeper shadow */
  transform: scale(1.02); /* Slight zoom in */
}

.card-top {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.icon-holder {
  width: 65px;
  height: 65px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: transform 0.3s ease;
}

/* Icon also rotates slightly on hover */
.initiative-card:hover .icon-holder {
  transform: rotate(5deg);
}

.icon-holder img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
}

.initiative-card h3 {
  font-size: 19px;
  color: #111;
  font-weight: 700;
}

.initiative-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* List Items */
.initiative-list {
  margin-top: 10px;
  padding-left: 20px;
}

.initiative-list li {
  font-size: 13px;
  margin-bottom: 5px;
  color: #222;
}

/* Color Classes */
.purple-bg {
  background-color: #4b3b6b;
}
.gold-bg {
  background-color: #b1936b;
}
.orange-bg {
  background-color: #e67e5f;
}
.blue-bg {
  background-color: #3498db;
}
.green-bg {
  background-color: #214d23;
}
.pink-bg {
  background-color: #e84393;
}

/* Responsive Mobile view */
@media (max-width: 850px) {
  .initiatives-grid {
    grid-template-columns: 1fr;
  }
  .initiative-card:hover {
    top: -5px; /* Less lift on mobile */
  }
}

.vision-goals-section {
  background-color: #f1f1f1;
  background-image: url("assets/Warli_art_d-768x512 copy 2.webp");
  background-repeat: repeat;
  background-blend-mode: overlay;

  padding: 60px 5%; /* Flexible side padding */
  width: 100%;
}

.vision-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  /* This makes it responsive: 2 columns on desktop, 1 on mobile automatically */
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.vision-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.vision-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.vision-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.vision-icon-box {
  flex-shrink: 0; /* Prevents icon from squishing */
  width: 70px;
  height: 70px;
  border-radius: 15px;
  background: linear-gradient(135deg, #a5433d 0%, #7d1d18 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

/* SVG Specific Styling */
.vision-svg {
  width: 35px;
  height: 35px;
}

.vision-card h2 {
  color: #8b1c24;
  font-size: clamp(22px, 5vw, 28px); /* Fluid typography */
  font-weight: 700;
  margin: 0;
}
.vision-content p1 {
  display: block;
  text-indent: 50px;
  text-align: justify; /* Keeps the edges clean */
  line-height: 1.8; /* Better readability for Marathi text */
  margin-bottom: 15px;
}

.vision-content p,
.goal-list li {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.goal-list {
  list-style: none;
  padding: 0;
}

.goal-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
}

/* Custom SVG Checkmark for list */
.goal-list li::before {
  content: url("assets/correct tick.svg");
  position: absolute;
  left: 0;
  top: 2px;
}

/* Small Screens adjustment */
@media (max-width: 480px) {
  .vision-card {
    padding: 30px 20px;
  }
  .vision-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .vision-icon-box {
    margin-bottom: 15px;
  }
}
/* --- TEAM SECTION STYLES --- */

.team-section {
  background-color: #fffaf8; /* Very light warm background */
  padding: 60px 20px;
  text-align: center;
}

.team-container {
  max-width: 1100px;
  margin: 0 auto;
}

.mt-50 {
  margin-top: 80px;
}

.team-header h2 {
  font-size: 28px;
  color: #222;
  font-weight: 700;
  margin-bottom: 10px;
}

.team-header p {
  font-size: 14px;
  color: #666;
  margin-bottom: 40px;
}

/* Flexbox for the 3 and 4 layout */
.members-flex-top,
.members-flex-bottom {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 25px;
}

/* Grid for the 14 members section */
.karykari-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
}

/* THE CARD DESIGN */
.member-card {
  background: #ffffff;
  width: 220px; /* Fixed width for passport look */
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

/* HOVER EFFECT */
.member-card.hover-effect:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(131, 42, 49, 0.2);
  border-color: #832a31;
}

/* Passport Photo Styling */
.passport-photo {
  width: 100%;
  aspect-ratio: 4 / 5; /* Standard passport ratio */
  overflow: hidden;
  border-radius: 8px;
  background: #f0f0f0;
  margin-bottom: 12px;
  border: 1px solid #ddd;
}

.passport-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-info .m-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

  .member-info .m-role {
    font-size: 13px;
    color: #832a31; /* Theme Maroon */
    font-weight: 700;
  }

/* Responsive */
@media (max-width: 768px) {
  .member-card {
    width: 160px; /* Smaller cards on mobile */
    padding: 10px;
  }
  .m-name {
    font-size: 12px;
  }
  .m-role {
    font-size: 11px;
  }
}

/*app promo section */

.app-promo-section {
  position: relative;
  background: linear-gradient(135deg, #8b1a1a 0%, #5a0f0f 100%);
  padding: 40px 5%;
  overflow: hidden;
  color: #fff;
  display: flex;
  justify-content: center;
  min-height: 500px; /* Reduced height */
}

.promo-wrapper {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  z-index: 2;
}

/* Faded Hearts */
.faded-heart {
  position: absolute;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white" opacity="0.05"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>');
  background-size: contain;
  z-index: 1;
}
.heart-sm {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 5%;
}
.heart-md {
  width: 150px;
  height: 150px;
  bottom: -20px;
  right: 40%;
}
.heart-lg {
  width: 250px;
  height: 250px;
  top: -50px;
  right: -50px;
}

/* Text & Title */
.app-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 15px;
  border-radius: 6px;
  font-size: 13px;
  display: inline-block;
  margin-bottom: 15px;
}

.app-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.app-info {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 25px;
}

/* Compact Feature Buttons */
.feature-buttons {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
}

.f-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  font-size: 14px;
  transition: 0.3s;
}

/* Side-by-Side Phones */
.phone-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: -20px; /* Overlap effect if desired */
}

.phone-img {
  width: 300px; /* Reduced phone size */
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

.phone-2 {
  margin-left: -30px; /* This makes them sit "together" like the UI */
  margin-top: 40px; /* Staggered height effect */
}

/* Store Buttons Styling */
.store-links {
  display: flex;
  gap: 10px;
  align-items: center;
}
.store-links img {
  height: 40px;
}

/* Responsive */
@media (max-width: 850px) {
  .promo-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .feature-buttons,
  .store-links {
    justify-content: center;
  }
  .phone-img {
    width: 160px;
  }
}
/* ===== FOOTER STYLE ===== */
/* Footer Base Styling */
.site-footer {
  background-color: rgba(
    0,
    0,
    0,
    0.95
  ); /* Deep dark brown with slight transparency */
  opacity: 95%;
  color: #ffffff;
  padding: 60px 20px 20px 20px;
  font-family: "Arial", sans-serif; /* Use a font that supports Marathi well */
  line-height: 1.6;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 100px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

/* About Section */
.footer-logo {
  width: 150px;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 14px;
  color: #cccccc;
  text-align: justify;
}

/* Headings */
.footer-column h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: bold;
}

/* List Styling */
.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

/* Contact Section */
.footer-column p {
  color: #cccccc;
  margin-bottom: 20px;
}

/* Copyright Section */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 10px;
}

.footer-bottom hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: #888888;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

/*-----------------------------------------------------------------------------

/* --- Global Width Fix  override */

.hero,
.social-initiatives-wrapper,
.vision-goals-section,
.team-section,
.site-footer {
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  left: 0;
  right: 0;
}

.hero-container,
.outer-container,
.vision-container,
.team-container,
.footer-container {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 10px;
}

@media (max-width: 768px) {
  .hero-container,
  .outer-container,
  .vision-container,
  .team-container,
  .footer-container {
    padding: 0 15px;
  }
}

/*---nav  correction-----*/
/* --- Navbar & Header Correction --- */

.top-header {
  width: 100% !important;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-header .container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 10px 20px !important;
  float: none !important;
}

.navbar {
  display: flex !important;
  gap: 20px !important;
  float: none !important;
  margin-top: 0 !important;
  padding-left: 0 !important;
}

.navbar a {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #000;
  text-decoration: none;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .top-header .container {
    padding: 10px 15px !important;
  }

  .navbar {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column !important;
    padding: 20px !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .navbar.show {
    display: flex !important;
  }

  .menu-toggle {
    display: block !important;
  }
}

/*amche samjik upkram override */

/* 1. Update Grid to 3 Columns */
.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Forces exactly 3 equal columns */
  gap: 20px; /* Reduced gap for smaller cards */
  width: 100%;
}

/* 2. Adjust Card Sizing (Making them smaller) */
.initiative-card {
  padding: 18px; /* Reduced from 25px */
  min-height: 200px; /* Reduced from 280px */
  border-radius: 10px;
}

/* 3. Scale down elements inside the card */
.icon-holder {
  width: 50px; /* Reduced from 65px */
  height: 50px; /* Reduced from 65px */
  margin-right: 12px;
}

.icon-holder img {
  width: 28px; /* Smaller icons */
  height: 28px;
}

.initiative-card h3 {
  font-size: 16px; /* Smaller titles */
  line-height: 1.3;
}

.initiative-card p {
  font-size: 13px; /* Smaller text */
  line-height: 1.5;
}
/* Add indentation to the first paragraph in each card */
.initiative-card p {
  text-indent: 35px; /* Creates the blank space at the start */
  text-align: justify; /* Makes the right edge clean */
  margin-top: 10px; /* Adds space between the title/icon and text */
}

/* If you have lists inside the cards, you may want to keep them aligned left */
.initiative-list {
  text-indent: 0; /* Ensures bullet points don't get shifted */
}

/* 4. Fix for the Outer Container (Correcting your !important syntax) */
.outer-container {
  width: 95% !important; /* Added % sign */
  max-width: 1400px !important;
  margin: 0 auto;
}

/* 5. Responsive Fixes */
@media (max-width: 1024px) {
  .initiatives-grid {
    grid-template-columns: 1fr 1fr; /* 2 cards on Tablets */
  }
}

@media (max-width: 650px) {
  .initiatives-grid {
    grid-template-columns: 1fr; /* 1 card on Mobile */
  }
}

/* 1. Main Wrapper - Ensure it touches screen edges */
.social-initiatives-wrapper {
  background-color: #8b2635;
  padding: 20px 0;
  width: 100%;
  overflow-x: hidden; /* Prevents tiny horizontal scrolls on mobile */
}

/* 2. Outer Container - Fluid width for all screens */
.outer-container {
  width: 96% !important; /* Balanced width for all devices */
  max-width: 1800px !important;
  margin: 0 auto;
  border: 8px dotted #fff;
  padding: 8px; /* Slightly reduced for mobile-first feel */
  box-sizing: border-box;
}

/* 3. Inner Border - Responsive padding */
.inner-dotted-border {
  border: 2px solid #fff;
  padding: 40px !important;
  width: 100%;
  box-sizing: border-box;
}

/* 4. Grid - 3 Columns for Desktop */
.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
}

/* --- RESPONSIVE OVERRIDES --- */

/* Tablet View: Switch to 2 columns */
@media (max-width: 1024px) {
  .initiatives-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .inner-dotted-border {
    padding: 25px !important; /* Save space on tablets */
  }
}

/* Mobile View: Switch to 1 column */
@media (max-width: 768px) {
  .initiatives-grid {
    grid-template-columns: 1fr;
  }

  .outer-container {
    width: 98% !important; /* Stretch closer to edges on small phones */
    border-width: 5px; /* Slightly thinner dots for small screens */
  }

  .inner-dotted-border {
    padding: 20px !important; /* Minimal padding for small screens */
  }

  /* Adjust font size for mobile titles so they don't break */
  .initiative-header h1 {
    font-size: 24px;
  }
}

/* css fo activity======*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background: linear-gradient(135deg, #f6f9ff, #e9efff);
  display: block;
  justify-content: center;
  align-items: center;
}

.donation-container {
  text-align: center;
  padding: 20px;
}

.donation-container h2 {
  font-size: 28px;
  color: #222;
}

.subtitle {
  color: #666;
  margin: 10px 0 20px;
}

.donation-card {
  background: #fff;
  width: 100%;
  max-width: 380px;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.donation-card label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
}

.donation-card input {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.amount-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.amount-buttons button {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #4f7cff;
  background: #f4f7ff;
  color: #4f7cff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.amount-buttons button:hover {
  background: #4f7cff;
  color: #fff;
}

.donate-btn {
  width: 100%;
  background: linear-gradient(135deg, #4f7cff, #6b8cff);
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.donate-btn:hover {
  opacity: 0.9;
}

/* Mobile Friendly */
@media (max-width: 480px) {
  .donation-card {
    padding: 20px;
  }
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding: 0 15px;
}

/* ==========================================
   UPDATED FINAL MOBILE FIX (HEAD CUT & BORDER) 
   ========================================== */

/* 1 (Border Cut) */
.social-initiatives-wrapper {
  width: 100% !important;
  padding: 10px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.outer-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  border: 5px dotted #fff !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .members-flex-top,
  .members-flex-bottom,
  .karykari-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 10px !important;
  }

  .member-card {
    flex: 0 0 calc(50% - 15px) !important;
    width: auto !important;
    min-width: 140px !important;
    padding: 8px !important;
    height: auto !important;
  }

  .passport-photo {
    height: 180px !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 8px !important;
  }

  .passport-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;

    object-position: top center !important;
  }

  .m-name {
    font-size: 12px !important;
    line-height: 1.2 !important;
    margin-top: 5px !important;
  }
}

@media (max-width: 768px) {
  .initiatives-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  .initiative-card p {
    text-indent: 0 !important;
    text-align: left !important;
  }
}

@media (max-width: 768px) {
  .phone-stack {
    margin-top: 30px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .phone-img {
    width: 130px !important;
  }

  .phone-2 {
    margin-left: -40px !important;
  }
}

.vision-goals-section {
  background-size: cover !important;
  background-position: center !important;
  padding: 30px 10px !important;
}

@media (max-width: 768px) {
  .navbar.show {
    display: flex !important;
  }
}
