* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background: #fafafa;
}

/* Headings: formal & dignified */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  color: #2b2b2b;
  line-height: 1.35;
  margin-bottom: 0.5em;
}

/* Individual heading sizes */
h1 {
  font-size: 24px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 16px;
}

/* Paragraphs and lists */
p,
li {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #444;
}

/* Muted/helper text */


/* Navigation menu */
.nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Buttons */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* Forms */
input,
textarea,
button {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;   /* Slightly taller for logo clarity */
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  width: 100px;      /* Increased from 60–90px */
  height: auto;
  object-fit: contain;

}

.brand-wrap h1 {
  font-size: 20px;
  color: #7b2d8d;
  margin-bottom: 4px;
}

.brand-wrap p {
  font-size: 13px;
  color: #777;
}

/* Navigation */
.nav {
  background: #7b2d8d;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 10px 0;
}

.nav a {
  color: #ffffff;        /* White menu text */
  text-decoration: none;
  font-size: 14px;
  padding: 6px 4px;
  position: relative;
}

.nav a:hover,
.nav .active {
  color: #f2c94c;        /* Soft gold on hover */
}


/* Hero */
.hero {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.hero-content h2 {
  font-size: 34px;
  color: #7b2d8d;
}

.hero-content p {
  margin: 20px 0;
  color: #555;
}

.hero-content .lead {
  font-size: 16px;
  color: #444;
  margin: 15px 0;
}

.hero-points {
  margin: 15px 0 20px;
  padding-left: 0;
  list-style: none;
}

.hero-points li {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.cta {
  margin-top: 20px;
}

.btn {
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  margin-right: 10px;
  display: inline-block;
}

.btn-primary {
  background: #7b2d8d;
  color: #fff;
}

.btn-outline {
  border: 1px solid #7b2d8d;
  color: #7b2d8d;
}

/* Donation Box */
.hero-donate {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-donate img {
  width: 160px;
  margin: 15px 0;
}

/* Sections */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
  color: #7b2d8d;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.card h3 {
  margin-bottom: 10px;
  color: #7b2d8d;
}

.card p {
  color: #555;
}

/* Footer */
footer {
  background: #2f2f2f;
  color: #ddd;
  text-align: center;
  padding: 25px 10px;
  font-size: 14px;
}

.muted {
  font-size: 13px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.intro-box {
  text-align: left;
}

.intro-box h3 {
  margin-bottom: 15px;
  color: #7b2d8d;
}

.intro-box p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.7;
}

.intro-box .highlight {
  background: #f8f2fb;
  padding: 12px;
  border-left: 4px solid #7b2d8d;
  border-radius: 4px;
}

.soft-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

.donation-box {
  text-align: center;
}

.donation-box h4 {
  margin-bottom: 10px;
  color: #7b2d8d;
  font-size: 16px;
}

.donation-box img {
  width: 150px;
  border-radius: 10px;
  margin: 10px 0;
}

/* Gallery grid uniform boxes */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Same size box for all images */
.gallery-grid img {
  width: 100%;
  height: 220px;                 /* FIXED height for all boxes */
  object-fit: cover;             /* Crop nicely, no distortion */
  border-radius: 10px;
  cursor: pointer;
  background: #f2f2f2;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
/* =========================
   GLOBAL RESPONSIVE FIXES
   ========================= */

/* Prevent overflow issues */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Make images responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Container padding for small screens */
.container {
  padding-left: 16px;
  padding-right: 16px;
}

/* Header responsiveness */
@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .logo {
    width: 110px;
  }

  .brand-wrap h1 {
    font-size: 18px;
  }

  .brand-wrap p {
    font-size: 13px;
  }

}

/* Navigation responsiveness */
@media (max-width: 768px) {

  .nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px;
  }

  .nav a {
    font-size: 13px;
    padding: 6px 8px;
  }
}

/* Grid layouts (projects, gallery, contact) */
@media (max-width: 768px) {

  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Hero section (index page) */
@media (max-width: 768px) {

  .hero {
    grid-template-columns: 1fr;
    padding: 40px 16px;
    text-align: center;
  }

  .hero-content h2 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero-points li {
    font-size: 14px;
  }
}

/* Buttons */
@media (max-width: 480px) {

  .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
}

/* Gallery images same size on all devices */
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Donate page card spacing */
@media (max-width: 768px) {

  .card {
    padding: 20px;
  }
}

/* Contact form inputs */
input, textarea {
  width: 100%;
  box-sizing: border-box;
}

/* Footer text */
@media (max-width: 768px) {

  footer {
    font-size: 13px;
    padding: 20px 10px;
  }
}

/* Disable text selection */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Allow form inputs */
input, textarea {
  user-select: text !important;
}

/* Prevent image saving */
img {
  pointer-events: none;
}
.secure-qr {
  text-align: center;
  margin: 15px 0;
}

.qr-img {
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(0,0,0,0.04),
    rgba(0,0,0,0.04) 10px,
    transparent 10px,
    transparent 20px
  );
}

.qr-text {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.qr-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  pointer-events: none;
}
.section-title {
  text-align: center;
}

.hero-leadership {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.hero-leadership h4 {
  font-size: 16px;
  color: #7b2d8d;
  margin-bottom: 6px;
}

.leader-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.leader-title {
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}

.leader-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

