/* Reset basics */

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #fafafa;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 20px 0;
  
}

header h1 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav a {
  color: #ecf0f1;
  font-size: 1.1rem;
  transition: color 0.3s;
}

nav a:hover {
  color: #f1c40f;
}

/* Hero section */
.hero {
  background-image: url('images/perspectiveDesign.png'); /* your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh; /* full screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* dark overlay for better text visibility */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.btn {
  padding: 12px 25px;
  color: #fff;
  background-color: #e67e22;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #d35400;
}

/* Main content area */
main {
  padding: 0px 0px;
  max-width: 1000px;
  margin: auto;
}

section {
  margin-bottom: 60px;
}

/* About / Trustees */
.trustees {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
}

.trustee {
  width: calc(33% - 20px);
  text-align: center;
}

.trustee img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  max-width: 200px;
}

.trustee h4 {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #2c3e50;
}

/* Gallery / Images */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Quotations block */
.quote-block {
  position: relative;
  background: url('images/quote-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 80px 30px;
  text-align: center;
}

.quote-block .quote {
  font-size: 2rem;
  font-style: italic;
  max-width: 800px;
  margin: auto;
}

.quote-block .author {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Proposal layout */
.proposal-list {
  list-style: disc inside;
  margin-top: 20px;
}

.proposal-images {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.proposal-images img {
  width: calc(50% - 10px);
  height: auto;
  border-radius: 8px;
}

/* Contact form */
form {
  max-width: 600px;
  margin: auto;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  display: inline-block;
  background-color: #27ae60;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background-color: #229954;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  text-align: center;
  padding: 20px 0;
  margin-top: 60px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.logo {
  width: 70px;
  height: 70px;
  border-radius: 60%;
}
.marquee {
  background-color: #f1c40f;
  color: #2c3e50;
  font-weight: bold;
  font-size: 1.2rem;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  line-height: 1.5;
  padding: 10px 0;
  margin: 0;  /* important */
}

.scrolling-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.donate {
  background-color: #f9f3e2;
  padding: 60px 20px;
  text-align: center;
}

.donate h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.donate p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333;
}

.donation-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.donation-box {
  background: #fff;
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.donation-box h3 {
  margin-bottom: 10px;
  color: #e67e22;
}

.donation-box p {
  margin-bottom: 20px;
  color: #555;
}


.donation-info {
  background-color: #fef8e7;
  padding: 40px 20px;
  text-align: center;
}

.donation-info h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #d35400;
}

.donation-info p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
}

.bank-details {
  margin: 20px auto;
  display: inline-block;
  text-align: left;
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.contact-form {
  background-color: #fefefe;
  padding: 40px 20px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}

.contact-form label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: vertical;
}

.contact-form .btn {
  margin-top: 20px;
  background-color: #e67e22;
  color: #fff;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 5px;
}

.contact-form .btn:hover {
  background-color: #cf711f;
}


.trustees {
  background-color: #f9f3e7;
  padding: 60px 20px;
  text-align: center;
}

.trustees h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 15px;
}

.trustees p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #555;
}

.trustee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* fixed two-column layout */
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px;
}

.trustee {
  background-color: #fff;
  padding: 15px 20px;
  width:auto;
  border-left: 5px solid #e67e22;
  border-radius: 5px;
  font-weight: 500;
  color: #333;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.2s;
}

.trustee:hover {
  transform: translateY(-4px);
}

/* 🔁 Responsive: Stack to 1 column on small screens */
@media (max-width: 600px) {
  .trustee-grid {
    grid-template-columns: 1fr;
  }
}

.gita-quote {
  background-color: #f0ede2;
  padding: 40px 20px;
  text-align: center;
  margin: 40px auto;
  border-radius: 8px;
  max-width: 800px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.gita-quote blockquote {
  font-family: 'Georgia', serif;
  font-size: 1.4rem;
  color: #4b2e00;
  line-height: 1.6;
}

.gita-quote .translation {
  display: block;
  margin-top: 15px;
  font-size: 1.1rem;
  color: #333;
}

.gita-quote cite {
  display: block;
  margin-top: 10px;
  font-style: italic;
  color: #666;
}
.plans-gallery {
  background-color: #f9f9f9;
  padding: 0px 20px;
  text-align: center;
}

.plans-gallery h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 15px;
}

