/* =============================================
   DWASA — Dunlop Women Association for Social Action
   Color Palette from Logo: Deep Green, White, Black
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --green-dark:   #1a5c2a;
  --green-mid:    #2d8a47;
  --green-light:  #e8f5ec;
  --green-accent: #4caf6e;
  --black:        #111111;
  --charcoal:     #2c2c2c;
  --gray:         #666666;
  --gray-light:   #f4f4f4;
  --white:        #ffffff;
  --gold:         #c9a84c;
  --shadow:       0 4px 24px rgba(26,92,42,0.10);
  --shadow-lg:    0 12px 48px rgba(26,92,42,0.18);
  --radius:       10px;
  --transition:   all 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
p  { font-size: 1.05rem; color: var(--gray); }

a { color: var(--green-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-mid); }

img { max-width: 100%; display: block; }

/* ---- UTILITY ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }

.tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px;
  border-radius: 50px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--green-dark); color: var(--white);
  box-shadow: 0 4px 16px rgba(26,92,42,0.3);
}
.btn-primary:hover {
  background: var(--green-mid); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,92,42,0.4);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
}
.btn-outline:hover {
  background: var(--green-dark); color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white); color: var(--green-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-white:hover {
  background: var(--green-light); color: var(--green-dark);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold); color: var(--white);
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}
.btn-gold:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,92,42,0.08);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px; margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { height: 68px; width: auto; }
.nav-brand-text { line-height: 1.2; }
.nav-brand-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700;
  color: var(--green-dark);
}
.nav-brand-text .sub { font-size: 0.72rem; color: var(--gray); letter-spacing: 0.5px; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 8px 14px; border-radius: 6px;
  font-size: 0.92rem; font-weight: 500; color: var(--charcoal);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  background: var(--green-light); color: var(--green-dark);
}
.nav-links .btn-nav {
  background: var(--green-dark); color: var(--white) !important;
  padding: 8px 20px; border-radius: 50px;
  margin-left: 8px;
}
.nav-links .btn-nav:hover { background: var(--green-mid); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white);
  border: 1px solid rgba(26,92,42,0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px 0;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 10px 18px;
  font-size: 0.9rem; color: var(--charcoal);
  border-radius: 0;
}
.dropdown-menu a:hover { background: var(--green-light); color: var(--green-dark); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--green-dark); border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--green-dark) 0%, #0e3d1a 55%, #1a5c2a 100%);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 96px;
}
.hero::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='none' fill-rule='evenodd'%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/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 6px 18px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--green-accent); }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.15rem; margin-bottom: 36px; max-width: 540px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 900;
  color: var(--white); line-height: 1;
}
.hero-stat .lbl { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

.hero-visual {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 45%;
  overflow: hidden;
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.25;
  mix-blend-mode: luminosity;
}
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--green-dark) 0%, transparent 60%);
}

/* ---- PAGE BANNER ---- */
.page-banner {
  background: linear-gradient(135deg, var(--green-dark), #0e3d1a);
  padding: 120px 0 60px;
  position: relative; overflow: hidden;
}
.page-banner::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='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%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/g%3E%3C/svg%3E");
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); margin-bottom: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.4); font-size: 0.9rem; }

/* ---- SECTION HEADER ---- */
.section-header { margin-bottom: 52px; }
.section-header p { max-width: 600px; margin: 12px auto 0; font-size: 1.08rem; }
.section-header.left p { margin-left: 0; }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { overflow: hidden; aspect-ratio: 16/10; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; }
.card-body h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card-body p { font-size: 0.95rem; }

/* ---- PROGRAM CARD ---- */
.prog-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(26,92,42,0.1);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.prog-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-mid));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.prog-card:hover::before { transform: scaleX(1); }
.prog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.prog-icon {
  width: 56px; height: 56px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.prog-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--black); }
.prog-card p { font-size: 0.93rem; }

/* ---- STATS STRIP ---- */
.stats-strip {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 56px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px; text-align: center;
}
.stat-item .number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 900;
  color: var(--white); line-height: 1;
}
.stat-item .label { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-top: 6px; }

