
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f9ff;
    color: #222;
    line-height: 1.6;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* Header */
  header {
    background: #00263a;
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
     white-space: nowrap;

  }
  
  nav ul li a {
    color: white;
    font-weight: 500;
    transition: 0.3s ease;
      white-space: nowrap;
  }
  
  nav ul li a:hover {
    color: #ffc107;
  }
  
  /* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    object-fit:contain;
    overflow:hidden;
  }
  
  .slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    z-index: 0;
    object-fit: contain;
  }
  
  .slide {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    opacity: 0;
    top: 0; left:0;
    transition: opacity 1s ease-in-out;
    
  }
  @media (max-width: 768px) {
  .hero {
    height: 60vh;
  }

  .slide {
    object-fit: contain;
    background-color: black;
  }
}

  


  
  .slide.show {
    opacity: 1;
  }
  
  .hero-text {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    background: rgba(0,0,0,0.55);
    padding: 30px 20px;
    max-width: 800px;
    margin: auto;
    border-radius: 15px;
  }
  
  .hero-text h1 {
    font-size: 3rem;
    margin-bottom: 15px;
  }
  
  .hero-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
  }
  
  .cta-btn {
    padding: 12px 30px;
    border-radius: 30px;
    background: #ffc107;
    color: #000;
    font-weight: bold;
    margin: 10px;
    transition: background 0.3s ease;
    display: inline-block;
  }
  
  .cta-btn:hover {
    background: #ffb300;
  }
  
  .cta-btn.secondary {
    background: #ffffff;
    color: #222;
  }
  
  .cta-btn.secondary:hover {
    background: #ddd;
  }
  
  /* Section base */
  section {
    padding: 70px 20px;
    max-width: 1100px;
    margin: auto;
    text-align: center;
  }
  
  section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00263a;
  }
  
  /* About Section */
  #about p {
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto 20px;
  }
  
  /* Impact Section */
  #impact .stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
  }
  
  #impact .stats div {
    background: #e3f2fd;
    padding: 25px;
    border-radius: 15px;
    width: 200px;
    margin: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    font-size: 1.2rem;
    font-weight: bold;
    color: #1565c0;
  }
  
  /* Help Section */
  .help-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
  
  .help-box {
    background: #ffe082;
    padding: 20px 30px;
    border-radius: 15px;
    font-size: 1.1rem;
    color: #222;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
  }
  
  .help-box:hover {
    transform: scale(1.05);
    background: #ffd54f;
  }
  
  /* Testimonials */
  #testimonials .testimonial {
    background: #fff8e1;
    border-left: 5px solid #ffca28;
    padding: 25px;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 10px;
    font-style: italic;
  }
  
  #testimonials h4 {
    text-align: right;
    margin-top: 15px;
    font-weight: bold;
  }
  
  /* Contact */
  #contact iframe {
    margin-top: 25px;
    border-radius: 10px;
  }
  
  /* Footer */
  footer {
    background: #00263a;
    color: white;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
    margin-top: 60px;
  }

  nav ul li a {
    color: white;
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid white;
    border-radius: 20px;
    transition: all 0.3s ease;
    background-color: transparent;
  }
  
  nav ul li a:hover {
    background-color: #ffca28;
    color: #000;
    border-color: #ffca28;
  }
  
  #quick-links .quick-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
  }
  
  .quick-btn {
    padding: 12px 20px;
    border: 2px solid #1565c0;
    background: #e3f2fd;
    color: #0d47a1;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .quick-btn:hover {
    background: #bbdefb;
    transform: translateY(-2px);
  }

  
  .donation-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 20px auto;
    gap: 15px;
  }
  
  .donation-form input,
  .donation-form textarea {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
  }
  
  .donation-form textarea {
    resize: vertical;
    height: 100px;
  }
  
  .donation-form button {
    background: #43a047;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .donation-form button:hover {
    background: #388e3c;
  }
  
  .note {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 10px;
  }

  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
  }
  
  .gallery-grid img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .gallery-grid img:hover {
    transform: scale(1.05);
  }

  

  .founder-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
  }
  
  .founder {
    background: #fffde7;
    border-radius: 12px;
    padding: 25px;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .founder:hover {
    transform: translateY(-5px);
  }
  
  .founder img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
  }
  
  .founder h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #2e7d32;
  }
  
  .donor-photo {
    text-align: center;
    margin-top: 20px;
  }
  
  .donor-photo img {
    max-width: 700px;
    width: 90%;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }

  .qr-box {
    text-align: center;
    margin-top: 30px;
  }
  
  .qr-box img {
    width: 250px;
    max-width: 90%;
    border: 5px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 15px;
  }

@media (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
  }

  nav ul li a {
    font-size: 0.9rem;
    padding: 6px 10px;
    border-radius: 15px;
  }

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    font-size: 1.4rem;
    margin-bottom: 5px;
  }


  .hero-text h1 {
    font-size: 2rem;
  }

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

  .cta-btn {
    width: 100%;
    margin: 10px 0;
  }

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

  .help-options,
  .quick-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .founder-cards {
    flex-direction: column;
    align-items: center;
  }

  .donation-form {
    width: 90%;
  }

  .qr-box img {
    width: 70%;
  }

  footer {
    font-size: 0.8rem;
    padding: 15px 0;
  }
}


@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text {
    padding: 15px;
  }

  section h2 {
    font-size: 1.8rem;
  }

  .founder img {
    height: 180px;
  }

  .donor-photo img {
    width: 90%;
  }

  nav ul li a {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}

.video-section {
  background: linear-gradient(135deg, #fdfbfb, #ebedee);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

.video-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
  position: relative;
  z-index: 2;
}

.video-section video {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-section video:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-container.clean-youtube iframe {
  pointer-events: none; /* disables user interaction */
  filter: brightness(1.05);
}

.video-container.clean-youtube {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container.clean-youtube iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none; /* makes it non-clickable like a background */
}

.logo img {
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}


  
  
  
