/* =============================================
   EDULIGHT SEEDS — Shared Stylesheet
   Theme: Deep Green + Warm Gold
   "Learn, Believe, Achieve"
   ============================================= */

/* Google Fonts imported in each HTML file */

:root {
  --green-dark:    #1B5E20;
  --green-main:    #2E7D32;
  --green-mid:     #388E3C;
  --green-light:   #4CAF50;
  --green-pale:    #E8F5E9;
  --green-mint:    #C8E6C9;
  --gold:          #F9A825;
  --gold-deep:     #FF8F00;
  --gold-orange:   #E65100;
  --gold-pale:     #FFF8E1;
  --white:         #FFFFFF;
  --off-white:     #FAFCFA;
  --light-gray:    #F5F5F5;
  --border-light:  rgba(27, 94, 32, 0.08);
  --text-dark:     #1A2E1A;
  --text-medium:   #424242;
  --text-light:    #757575;
  --shadow-xs:     0 1px 4px rgba(0,0,0,0.07);
  --shadow-sm:     0 2px 12px rgba(27,94,32,0.10);
  --shadow-md:     0 6px 24px rgba(27,94,32,0.14);
  --shadow-lg:     0 12px 48px rgba(27,94,32,0.20);
  --shadow-xl:     0 20px 60px rgba(27,94,32,0.25);
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     40px;
  --transition:    all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height:    76px;
}

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.75;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', 'Georgia', serif;
  line-height: 1.3;
  color: var(--text-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-medium); }

/* ── NAVBAR ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(27,94,32,0.15); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 4px;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-text .org-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  display: block;
}
.nav-logo-text .org-tagline {
  font-size: 0.68rem;
  color: var(--gold-deep);
  font-style: italic;
  letter-spacing: 0.5px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-medium);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--green-main);
  background: var(--green-pale);
}
.nav-links li a.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--green-main);
  border-radius: 2px;
}
.nav-donate-btn {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%) !important;
  color: white !important;
  font-weight: 700 !important;
  padding: 10px 26px !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 4px 16px rgba(249,168,37,0.38) !important;
  letter-spacing: 0.3px;
}
.nav-donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,168,37,0.50) !important;
  background: var(--green-pale) !important;
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold-orange) 100%) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 5% 80px;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 55%, #66BB6A 100%);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-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.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-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--off-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 {
  color: white;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.75); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ── SECTION BASE ────────────────────────────── */
section { padding: 90px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-main);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-xl);
  margin-bottom: 14px;
  border: 1px solid var(--green-mint);
}
.section-tag.gold-tag {
  background: var(--gold-pale);
  color: var(--gold-deep);
  border-color: #FFD54F;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p {
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

.divider {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--green-main), var(--gold));
  border-radius: 2px;
  margin: 16px auto 0;
}
.divider-left {
  margin-left: 0;
}

/* ── GRID LAYOUTS ────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── CARDS ───────────────────────────────────── */
.card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-mint);
}
.card-icon {
  width: 60px; height: 60px;
  background: var(--green-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.card:hover .card-icon {
  background: var(--green-main);
  transform: scale(1.08);
}
.card:hover .card-icon span { filter: brightness(10); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--green-dark); }
.card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  letter-spacing: 0.2px;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  color: white;
  box-shadow: 0 4px 18px rgba(46,125,50,0.32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(46,125,50,0.42); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: white;
  box-shadow: 0 4px 18px rgba(249,168,37,0.38);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(249,168,37,0.50); }
.btn-outline {
  background: transparent;
  color: var(--green-main);
  border: 2px solid var(--green-main);
}
.btn-outline:hover { background: var(--green-pale); transform: translateY(-2px); }
.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: white; }
.btn-white {
  background: white;
  color: var(--green-dark);
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.15); }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-sm { padding: 9px 22px; font-size: 0.85rem; }

/* ── ANIMATIONS ──────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }
.fade-up.delay-6 { transition-delay: 0.6s; }
.fade-up.delay-7 { transition-delay: 0.7s; }
.fade-up.delay-8 { transition-delay: 0.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.9); opacity: 0.8; }
  70%  { transform: scale(1.1); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: linear-gradient(160deg, #0A2810 0%, #1B5E20 60%, #2E7D32 100%);
  color: white;
}
.footer-top {
  padding: 72px 5% 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
  background: white;
  padding: 8px 16px;
  border-radius: 10px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  display: block;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  margin-bottom: 28px;
}
.footer-social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(249,168,37,0.4);
}
.social-btn.fb:hover  { background: #1877F2; border-color: #1877F2; }
.social-btn.tw:hover  { background: #1DA1F2; border-color: #1DA1F2; }
.social-btn.ig:hover  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: #dc2743; }
.social-btn.yt:hover  { background: #FF0000; border-color: #FF0000; }
.social-btn.ln:hover  { background: #0A66C2; border-color: #0A66C2; }
.social-btn.wa:hover  { background: #25D366; border-color: #25D366; }

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-family: 'Lato', sans-serif;
}
.footer-nav-links li { margin-bottom: 11px; }
.footer-nav-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-nav-links a:hover { color: white; padding-left: 5px; }
.footer-nav-links a::before {
  content: '›';
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.footer-contact-item .fci-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  color: var(--gold);
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-contact-item .fci-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.footer-contact-item .fci-text a { color: rgba(255,255,255,0.75); transition: var(--transition); }
.footer-contact-item .fci-text a:hover { color: var(--gold); }
.footer-contact-item .fci-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.footer-bottom {
  padding: 22px 5%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.42); }
.footer-bottom a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-bottom a:hover { color: var(--gold); }
.footer-reg {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.32);
  text-align: right;
}

/* ── UTILITY ─────────────────────────────────── */
.text-center  { text-align: center; }
.text-green   { color: var(--green-main); }
.text-gold    { color: var(--gold-deep); }
.bg-pale      { background: var(--green-pale); }
.bg-gold-pale { background: var(--gold-pale); }
.bg-white     { background: white; }
.mt-auto      { margin-top: auto; }
.highlight    { color: var(--green-main); }
.highlight-gold { color: var(--gold-deep); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 16px 20px 24px;
    box-shadow: var(--shadow-md);
    gap: 4px;
    border-top: 2px solid var(--green-pale);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links li a { width: 100%; padding: 12px 16px; }
  .nav-donate-btn { text-align: center; justify-content: center; }
  section { padding: 64px 5%; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-reg { text-align: center; }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}