/* ---- GRIDS ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

/* ---- GALLERY GRID ---- */
.gallery-grid {
  columns: 3; column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%; display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(26,92,42,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
  font-size: 2rem; color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---- LIGHTBOX ---- */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 8px; }
.lb-close {
  position: absolute; top: 20px; right: 28px;
  color: var(--white); font-size: 2.4rem;
  cursor: pointer; line-height: 1;
  transition: var(--transition);
}
.lb-close:hover { color: var(--green-accent); }
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--white); font-size: 2rem;
  cursor: pointer; padding: 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%; border: none;
  transition: var(--transition);
}
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-prev:hover, .lb-next:hover { background: var(--green-dark); }

/* ---- FORMS ---- */
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-size: 0.9rem; font-weight: 600;
  color: var(--charcoal); margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #dde8df;
  border-radius: 8px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem; color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,138,71,0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* ---- QUOTE / HIGHLIGHT ---- */
.highlight-box {
  background: var(--green-light);
  border-left: 4px solid var(--green-dark);
  padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
}
.highlight-box p { color: var(--charcoal); font-size: 1.05rem; font-style: italic; }

/* ---- COMMITTEE CARD ---- */
.member-card {
  background: var(--white);
  border: 1px solid rgba(26,92,42,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.member-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.member-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--green-dark);
  margin: 0 auto 16px;
  border: 3px solid var(--green-accent);
}
.member-card .role {
  display: inline-block;
  background: var(--green-light); color: var(--green-dark);
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 12px; border-radius: 20px;
  margin-bottom: 12px;
}
.member-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.member-card .info { font-size: 0.88rem; color: var(--gray); line-height: 1.8; }
.member-card .contact a { color: var(--green-dark); font-size: 0.88rem; }

/* ---- DONATE ---- */
.donate-card {
  background: var(--white);
  border: 1px solid rgba(26,92,42,0.12);
  border-radius: 16px; padding: 36px;
  box-shadow: var(--shadow);
}
.bank-detail { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eef3ef; }
.bank-detail:last-child { border-bottom: none; }
.bank-detail .key { font-weight: 600; min-width: 160px; color: var(--charcoal); font-size: 0.95rem; }
.bank-detail .val { color: var(--gray); font-size: 0.95rem; }
.copy-btn {
  background: none; border: 1px solid var(--green-mid);
  color: var(--green-mid); padding: 2px 10px;
  border-radius: 4px; cursor: pointer; font-size: 0.8rem;
  transition: var(--transition); margin-left: auto;
}
.copy-btn:hover { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }

/* ---- ACCORDION ---- */
.accordion-item {
  border: 1px solid rgba(26,92,42,0.1);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-header {
  padding: 18px 24px;
  background: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; color: var(--charcoal);
  transition: background 0.25s;
}
.accordion-header:hover { background: var(--green-light); }
.accordion-header.open { background: var(--green-light); color: var(--green-dark); }
.accordion-icon { font-size: 1.2rem; transition: transform 0.3s; }
.accordion-header.open .accordion-icon { transform: rotate(45deg); }
.accordion-body { display: none; padding: 0 24px 20px; }
.accordion-body.open { display: block; }
.accordion-body p { font-size: 0.97rem; }

/* ---- TOAST NOTIFICATION ---- */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: var(--green-dark); color: var(--white);
  padding: 14px 24px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ---- FOOTER ---- */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 56px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  color: var(--white); font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.65); font-size: 0.92rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--green-accent); padding-left: 4px; }
.footer-col p { font-size: 0.92rem; margin-bottom: 10px; }
.footer-col p a { color: rgba(255,255,255,0.65); }
.footer-col p a:hover { color: var(--green-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px; padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; }

/* ---- ANIMATE ON SCROLL ---- */
.aos { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.aos.delay-1 { transition-delay: 0.1s; }
.aos.delay-2 { transition-delay: 0.2s; }
.aos.delay-3 { transition-delay: 0.3s; }
.aos.delay-4 { transition-delay: 0.4s; }
.aos.visible { opacity: 1; transform: translateY(0); }

/* ---- MOBILE ---- */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid rgba(26,92,42,0.1);
    padding: 12px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; border-radius: 0; }
  .nav-links .btn-nav { margin-left: 0; margin-top: 8px; }
  .hamburger { display: flex; }
  .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 16px; }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .hero-visual { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 560px) {
  .gallery-grid { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .page-banner { padding: 100px 0 40px; }
}
