/* ================================================
   MSMES NGO WEBSITE - COMPLETE STYLESHEET
   Maddirala Sivasai Memorial Educational Society
   ================================================ */

:root {
  --green-dark:  #0d4f3c;
  --green-main:  #1a6b3a;
  --green-mid:   #2d6a4f;
  --green-light: #52b788;
  --gold:        #b08d57;
  --gold-light:  #d4a96a;
  --cream:       #fdf6ec;
  --white:       #ffffff;
  --text-dark:   #1a1a1a;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --shadow:      0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Nunito', sans-serif; color: var(--text-dark); background: #fff; }
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; }
img { max-width: 100%; }

/* ================================================
   TOPBAR
   ================================================ */
.topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  padding: 7px 0;
}
.topbar span { margin: 0 6px; }

/* ================================================
   NAVBAR
   ================================================ */
#mainNav {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 10px 0;
  transition: all 0.3s;
}
#mainNav.scrolled { padding: 6px 0; box-shadow: 0 4px 28px rgba(0,0,0,0.13); }

/*.logo-circle {*/
/*  width: 50px; height: 50px; border-radius: 50%;*/
/*  overflow: hidden; border: 2.5px solid var(--green-main);*/
/*  background: var(--green-main);*/
/*  display: flex; align-items: center; justify-content: center; flex-shrink: 0;*/
/*}*/
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.logo-placeholder {
  color: #fff; font-weight: 800; font-size: 1rem;
  font-family: 'Playfair Display', serif;
  align-items: center; justify-content: center;
}
.brand-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; color: var(--green-dark); line-height: 1.2; }
.brand-sub  { font-size: 0.67rem; color: var(--text-muted); }

.navbar-nav .nav-link {
  font-weight: 600; font-size: 0.88rem;
  color: var(--text-dark) !important;
  padding: 7px 13px !important; border-radius: 7px; transition: all 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--green-main) !important; background: rgba(26,107,58,0.07); }

.dropdown-menu { border: none; box-shadow: var(--shadow); border-radius: 11px; padding: 8px; }
.dropdown-item { border-radius: 7px; font-size: 0.86rem; padding: 8px 14px; transition: all 0.2s; }
.dropdown-item:hover { background: rgba(26,107,58,0.08); color: var(--green-main); }

