/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #535050;
}

/* NAVBAR */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 10px 40px;
}

/* Navbar */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 10px 40px;
  position: fixed;        /* fixed navbar */
  top: 0;                 /* always stick to top */
  left: 0;
  width: 100%;            /* full width */
  z-index: 1000;          /* above all content */
}

/* Add padding-top to body so content doesn't hide under navbar */
body {
  padding-top: 80px; /* same or slightly bigger than navbar height */
}
@media (max-width: 768px) {
  body {
    padding-top: 70px; /* mobile height adjust */
  }
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* LOGO */
.logo img {
  height: 50px;
}

/* NAV LINKS (DESKTOP) */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #08e6cc;
}



/* DONATE BUTTON */
.donate-btn {
  background: #58a097;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.donate-btn:hover {
  background: #08e6cc;
  transform: scale(1.05);
}
/* International Donors Button */
.donate-intl-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #ff6600;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.donate-intl-btn:hover {
  background: #e65c00;
  transform: scale(1.05);
}


/* HAMBURGER (DEFAULT HIDE ON DESKTOP) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* HERO SECTION */
.hero {
  position: relative;
  background: #08e6cc url(image/banner.png);
  padding: 100px 20px;
  text-align: center;
  color: #fff;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); /* dark overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
    color: #fff;

  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
    color: #fff;

  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  display: inline-block;
  padding: 12px 25px;
  background: #f1c40f;
  color: #222;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  background: #d4ac0d;
  transform: translateY(-3px);
}

/* ✅ Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 70px 15px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}


/* SECTIONS */
section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* GALLERY */
.services {
  padding: 40px;
  text-align: center;
  background: #f0f0f0;
}
.services h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.gallery-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding-bottom: 10px;
}
.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.gallery-item p {
  padding: 8px;
  font-weight: bold;
}

/* VIDEOS */
.videos {
  padding: 40px;
  text-align: center;
  background: #fff;
}

.videos h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* same as before */
  gap: 20px;
  margin-top: 20px;
}

.video-item {
  background: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.video-item video {
  width: 100%;
  border-radius: 8px;
}

.video-item p {
  font-weight: bold;
  margin-top: 10px;
}

/* ---------- Desktop enhancements only ---------- */
@media (min-width: 992px) {   /* desktop ke liye changes */
  .videos {
    padding: 60px 20px;
  }

  .videos h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #08e6cc; /* optional highlight */
  }

  .video-container {
    max-width: 1200px;
    margin: 0 auto; /* center align */
    gap: 25px;
  }

  .video-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  }

  .video-item video {
    aspect-ratio: 16/9;   /* consistent height/width */
    object-fit: cover;
  }

  .video-item p {
    font-size: 1rem;
  }
}

/* ABOUT SECTION */
.about {
  padding: 50px 40px;
  background: #ffffff;
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.about-text {
  flex: 1 1 400px;
}
.about-text h2 {
  font-size: 2rem;
  color: #08e6cc;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #444;
}
.about-image {
  flex: 1 1 300px;
  text-align: center;
}
.about-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background: #222;
  color: #ddd;
  margin-top: 40px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 40px;
  flex-wrap: wrap; /* Important for mobile wrapping */
}

.footer-about, 
.footer-contact, 
.footer-social {
  flex: 1 1 250px; /* responsive boxes */
  margin: 10px;
}

.footer-container h3,
.footer-container h4 {
  color: #fff;
  margin-bottom: 10px;
}

.footer-contact p,
.footer-about p {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.social-icons a {
  display: inline-block;
  color: #fff;
  font-size: 1.2rem;
  margin-right: 10px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #08e6cc;
}

.footer-bottom {
  background: #111;
  text-align: center;
  padding: 10px;
  font-size: 0.85rem;
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;      /* vertical layout */
    text-align: center;          /* center align content */
    padding: 20px;               /* reduce side padding */
  }

  .footer-about, 
  .footer-contact, 
  .footer-social {
    flex: 1 1 auto;              /* take full width */
    margin: 10px 0;              /* vertical spacing */
  }

  .social-icons a {
    margin: 0 8px;               /* balanced spacing in center */
  }
}

/* DONATE PAGE */
.donate-intro {
  background: #00796b;
  color: white;
  text-align: center;
  padding: 60px 20px;
}
.donate-intro h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}
.donate-intro p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.donate-container {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}
.donate-pk, .donate-intl {
  background: #f9f9f9;
  padding: 40px 0;
}
.donate-pk h2, .donate-intl h2 {
  color: #08e6cc;
  margin-bottom: 15px;
}
.donate-pk ul, .donate-intl ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}
.donate-pk li, .donate-intl li {
  font-size: 1rem;
  margin-bottom: 8px;
}
.donate-intl{
  color: #00796b;
}
.donate-intl a{
  background: #00796b;
  
}

