/*
Theme Name: Light Hand Girls Support Foundation
Theme URI: https://lighthandgirlssupportfoundation.org
Author: Light Hand Girls Support Foundation
Description: Professional WordPress theme for Light Hand Girls Support Foundation NGO
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: lighthand
*/

/* ===========================
   CSS VARIABLES
=========================== */
:root {
  --green: #6DC020;
  --green-dark: #559918;
  --green-light: #8fd640;
  --black: #1a1a1a;
  --dark: #222222;
  --gray: #555555;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --radius: 8px;
  --transition: all 0.3s ease;
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', 'Open Sans', Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-dark); }
ul { list-style: none; }

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 0.75rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--gray); }

/* ===========================
   LAYOUT
=========================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--light-gray); }

.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 600px; margin: 0 auto; }
.section-divider {
  width: 60px; height: 4px;
  background: var(--green);
  margin: 15px auto 20px;
  border-radius: 2px;
}

.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: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109,192,32,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green);
}
.btn-donate {
  background: var(--green);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}
.btn-donate:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: scale(1.05);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(109,192,32,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(109,192,32,0); }
}

/* ===========================
   HEADER & NAVIGATION
=========================== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.header-top {
  background: var(--black);
  padding: 8px 0;
  font-size: 0.85rem;
  color: #aaa;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top a { color: #aaa; }
.header-top a:hover { color: var(--green); }

.header-main { padding: 15px 0; }
.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.site-logo img { height: 65px; width: auto; }
.site-logo .logo-text { display: none; }

nav#main-nav ul {
  display: flex;
  gap: 5px;
  align-items: center;
}
nav#main-nav ul li a {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}
nav#main-nav ul li a:hover,
nav#main-nav ul li.current-menu-item > a {
  color: var(--green);
  background: rgba(109,192,32,0.08);
}




/* ===========================
   HERO SECTION
=========================== */
.hero {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--black) 0%, #2a2a2a 50%, #1a3a00 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(109,192,32,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(109,192,32,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 700px; }
.hero-badge {
  display: inline-block;
  background: rgba(109,192,32,0.2);
  color: var(--green);
  border: 1px solid rgba(109,192,32,0.4);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--green); }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.15rem; margin-bottom: 35px; max-width: 550px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  display: block;
}
.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===========================
   IMPACT / STATS SECTION
=========================== */
.impact-section {
  background: var(--green);
  padding: 60px 0;
}
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.impact-card {
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.impact-card:last-child { border-right: none; }
.impact-card .icon { font-size: 2.5rem; margin-bottom: 10px; }
.impact-card .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}
.impact-card .desc {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin: 0;
}

/* ===========================
   ABOUT SECTION
=========================== */
.about-image { position: relative; }
.about-image img {
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.about-image .experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--green);
  color: var(--white);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-image .experience-badge .years {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
}
.about-content .tag {
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.about-list { margin: 20px 0 30px; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gray);
}
.about-list li::before {
  content: '✓';
  background: var(--green);
  color: white;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===========================
   PROGRAMS SECTION
=========================== */
.program-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
  transition: var(--transition);
}
.program-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0,0,0,0.15); }
.program-icon {
  width: 60px; height: 60px;
  background: rgba(109,192,32,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.program-card h3 { margin-bottom: 12px; }

/* ===========================
   EVENTS SECTION
=========================== */
.event-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.event-card:hover { transform: translateY(-4px); }
.event-card img { width: 100%; height: 200px; object-fit: cover; }
.event-date-badge {
  background: var(--green);
  color: white;
  text-align: center;
  padding: 10px 15px;
  font-weight: 700;
}
.event-content { padding: 20px; }
.event-meta { font-size: 0.85rem; color: var(--green); margin-bottom: 8px; font-weight: 600; }
.event-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.event-card p { font-size: 0.9rem; margin-bottom: 15px; }

/* ===========================
   GALLERY SECTION
=========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(109,192,32,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: white;
  font-size: 2rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ===========================
   VOLUNTEER SECTION
=========================== */
.volunteer-section {
  background: linear-gradient(135deg, var(--black), #1a3a00);
  color: white;
}
.volunteer-section h2 { color: white; }
.volunteer-section p { color: rgba(255,255,255,0.8); }
.volunteer-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: white;
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: rgba(255,255,255,0.15);
}
.form-group select option { background: var(--dark); }

/* ===========================
   CONTACT SECTION
=========================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: start; }
.contact-info-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px;
  box-shadow: var(--shadow);
}
.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-icon {
  width: 48px; height: 48px;
  background: rgba(109,192,32,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-text h4 { font-size: 0.95rem; color: var(--gray); margin-bottom: 4px; font-weight: 500; }
.contact-text p { color: var(--dark); font-weight: 600; margin: 0; }

.contact-form-wrap {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  background: var(--light-gray);
  border: 1px solid var(--border);
  color: var(--dark);
  padding: 13px 16px;
  width: 100%;
  border-radius: var(--radius);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-color: var(--green);
  background: white;
}
.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder { color: #aaa; }
.contact-form .form-group label {
  display: block;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

/* ===========================
   DONATION SECTION
=========================== */
.donation-section {
  background: var(--green);
  text-align: center;
  padding: 80px 0;
}
.donation-section h2 { color: white; }
.donation-section p { color: rgba(255,255,255,0.85); max-width: 550px; margin: 0 auto 30px; }
.donation-amounts {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.donation-amount {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}
.donation-amount:hover, .donation-amount.active {
  background: white;
  color: var(--green);
  border-color: white;
}
.btn-donate-white {
  background: white;
  color: var(--green);
  padding: 16px 50px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-block;
  transition: var(--transition);
}
.btn-donate-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  color: var(--green-dark);
}

/* ===========================
   FOOTER
=========================== */
#site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand img { height: 55px; margin-bottom: 15px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }
.footer-col h4 { color: white; margin-bottom: 20px; font-size: 1rem; position: relative; padding-bottom: 10px; }
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: var(--green);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--green); padding-left: 5px; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--green); color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--green); }

