/* ============================================
   RASHMI SMRUTI SEVA FOUNDATION
   Design System & Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --blue: #1E3A8A;
  --blue-dark: #152a6b;
  --blue-light: #2563EB;
  --blue-lighter: #3B82F6;
  --blue-pale: #EFF6FF;
  --white: #FFFFFF;
  --green: #10B981;
  --green-dark: #059669;
  --green-light: #34D399;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px rgba(30,58,138,0.08);
  --shadow-md: 0 10px 25px rgba(30,58,138,0.12);
  --shadow-lg: 0 20px 40px rgba(30,58,138,0.15);
  --shadow-xl: 0 30px 60px rgba(30,58,138,0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--gray-700); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; }

/* ============================================ TYPOGRAPHY */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--blue); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { font-size: 1rem; color: var(--gray-600); line-height: 1.75; }

/* ============================================ UTILITIES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5rem 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-green { color: var(--green) !important; }
.bg-blue { background: var(--blue); }
.bg-light { background: var(--gray-50); }
.hidden { display: none !important; }

.section-tag {
  display: inline-block;
  background: rgba(16,185,129,0.12);
  color: var(--green);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-tag.light { background: rgba(255,255,255,0.15); color: var(--white); }

.section-title { margin-bottom: 1rem; }
.section-desc { font-size: 1.05rem; color: var(--gray-500); max-width: 600px; margin: 0 auto 3rem; }

.divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 2px; margin: 1rem auto 1.5rem;
}

/* ============================================ BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 2rem; border-radius: 50px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--green); color: var(--white);
  box-shadow: 0 4px 15px rgba(16,185,129,0.3);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(16,185,129,0.4); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }
.btn-blue {
  background: var(--blue); color: var(--white);
  box-shadow: 0 4px 15px rgba(30,58,138,0.3);
}
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-white {
  background: var(--white); color: var(--blue);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--blue-pale); transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ============================================ NAVBAR */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: transparent;
  transition: var(--transition);
}
#navbar.scrolled {
  background: var(--blue);
  box-shadow: 0 4px 30px rgba(30,58,138,0.3);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem; max-width: 1280px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo img { width: 45px; height: 45px; border-radius: 50%; object-fit: cover; }
.nav-logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--white); line-height: 1.2; }
.nav-logo-text span { display: block; font-size: 0.75rem; font-weight: 400; opacity: 0.8; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  font-family: var(--font-heading); font-size: 0.9rem; font-weight: 500;
  color: rgba(255,255,255,0.85); padding: 0.5rem 0.85rem; border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.12); }
.nav-cta { margin-left: 0.5rem; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  padding: 0.6rem; border-radius: 10px; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998;
}
.mobile-nav-overlay.open { display: block; }

.mobile-nav {
  position: fixed; top: 0; right: -100%; width: 300px; height: 100%;
  background: var(--blue); z-index: 999;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: var(--white);
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
}
.mobile-nav-links { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav-links a {
  font-family: var(--font-heading); font-size: 1rem; font-weight: 500;
  color: rgba(255,255,255,0.85); padding: 0.85rem 1rem; border-radius: 10px;
  transition: var(--transition); display: flex; align-items: center; gap: 0.75rem;
}
.mobile-nav-links a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.mobile-nav-links a i { width: 20px; color: var(--green); }

/* ============================================ HERO */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; overflow: hidden;
}
.hero-slideshow { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,58,138,0.85) 0%, rgba(30,58,138,0.6) 60%, rgba(16,185,129,0.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  min-height: 100vh; padding: 8rem 1.5rem 6rem;
  max-width: 800px; margin: 0 auto; width: 100%;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(16,185,129,0.2); border: 1px solid rgba(16,185,129,0.4);
  color: var(--green-light); padding: 0.4rem 1rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease both;
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem); color: var(--white); font-weight: 800;
  line-height: 1.1; margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.2s ease both;
}
.hero-title .highlight { color: var(--green); }
.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 560px;
  margin-bottom: 2.5rem; line-height: 1.8;
  animation: fadeInUp 0.8s 0.4s ease both;
}
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.6s ease both;
}
.hero-stats {
  position: relative; z-index: 2;
  display: flex; gap: 2rem; padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.05); backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.8s 0.8s ease both;
}
.hero-stat { text-align: center; flex: 1; }
.hero-stat-num {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 800;
  color: var(--white); display: block;
}
.hero-stat-num span { color: var(--green); }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; }