.your-impact {
  text-align: center;         /* text center for all inside */
  max-width: 700px;           /* optional: limit width for better readability */
  margin: 0 auto;             /* horizontally center the container */
  padding: 40px 20px;         /* spacing top/bottom and left/right */
}

.your-impact h1 {
  font-size: 2rem;            /* adjust as needed */
  margin-bottom: 12px;        /* space below heading */
}

.your-impact p {
  font-size: 1rem;            /* adjust as needed */
  line-height: 1.6;           /* better readability */
  color: #333;                /* optional: darker text */
}

.your-impact {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.your-impact h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.your-impact p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* WhatsApp button styling */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #25D366; /* WhatsApp green */
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 50px; /* pill style */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.whatsapp-btn:hover {
  background-color: #1ebe5b; /* slightly darker green */
  transform: scale(1.05);
}

.whatsapp-btn svg {
  flex-shrink: 0;
}


/* RESPONSIVE NAV (MOBILE) */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid #ddd;
  }
  .nav-links.active {
    max-height: 300px;
  }
  .menu-toggle {
    display: flex;
  }
  /* Hamburger to X animation */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Footer mobile stack */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  nav {
    position: relative;
    z-index: 1000; /* Navbar always top */
  }

  .nav-links {
    position: absolute;
    top: 60px; /* navbar ke neeche khule */
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background: #fff; /* transparent remove */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid #ddd;
    z-index: 1000; /* click priority upar */
  }

  .nav-links.active {
    max-height: 300px; /* adjust for menu size */
    pointer-events: auto; /* click allow */
  }

  .menu-toggle {
    display: flex;
    cursor: pointer;
    z-index: 1001; /* hamburger bhi upar */
  }

  /* Optional: Prevent hero from overlapping */
  .hero, .banner {
    position: relative;
    z-index: 1; /* navbar ke neeche */
  }
}
 
/* Impact Page Styling */


/* IMPACT PAGE STYLING */
/* Section Base */
.impact-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.impact-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.impact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: #0e0a0a;
}

.impact-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 30px;
}

/* Card Layout */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.impact-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* Image Common Style */
.impact-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.impact-card img:hover {
  transform: scale(1.05);
}

/* Circle Shape */
.circle-img {
  clip-path: circle(50%);
}

/* Hexagon Shape */
.hexagon-img {
  clip-path: polygon(
    25% 6.7%, 75% 6.7%,
    100% 50%, 75% 93.3%,
    25% 93.3%, 0% 50%
  );
}

/* Responsive */
@media (max-width: 768px) {
  .impact-section h2 {
    font-size: 2rem;
  }
  .impact-card img {
    height: 200px;
  }
}


/* ================= DROPDOWN ================= */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  text-decoration: none;
  padding: 10px;
  color: white; /* navbar color ke hisaab se change karein */
  font-weight: 500;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333; /* dropdown background */
  min-width: 180px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 9999; /* suggestions ke upar aane ke liye */
  border-radius: 5px;
}

.dropdown-content a {
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #444;
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-content {
  display: block;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .dropdown {
    display: block;
    width: 100%;
  }

  .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 15px;
    background: #333;
    border: none;
  }

  .dropdown-content {
    position: relative;
    background-color: #444;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown-content a {
    padding: 10px;
  }

  /* Click to toggle dropdown on mobile */
  .dropdown-content {
    display: none;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }
}


/*project.html*/

.hero-project{
  background: #24a3a3;
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 1000; /* lower than suggestions */

}
/* Button */
.cta-btn {
  display: inline-block;
  background: #00796b;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  margin-top: 20px; /* paragraph aur button ke beech gap */
}
.cta-btn:hover {
  background: #066156;
}

@media (max-width: 768px) {
  .cta-btn {
    margin-bottom: 30px; /* sirf mobile ke liye neeche space */
  }
}




/* ================= Volunteer Page ================= */

.volunteer-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.volunteer-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.volunteer-section .section-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