/* ===========================
   CARDS & MISC
=========================== */
.card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .grid-4, .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .impact-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .impact-card:nth-child(2n) { border-bottom: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 25px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  
  nav#main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--black);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  nav#main-nav.open { display: flex; }
  nav#main-nav ul { flex-direction: column; gap: 10px; text-align: center; }
  nav#main-nav ul li a { color: white; font-size: 1.2rem; padding: 12px 30px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .donation-amounts { flex-direction: column; align-items: center; }
  .about-image .experience-badge { right: 0; bottom: -10px; }
}

@media (max-width: 480px) {
  .impact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .volunteer-form, .contact-form-wrap { padding: 25px 20px; }
}

/* ===========================
   ANIMATIONS
=========================== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   WORDPRESS SPECIFIC
=========================== */
.wp-caption { max-width: 100%; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ===========================
   VIDEO EMBED
=========================== */
.post-video-wrap {
  margin: 30px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}
.video-responsive iframe,
.video-responsive video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
}
.video-responsive video {
  object-fit: cover;
}

/* ===========================
   SINGLE POST - FEATURED IMAGE
=========================== */
.single-featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 35px;
  display: block;
  box-shadow: var(--shadow);
}
.featured-image-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: -20px;
  margin-bottom: 30px;
  font-style: italic;
}

/* ===========================
   SINGLE POST LAYOUT
=========================== */
.single-post-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}
.single-post-content {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.post-meta-bar {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--gray);
}
.post-meta-bar .cat-badge {
  background: rgba(109,192,32,0.1);
  color: var(--green);
  padding: 4px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
}
.post-meta-bar span { display: flex; align-items: center; gap: 5px; }
.post-meta-bar i { color: var(--green); }

.entry-content { line-height: 1.95; color: var(--gray); font-size: 1.02rem; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--black); margin: 30px 0 12px; }
.entry-content p { margin-bottom: 1.2rem; }
.entry-content img { border-radius: 8px; margin: 20px 0; box-shadow: var(--shadow); }
.entry-content ul, .entry-content ol { padding-left: 25px; margin-bottom: 1.2rem; }
.entry-content ul li, .entry-content ol li { margin-bottom: 8px; }
.entry-content blockquote {
  border-left: 4px solid var(--green);
  padding: 15px 20px;
  background: rgba(109,192,32,0.05);
  border-radius: 0 8px 8px 0;
  margin: 25px 0;
  font-style: italic;
  color: var(--dark);
}
.entry-content a { color: var(--green); text-decoration: underline; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.entry-content table th { background: var(--green); color: white; padding: 10px; }
.entry-content table td { padding: 10px; border: 1px solid var(--border); }

.post-tags { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border); }
.post-tags a {
  background: rgba(109,192,32,0.1);
  color: var(--green);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.83rem;
  margin: 3px;
  display: inline-block;
  transition: var(--transition);
}
.post-tags a:hover { background: var(--green); color: white; }