/* Slide indicators */
.slide-dots {
  position: absolute; bottom: 7rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem; z-index: 3;
}
.slide-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); transition: var(--transition); cursor: pointer;
}
.slide-dot.active { width: 24px; border-radius: 4px; background: var(--green); }

/* Curve separator */
.curve-separator {
  position: relative; width: 100%; overflow: hidden;
  line-height: 0; margin-top: -2px;
}
.curve-separator svg { display: block; width: 100%; }

/* ============================================ ABOUT SECTION */
.about-section { padding: 5rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; border-radius: var(--radius-lg); object-fit: cover; height: 480px;
  box-shadow: var(--shadow-xl);
}
.about-badge {
  position: absolute; bottom: 2rem; right: -1.5rem;
  background: var(--blue); color: var(--white); padding: 1.25rem 1.75rem;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-badge-num {
  font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800;
  color: var(--green); display: block; line-height: 1;
}
.about-badge-text { font-size: 0.8rem; font-weight: 500; opacity: 0.85; }
.about-content { padding-left: 1rem; }
.about-features { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; }
.about-feature {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem; background: var(--gray-50); border-radius: var(--radius);
  border-left: 3px solid var(--green); transition: var(--transition);
}
.about-feature:hover { background: var(--blue-pale); transform: translateX(4px); }
.about-feature i { color: var(--green); font-size: 1.25rem; margin-top: 0.2rem; flex-shrink: 0; }
.about-feature h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.about-feature p { font-size: 0.85rem; margin: 0; }

/* ============================================ SERVICES */
.services-section { padding: 5rem 0; background: var(--blue); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.service-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: var(--transition); cursor: pointer;
  backdrop-filter: blur(10px);
}
.service-card:hover {
  background: rgba(255,255,255,0.12); transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2); border-color: rgba(16,185,129,0.4);
}
.service-icon {
  width: 60px; height: 60px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--blue-lighter));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white); margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(16,185,129,0.3);
}
.service-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.75rem; }
.service-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; }

/* ============================================ PROCESS / VIDEO */
.process-section { padding: 5rem 0; background: var(--gray-50); }
.video-wrap {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xl); margin-bottom: 3rem;
  background: var(--blue);
}
.video-wrap iframe { width: 100%; height: 450px; display: block; border: none; }

/* ============================================ TEAM */
.team-section { padding: 5rem 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.team-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  transition: var(--transition); text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.team-img { position: relative; overflow: hidden; aspect-ratio: 1 / 1; width: 100%; }
.team-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 0.5s ease; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,58,138,0.9) 0%, transparent 60%);
  opacity: 0; transition: var(--transition); display: flex;
  align-items: flex-end; justify-content: center; padding-bottom: 1.5rem; gap: 0.75rem;
}
.team-card:hover .team-overlay { opacity: 1; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.3);
}
.social-btn:hover { background: var(--green); border-color: var(--green); }
.team-info { padding: 1.5rem; }
.team-info h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.team-role { color: var(--green); font-size: 0.85rem; font-weight: 600; font-family: var(--font-heading); }

/* ============================================ KEY FEATURES */
.features-section { padding: 5rem 0; background: var(--blue); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 1.25rem; margin: 2rem 0; }
.feature-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; background: rgba(255,255,255,0.07);
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.feature-item:hover { background: rgba(255,255,255,0.12); transform: translateX(4px); }
.feature-item i { color: var(--green); font-size: 1.25rem; flex-shrink: 0; }
.feature-item p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin: 0; }
.features-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.feat-card {
  background: rgba(255,255,255,0.08); border-radius: var(--radius);
  padding: 1.5rem; border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.feat-card:hover { background: rgba(255,255,255,0.14); }
.feat-card i { font-size: 1.75rem; color: var(--green); margin-bottom: 0.75rem; }
.feat-card h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.5rem; }
.feat-card p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin: 0; }

/* ============================================ GALLERY / WORK */
.work-section { padding: 5rem 0; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.work-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 220px; cursor: pointer;
}
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.work-card:hover img { transform: scale(1.08); }
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,58,138,0.9), rgba(30,58,138,0.2));
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: 1.25rem;
}
.work-card:hover .work-overlay { opacity: 1; }
.work-overlay h4 { color: var(--white); font-size: 0.95rem; }

