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

:root {
  --primary: #d97706; /* Warm Gold/Amber */
  --primary-hover: #b45309;
  --primary-light: #fef3c7;
  --secondary: #047857; /* Deep Forest Emerald */
  --secondary-hover: #065f46;
  --secondary-dark: #064e3b;
  --dark-slate: #0f172a;
  --light-bg: #f8fafc;
  --card-bg-light: rgba(255, 255, 255, 0.92);
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-light: rgba(226, 232, 240, 0.8);
  --border-glass: rgba(255, 255, 255, 0.25);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --light-bg: #0b1329;
    --card-bg-light: rgba(15, 23, 42, 0.85);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-light: rgba(51, 65, 85, 0.6);
    --border-glass: rgba(255, 255, 255, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* =========================================================================
   TOP ANNOUNCEMENT & CONTACT STRIP
   ========================================================================= */
.top-bar {
  background: var(--dark-slate);
  color: #cbd5e1;
  font-size: 0.875rem;
  padding: 0.5rem 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.top-bar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-contact a {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-contact a:hover {
  color: var(--primary);
}

.top-bar-npo {
  background: rgba(217, 119, 6, 0.15);
  color: var(--primary);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(217, 119, 6, 0.3);
  font-size: 0.8rem;
}

/* =========================================================================
   MAIN STICKY HEADER
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

@media (prefers-color-scheme: dark) {
  .site-header {
    background: rgba(15, 23, 42, 0.9);
  }
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo-subtitle {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn-header {
  padding: 0.6rem 1.4rem !important;
  font-size: 0.9rem !important;
}

.btn-header::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.25rem;
  transition: transform 0.2s ease;
}

.menu-toggle:focus {
  outline: none;
}

/* =========================================================================
   BUTTONS & BADGES
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #b45309 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(217, 119, 6, 0.5);
  color: #ffffff;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, #064e3b 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(4, 120, 87, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(4, 120, 87, 0.5);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
  min-height: calc(88vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 5%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fef3c7;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #f1f5f9;
  margin-bottom: 2.5rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* =========================================================================
   GLASS CARDS & LAYOUTS
   ========================================================================= */
section {
  padding: 5rem 5%;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.glass-card {
  background: var(--card-bg-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* =========================================================================
   IMPACT STATS SECTION
   ========================================================================= */
.stats-section {
  background: linear-gradient(135deg, var(--dark-slate) 0%, #1e293b 100%);
  color: #ffffff;
  padding: 4rem 5%;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* =========================================================================
   SERVICES / PILLARS GRID
   ========================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.service-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.08);
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(4, 120, 87, 0.9);
  color: #ffffff;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.service-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.service-body p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* =========================================================================
   ABOUT PAGE & CORE VALUES
   ========================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.value-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary-hover);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem auto;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* =========================================================================
   CONTACT PAGE & FORM
   ========================================================================= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.info-icon-box {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--secondary) 0%, #064e3b 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.25);
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.info-details p, .info-details a {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.info-details a:hover {
  color: var(--primary);
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

@media (prefers-color-scheme: dark) {
  .form-control {
    background: rgba(15, 23, 42, 0.6);
  }
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.15);
  background: #ffffff;
}

@media (prefers-color-scheme: dark) {
  .form-control:focus {
    background: #0f172a;
  }
}

select.form-control {
  cursor: pointer;
}

.alert-banner {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 500;
  display: none;
}

.alert-banner.visible {
  display: block;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* =========================================================================
   RICH MULTI-COLUMN FOOTER
   ========================================================================= */
.site-footer {
  background: var(--dark-slate);
  color: #94a3b8;
  padding: 4.5rem 5% 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
}

.footer-logo-text h3 {
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.1;
}

.footer-logo-text span {
  color: var(--primary);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.npo-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: #e2e8f0;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul a {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.footer-col ul a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.footer-contact-list .icon {
  font-style: normal;
  font-size: 1.1rem;
}

.footer-contact-list a {
  color: #ffffff;
}

.footer-contact-list a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.dev-credit a {
  color: var(--primary);
  font-weight: 600;
}

.dev-credit a:hover {
  text-decoration: underline;
}

/* =========================================================================
   FLOATING QUICK ACTION BUTTON
   ========================================================================= */
.floating-action {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--secondary) 0%, #064e3b 100%);
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 24px rgba(4, 120, 87, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.floating-action:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(4, 120, 87, 0.6);
  color: #ffffff;
}

/* =========================================================================
   ANIMATIONS & UTILITIES
   ========================================================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .about-grid, .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }

  .top-bar-container {
    justify-content: center;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 65px);
    background: var(--dark-slate);
    color: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .nav-links a {
    color: #f8fafc;
    font-size: 1.25rem;
  }

  .nav-links.active {
    left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