.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--light-gray);
  border-radius: 12px;
  padding: 25px;
  margin-top: 35px;
}
.author-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.5rem; font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}
.post-nav a {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 15px;
  display: block;
  transition: var(--transition);
}
.post-nav a:hover { border-color: var(--green); box-shadow: 0 4px 15px rgba(109,192,32,0.15); }
.post-nav .nav-label { font-size: 0.75rem; color: var(--green); font-weight: 600; display: block; margin-bottom: 5px; }
.post-nav .nav-title { color: var(--dark); font-weight: 600; font-size: 0.9rem; }

/* ===========================
   SHARE BUTTONS
=========================== */
.share-section {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.share-section h5 { margin-bottom: 12px; color: var(--dark); }
.share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
  padding: 8px 18px;
  border-radius: 50px;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.share-btn:hover { opacity: 0.85; color: white; transform: translateY(-2px); }
.share-fb  { background: #1877f2; }
.share-tw  { background: #1da1f2; }
.share-wa  { background: #25d366; }
.share-li  { background: #0a66c2; }

/* ===========================
   EVENT DETAIL BOX
=========================== */
.event-detail-box {
  background: linear-gradient(135deg, rgba(109,192,32,0.05), rgba(109,192,32,0.1));
  border: 1px solid rgba(109,192,32,0.2);
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  padding: 20px 25px;
  margin-bottom: 30px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}
.event-detail-item { display: flex; align-items: center; gap: 8px; }
.event-detail-item i { color: var(--green); font-size: 1rem; }
.event-detail-item strong { color: var(--dark); }

@media (max-width: 900px) {
  .single-post-wrap { grid-template-columns: 1fr; }
  .single-post-content { padding: 25px 20px; }
  .post-nav { grid-template-columns: 1fr; }
}

/* ===========================
   HERO — MOBILE FIRST
=========================== */

/* Mobile default: image on top, full width, text below */
.hero-split {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Image shows FIRST on mobile */
.hero-image-wrap { order: -1; }
.hero-text       { order: 1;  }

.hero-img-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(109,192,32,0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Mobile: tall enough to clearly show child's face & eyes */
.hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  color: white;
  font-size: 0.82rem;
  line-height: 1.5;
}

.hero-badge-circle {
  position: absolute;
  top: -12px; right: -12px;
  width: 56px; height: 56px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(109,192,32,0.45);
  z-index: 2;
}

/* Image wrapper needs position:relative for badge */
.hero-image-wrap { position: relative; }

/* Stats row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green);
  display: block;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ===========================
   TABLET (600px+)
=========================== */
@media (min-width: 600px) {
  .hero-img { height: 450px; }
}

/* ===========================
   DESKTOP (900px+): side by side
=========================== */
@media (min-width: 900px) {
  .hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
  }

  /* Text LEFT, Image RIGHT */
  .hero-text       { order: 1; }
  .hero-image-wrap { order: 2; }

  /* On desktop image does NOT stack — sits right side */
  .hero-img {
    height: 520px;
    object-position: center 22%;
  }

  .hero-stat-num   { font-size: 1.9rem; }
  .hero-stat-label { font-size: 0.8rem; }

  /* Hide the mobile-only top stacking */
  .hero-image-wrap { order: 2 !important; }
  .hero-text       { order: 1 !important; }
}

/* ===========================
   LARGE DESKTOP (1200px+)
=========================== */
@media (min-width: 1200px) {
  .hero-img {
    height: 580px;
  }
  .hero-split {
    grid-template-columns: 55% 45%;
    gap: 60px;
  }
}

/* ===========================
   HERO SLIDER
=========================== */
#hero-slider { background: #000; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease;
}
.hero-slide.active,
.hero-slide[style*="opacity: 1"] { opacity: 1; z-index: 2; }

.hero-slide-content {
  animation: slideUp 0.8s ease forwards;
}
@keyframes slideUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0);    }
}

#slider-prev, #slider-next {
  display: flex;
  align-items: center;
  justify-content: center;
}
#slider-prev:hover, #slider-next:hover {
  background: var(--green) !important;
  border-color: var(--green) !important;
}

