/* ===== CSS Variables (Design System) ===== */
:root {
  --background: #ffffff;
  --foreground: #1a1f36;
  
  --card: #ffffff;
  --card-foreground: #1a1f36;
  
  --primary: #e07b5c;
  --primary-foreground: #ffffff;
  
  --secondary: #1a1f36;
  --secondary-foreground: #ffffff;
  
  --muted: #f5f6f8;
  --muted-foreground: #6b7280;
  
  --coral: #e07b5c;
  --coral-light: #e99a82;
  --coral-dark: #c9674a;
  
  --navy: #1a1f36;
  --navy-light: #2d3452;
  
  --border: #e5e7eb;
  --radius: 0.75rem;
  
  --shadow-soft: 0 4px 20px -2px rgba(26, 31, 54, 0.1);
  --shadow-card: 0 10px 40px -10px rgba(26, 31, 54, 0.15);
  --shadow-elevated: 0 25px 50px -12px rgba(26, 31, 54, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== Utilities ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-coral {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--primary-foreground);
  box-shadow: 0 4px 15px rgba(224, 123, 92, 0.3);
}

.btn-coral:hover {
  opacity: 0.9;
  box-shadow: 0 6px 20px rgba(224, 123, 92, 0.4);
}

.btn-default {
  background: var(--foreground);
  color: var(--background);
}

.btn-default:hover {
  opacity: 0.9;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--secondary-foreground);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 0.75rem 2rem;
}

.btn-xl {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
}

.btn-full {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(26, 31, 54, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

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

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
}

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

.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--secondary-foreground);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.nav-desktop a:hover {
  color: var(--coral);
}

.btn-header-donate {
  display: none;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: var(--secondary-foreground);
  position: relative;
  transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--secondary-foreground);
  transition: all 0.3s ease;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  bottom: -7px;
}

.mobile-menu-toggle.active .hamburger {
  background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: rgba(26, 31, 54, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  margin: 0.5rem 1rem;
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav a {
  padding: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--coral);
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  
  .btn-header-donate {
    display: inline-flex;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 31, 54, 0.9), rgba(26, 31, 54, 0.7), rgba(224, 123, 92, 0.3));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26, 31, 54, 0.5);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  color: var(--coral);
}

.hero-badge span {
  color: var(--secondary-foreground);
  font-size: 0.875rem;
}

.hero-title {
  font-size: 2.5rem;
  color: var(--secondary-foreground);
  margin-bottom: 1.5rem;
}

.hero-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-dot {
  width: 0.375rem;
  height: 0.75rem;
  background: var(--coral);
  border-radius: 9999px;
  animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
  
  .hero-description {
    font-size: 1.25rem;
  }
  
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

/* ===== Section Styles ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: block;
  color: var(--coral);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2rem;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-title.light {
  color: var(--secondary-foreground);
}

.section-description {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.section-description.light {
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

/* ===== About Section ===== */
.about {
  padding: 6rem 0;
  background: var(--muted);
}

.about-grid {
  display: grid;
  gap: 3rem;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--coral);
  color: var(--primary-foreground);
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
}

.badge-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
}

.badge-text {
  font-size: 0.875rem;
  opacity: 0.9;
}

.objectives-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.objective-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s ease;
}

.objective-card:hover {
  box-shadow: var(--shadow-card);
}

.objective-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(224, 123, 92, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--coral);
}

.objective-content h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.objective-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

/* ===== Impact Section ===== */
.impact {
  padding: 6rem 0;
  background: var(--navy);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--secondary-foreground);
  font-weight: 500;
  font-size: 0.875rem;
}

.stat-sublabel {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.impact-cta {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.impact-cta img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
}

.impact-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 31, 54, 0.95), rgba(224, 123, 92, 0.6));
  display: flex;
  align-items: center;
}

.impact-cta-content {
  padding: 2rem;
  max-width: 32rem;
}

.impact-cta-content h3 {
  font-size: 1.5rem;
  color: var(--secondary-foreground);
  margin-bottom: 1rem;
}

.impact-cta-content p {
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stat-number {
    font-size: 3rem;
  }
  
  .impact-cta-content {
    padding: 3rem;
  }
  
  .impact-cta-content h3 {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Get Involved Section ===== */
.get-involved {
  padding: 6rem 0;
  background: var(--muted);
}

.involvement-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.involvement-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.involvement-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.involvement-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(224, 123, 92, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  margin-bottom: 1.5rem;
}

.involvement-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.involvement-card > p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(26, 31, 54, 0.8);
  margin-bottom: 0.5rem;
}

.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
}

.help-cta {
  background: var(--navy);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
}

.help-cta h3 {
  color: var(--secondary-foreground);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.help-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .involvement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .involvement-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Team Section ===== */
.team {
  padding: 6rem 0;
  background: var(--background);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.team-member {
  text-align: center;
}

.member-avatar,
.member-photo {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary-foreground);
  transition: transform 0.3s ease;
  object-fit: cover;
}

.member-photo {
  border: 3px solid var(--coral);
  box-shadow: 0 4px 15px rgba(224, 123, 92, 0.2);
}

.team-member:hover .member-avatar,
.team-member:hover .member-photo {
  transform: scale(1.05);
}

.bg-coral {
  background: var(--coral);
}

.bg-coral-dark {
  background: var(--coral-dark);
}

.bg-navy {
  background: var(--navy);
}

.bg-navy-light {
  background: var(--navy-light);
}

.team-member h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.team-member p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.team-quote {
  margin-top: 4rem;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(26, 31, 54, 0.8);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .member-avatar {
    width: 8rem;
    height: 8rem;
    font-size: 2rem;
  }
  
  .team-quote {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Contact Section ===== */
.contact {
  padding: 6rem 0;
  background: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-card,
.faq-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.contact-card h3,
.faq-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(224, 123, 92, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--coral);
}

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

.contact-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-value {
  color: var(--foreground);
}

.contact-value.link {
  transition: color 0.2s ease;
}

.contact-value.link:hover {
  color: var(--coral);
}

.scholarship-cta {
  background: var(--navy);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.scholarship-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(224, 123, 92, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--coral);
}

.scholarship-content h4 {
  color: var(--secondary-foreground);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.scholarship-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  text-align: left;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.accordion-trigger:hover {
  color: var(--coral);
}

.accordion-trigger svg {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding-bottom: 1rem;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-content p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  max-width: 28rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.125rem;
  color: var(--secondary-foreground);
  margin-bottom: 1rem;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

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

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-contact-item svg {
  color: var(--coral);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact-item a {
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: var(--coral);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--coral);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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