.btn-donate {
  background: var(--gold); color: #fff !important;
  border-radius: 24px; padding: 8px 22px !important;
  font-weight: 700; font-size: 0.85rem; transition: all 0.25s;
}
.btn-donate:hover { background: #9a7840; transform: translateY(-1px); }

/* ================================================
   PAGE HEADER BANNER
   ================================================ */
.page-header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  padding: 64px 20px 44px;
}
.page-header-gold { background: linear-gradient(135deg, #5c3d11 0%, var(--gold) 100%); }
.page-header-title { font-size: 2.6rem; color: #fff; font-weight: 800; margin-bottom: 10px; }
.breadcrumb { background: transparent; margin: 0; }
.breadcrumb-item a { color: rgba(255,255,255,0.7); }
.breadcrumb-item.active { color: rgba(255,255,255,0.5); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ================================================
   HERO
   ================================================ */
.hero-section {
  position: relative; min-height: 90vh;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 55%, var(--green-mid) 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay { position: absolute; inset: 0; background: rgba(8,36,22,0.48); }
.hero-content { position: relative; z-index: 2; padding: 60px 20px; }
.hero-badge {
  display: inline-block; background: rgba(176,141,87,0.22);
  border: 1px solid var(--gold-light); color: var(--gold-light);
  border-radius: 24px; padding: 6px 20px; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 1px; margin-bottom: 20px;
}
.hero-title { font-size: clamp(2.2rem,5vw,4rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.text-gold { color: var(--gold-light) !important; }
.hero-sub { font-size: 1.08rem; max-width: 640px; margin: 0 auto 32px; opacity: 0.9; line-height: 1.75; }
.btn-hero-primary {
  background: var(--gold); color: #fff; padding: 14px 34px;
  border-radius: 32px; font-weight: 700; font-size: 1rem; border: none; transition: all 0.3s;
}
.btn-hero-primary:hover { background: #9a7840; transform: translateY(-2px); color: #fff; }
.btn-hero-outline {
  background: transparent; color: #fff; padding: 14px 34px;
  border-radius: 32px; font-weight: 700; font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.55); transition: all 0.3s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.hero-scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.45); font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-9px)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
.animate-fade-up { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.animate-fade-up:nth-child(1){animation-delay:.1s}
.animate-fade-up:nth-child(2){animation-delay:.3s}
.animate-fade-up:nth-child(3){animation-delay:.5s}
.animate-fade-up:nth-child(4){animation-delay:.7s}

/* ================================================
   STATS STRIP
   ================================================ */
.stats-strip { background: var(--green-dark); padding: 18px 0; }
.stat-item { padding: 20px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family:'Playfair Display',serif; font-size: 2.3rem; font-weight: 800; color: var(--gold-light); }
.stat-label  { font-size: 0.8rem; color: rgba(255,255,255,0.65); font-weight: 600; }

/* ================================================
   SECTION HELPERS
   ================================================ */
.section-light      { background: #fff; }
.section-dark-green { background: var(--green-dark); }
.section-cream      { background: var(--cream); }

.section-tag {
  display: inline-block;
  background: rgba(26,107,58,0.1); color: var(--green-main);
  border-radius: 20px; padding: 5px 16px;
  font-size: 0.77rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-tag-light {
  display: inline-block;
  background: rgba(212,169,106,0.18); color: var(--gold-light);
  border-radius: 20px; padding: 5px 16px;
  font-size: 0.77rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-size: 2.1rem; font-weight: 700; line-height: 1.3; margin-bottom: 14px; color: var(--text-dark); }
.section-text  { color: var(--text-muted); line-height: 1.8; font-size: 0.98rem; margin-bottom: 10px; }

.btn-primary-custom {
  background: var(--green-main); color: #fff;
  padding: 12px 30px; border-radius: 28px;
  font-weight: 700; border: none; transition: all 0.3s; display: inline-block;
}
.btn-primary-custom:hover { background: var(--green-dark); transform: translateY(-2px); color: #fff; }

/* ================================================
   HOME PAGE — MISSION SECTION
   ================================================ */
.mission-list { list-style: none; padding: 0; margin: 14px 0; }
.mission-list li { padding: 6px 0; font-weight: 600; }
.text-green { color: var(--green-main); }

.image-card-group { position: relative; height: 400px; }
.img-card { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); position: absolute; }
.img-card img { width: 100%; height: 100%; object-fit: cover; }
.img-card-top    { width: 75%; height: 280px; top: 0; right: 0; }
.img-card-bottom { width: 55%; height: 200px; bottom: 0; left: 0; border: 4px solid #fff; }

/* ================================================
   PROGRAM CARDS (dark bg)
   ================================================ */
.program-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 32px 24px; transition: all 0.3s;
}
.program-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.program-card.featured { background: rgba(176,141,87,0.15); border-color: rgba(176,141,87,0.4); }
.program-icon {
  width: 60px; height: 60px; background: rgba(255,255,255,0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--gold-light); margin-bottom: 18px;
}
.program-card h5 { color: #fff; font-weight: 700; margin-bottom: 10px; }
.program-card p  { color: rgba(255,255,255,0.7); font-size: 0.92rem; line-height: 1.6; }
.prog-link { color: var(--gold-light); font-weight: 700; font-size: 0.88rem; }
.prog-link:hover { color: #fff; }

/* ================================================
   HOME GALLERY GRID
   ================================================ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  grid-auto-rows: 200px; gap: 12px;
}
.gallery-item { border-radius: 10px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-hover {
  position: absolute; inset: 0; background: rgba(0,0,0,0.38);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-hover { opacity: 1; }

/* ================================================
   DONATE BANNER
   ================================================ */
.donate-banner {
  background: linear-gradient(135deg, var(--gold) 0%, #8b6940 100%);
  padding: 64px 20px; text-align: center;
}
.btn-donate-big {
  background: #fff; color: var(--gold);
  padding: 16px 42px; border-radius: 32px;
  font-weight: 800; font-size: 1.1rem; border: none; transition: all 0.3s; display: inline-block;
}
.btn-donate-big:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); color: var(--green-dark); }

/* ================================================
   ABOUT PAGE
   ================================================ */
.reg-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1px solid var(--gold);
  color: var(--gold); border-radius: 24px; padding: 8px 18px;
  font-size: 0.82rem; font-weight: 700; margin-top: 12px;
}
.rounded-img { border-radius: 16px; box-shadow: var(--shadow-lg); }

.vm-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 36px 28px; text-align: center; transition: all 0.3s;
}
.vm-card.featured { background: rgba(176,141,87,0.15); border-color: rgba(176,141,87,0.4); }
.vm-icon {
  width: 64px; height: 64px; background: rgba(255,255,255,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--gold-light); margin: 0 auto 18px;
}
.vm-card h4 { color: #fff; margin-bottom: 10px; }
.vm-card p  { color: rgba(255,255,255,0.7); line-height: 1.6; }

/* TIMELINE */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content:''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--border); transform: translateX(-50%);
}
.timeline-item { display: flex; margin-bottom: 40px; position: relative; }
.timeline-item.left { flex-direction: row-reverse; }
.timeline-badge {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-main); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.75rem; z-index: 1;
  font-family: 'Playfair Display',serif; border: 3px solid #fff; box-shadow: var(--shadow);
}
.timeline-content {
  width: 44%; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 24px; box-shadow: var(--shadow);
}
.timeline-item.right .timeline-content { margin-left: auto; margin-right: 6%; }
.timeline-item.left  .timeline-content { margin-right: auto; margin-left: 6%; }
.timeline-content h5 { font-weight: 700; color: var(--green-main); margin-bottom: 6px; }
.timeline-content p  { color: var(--text-muted); font-size: 0.92rem; }

/* TEAM CARD */
.team-card { padding: 20px 12px; }
.team-img-wrap { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto; border: 3px solid var(--green-main); }
.team-img-wrap img { width:100%; height:100%; object-fit:cover; }
.team-role { color: var(--text-muted); font-size: 0.84rem; font-weight: 600; }

/* ================================================
   GALLERY PAGE
   ================================================ */
.filter-btn {
  background: #fff; border: 2px solid var(--border);
  border-radius: 24px; padding: 8px 22px; margin: 4px;
  font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--green-main); color: #fff; border-color: var(--green-main); }

.g-item { border-radius: 10px; overflow: hidden; position: relative; cursor: pointer; }
.g-item img { width:100%; height:200px; object-fit:cover; transition:transform 0.4s; display:block; }
.g-item:hover img { transform: scale(1.06); }
.g-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.38);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; opacity: 0; transition: opacity 0.3s;
}
.g-item:hover .g-overlay { opacity: 1; }

/* ================================================
   SCHOOL / OLD AGE HOME
   ================================================ */
.info-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.info-pills span {
  background: rgba(26,107,58,0.1); color: var(--green-main);
  border-radius: 20px; padding: 6px 16px; font-size: 0.82rem; font-weight: 700;
}
.gold-pills span { background: rgba(176,141,87,0.12); color: var(--gold); }

.feature-card {
  text-align: center; padding: 32px 20px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; transition: all 0.3s;
}
.feature-card.featured { background: rgba(176,141,87,0.15); border-color: rgba(176,141,87,0.4); }
.feature-card:hover { transform: translateY(-4px); }
.feature-card i  { font-size: 2.2rem; color: var(--gold-light); margin-bottom: 16px; display: block; }
.feature-card h5 { color: #fff; margin-bottom: 10px; }
.feature-card p  { color: rgba(255,255,255,0.7); font-size: 0.92rem; }

.activity-card { padding: 24px 16px; text-align: center; }
.activity-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold), #c07740);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff; margin: 0 auto 14px;
}
.activity-card h6 { font-weight: 700; font-size: 1rem; color: var(--text-dark); }
.activity-card p  { color: var(--text-muted); font-size: 0.86rem; }

/* ================================================
   BENEFICIARIES
   ================================================ */
.impact-stat-card {
  background: #fff; border: 2px solid var(--green-light);
  border-radius: 16px; padding: 28px 20px; text-align: center; box-shadow: var(--shadow);
}
.impact-stat-card.gold { border-color: var(--gold); }
.impact-number { font-size: 2.5rem; font-weight: 800; font-family:'Playfair Display',serif; color: var(--green-main); }
.impact-stat-card.gold .impact-number { color: var(--gold); }
.impact-label  { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }

.bene-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s;
}
.bene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bene-card.featured { border-color: var(--gold); }
.bene-img { height: 200px; overflow: hidden; }
.bene-img img { width:100%; height:100%; object-fit:cover; }
.bene-info { padding: 20px; }
.bene-info h5   { font-weight: 700; margin-bottom: 4px; }
.bene-class     { color: var(--text-muted); font-size: 0.82rem; font-weight: 600; margin-bottom: 10px; }
.bene-info p    { color: var(--text-muted); font-style: italic; font-size: 0.92rem; }

/* ================================================
   STAFF
   ================================================ */
.staff-section-head { color: var(--green-dark); border-bottom: 2px solid var(--green-light); padding-bottom: 8px; }
.staff-card  { padding: 16px 10px; text-align: center; }
.staff-img   { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; margin: 0 auto; border: 3px solid var(--green-main); }
.staff-img img { width:100%; height:100%; object-fit:cover; }
.staff-img.gold-border { border-color: var(--gold); }
.staff-card h6  { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); margin-top: 10px; }
.staff-role     { color: var(--text-muted); font-size: 0.8rem; font-weight: 600; }

/* ================================================
   CONTACT
   ================================================ */
.contact-info-list  { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item  { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; background: rgba(26,107,58,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--green-main); font-size: 1rem; flex-shrink: 0;
}
.contact-form-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 36px; box-shadow: var(--shadow);
}
.custom-input {
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 12px 16px; font-size: 0.92rem; transition: border-color 0.2s;
  width: 100%;
}
.custom-input:focus { border-color: var(--green-main); box-shadow: 0 0 0 3px rgba(26,107,58,0.08); outline: none; }
.map-container { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }

/* ================================================
   DONATE
   ================================================ */
.donate-form-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 36px; box-shadow: var(--shadow);
}
.amount-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.amount-btn {
  background: #fff; border: 2px solid var(--border);
  border-radius: 10px; padding: 14px 8px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.2s;
}
.amount-btn:hover, .amount-btn.active { background: var(--green-main); color: #fff; border-color: var(--green-main); }
.amount-btn.custom-btn:hover, .amount-btn.custom-btn.active { background: var(--gold); border-color: var(--gold); }

.bank-details-card {
  background: var(--cream); border: 1px solid var(--gold); border-radius: 16px; padding: 24px;
}
.bank-details-card h5 { color: var(--green-dark); margin-bottom: 14px; }

.impact-sidebar {
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 28px; box-shadow: var(--shadow);
}
.impact-sidebar h4 { color: var(--green-dark); margin-bottom: 20px; }
.impact-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.impact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.impact-amt {
  background: var(--green-main); color: #fff;
  border-radius: 10px; padding: 8px 14px; font-weight: 800; font-size: 0.88rem; flex-shrink: 0;
}
.impact-item div:last-child { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }
.tax-card {
  background: linear-gradient(135deg, var(--cream), #f5e6cf);
  border: 1px solid var(--gold); border-radius: 20px;
  padding: 28px; text-align: center;
}
.tax-card h5 { color: var(--gold); margin: 10px 0 8px; }
.tax-card p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ================================================
   FOOTER
   ================================================ */
.site-footer { background: var(--green-dark); padding: 52px 0 20px; }
.footer-brand { font-family:'Playfair Display',serif; font-size: 1.2rem; color: #fff; font-weight: 700; }
.footer-text  { color: rgba(255,255,255,0.55); font-size: 0.84rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; font-size: 0.85rem;
}
.footer-social a:hover { background: var(--gold); color: #fff; }
.footer-heading {
  color: var(--gold-light); font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
  color: rgba(255,255,255,0.65); font-size: 0.88rem;
  margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start;
}
.footer-contact i { color: var(--gold-light); margin-top: 3px; flex-shrink: 0; }
.footer-divider { border-color: rgba(255,255,255,0.08); margin: 28px 0 16px; }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.82rem; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .image-card-group { height: auto; }
  .img-card { position: static; width: 100%; height: 220px; margin-bottom: 12px; }
  .img-card-bottom { position: static; border: none; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .hero-title { font-size: 1.9rem; }
  .section-title { font-size: 1.7rem; }
  .page-header-title { font-size: 1.9rem; }
  .timeline::before { left: 20px; }
  .timeline-badge { left: 20px; width: 44px; height: 44px; font-size: 0.65rem; }
  .timeline-item, .timeline-item.left { flex-direction: row; }
  .timeline-content { width: calc(100% - 70px); margin-left: 70px !important; margin-right: 0 !important; }
  .amount-grid { grid-template-columns: repeat(2,1fr); }
  .donate-form-wrap, .contact-form-wrap { padding: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}
@media (max-width: 480px) {
  .amount-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
/* ================================================
   MSMES NGO WEBSITE - COMPLETE STYLESHEET
   Maddirala Sivasai Memorial Educational Society
   ================================================ */

:root {
  --green-dark:  #0d4f3c;
  --green-main:  #1a6b3a;
  --green-mid:   #2d6a4f;
  --green-light: #52b788;
  --gold:        #b08d57;
  --gold-light:  #d4a96a;
  --cream:       #fdf6ec;
  --white:       #ffffff;
  --text-dark:   #1a1a1a;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --shadow:      0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Nunito', sans-serif; color: var(--text-dark); background: #fff; }
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; }
img { max-width: 100%; }

/* ================================================
   TOPBAR
   ================================================ */
.topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.78rem;
  padding: 7px 0;
}
.topbar span { margin: 0 6px; }

/* ================================================
   NAVBAR
   ================================================ */
#mainNav {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 10px 0;
  transition: all 0.3s;
}
#mainNav.scrolled { padding: 6px 0; box-shadow: 0 4px 28px rgba(0,0,0,0.13); }

.logo-circle {
  width: 80px; height: 80px; border-radius: 0%;
  overflow: hidden; 
  /*border: 2.5px solid var(--green-main);*/
  background: var(--green-main);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.logo-placeholder {
  color: #fff; font-weight: 800; font-size: 1rem;
  font-family: 'Playfair Display', serif;
  align-items: center; justify-content: center;
}
.brand-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; color: var(--green-dark); line-height: 1.2; }
.brand-sub  { font-size: 0.67rem; color: var(--text-muted); }

.navbar-nav .nav-link {
  font-weight: 600; font-size: 0.88rem;
  color: var(--text-dark) !important;
  padding: 7px 13px !important; border-radius: 7px; transition: all 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--green-main) !important; background: rgba(26,107,58,0.07); }

.dropdown-menu { border: none; box-shadow: var(--shadow); border-radius: 11px; padding: 8px; }
.dropdown-item { border-radius: 7px; font-size: 0.86rem; padding: 8px 14px; transition: all 0.2s; }
.dropdown-item:hover { background: rgba(26,107,58,0.08); color: var(--green-main); }

.btn-donate {
  background: var(--gold); color: #fff !important;
  border-radius: 24px; padding: 8px 22px !important;
  font-weight: 700; font-size: 0.85rem; transition: all 0.25s;
}
.btn-donate:hover { background: #9a7840; transform: translateY(-1px); }

/* ================================================
   PAGE HEADER BANNER
   ================================================ */
.page-header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  padding: 64px 20px 44px;
}
.page-header-gold { background: linear-gradient(135deg, #5c3d11 0%, var(--gold) 100%); }
.page-header-title { font-size: 2.6rem; color: #fff; font-weight: 800; margin-bottom: 10px; }
.breadcrumb { background: transparent; margin: 0; }
.breadcrumb-item a { color: rgba(255,255,255,0.7); }
.breadcrumb-item.active { color: rgba(255,255,255,0.5); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ================================================
   HERO
   ================================================ */
.hero-section {
  position: relative; min-height: 90vh;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 55%, var(--green-mid) 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay { position: absolute; inset: 0; background: rgba(8,36,22,0.48); }
.hero-content { position: relative; z-index: 2; padding: 60px 20px; }
.hero-badge {
  display: inline-block; background: rgba(176,141,87,0.22);
  border: 1px solid var(--gold-light); color: var(--gold-light);
  border-radius: 24px; padding: 6px 20px; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 1px; margin-bottom: 20px;
}
.hero-title { font-size: clamp(2.2rem,5vw,4rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.text-gold { color: var(--gold-light) !important; }
.hero-sub { font-size: 1.08rem; max-width: 640px; margin: 0 auto 32px; opacity: 0.9; line-height: 1.75; }
.btn-hero-primary {
  background: var(--gold); color: #fff; padding: 14px 34px;
  border-radius: 32px; font-weight: 700; font-size: 1rem; border: none; transition: all 0.3s;
}
.btn-hero-primary:hover { background: #9a7840; transform: translateY(-2px); color: #fff; }
.btn-hero-outline {
  background: transparent; color: #fff; padding: 14px 34px;
  border-radius: 32px; font-weight: 700; font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.55); transition: all 0.3s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }
.hero-scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.45); font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-9px)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
.animate-fade-up { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.animate-fade-up:nth-child(1){animation-delay:.1s}
.animate-fade-up:nth-child(2){animation-delay:.3s}
.animate-fade-up:nth-child(3){animation-delay:.5s}
.animate-fade-up:nth-child(4){animation-delay:.7s}

/* ================================================
   STATS STRIP
   ================================================ */
.stats-strip { background: var(--green-dark); padding: 18px 0; }
.stat-item { padding: 20px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-number { font-family:'Playfair Display',serif; font-size: 2.3rem; font-weight: 800; color: var(--gold-light); }
.stat-label  { font-size: 0.8rem; color: rgba(255,255,255,0.65); font-weight: 600; }

/* ================================================
   SECTION HELPERS
   ================================================ */
.section-light      { background: #fff; }
.section-dark-green { background: var(--green-dark); }
.section-cream      { background: var(--cream); }

.section-tag {
  display: inline-block;
  background: rgba(26,107,58,0.1); color: var(--green-main);
  border-radius: 20px; padding: 5px 16px;
  font-size: 0.77rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-tag-light {
  display: inline-block;
  background: rgba(212,169,106,0.18); color: var(--gold-light);
  border-radius: 20px; padding: 5px 16px;
  font-size: 0.77rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-size: 2.1rem; font-weight: 700; line-height: 1.3; margin-bottom: 14px; color: var(--text-dark); }
.section-text  { color: var(--text-muted); line-height: 1.8; font-size: 0.98rem; margin-bottom: 10px; }

.btn-primary-custom {
  background: var(--green-main); color: #fff;
  padding: 12px 30px; border-radius: 28px;
  font-weight: 700; border: none; transition: all 0.3s; display: inline-block;
}
.btn-primary-custom:hover { background: var(--green-dark); transform: translateY(-2px); color: #fff; }

/* ================================================
   HOME PAGE — MISSION SECTION
   ================================================ */
.mission-list { list-style: none; padding: 0; margin: 14px 0; }
.mission-list li { padding: 6px 0; font-weight: 600; }
.text-green { color: var(--green-main); }

.image-card-group { position: relative; height: 400px; }
.img-card { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); position: absolute; }
.img-card img { width: 100%; height: 100%; object-fit: cover; }
.img-card-top    { width: 75%; height: 280px; top: 0; right: 0; }
.img-card-bottom { width: 55%; height: 200px; bottom: 0; left: 0; border: 4px solid #fff; }

/* ================================================
   PROGRAM CARDS (dark bg)
   ================================================ */
.program-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 32px 24px; transition: all 0.3s;
}
.program-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-4px); }
.program-card.featured { background: rgba(176,141,87,0.15); border-color: rgba(176,141,87,0.4); }
.program-icon {
  width: 60px; height: 60px; background: rgba(255,255,255,0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--gold-light); margin-bottom: 18px;
}
.program-card h5 { color: #fff; font-weight: 700; margin-bottom: 10px; }
.program-card p  { color: rgba(255,255,255,0.7); font-size: 0.92rem; line-height: 1.6; }
.prog-link { color: var(--gold-light); font-weight: 700; font-size: 0.88rem; }
.prog-link:hover { color: #fff; }

/* ================================================
   HOME GALLERY GRID
   ================================================ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  grid-auto-rows: 200px; gap: 12px;
}
.gallery-item { border-radius: 10px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-hover {
  position: absolute; inset: 0; background: rgba(0,0,0,0.38);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-hover { opacity: 1; }

/* ================================================
   DONATE BANNER
   ================================================ */
.donate-banner {
  background: linear-gradient(135deg, var(--gold) 0%, #8b6940 100%);
  padding: 64px 20px; text-align: center;
}
.btn-donate-big {
  background: #fff; color: var(--gold);
  padding: 16px 42px; border-radius: 32px;
  font-weight: 800; font-size: 1.1rem; border: none; transition: all 0.3s; display: inline-block;
}
.btn-donate-big:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); color: var(--green-dark); }

/* ================================================
   ABOUT PAGE
   ================================================ */
.reg-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream); border: 1px solid var(--gold);
  color: var(--gold); border-radius: 24px; padding: 8px 18px;
  font-size: 0.82rem; font-weight: 700; margin-top: 12px;
}
.rounded-img { border-radius: 16px; box-shadow: var(--shadow-lg); }

.vm-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 36px 28px; text-align: center; transition: all 0.3s;
}
.vm-card.featured { background: rgba(176,141,87,0.15); border-color: rgba(176,141,87,0.4); }
.vm-icon {
  width: 64px; height: 64px; background: rgba(255,255,255,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--gold-light); margin: 0 auto 18px;
}
.vm-card h4 { color: #fff; margin-bottom: 10px; }
.vm-card p  { color: rgba(255,255,255,0.7); line-height: 1.6; }

/* TIMELINE */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content:''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--border); transform: translateX(-50%);
}
.timeline-item { display: flex; margin-bottom: 40px; position: relative; }
.timeline-item.left { flex-direction: row-reverse; }
.timeline-badge {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-main); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.75rem; z-index: 1;
  font-family: 'Playfair Display',serif; border: 3px solid #fff; box-shadow: var(--shadow);
}
.timeline-content {
  width: 44%; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 24px; box-shadow: var(--shadow);
}
.timeline-item.right .timeline-content { margin-left: auto; margin-right: 6%; }
.timeline-item.left  .timeline-content { margin-right: auto; margin-left: 6%; }
.timeline-content h5 { font-weight: 700; color: var(--green-main); margin-bottom: 6px; }
.timeline-content p  { color: var(--text-muted); font-size: 0.92rem; }

/* TEAM CARD */
.team-card { padding: 20px 12px; }
.team-img-wrap { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto; border: 3px solid var(--green-main); }
.team-img-wrap img { width:100%; height:100%; object-fit:cover; }
.team-role { color: var(--text-muted); font-size: 0.84rem; font-weight: 600; }

/* ================================================
   GALLERY PAGE
   ================================================ */
.filter-btn {
  background: #fff; border: 2px solid var(--border);
  border-radius: 24px; padding: 8px 22px; margin: 4px;
  font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: all 0.2s;
}
.filter-btn.active, .filter-btn:hover { background: var(--green-main); color: #fff; border-color: var(--green-main); }

.g-item { border-radius: 10px; overflow: hidden; position: relative; cursor: pointer; }
.g-item img { width:100%; height:200px; object-fit:cover; transition:transform 0.4s; display:block; }
.g-item:hover img { transform: scale(1.06); }
.g-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.38);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; opacity: 0; transition: opacity 0.3s;
}
.g-item:hover .g-overlay { opacity: 1; }

/* ================================================
   SCHOOL / OLD AGE HOME
   ================================================ */
.info-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.info-pills span {
  background: rgba(26,107,58,0.1); color: var(--green-main);
  border-radius: 20px; padding: 6px 16px; font-size: 0.82rem; font-weight: 700;
}
.gold-pills span { background: rgba(176,141,87,0.12); color: var(--gold); }

.feature-card {
  text-align: center; padding: 32px 20px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; transition: all 0.3s;
}
.feature-card.featured { background: rgba(176,141,87,0.15); border-color: rgba(176,141,87,0.4); }
.feature-card:hover { transform: translateY(-4px); }
.feature-card i  { font-size: 2.2rem; color: var(--gold-light); margin-bottom: 16px; display: block; }
.feature-card h5 { color: #fff; margin-bottom: 10px; }
.feature-card p  { color: rgba(255,255,255,0.7); font-size: 0.92rem; }

.activity-card { padding: 24px 16px; text-align: center; }
.activity-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold), #c07740);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff; margin: 0 auto 14px;
}
.activity-card h6 { font-weight: 700; font-size: 1rem; color: var(--text-dark); }
.activity-card p  { color: var(--text-muted); font-size: 0.86rem; }

/* ================================================
   BENEFICIARIES
   ================================================ */
.impact-stat-card {
  background: #fff; border: 2px solid var(--green-light);
  border-radius: 16px; padding: 28px 20px; text-align: center; box-shadow: var(--shadow);
}
.impact-stat-card.gold { border-color: var(--gold); }
.impact-number { font-size: 2.5rem; font-weight: 800; font-family:'Playfair Display',serif; color: var(--green-main); }
.impact-stat-card.gold .impact-number { color: var(--gold); }
.impact-label  { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }

.bene-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s;
}
.bene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bene-card.featured { border-color: var(--gold); }
.bene-img { height: 200px; overflow: hidden; }
.bene-img img { width:100%; height:100%; object-fit:cover; }
.bene-info { padding: 20px; }
.bene-info h5   { font-weight: 700; margin-bottom: 4px; }
.bene-class     { color: var(--text-muted); font-size: 0.82rem; font-weight: 600; margin-bottom: 10px; }
.bene-info p    { color: var(--text-muted); font-style: italic; font-size: 0.92rem; }

/* ================================================
   STAFF
   ================================================ */
.staff-section-head { color: var(--green-dark); border-bottom: 2px solid var(--green-light); padding-bottom: 8px; }
.staff-card  { padding: 16px 10px; text-align: center; }
.staff-img   { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; margin: 0 auto; border: 3px solid var(--green-main); }
.staff-img img { width:100%; height:100%; object-fit:cover; }
.staff-img.gold-border { border-color: var(--gold); }
.staff-card h6  { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); margin-top: 10px; }
.staff-role     { color: var(--text-muted); font-size: 0.8rem; font-weight: 600; }

/* ================================================
   CONTACT
   ================================================ */
.contact-info-list  { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item  { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; background: rgba(26,107,58,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--green-main); font-size: 1rem; flex-shrink: 0;
}
.contact-form-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 36px; box-shadow: var(--shadow);
}
.custom-input {
  border: 1.5px solid var(--border); border-radius: 10px;
  padding: 12px 16px; font-size: 0.92rem; transition: border-color 0.2s;
  width: 100%;
}
.custom-input:focus { border-color: var(--green-main); box-shadow: 0 0 0 3px rgba(26,107,58,0.08); outline: none; }
.map-container { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }

/* ================================================
   DONATE
   ================================================ */
.donate-form-wrap {
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 36px; box-shadow: var(--shadow);
}
.amount-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.amount-btn {
  background: #fff; border: 2px solid var(--border);
  border-radius: 10px; padding: 14px 8px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.2s;
}
.amount-btn:hover, .amount-btn.active { background: var(--green-main); color: #fff; border-color: var(--green-main); }
.amount-btn.custom-btn:hover, .amount-btn.custom-btn.active { background: var(--gold); border-color: var(--gold); }

.bank-details-card {
  background: var(--cream); border: 1px solid var(--gold); border-radius: 16px; padding: 24px;
}
.bank-details-card h5 { color: var(--green-dark); margin-bottom: 14px; }

.impact-sidebar {
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; padding: 28px; box-shadow: var(--shadow);
}
.impact-sidebar h4 { color: var(--green-dark); margin-bottom: 20px; }
.impact-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.impact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.impact-amt {
  background: var(--green-main); color: #fff;
  border-radius: 10px; padding: 8px 14px; font-weight: 800; font-size: 0.88rem; flex-shrink: 0;
}
.impact-item div:last-child { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }
.tax-card {
  background: linear-gradient(135deg, var(--cream), #f5e6cf);
  border: 1px solid var(--gold); border-radius: 20px;
  padding: 28px; text-align: center;
}
.tax-card h5 { color: var(--gold); margin: 10px 0 8px; }
.tax-card p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ================================================
   FOOTER
   ================================================ */
.site-footer { background: var(--green-dark); padding: 52px 0 20px; }
.footer-brand { font-family:'Playfair Display',serif; font-size: 1.2rem; color: #fff; font-weight: 700; }
.footer-text  { color: rgba(255,255,255,0.55); font-size: 0.84rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; font-size: 0.85rem;
}
.footer-social a:hover { background: var(--gold); color: #fff; }
.footer-heading {
  color: var(--gold-light); font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
  color: rgba(255,255,255,0.65); font-size: 0.88rem;
  margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start;
}
.footer-contact i { color: var(--gold-light); margin-top: 3px; flex-shrink: 0; }
.footer-divider { border-color: rgba(255,255,255,0.08); margin: 28px 0 16px; }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.82rem; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .image-card-group { height: auto; }
  .img-card { position: static; width: 100%; height: 220px; margin-bottom: 12px; }
  .img-card-bottom { position: static; border: none; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .hero-title { font-size: 1.9rem; }
  .section-title { font-size: 1.7rem; }
  .page-header-title { font-size: 1.9rem; }
  .timeline::before { left: 20px; }
  .timeline-badge { left: 20px; width: 44px; height: 44px; font-size: 0.65rem; }
  .timeline-item, .timeline-item.left { flex-direction: row; }
  .timeline-content { width: calc(100% - 70px); margin-left: 70px !important; margin-right: 0 !important; }
  .amount-grid { grid-template-columns: repeat(2,1fr); }
  .donate-form-wrap, .contact-form-wrap { padding: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}
@media (max-width: 480px) {
  .amount-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================
   CCTV PAGE
   ================================================ */
.cctv-card {
  border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); background: #111;
  transition: transform 0.3s;
}
.cctv-card:hover { transform: translateY(-4px); }

.cctv-screen {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: #1a1a1a; overflow: hidden;
}
.cctv-screen img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cctv-no-feed {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  position: absolute; inset: 0;
  color: rgba(255,255,255,0.35); font-size: 0.85rem; gap: 8px;
  background: #111;
}
.cctv-no-feed i { font-size: 2rem; }

.cctv-live-badge {
  position: absolute; top: 8px; left: 8px;
  background: rgba(220,38,38,0.9); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  letter-spacing: 1px;
}
.cctv-live-badge i { font-size: 0.5rem; vertical-align: middle; animation: blink 1.2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.cctv-label {
  background: #1a1a1a; color: rgba(255,255,255,0.8);
  padding: 10px 14px; font-size: 0.85rem; font-weight: 600;
}






/*Dummy hero for moveing slides if dont want slide remove this and in index page remove d-none*/


/* Sliding background images */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide-bg.active {
  opacity: 1;
}

/* Keep overlay and content above slides */
.hero-overlay { z-index: 1; }
.hero-content  { z-index: 2; }
.hero-scroll-hint { z-index: 2; }

/* Dot indicators */
.hero-dots {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.hero-dot.active {
  background: var(--gold-light);
  transform: scale(1.3);
}