.volunteer-section .section-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.volunteer-form {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.volunteer-form .form-group {
  margin-bottom: 20px;
}

.volunteer-form label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.volunteer-form input:focus,
.volunteer-form select:focus,
.volunteer-form textarea:focus {
  border-color: #2e86de; /* theme color */
  outline: none;
}

.volunteer-form textarea {
  resize: none;
}

.volunteer-form .btn {
  display: inline-block;
  background: #2e86de; /* theme color */
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.volunteer-form .btn:hover {
  background: #1e5cad;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .volunteer-section {
    padding: 40px 15px;
  }

  .volunteer-form {
    padding: 20px;
  }
}


/* WHY VOLUNTEER SECTION */
.why-volunteer {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.why-volunteer h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #333;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.reason-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-8px);
}

.reason-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.reason-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #444;
}

.reason-card p {
  font-size: 1rem;
  color: #666;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .why-volunteer h2 {
    font-size: 1.8rem;
  }
  .reason-card img {
    height: 150px;
  }
}

/* story.css */

/* ===== Stories Layout ===== */
.stories {
  width: 90%;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.story {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.story.reverse {
  flex-direction: row-reverse;
}

.story-text {
  flex: 1;
}

.story-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #222;
}

.story-text p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* ===== Story Image Carousel ===== */
.story-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  height: 380px;
}

.story-image img,
.story-image video {
  position: absolute;
  inset: 0;
  width: 800px;
  height: 700px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  border-radius: 20px;
  display: none;
}

.story-image img.active,
.story-image video.active {
  opacity: 1;
  display: block;
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
  .story,
  .story.reverse {
    flex-direction: column;
    text-align: center;
  }

  .story-text {
    order: 2;
    padding: 10px;
  }

  .story-image {
    order: 1;
    width: 100%;
    height: auto;         /* ✅ height fix */
    position: relative;   /* ✅ relative rakho */
  }

  .story-image img,
  .story-image video {
    position: static;     /* ✅ absolute hata diya */
    display: none;        /* ✅ sirf active dikhega */
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: contain;  /* ✅ crop nahi hoga */
    border-radius: 12px;
  }

  .story-image img.active,
  .story-image video.active {
    display: block;       /* ✅ active dikh jaega */
  }
}



/* 📌 Intro Text */
.treatment-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  color: #444;
  text-align: center;
  line-height: 1.6;
}

/* 📌 Treatment Steps Grid */
.treatment-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Desktop: 2 cards per row */
  gap: 40px;
  margin: 50px auto;
  width: 90%;
  max-width: 1200px;
}

/* 📌 Each Step Card with Gradient Border */
.treatment-steps .step {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Gradient Border Effect */
.treatment-steps .step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, #00c6ff, #4caf50, #0072ff, #00c9a7);
  background-size: 300% 300%;
  z-index: -1;
  animation: gradientBorder 8s ease infinite;
}

/* Animate the gradient */
@keyframes gradientBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Card Hover */
.treatment-steps .step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* 📌 Video Styling */
.treatment-steps .step video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-steps .step video:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* Headings */
.treatment-steps .step h2 {
  margin: 12px 0;
  font-size: 1.6rem;
  color: #222;
  font-weight: 700;
}

/* Paragraph */
.treatment-steps .step p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
  .treatment-steps {
    grid-template-columns: 1fr; /* Mobile: 1 column */
    gap: 25px;
  }

  .treatment-steps .step {
    padding: 15px;
  }

  .treatment-steps .step video {
    height: auto;
  }

  .treatment-steps .step h2 {
    font-size: 1.4rem;
  }

  .treatment-steps .step p {
    font-size: 0.95rem;
  }
}

/*✅ our-project.css*/
/* Hero Section */
.project-hero {
  padding: 60px 10%;
  background: #fff url('image/banne.png') no-repeat center/cover;
  text-align: left;
  position: relative; /* ✅ important for z-index to work */
  z-index: 1; /* lower than suggestions */
}