/* ============================================ TESTIMONIALS */
.testimonials-section { padding: 5rem 0; background: var(--blue); }
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); }
.testimonial-card {
  min-width: 100%; padding: 0 2rem;
}
.testimonial-inner {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 3rem; max-width: 800px; margin: 0 auto;
  text-align: center; backdrop-filter: blur(10px);
}
.testimonial-quote { font-size: 3rem; color: var(--green); line-height: 1; margin-bottom: 1rem; }
.testimonial-text { font-size: 1.1rem; color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 2rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.testimonial-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--green); }
.testimonial-name { font-family: var(--font-heading); color: var(--white); font-weight: 600; }
.testimonial-role { color: var(--green); font-size: 0.85rem; }
.testimonial-stars { color: #FCD34D; margin-top: 0.25rem; }
.testimonial-nav { display: flex; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.testimonial-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: var(--transition); }
.testimonial-dot.active { background: var(--green); transform: scale(1.3); }

/* ============================================ FOOTER */
.footer { background: var(--blue-dark); color: rgba(255,255,255,0.75); }
.footer-top { padding: 5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-brand-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-brand-logo img { width: 50px; height: 50px; border-radius: 50%; }
.footer-brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--white); }
.footer-desc { font-size: 0.9rem; line-height: 1.75; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: var(--transition); border: 1px solid rgba(255,255,255,0.1);
}
.footer-social a:hover { background: var(--green); color: var(--white); border-color: var(--green); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); font-family: var(--font-heading); font-size: 1rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 0.75rem; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--green); border-radius: 1px; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: var(--transition); display: flex; align-items: center; gap: 0.5rem; }
.footer-links a::before { content: '›'; color: var(--green); font-size: 1.1rem; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.newsletter-form { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.newsletter-form input {
  flex: 1; padding: 0.75rem 1rem; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px; background: rgba(255,255,255,0.07); color: var(--white);
  font-family: var(--font-body); font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { outline: none; border-color: var(--green); }
.newsletter-form button {
  padding: 0.75rem 1.25rem; background: var(--green); color: var(--white);
  border-radius: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--green-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.85rem; }

/* ============================================ PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  padding: 8rem 1.5rem 4rem; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(255,255,255,0.04); pointer-events: none;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 1.5rem; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.7rem; }

/* ============================================ BLOG PAGE */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.blog-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--gray-100);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.blog-img { height: 200px; overflow: hidden; position: relative; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-category {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--green); color: var(--white);
  font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 50px;
  font-family: var(--font-heading);
}
.blog-content { padding: 1.5rem; }
.blog-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--gray-400); margin-bottom: 0.75rem; }
.blog-meta span { display: flex; align-items: center; gap: 0.35rem; }
.blog-content h3 { font-size: 1.05rem; margin-bottom: 0.75rem; color: var(--blue); line-height: 1.4; }
.blog-content p { font-size: 0.875rem; line-height: 1.7; color: var(--gray-500); margin-bottom: 1rem; }
.blog-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--gray-100); }
.blog-like-btn {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; color: var(--gray-500); padding: 0.4rem 0.75rem;
  border-radius: 50px; background: var(--gray-50); transition: var(--transition);
}
.blog-like-btn:hover, .blog-like-btn.liked { background: rgba(16,185,129,0.1); color: var(--green); }
.blog-like-btn i { font-size: 0.9rem; }
.read-more { font-size: 0.85rem; font-weight: 600; color: var(--blue); font-family: var(--font-heading); display: flex; align-items: center; gap: 0.35rem; }
.read-more:hover { color: var(--green); }

/* Blog Single */
.blog-single { padding: 4rem 0; }
.blog-single-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 2rem; }
.blog-single-title { font-size: 2rem; color: var(--blue); margin-bottom: 1rem; }
.blog-single-body { font-size: 1.05rem; line-height: 1.9; color: var(--gray-700); }
.blog-single-video { margin: 2rem 0; border-radius: var(--radius-lg); overflow: hidden; }
.blog-single-video iframe { width: 100%; height: 400px; border: none; }
.blog-like-section { margin-top: 2rem; padding: 1.5rem; background: var(--gray-50); border-radius: var(--radius); display: flex; align-items: center; gap: 1rem; }

/* ============================================ DONATION PAGE */
.donation-hero-amounts { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin: 1.5rem 0; }
.amount-btn {
  padding: 0.6rem 1.5rem; border-radius: 50px; font-family: var(--font-heading);
  font-weight: 600; font-size: 1rem; border: 2px solid var(--blue);
  color: var(--blue); background: var(--white); cursor: pointer; transition: var(--transition);
}
.amount-btn:hover, .amount-btn.selected { background: var(--blue); color: var(--white); }
.donation-form-section { padding: 5rem 0; }
.donation-form-wrap { max-width: 700px; margin: 0 auto; }
.donation-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 3rem; box-shadow: var(--shadow-xl); border: 1px solid var(--gray-100);
}
.donation-card h2 { margin-bottom: 0.5rem; }
.why-donate { padding: 5rem 0; background: var(--blue); }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.impact-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center; transition: var(--transition);
}
.impact-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.impact-card i { font-size: 2.5rem; color: var(--green); margin-bottom: 1rem; }
.impact-card h3 { color: var(--white); margin-bottom: 0.5rem; }
.impact-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin: 0; }