.plans-gallery p {
  max-width: 800px;
  margin: 0 auto 30px;
  color: #555;
  font-size: 1.1rem;
}

.plans-grid {
  display: grid;
 grid-template-columns: 1fr 1fr;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
  padding-top:25px;
}

.plan-item {
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.plan-item:hover {
  transform: scale(1.03);
}

.plan-item img {
  width: 100%;
  height: auto;
  display: block;
}

.plan-item p {
  padding: 10px;
  font-weight: 500;
  color: #333;
}

/* Lightbox overlay */
#lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px #fff;
}

#lightbox:active,
#lightbox img:active {
  cursor: zoom-out;
}




/* -------------------- Responsive Styles -------------------- */

/* For tablets and small screens */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
    padding: 0 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .trustees {
    padding: 40px 10px;
  }

  .donation-options {
    flex-direction: column;
    align-items: center;
  }

  .donation-box {
    width: 90%;
  }

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

  .quote-block .quote {
    font-size: 1.4rem;
    padding: 0 10px;
  }

  .hero {
    height: auto;
    padding: 60px 20px;
  }

  .proposal-images img {
    width: 100%;
  }
}

/* For phones and extra small devices */
@media (max-width: 480px) {
  .btn, form button, .contact-form .btn {
    width: 100%;
    font-size: 1rem;
  }

  .logo {
    width: 50px;
    height: 50px;
  }

  .header-container {
    flex-direction: column;
    gap: 5px;
  }

  .marquee {
    font-size: 1rem;
    padding: 8px 0;
  }

  .donate h2,
  .plans-gallery h2,
  .trustees h2,
  .contact-form h2 {
    font-size: 1.6rem;
  }

  .gita-quote blockquote {
    font-size: 1.1rem;
  }

  .trustee {
    padding: 10px;
    font-size: 0.95rem;
  }

  .quote-block {
    padding: 40px 15px;
  }

  .bank-details {
    width: 100%;
    padding: 15px;
  }

  .trustee-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .plans-gallery p,
  .donate p {
    font-size: 1rem;
  }

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

  .gallery img {
    border-radius: 5px;
  }
}
/* === Mobile Navigation Menu === */
@media (max-width: 768px) {
  nav ul.nav-links {
    flex-direction: row; /* Keep it in one line */
    flex-wrap: wrap;     /* Allow wrapping if screen is too narrow */
    justify-content: center;
    gap: 15px;
    padding: 10px;
  }

  nav a {
    font-size: 0.9rem;
    padding: 5px 8px;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  header h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .menu-toggle {
    display: none; /* Hide the hamburger icon */
  }
}
@media (max-width: 480px) {
  nav a {
    font-size: 0.95rem;
  }

  header h1 {
    font-size: 1.5rem;
    text-align: center;
  }
}

nav {
  max-width: 100%;
  overflow-x: auto;
}



    form {
      max-width: 500px;
      margin: auto;
    }

    input, textarea, button {
      width: 100%;
      padding: 10px;
      margin: 10px 0;
      border-radius: 5px;
      border: 1px solid #ccc;
    }

    button {
      background-color: #e67e22;
      color: white;
      border: none;
      cursor: pointer;
    }

    button:hover {
      background-color: #cf711f;
    }

    /* Modal styles */
    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0,0,0,0.5);
    }

    .modal-content {
      background-color: white;
      margin: 15% auto;
      padding: 20px;
      border-radius: 6px;
      max-width: 400px;
      text-align: center;
    }

    .close-btn {
      margin-top: 20px;
      background-color: #2c3e50;
    }
	
	
	