:root {
  --primary: #4169e1;
  --primary-dark: #3453b3;
  --secondary: #212f56;
  --light-bg: #f8f9fa;
  --accent: #ffd400;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--light-bg);
  color: var(--secondary);
  line-height: 1.6;
}

.navbar {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 2em;
  box-shadow: 0 4px 12px rgba(65,105,225,0.12);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65em;
}
.nav-logo {
  height: 42px;
  width: 42px;
  border-radius: 8px;
  object-fit: contain;
  background: #edf3fc;
}
.logo-text {
  font-size: 1.34em;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1.3px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0; padding: 0;
}
.menu li a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.2s;
}
.menu li a:hover {
  color: var(--primary);
}

.donate-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 0.5em 1.7em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
  font-weight: 600;
  box-shadow: 0 3px 15px rgba(65,105,225,0.18);
}
.donate-btn:hover { 
  background: var(--primary-dark);
  box-shadow: 0 6px 25px rgba(65,105,225,0.28);
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.hero {
  background: linear-gradient(135deg, var(--primary) 60%, #5a81f7 100%);
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 4em 1em;
  position: relative;
}
.hero-content {
  padding: 2em 2em 2.4em 2em;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(65,105,225,0.15);
  font-size: 1.1rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
  position: relative;
}
.hero-logo {
  max-width: 120px;
  width: 21vw;
  height: auto;
  margin-bottom: 0.7em;
  border-radius: 22px;
  box-shadow: 0 6px 36px rgba(65,105,225,0.18);
}
.hero-content h1 {
  font-size: 2.15em;
  margin-bottom: 0.5em;
  color: #fff;
  text-shadow: 0 0 15px rgba(0,0,0,0.15);
}
.hero-content p {
  font-size: 1.28rem;
  margin-bottom: 1.6em;
  text-shadow: 0 0 10px rgba(0,0,0,0.18);
}
.hero-btn {
  background: var(--accent);
  color: var(--secondary);
  border: none;
  border-radius: 8px;
  padding: 0.9em 2.7em;
  font-size: 1.07rem;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 6px 24px rgba(65,105,225,0.12);
  text-decoration: none;
  transition: background 0.22s;
}
.hero-btn:hover { 
  background: #fff29d; 
}

.section {
  padding: 3em 1.5em;
  max-width: 1200px;
  margin: auto;
}

.about .cards,
.projects .project-list,
.testimonials .testimonial-list,
.upcoming-drives .drive-list {
  display: flex;
  gap: 2em;
  margin-top: 2em;
  flex-wrap: wrap;
  justify-content: center;
}

.card, .project-card, .testimonial, .drive-card {
  border-radius: 16px;
  padding: 1.6em 1.3em;
  min-width: 250px;
  margin-bottom: 1em;
  background: #fff;
  box-shadow: 0 4px 16px rgba(65,105,225,0.08);
  transition: box-shadow 0.23s;
}
.card:hover,
.project-card:hover,
.testimonial:hover,
.drive-card:hover {
  box-shadow: 0 12px 32px rgba(65,105,225,0.18);
}
.impact-stats {
  display: flex;
  justify-content: space-around;
  background: linear-gradient(110deg, var(--primary) 70%, #2f51b8 120%);
  color: #fff;
  border-radius: 16px;
  padding: 2.4em 0 2.1em 0;
  margin-top: 2.3em;
  gap: 2em;
  flex-wrap: wrap;
  box-shadow: 0 8px 28px rgba(65,105,225,0.13);
  position: relative;
}
.impact-stats div {
  text-align: center;
  position: relative;
  z-index: 2;
}
.impact-stats h3 {
  font-size: 2.4rem;
  margin: 0;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  letter-spacing: 1px;
}
.impact-stats span {
  color: #f0f0f0;
  font-weight: 500;
  font-size: 1.1em;
  text-shadow: 0 1px 5px rgba(0,0,0,0.25);
}
.projects .project-card img {
  width: 100%;
  border-radius: 12px;
  height: 155px;
  object-fit: cover;
  margin-bottom: 1em;
  box-shadow: 0 4px 16px rgba(65,105,225,0.09);
  border: 2.5px solid var(--primary);
}

.upcoming-drives .drive-list {
  gap: 2em;
}
.drive-card {
  min-width: 270px;
  flex: 1 1 300px;
}
.drive-card h3 {
  color: var(--primary);
  margin-bottom: 0.7em;
}

/* Testimonials Styling */
.testimonials .testimonial-list {
  gap: 1.8em;
}
.testimonial {
  background: #fff;
  min-width: 270px;
  text-align: left;
  box-shadow: 0 4px 18px rgba(65,105,225,0.10);
  border-left: 6px solid var(--primary);
  position: relative;
  padding-left: 1.5em;
}
.testimonial p {
  font-style: italic;
  font-size: 1.1em;
  color: var(--secondary);
}
.testimonial span {
  display: block;
  margin-top: 1em;
  color: var(--primary-dark);
  font-size: 0.95em;
  font-weight: 500;
}

/* Contact & Buttons */
.contact-methods {
  display: flex;
  gap: 1.7em;
  margin-bottom: 1.7em;
  justify-content: center;
}
.whatsapp-btn, .email-btn {
  display: flex;
  align-items: center;
  gap: 0.53em;
  background: #fff;
  border: 1.7px solid var(--primary);
  color: var(--primary);
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.07em;
  padding: 0.46em 1.35em;
  box-shadow: 0 2px 12px rgba(65,105,225,0.1);
  margin-bottom: 0.5em;
  cursor: pointer;
  transition: color .18s, background .19s, transform 0.15s;
}
.animated-contact {
  animation: none;
}
.animated-contact:hover, .animated-contact:focus {
  animation: pulse 0.8s;
  color: #fff;
  background: var(--primary);
  transform: scale(1.09);
  border-color: var(--primary-dark);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(65,105,225,0.22); }
  70% { box-shadow: 0 0 0 6px rgba(65,105,225,0.12); }
  100% { box-shadow: 0 0 0 0 rgba(65,105,225,0.22); }
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 430px;
  margin: auto;
  padding: 2em;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(65,105,225,0.1);
}
.contact input, .contact textarea {
  padding: 0.95em;
  border: 1.9px solid var(--primary);
  border-radius: 5px;
  font-size: 1em;
  resize: none;
}

.contact button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 1em 0;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.contact button:hover { 
  background: var(--primary-dark);
}

#formMsg {
  margin-top: 0.5em;
  font-size: 0.97em;
  color: var(--primary-dark);
}

footer {
  background: linear-gradient(90deg, var(--primary-dark) 70%, var(--primary) 120%);
  color: #fff;
  text-align: center;
  font-size: 1em;
  padding: 1.5em 0 1.1em 0;
  letter-spacing: 1.2px;
  margin-top: 2em;
}
.footer-content {
  max-width: 1200px;
  margin: auto;
}
.footer-address {
  margin-bottom: 1em;
  font-size: 1.02em;
  color: #e4e8f4;
}

/* Responsive Design */
@media (max-width: 900px) {
  .about .cards,
  .projects .project-list,
  .testimonials .testimonial-list,
  .upcoming-drives .drive-list {
    flex-direction: column;
    gap: 1em;
    align-items: stretch;
  }
  .impact-stats {
    flex-direction: column;
    align-items: center;
  }
  .menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    right: 2em;
    top: 70px;
    box-shadow: 0 2px 18px rgba(65,105,225,0.08);
    width: 200px;
    border-radius: 16px;
    z-index: 2;
  }
  .menu.show {
    display: flex;
  }
  .hamburger { display: block; }
  .hero-logo {
    max-width: 76px;
  }
}
/* --- 3D Card --- */
.card-3d {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 26px rgba(65,105,225,0.15), 0 1.5px 7px rgba(65,105,225,0.10);
  border: 1.5px solid rgba(65,105,225,0.08);
  transition: box-shadow 0.23s, transform 0.19s;
}
.card-3d:hover {
  box-shadow: 0 18px 42px rgba(65,105,225,0.23), 0 2px 10px rgba(65,105,225,0.14);
  transform: translateY(-7px) scale(1.025);
}