/* ============================================ CONTACT PAGE */
.contact-section { padding: 5rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
  display: flex; gap: 1rem; padding: 1.5rem;
  background: var(--gray-50); border-radius: var(--radius); border-left: 4px solid var(--green);
  transition: var(--transition);
}
.contact-info-card:hover { background: var(--blue-pale); }
.contact-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--blue-lighter));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--white); flex-shrink: 0;
}
.contact-info-text h4 { font-size: 0.9rem; color: var(--gray-500); font-weight: 500; margin-bottom: 0.25rem; }
.contact-info-text p { font-size: 0.95rem; color: var(--blue); font-weight: 600; margin: 0; }
.map-embed { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-200); }

/* Contact Form */
.contact-form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-100);
}

/* FAQ */
.faq-section { padding: 5rem 0; background: var(--gray-50); }
.faq-list { max-width: 800px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200);
  overflow: hidden; transition: var(--transition);
}
.faq-item.open { border-color: var(--blue); box-shadow: var(--shadow-md); }
.faq-question {
  padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  color: var(--blue); gap: 1rem;
}
.faq-question i { color: var(--green); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; font-size: 0.95rem; color: var(--gray-600); line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ============================================ MEDIA PAGE */
.gallery-section { padding: 5rem 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(30,58,138,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition); font-size: 1.5rem; color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Videos */
.videos-section { padding: 5rem 0; background: var(--gray-50); }
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.video-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--blue); }
.video-card iframe { width: 100%; height: 220px; display: block; border: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--white); font-size: 2rem; cursor: pointer; }

/* ============================================ ABOUT PAGE */
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.mission-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-md); text-align: center; transition: var(--transition);
  border-top: 4px solid var(--green);
}
.mission-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.mission-card i { font-size: 2.5rem; color: var(--blue); margin-bottom: 1rem; }
.stats-band { background: var(--blue); padding: 4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item { padding: 1.5rem; }
.stat-num { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; color: var(--white); display: block; }
.stat-num span { color: var(--green); }
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ============================================ FORMS */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-family: var(--font-heading); font-size: 0.875rem; font-weight: 600; color: var(--blue); margin-bottom: 0.5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.85rem 1.1rem;
  border: 2px solid var(--gray-200); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--gray-700);
  background: var(--white); transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit-wrap { text-align: right; }

/* ============================================ ADMIN LOGIN */
.admin-login-page {
  min-height: 100vh; background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  position: relative; overflow: hidden;
}
.admin-login-page::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,0.04); pointer-events: none;
}
.login-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 3rem; width: 100%; max-width: 440px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}
.login-logo { text-align: center; margin-bottom: 2rem; }
.login-logo img { width: 70px; height: 70px; border-radius: 50%; margin-bottom: 1rem; object-fit: cover; }
.login-logo h2 { font-size: 1.5rem; color: var(--blue); }
.login-logo p { font-size: 0.85rem; color: var(--gray-500); }
.login-step { display: none; }
.login-step.active { display: block; }
.otp-inputs { display: flex; gap: 0.5rem; justify-content: center; margin: 1.5rem 0; }
.otp-input {
  width: 50px; height: 56px; text-align: center; font-size: 1.5rem; font-weight: 700;
  border: 2px solid var(--gray-200); border-radius: var(--radius); font-family: var(--font-heading);
  color: var(--blue); transition: var(--transition);
}
.otp-input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(30,58,138,0.1); }
.login-error { color: #EF4444; font-size: 0.85rem; text-align: center; margin-top: 0.5rem; }
.login-success { color: var(--green); font-size: 0.85rem; text-align: center; margin-top: 0.5rem; }
.resend-otp { font-size: 0.85rem; color: var(--gray-500); text-align: center; margin-top: 1rem; }
.resend-otp a { color: var(--blue); font-weight: 600; cursor: pointer; }

/* ============================================ ADMIN DASHBOARD */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; background: var(--blue); flex-shrink: 0;
  display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100%;
  z-index: 100; overflow-y: auto;
}
.admin-sidebar-logo {
  padding: 1.75rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 0.75rem;
}
.admin-sidebar-logo img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.admin-sidebar-logo span { font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 0.95rem; line-height: 1.3; }
.admin-nav { padding: 1.5rem 0; flex: 1; }
.admin-nav-section-title { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); padding: 0 1.5rem; margin: 1.5rem 0 0.5rem; }
.admin-nav a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.8rem 1.5rem; color: rgba(255,255,255,0.7);
  font-family: var(--font-heading); font-size: 0.9rem; font-weight: 500;
  transition: var(--transition); border-left: 3px solid transparent;
}
.admin-nav a:hover, .admin-nav a.active {
  color: var(--white); background: rgba(255,255,255,0.08); border-left-color: var(--green);
}
.admin-nav a i { width: 18px; font-size: 1rem; }
.admin-nav a .badge {
  margin-left: auto; background: var(--green); color: var(--white);
  font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 50px;
}
.admin-sidebar-bottom { padding: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar-bottom a { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--transition); }
.admin-sidebar-bottom a:hover { color: var(--white); }

