/* ==========================================================================
   Gurkani Foundation — Production CSS Design System
   ========================================================================== */

:root {
  /* Color Palette */
  --green: #08724E;
  --green-dark: #063B2B;
  --green-secondary: #19753A;
  --blue: #1463B9;
  --gold: #C5A023;
  --orange: #FF8700;
  --navy: #0E1728;
  --light: #F7F8FA;
  --text: #10243A;
  --muted: #66768A;
  --border: #E2E8F0;
  --card-bg: #FFFFFF;

  /* Shadows & Radius */
  --shadow-sm: 0 2px 8px rgba(16, 36, 58, 0.05);
  --shadow-md: 0 8px 24px rgba(16, 36, 58, 0.08);
  --shadow-lg: 0 16px 40px rgba(16, 36, 58, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', Arial, sans-serif;
  --max-width: 1180px;
}

/* Reset & Global Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

ul {
  list-style: none;
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Shared Layout */
section {
  padding: 80px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px auto;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background-color: var(--gold);
  display: inline-block;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
  color: var(--text);
}

.section-head p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Buttons System */
.btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 13px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-orange {
  background-color: var(--orange);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(255, 135, 0, 0.35);
}

.btn-orange:hover {
  background-color: #E67900;
  box-shadow: 0 8px 24px rgba(255, 135, 0, 0.45);
}

.btn-green {
  background-color: var(--green);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(8, 114, 78, 0.25);
}

.btn-green:hover {
  background-color: var(--green-dark);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Tooltip Toast for Copy Feedback */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--gold);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  pointer-events: none;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header.sticky-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(8, 114, 78, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  padding: 6px 2px;
  position: relative;
}

.nav-link:hover {
  color: var(--green);
}

.nav-link.active {
  color: var(--green);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--gold);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions .btn {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* Mobile Hamburger Button */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 600;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  padding: 24px;
  z-index: 550;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-drawer.open {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(0);
  opacity: 1;
}

.mobile-drawer .nav-link {
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--light);
}

.mobile-drawer .nav-actions {
  flex-direction: column;
  width: 100%;
  margin-top: 12px;
  gap: 12px;
}

.mobile-drawer .nav-actions .btn {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(155deg, var(--green-dark) 0%, var(--green) 45%, var(--blue) 100%);
  color: #FFFFFF;
  padding: 90px 0 60px 0;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 82% 20%, rgba(197, 160, 35, 0.22), transparent 45%),
              radial-gradient(circle at 12% 85%, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 35, 0.3);
}

.hero-eyebrow {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  color: #FFFFFF;
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero-title .gold-text {
  color: var(--gold);
  font-style: italic;
}

.hero-description {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Hero Statistics Bar */
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 36px;
  gap: 16px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.18);
}

.stat-number {
  font-family: var(--font-sans);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   Our Approach Section
   ========================================================================== */
.approach-section {
  background-color: var(--light);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.approach-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.approach-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(8, 114, 78, 0.08);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon-wrap svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.approach-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text);
}

.approach-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ==========================================================================
   Program Domains Section
   ========================================================================== */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.domain-card {
  border-radius: var(--radius-md);
  padding: 28px 24px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

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

.domain-number {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  opacity: 0.75;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.domain-card h3 {
  color: #FFFFFF;
  font-size: 1.35rem;
  margin-bottom: 10px;
  line-height: 1.25;
}

.domain-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.domain-badge-placeholder {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Card Themes */
.domain-green { background: linear-gradient(135deg, #08724E, #063B2B); }
.domain-blue { background: linear-gradient(135deg, #1463B9, #0C3C74); }
.domain-gold { background: linear-gradient(135deg, #C5A023, #8A6E10); }
.domain-orange { background: linear-gradient(135deg, #FF8700, #C26300); }
.domain-deep-green { background: linear-gradient(135deg, #19753A, #0E4822); }
.domain-purple { background: linear-gradient(135deg, #7C3AED, #5B21B6); }
.domain-teal { background: linear-gradient(135deg, #0D9488, #115E59); }
.domain-rose { background: linear-gradient(135deg, #E11D48, #9F1239); }
.domain-indigo { background: linear-gradient(135deg, #4F46E5, #3730A3); }
.domain-amber { background: linear-gradient(135deg, #D97706, #92400E); }

/* ==========================================================================
   Donation CTA Banner Section
   ========================================================================== */
.donation-cta-section {
  padding: 40px 0 80px 0;
}

.donation-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.donation-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: radial-gradient(circle at 80% 50%, rgba(197, 160, 35, 0.25), transparent 60%);
  pointer-events: none;
}

.donation-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.banner-text {
  max-width: 600px;
}

.banner-text h2 {
  color: #FFFFFF;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.banner-text p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.donation-banner .btn {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ==========================================================================
   Financial Transparency Section
   ========================================================================== */
.transparency-section {
  background-color: var(--light);
}

.transparency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  gap: 24px;
}

.transparency-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.transparency-card h3 {
  font-size: 1.25rem;
  color: var(--green);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(8, 114, 78, 0.1);
}

.info-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-value-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #EAEFF5;
}

.info-value {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  word-break: break-all;
}

.copy-btn {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: var(--green);
  color: #FFFFFF;
  border-color: var(--green);
}

.tax-notes {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

.qr-card-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-image-wrapper {
  width: 180px;
  height: 180px;
  margin: 12px 0 16px 0;
  padding: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.qr-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-caption {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  background-color: var(--navy);
  color: #B0C0D4;
  padding: 70px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer-brand h4 {
  color: #FFFFFF;
  font-size: 1.2rem;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col h5 {
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #B0C0D4;
}

.footer-links a:hover {
  color: var(--gold);
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-size: 0.85rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.newsletter-form button:hover {
  background: #D8B73A;
}

.newsletter-feedback {
  font-size: 0.78rem;
  margin-top: 8px;
  color: var(--gold);
  display: none;
}

/* Social Row */
.social-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  color: #FFFFFF;
}

.social-row a:hover {
  background-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.social-row svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Bottom Footer Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.8rem;
  color: #7A8CA4;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .domains-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .transparency-grid {
    grid-template-columns: 1fr 1fr;
  }

  .qr-card-item {
    grid-column: span 2;
  }

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

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .nav-menu, .nav-actions {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .hero-section {
    padding: 60px 0 40px 0;
  }

  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .domains-grid {
    grid-template-columns: 1fr;
  }

  .donation-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .transparency-grid {
    grid-template-columns: 1fr;
  }

  .qr-card-item {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats-bar {
    grid-template-columns: 1fr;
  }

  .stat-item::after {
    display: none !important;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }
}