/* About & Initiatives Row Section */
.row-section {
  display: flex;
  gap: 2.8em;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.about-col, .initiatives-col {
  flex: 1 1 320px;
  min-width: 295px;
  margin-bottom: 2em;
  padding: 2.2em 1.4em;
}
.about-themes {
  padding-left: 1em;
  margin-top: 1.3em;
}
.about-themes li { margin-bottom: 0.5em; }
.initiatives-col {
  min-width: 330px;
}
.project-list {
  display: flex;
  gap: 1.1em;
  flex-wrap: wrap;
  margin-top: 1em;
}
.project-card {
  flex: 1 1 170px;
  min-width: 170px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 1em;
}
.project-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 13px;
  box-shadow: 0 4px 14px rgba(65,105,225,0.10);
  margin-bottom: 0.5em;
}
.project-card h3 {
  margin-bottom: 0.4em;
  margin-top: 0.3em;
}

/* Initiatives Till Date */
.initiatives-list {
  display: flex;
  flex-direction: column;
  gap: 2.2em;
}
.initiative-item {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  align-items: center;
  padding: 1.7em 1.2em;
}
.initiative-gallery {
  display: flex;
  gap: 1.2em;
}
.initiative-gallery img {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 26px rgba(65,105,225,0.14), 0 2px 10px rgba(65,105,225,0.08);
  border: 2px solid #ededed;
  margin-bottom: 0;
  background: #f7fafd;
}
.initiative-info {
  flex: 1 1 200px;
}
.initiative-info h3 {
  margin-top: 0;
  color: var(--primary);
}
.initiative-info p {
  margin-bottom: 0.6em;
  color: var(--secondary);
  font-size: 1.07em;
}
@media (max-width: 900px) {
  .row-section { flex-direction: column; }
  .project-list { justify-content: flex-start; }
  .initiatives-list { gap: 1.1em; }
}
@media (max-width: 700px) {
  .initiative-item { flex-direction: column; align-items: flex-start; }
  .initiative-gallery { gap: 0.65em; }
}