.admin-main { margin-left: 260px; flex: 1; background: var(--gray-50); min-height: 100vh; }
.admin-topbar {
  background: var(--white); padding: 1.1rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 50;
}
.admin-topbar-title { font-family: var(--font-heading); font-weight: 700; color: var(--blue); font-size: 1.2rem; }
.admin-topbar-right { display: flex; align-items: center; gap: 1rem; }
.admin-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  font-family: var(--font-heading);
}
.admin-content { padding: 2rem; }
.admin-section { display: none; }
.admin-section.active { display: block; }

/* Dashboard Stats Cards */
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.dash-stat-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem;
  box-shadow: var(--shadow); border: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 1.25rem;
  transition: var(--transition);
}
.dash-stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.dash-stat-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0;
}
.dash-stat-icon.blue { background: rgba(30,58,138,0.1); color: var(--blue); }
.dash-stat-icon.green { background: rgba(16,185,129,0.1); color: var(--green); }
.dash-stat-icon.orange { background: rgba(245,158,11,0.1); color: #F59E0B; }
.dash-stat-icon.purple { background: rgba(139,92,246,0.1); color: #8B5CF6; }
.dash-stat-num { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1; }
.dash-stat-label { font-size: 0.85rem; color: var(--gray-500); margin-top: 0.25rem; }

/* Admin Tables */
.admin-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--gray-100); overflow: hidden;
  margin-bottom: 2rem;
}
.admin-card-header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--gray-100);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.admin-card-title { font-family: var(--font-heading); font-weight: 700; color: var(--blue); font-size: 1.05rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  background: var(--gray-50); padding: 0.85rem 1.25rem;
  text-align: left; font-family: var(--font-heading); font-size: 0.8rem;
  font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em;
  border-bottom: 1px solid var(--gray-100);
}
.admin-table td {
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--gray-50);
  font-size: 0.9rem; color: var(--gray-700); vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-50); }
.badge-status {
  padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
}
.badge-status.completed { background: rgba(16,185,129,0.1); color: var(--green); }
.badge-status.pending { background: rgba(245,158,11,0.1); color: #F59E0B; }
.badge-status.published { background: rgba(30,58,138,0.1); color: var(--blue); }
.badge-status.draft { background: var(--gray-100); color: var(--gray-500); }
.action-btns { display: flex; gap: 0.5rem; }
.action-btn {
  padding: 0.35rem 0.75rem; border-radius: 6px; font-size: 0.8rem; font-weight: 600;
  transition: var(--transition); font-family: var(--font-heading);
}
.action-btn.edit { background: rgba(30,58,138,0.1); color: var(--blue); }
.action-btn.edit:hover { background: var(--blue); color: var(--white); }
.action-btn.delete { background: rgba(239,68,68,0.1); color: #EF4444; }
.action-btn.delete:hover { background: #EF4444; color: var(--white); }

/* Admin Blog Form */
.admin-blog-form { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }

/* Filter Bar */
.filter-bar { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.filter-select {
  padding: 0.6rem 1rem; border: 2px solid var(--gray-200); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--gray-700);
  background: var(--white); cursor: pointer; transition: var(--transition);
}
.filter-select:focus { outline: none; border-color: var(--blue); }
.search-input {
  padding: 0.6rem 1rem; border: 2px solid var(--gray-200); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--gray-700);
  background: var(--white); transition: var(--transition); min-width: 200px;
}
.search-input:focus { outline: none; border-color: var(--blue); }

/* Charts in dashboard */
.dash-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.mini-bar-chart { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.mini-bar { background: linear-gradient(to top, var(--blue), var(--blue-lighter)); border-radius: 2px 2px 0 0; flex: 1; min-height: 4px; }

/* ============================================ ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-green { 0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); } 50% { box-shadow: 0 0 0 12px rgba(16,185,129,0); } }
@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }

.animate-on-scroll {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* Scroll to top */
#scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green); color: var(--white); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(16,185,129,0.4); transition: var(--transition);
  opacity: 0; pointer-events: none;
}
#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover { background: var(--green-dark); transform: translateY(-3px); }

/* Toast notification */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--blue); color: var(--white); padding: 1rem 2rem;
  border-radius: 50px; font-family: var(--font-heading); font-weight: 600;
  box-shadow: var(--shadow-xl); z-index: 9999; transition: transform 0.4s ease;
  display: flex; align-items: center; gap: 0.75rem;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--green); }