/* Mobile slider adjustments */
@media (max-width: 768px) {
  #hero-slider { height: 100vh !important; min-height: 600px; }
  .hero-slide-content { padding: 0 10px; }
  .hero-slide-content h1 { font-size: 1.7rem !important; }
  .hero-slide-content p  { font-size: 0.95rem !important; }
  #slider-prev { left: 10px !important; width: 40px !important; height: 40px !important; }
  #slider-next { right: 10px !important; width: 40px !important; height: 40px !important; }
  /* Stats bar scrollable on small screens */
  #hero-slider > div:last-of-type .container > div {
    justify-content: flex-start;
    overflow-x: auto;
    gap: 25px;
    padding: 12px 15px;
  }
}

/* Remove old hero-split styles that conflict */
.hero-split      { display: block; }
.hero-image-wrap { display: none; }
.hero-text       { display: block; }


/* ============================================================
   HAMBURGER BUTTON
============================================================ */
#hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--green);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
#hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}
#hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
#hamburger.is-open span:nth-child(2) { opacity: 0; }
#hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   MOBILE DROPDOWN MENU — drops down from header, full width
============================================================ */
#mobile-menu {
    display: none; /* hidden on desktop */
    background: var(--black);
    width: 100%;
    border-top: 2px solid var(--green);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    /* starts closed */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
#mobile-menu.open {
    max-height: 600px; /* enough to show all links */
}
#mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#mobile-menu ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: rgba(255,255,255,0.88);
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
#mobile-menu ul li a i {
    color: var(--green);
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
}
#mobile-menu ul li a:hover {
    background: rgba(109,192,32,0.12);
    color: var(--green);
}
#mobile-menu ul li:last-child a { border-bottom: none; }

/* Donate button inside mobile menu */
.mob-donate-row {
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.mob-donate-btn {
    display: block;
    background: var(--green);
    color: white !important;
    text-align: center;
    padding: 13px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s;
}
.mob-donate-btn:hover { background: var(--green-dark); color: white !important; }

/* Contact numbers inside mobile menu */
.mob-contact-row {
    padding: 10px 20px 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.mob-contact-row a {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mob-contact-row a i { color: var(--green); }
.mob-contact-row a:hover { color: var(--green); }

/* ============================================================
   SHOW/HIDE BASED ON SCREEN SIZE
============================================================ */

/* Desktop (901px+): show desktop nav, hide hamburger & mobile menu */
@media (min-width: 901px) {
    #hamburger   { display: none !important; }
    #main-nav    { display: flex !important; }
    #mobile-menu { display: none !important; }
}

/* Mobile (900px and below): show hamburger, hide desktop nav */
@media (max-width: 900px) {
    #hamburger   { display: flex !important; }
    #main-nav    { display: none !important; }
    #mobile-menu { display: block !important; } /* block but max-height:0 keeps it closed */

    .header-main .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        gap: 10px;
    }
    .site-logo img { height: 50px !important; }

    .header-top .container {
        flex-direction: column;
        gap: 3px;
        text-align: center;
        padding: 5px 15px;
        font-size: 0.75rem;
    }
    .header-top-right { justify-content: center; }
}

/* ============================================================
   GENERAL RESPONSIVE
============================================================ */
@media (max-width: 768px) {
    .section  { padding: 50px 0; }
    .grid-2,
    .grid-3   { grid-template-columns: 1fr !important; }
    .grid-4   { grid-template-columns: repeat(2,1fr) !important; }
    .impact-grid { grid-template-columns: repeat(2,1fr) !important; }
    .footer-grid  { grid-template-columns: 1fr !important; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 8px; }
    .section-header h2 { font-size: 1.6rem; }
    .form-row { grid-template-columns: 1fr !important; }
    .post-nav { grid-template-columns: 1fr !important; }
    .single-post-wrap { grid-template-columns: 1fr !important; }
    .volunteer-form { padding: 20px !important; }
    .about-image .experience-badge { right: 0; bottom: -10px; }
    #hero-slider { height: 100vh !important; min-height: 580px; }
    .donation-amounts { flex-direction: column; align-items: center; }
    .contact-grid { grid-template-columns: 1fr !important; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .container  { padding: 0 12px; }
    .hero-badge { font-size: 0.72rem; padding: 5px 10px; }
    .btn        { padding: 12px 20px; font-size: 0.88rem; }
    .grid-4     { grid-template-columns: 1fr !important; }
    .gallery-photo-grid { grid-template-columns: repeat(2,1fr) !important; }
}