/* Founder Row */
.founder-row {
  background: linear-gradient(to right, #4169e1 85%, #fff 100%);
  color: #fff;
  padding-top: 3em;
  padding-bottom: 2.3em;
  margin-bottom: 0;
  margin-top: 2em;
}
.founder-container {
  display: flex;
  gap: 2.8em;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 1em 0;
}
.founder-portrait {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 8px 32px rgba(33,47,86,0.16);
  border: 3px solid #fff;
  background: #eee;
}
.founder-info {
  flex: 1 1 230px;
}
.founder-info h2 {
  margin: 0 0 0.48em 0;
  color: #fff;
  font-size: 1.38em;
}
.founder-info p {
  color: #e6eaf7;
  font-size: 1.11em;
  margin-bottom: 0.46em;
}
.founder-role {
  color: #fff;
  font-size: 1.04em;
  font-weight: 600;
  letter-spacing: 1.1px;
  display: block;
}
@media (max-width: 700px) {
  .founder-container { flex-direction: column; text-align: center; }
  .founder-portrait { margin-bottom: 1em; }
}

/* Testimonials Marquee */
.marquee {
  overflow: hidden;
  width: 100%;
  background: #f8faff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(65,105,225,0.10);
  margin-top: 2em;
}
.marquee-inner {
  display: flex;
  animation: marquee 25s linear infinite;
  width: max-content;
  gap: 4em;
}
.marq-item {
  min-width: 390px;
  padding: 1.1em 1.3em;
  color: #212f56;
  font-size: 1.15em;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 6px rgba(65,105,225,0.09);
  margin: 0 1em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.marq-item span {
  color: #4169e1;
  font-weight: bold;
  font-size: 0.97em;
  margin-top: 0.8em;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-55%); }
}

/* Rest: Contact, Footer, etc... (as previously) */