.toast.error { background: #EF4444; }

/* ============================================ RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-charts { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .about-badge { right: 0; }
  .about-content { padding-left: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 3rem auto 0; }
  .features-cards { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  
  .videos-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .hero-stats { justify-content: center; }
}

@media (max-width: 480px) {
  .work-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-stats { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .donation-hero-amounts { gap: 0.5rem; }
  .otp-inputs { gap: 0.35rem; }
  .otp-input { width: 44px; height: 48px; font-size: 1.25rem; }
  .hero-btns { flex-direction: column; }
  .btn { justify-content: center; }
}

/* Terms Page */
.terms-section { padding: 5rem 0; }
.terms-content { max-width: 800px; margin: 0 auto; }
.terms-content h3 { color: var(--blue); margin: 2rem 0 1rem; }
.terms-content p { margin-bottom: 1rem; }
.terms-content ul { list-style: disc; padding-left: 2rem; margin-bottom: 1rem; }
.terms-content ul li { margin-bottom: 0.5rem; color: var(--gray-600); }

/* ============================================
   v2.0 IMPROVEMENTS
   ============================================ */

/* ── Nav hover: underline slide-in only, no background box ── */
.nav-links a {
  position: relative;
  background: transparent !important;
  padding: 0.4rem 0.2rem !important;
  margin: 0 0.6rem !important;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { background: transparent !important; }
.nav-links .btn.nav-cta { margin-left: 0.75rem !important; padding: 0.5rem 1.25rem !important; }
.nav-links .btn.nav-cta::after { display: none; }

/* ── Realtime indicator dot ── */
.realtime-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-left: 0.5rem;
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* ── Responsive: all pages ── */
/* Fix page-hero on small screens */
@media (max-width: 768px) {
  .page-hero { padding: 6rem 1.25rem 3rem; }
  .page-hero h1 { font-size: 1.9rem; }
  .about-badge { right: 0.5rem; bottom: 1rem; }
  .hero-content { padding: 7rem 1.25rem 2rem; align-items: center; text-align: center; }
  .hero-title { font-size: 2rem; }
  .hero-btns { justify-content: center; }

  /* Services page */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="order:0"] { order: unset !important; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr !important; }

  /* Donation */
  .donation-card { padding: 1.5rem; }
  .donation-hero-amounts { gap: 0.4rem; }
  .amount-btn { padding: 0.5rem 1rem; font-size: 0.9rem; }

  /* Media */
  .gallery-grid { grid-template-columns: 1fr 1fr !important; }
  
  .videos-grid { grid-template-columns: 1fr !important; }

  /* About */
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .mission-grid { grid-template-columns: 1fr !important; }

  /* Terms */
  .terms-content { padding: 0 0.25rem; }

  /* Admin */
  .admin-main { margin-left: 0 !important; padding-top: 64px; }
  .admin-sidebar { width: 280px; transform: translateX(-100%); transition: transform 0.35s ease; z-index: 200; }
  .admin-sidebar.open { transform: translateX(0); }
  .dash-stats { grid-template-columns: 1fr 1fr !important; }
  .admin-content { padding: 1rem; }
  .admin-table { font-size: 0.82rem; }
  .admin-table td, .admin-table th { padding: 0.65rem 0.75rem; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr !important; }

  /* Team */
  .team-grid { grid-template-columns: 1fr !important; max-width: 380px; margin-inline: auto; }

  /* Features */
  .features-grid { grid-template-columns: 1fr !important; }
  .features-cards { grid-template-columns: 1fr 1fr; }

  /* Work grid */
  .work-grid { grid-template-columns: 1fr 1fr !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }

  /* Impact grid */
  .impact-grid { grid-template-columns: 1fr !important; }

  /* Stats band on about */
  .stats-band .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

@media (max-width: 480px) {
  .work-grid { grid-template-columns: 1fr !important; }
  .gallery-grid { grid-template-columns: 1fr 1fr !important; }
  .features-cards { grid-template-columns: 1fr !important; }
  .dash-stats { grid-template-columns: 1fr !important; }
  .hero-stats { flex-direction: column; align-items: center; gap: 0.75rem; }
  .hero-stat { width: 100%; }
  .otp-inputs { gap: 0.3rem; }
  .otp-input { width: 40px; height: 46px; font-size: 1.2rem; }
  .form-row { grid-template-columns: 1fr !important; }
  .admin-section-header { flex-direction: column; align-items: flex-start; }
  .filter-bar { flex-direction: column; }
  .search-input { width: 100%; }
  .stats-band .stats-grid { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr 1fr !important; }
}

/* ── Obfuscate / discourage inspect ── */
body { -webkit-user-select: none; user-select: none; }
input, textarea, [contenteditable] { -webkit-user-select: text; user-select: text; }

/* ── Receipt modal ── */
.receipt-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.receipt-modal-overlay.open { opacity: 1; pointer-events: all; }
.receipt-modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 520px; width: 100%;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  max-height: 90vh; overflow-y: auto;
}
.receipt-modal-overlay.open .receipt-modal { transform: scale(1); }
.receipt-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #34D399);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem; color: white;
  box-shadow: 0 8px 20px rgba(16,185,129,0.4);
  animation: scaleIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275);
}
.receipt-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.65rem 0; border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
}
.receipt-row:last-child { border-bottom: none; }
.receipt-row .label { color: var(--gray-500); }
.receipt-row .value { color: var(--blue); font-weight: 600; font-family: var(--font-heading); }