.project-hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
}
.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #004080;
}
.hero-text .city {
  font-family: 'Pacifico', cursive;
  font-size: 2.8rem;
  color: #f5c518;
}
.hero-text p {
  margin: 20px 0;
  line-height: 1.6;
  color: #130909;
}
.read-btn {
  display: inline-block;
  background: #f5c518;
  color: #004080;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 20px;
  text-decoration: none;
}
.hero-image img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Stats Section */
.stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.stat-box {
  flex: 1 1 150px;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  color: #004080;
}
.stat-box h2 {
  font-size: 2rem;
  margin: 0;
}
.stat-box.yellow { background: #f5c518; }
.stat-box.blue { background: #cce0ff; }

/* Facility Section */
.facility {
  padding: 60px 10%;
}
.facility-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.facility-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #004080;
}
.facility-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 15px;
}
.facility-gallery img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Services */
.services-p {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 30px;
  padding: 60px 10%;
  background: #f9f9f9;
}
.service-box {
  background: #fff;
  padding: 20px;
  border-left: 6px solid #f5c518;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.service-box h3 {
  color: #004080;
  font-size: 1.5rem;
}
.service-box span {
  color: #f5c518;
  font-weight: bold;
  margin-right: 10px;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  /* Hero Section */
  .project-hero {
    padding: 40px 5%;
    text-align: center;
    background-position: center;
  }

  .project-hero-content {
    flex-direction: column;
    gap: 20px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text .city {
    font-size: 2.2rem;
  }

  .hero-image img {
    width: 250px;
    height: 250px;
    border: 6px solid #fff;
  }

  /* Stats Section */
  .stats {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }

  .stat-box h2 {
    font-size: 1.6rem;
  }

  /* Facility Section */
  .facility {
    padding: 40px 5%;
  }

  .facility-text h2 {
    font-size: 1.6rem;
  }

  /* Services */
  .services-p {
    grid-template-columns: 1fr;
    padding: 40px 5%;
    gap: 20px;
  }

  .service-box h3 {
    font-size: 1.3rem;
  }
}


/* Support Section */
.support {
  padding: 80px 10%;
  background: linear-gradient(rgba(0,64,128,0.8), rgba(0,64,128,0.9)), 
              url('image/banner.png') center/cover no-repeat;
  color: #fff;
  text-align: center;
  border-radius: 12px;
  margin: 60px auto;
}

.support h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #f5c518;
}

.support p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.support-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.support-btn {
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.support-btn.donate {
  background: #f5c518;
  color: #004080;
}

.support-btn.volunteer {
  background: #fff;
  color: #004080;
}

.support-btn.share {
  background: transparent;
  border: 2px solid #f5c518;
  color: #f5c518;
}

.support-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ✅ Mobile Responsive */
@media (max-width: 768px) {
  .support {
    padding: 50px 20px;
    margin: 40px 10px;
  }

  .support h2 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .support p {
    font-size: 1rem;
  }

  .support-actions {
    flex-direction: column;
    gap: 15px;
  }

  .support-btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
  }
}

/*visit.html*/
form {
  display:flex;
  flex-direction:column;
  gap:15px;
}
input, textarea {
  padding:10px;
  border:1px solid #ccc;
  border-radius:6px;
}
button {
  padding:12px;
  background:#00796b;
  color:#fff;
  border:none;
  border-radius:8px;
  font-weight:600;
  cursor:pointer;
}
button:hover { background:#004d40;} 

/* ================= SEARCH BAR ================= */
.search-bar {
  display: flex;
  justify-content: center;  /* ✅ horizontally center */
  padding: 10px 0; 
  background: #f8f8f8;
  position: relative;
  z-index: 999;
}

.search-bar input {
  padding: 10px 14px;   /* ✅ bar ko thoda mota */
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 350px;         /* ✅ size bara */
  font-size: 16px;      /* ✅ text bara */
  outline: none;
  transition: all 0.3s ease;
}

.search-bar input:focus {
  border-color: #28a745;
  box-shadow: 0 0 6px rgba(40, 167, 69, 0.3);
}

/* ================= SUGGESTIONS ================= */
#suggestions {
  position: absolute;
  top: calc(100% + 6px); /* gap below search box */
  left: 0;
  background: #fff; /* better readability */
  border: 1px solid #ddd;
  border-radius: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  display: none; /* shown via JS */
  width: 100%;
  z-index: 1000; /* above everything */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#suggestions li {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  color: #333; /* dark text for readability */
  transition: background 0.2s ease, color 0.2s ease;
}

#suggestions li:hover {
  background: #f1f1f1;
  color: #28a745; /* theme color */
}
#suggestions li.highlight {
  background: #007bff;
  color: white;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .search-bar {
    justify-content: center; /* center in mobile */
    padding: 10px;
  }

  .search-bar input {
    width: 100%;
    max-width: 300px;
  }

  #suggestions {
    left: 50%;
    transform: translateX(-50%);
    width: 90%; /* almost full width */
  }
}


.founder-section {
  background: #f9fafb;
  padding: 60px 20px;
}

.founder-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.founder-image {
  flex: 1 1 350px;
  text-align: center;
}

.founder-image img {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.founder-content {
  flex: 2 1 500px;
}

.founder-content h2 {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
}

.founder-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 3px;
  background-color: #27ae60;
  border-radius: 2px;
}

.founder-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 15px;
  text-align: justify;
}

@media (max-width: 768px) {
  .founder-container {
    flex-direction: column;
    text-align: center;
  }

  .founder-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}