/* ── Extra responsive patches v2.1 ── */
@media (max-width:768px) {
  /* Dashboard two-col */
  .dash-two-col { grid-template-columns: 1fr !important; }
  .don-summary  { grid-template-columns: 1fr 1fr !important; }
  .settings-grid{ grid-template-columns: 1fr !important; max-width:100% !important; }

  /* About page key features */
  [style*="grid-template-columns:repeat(2,1fr)"] { grid-template-columns: 1fr !important; }

  /* Services detail rows */
  .section-pad > .container > [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Trust badges on donation */
  [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: 1fr 1fr !important; }

  /* Donation summary */
  [style*="grid-template-columns:repeat(3,1fr)"].don-summary { grid-template-columns: 1fr !important; }

  /* Process section grid */
  [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }

  .admin-table { min-width: 620px; }

  /* Blog single max-width fix */
  .blog-single .container { padding: 0 1rem; }
  .blog-single-img { height: 220px; }
  .blog-single-video iframe { height: 220px; }
}

@media (max-width:480px) {
  .don-summary { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: 1fr !important; }
  .page-hero h1 { font-size: 1.7rem; }
  .donation-card { padding: 1.25rem; }
  .receipt-modal { padding: 1.5rem; }
  .receipt-modal h2 { font-size: 1.3rem; }
}

/* Nav active style fix */
.nav-links a.active::after { width: 100%; }

/* Admin sidebar open state with transition */
.admin-sidebar { transition: transform 0.32s cubic-bezier(0.4,0,0.2,1); }

/* Ensure mobile topbar always flex on mobile */
@media (max-width: 768px) {
  .admin-mobile-topbar { display: flex !important; }
}

/* Responsive table scroll hint */
@media (max-width: 768px) {
  .admin-card > div[style*="overflow-x:auto"]::before {
    content: 'Scroll right →';
    display: block;
    font-size: 0.72rem;
    color: var(--gray-400);
    padding: 0.4rem 1.25rem 0;
    font-family: var(--font-body);
  }
}

/* ── Blog Search bar ── */
.form-input, .form-select {
  width: 100%; padding: 0.78rem 1rem;
  border: 2px solid var(--gray-200); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.9rem;
  color: var(--gray-700); background: var(--white);
  transition: border-color 0.22s, box-shadow 0.22s;
}
.form-input:focus, .form-select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}

/* ── Blog single responsive ── */
@media (max-width: 768px) {
  .blog-single .container { padding: 0 1rem; }
  .blog-single-title { font-size: 1.5rem !important; }
  .blog-single-img   { height: 200px; }
  .blog-single-video iframe { height: 200px; }
  .blog-like-section { flex-direction: column; align-items: flex-start; }
}

/* ── Blog tags hover ── */
.blog-tag {
  display: inline-block; background: var(--gray-100); color: var(--blue);
  font-size: 0.78rem; padding: 0.25rem 0.75rem; border-radius: 50px;
  font-weight: 600; transition: var(--transition);
}
.blog-tag:hover { background: var(--blue); color: var(--white); }

/* ── Share buttons ── */
@media (max-width: 480px) {
  .blog-like-section { padding: 1rem; }
}

/* ══════════════════════════════
   PAGE LOADER
══════════════════════════════ */
#pageLoader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--blue);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#pageLoader.hide { opacity: 0; pointer-events: none; }
.loader-logo {
  width: 70px; height: 70px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
  margin-bottom: 1.5rem;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse { 0%,100%{transform:scale(1);opacity:0.9;} 50%{transform:scale(1.06);opacity:1;} }
.loader-spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 1.25rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text {
  color: rgba(255,255,255,0.75); font-family: var(--font-heading);
  font-size: 0.9rem; letter-spacing: 0.08em;
}

/* ══════════════════════════════
   SERVICE DETAIL ROWS RESPONSIVE
══════════════════════════════ */
.service-detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 5rem; }
@media (max-width: 768px) {
  .service-detail-row { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .service-detail-row > div:first-child { order: 2; }
  .service-detail-row > div:last-child  { order: 1; }
  .service-detail-row [style*="height:380px"] { height: 240px !important; }
}

/* ══════════════════════════════
   TEAM CARDS — equal size
══════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.team-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex; flex-direction: column;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.team-img { position: relative; overflow: hidden; aspect-ratio: 1 / 1; width: 100%; flex-shrink: 0; }
.team-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 0.5s ease; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.team-info h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.team-role { color: var(--green); font-size: 0.85rem; font-weight: 600; font-family: var(--font-heading); margin-bottom: 0.5rem; }
.team-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,58,138,0.92) 0%, transparent 60%);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.25rem; gap: 0.65rem;
}
.team-card:hover .team-overlay { opacity: 1; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.3);
  text-decoration: none;
}
.social-btn:hover { background: var(--green); border-color: var(--green); }
@media (max-width: 900px)  { .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px)  { .team-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }

/* ══════════════════════════════
   GALLERY — responsive
══════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-top: 3rem;
}
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery-overlay { position:absolute;inset:0;background:rgba(30,58,138,.55);display:flex;align-items:center;justify-content:center;opacity:0;transition:var(--transition);font-size:1.5rem;color:white; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3,1fr); } .gallery-wide { grid-column: span 2; } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } .gallery-wide { grid-column: span 2; aspect-ratio: 2/1; } }
@media (max-width: 400px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-wide { grid-column: span 1; aspect-ratio: 1; } }

/* ══════════════════════════════
   VIDEOS GRID
══════════════════════════════ */
.videos-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.video-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--blue); }
.video-card iframe { width: 100%; height: 220px; display: block; border: none; }
@media (max-width: 900px) { .videos-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) { .videos-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════
   BLOG GRID
══════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 1rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════
   SERVICES GRID
══════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════
   GENERAL RESPONSIVE FIXES
══════════════════════════════ */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr !important; }
  .about-badge { right: 0.5rem; }
  .about-content { padding-left: 0; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .features-grid { grid-template-columns: 1fr !important; }
  .features-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .impact-grid { grid-template-columns: 1fr 1fr !important; }
  .stats-grid  { grid-template-columns: 1fr 1fr !important; }
  .mission-grid{ grid-template-columns: 1fr !important; }
  .hero-content { padding: 7rem 1.25rem 2rem; text-align: center; align-items: center; }
  .hero-title   { font-size: 2rem; }
  .hero-btns    { justify-content: center; }
  .hero-stats   { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .hero-stat    { flex: none; min-width: 100px; }
}
@media (max-width: 480px) {
  .footer-grid    { grid-template-columns: 1fr !important; }
  .impact-grid    { grid-template-columns: 1fr !important; }
  .features-cards { grid-template-columns: 1fr !important; }
  .stats-grid     { grid-template-columns: 1fr 1fr !important; }
  [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: 1fr 1fr !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .hero-stats { flex-direction: column; align-items: center; }
}

/* ============================================ EVENTS PAGE */
.events-section { padding: 5rem 0; }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 3rem; }
.event-card { transition: var(--transition); }
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.event-detail-section { padding: 4rem 0 6rem; }
@media (max-width: 992px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .event-detail-section [style*="grid-template-columns:1.1fr 1fr"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .events-grid { grid-template-columns: 1fr; }
}

/* Album card (Media page + Home) reuses .gallery-item / .work-card, no extra rules needed */
