/* ================================================
   THE ALTRUIST – Custom CSS
   Modern, classy look to complement Tailwind CSS
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,400;1,600&display=swap');

:root {
  --orange:        #F7941D;
  --orange-light:  #FFF3E0;
  --teal:          #0E7490;
  --teal-light:    #CFFAFE;
  --indigo:        #4338CA;
  --indigo-light:  #EEF2FF;
  --green:         #059669;
  --green-light:   #D1FAE5;
  --dark:          #111827;
  --text-muted:    #6B7280;
  --border:        #E5E7EB;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #111827;
  background: #fff;
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ---- NAVBAR ---- */
.navbar {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.nav-link {
  position: relative;
  font-weight: 500;
  color: #374151;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }


/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
/*  top: calc(100% + 12px);*/
	top: calc(100% + 2px); /* Ocean dev 24-06-2026 */
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 9px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.dropdown-menu a:hover {
  background: var(--orange-light);
  color: var(--orange);
}

/* ---- HERO ---- */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(1);
}
.hero-content { position: relative; z-index: 30; }

/* ---- SECTION HEADINGS ---- */
.section-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
}
.section-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: #6B7280;
}

/* ---- GRADIENT UNDERLINE ---- */
.gradient-underline {
  position: relative;
  display: inline-block;
}
.gradient-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), #FBBF24);
  border-radius: 2px;
}

/* ---- MILESTONE CARDS ---- */
.milestone-card {
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.milestone-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(247,148,29,0.12);
  border-color: var(--orange);
}
.milestone-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #CFFAFE, #A5F3FC);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.75rem;
}
.milestone-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  font-family: 'Playfair Display', serif;
}

/* ---- STATS BAR ---- */
.stats-section {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,116,144,0.85) 0%, rgba(17,24,39,0.90) 60%, rgba(67,56,202,0.6) 100%);
}
.stat-item { position: relative; z-index: 2; text-align: center; }
.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-family: 'Playfair Display', serif;
}
.stat-number span { color: #34D399; }
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  margin: 0 auto;
}

/* ---- CAREGIVER SECTION ---- */
.video-thumb {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}
.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247,148,29,0.3), rgba(0,0,0,0.3));
  transition: opacity 0.3s;
}
.video-thumb:hover::after { opacity: 0; }
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transition: transform 0.3s, box-shadow 0.3s;
  color: var(--teal);
}
.video-thumb:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

/* ---- LOGOS / PARTNERS ---- */
.logo-card {
  background: #fff;
  border: 1px solid #F3F4F6;
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, box-shadow 0.25s;
  filter: grayscale(40%);
}
.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  filter: grayscale(0%);
}
.logo-card img { max-height: 60px; object-fit: contain; }

/* ---- DONATION SECTION ---- */
.donation-section {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.donation-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0C1445 0%, #0E7490 60%, #1a1a1a 100%);
  opacity: 0.95;
}
.donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #F7941D, #FBBF24);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 44px;
  border-radius: 60px;
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 10;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 30px rgba(247,148,29,0.45);
}
.donate-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(247,148,29,0.55);
}

/* ---- QUOTE BLOCK ---- */
.quote-block {
  position: relative;
  padding: 32px 40px;
  background: #FAFAFA;
  border-radius: 20px;
  border-left: 4px solid var(--orange);
}
.quote-block::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--orange);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
  opacity: 0.3;
}

/* ---- BADGE / TAG ---- */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--teal), var(--indigo));
  color: #fff;
  padding: 4px 14px;
  border-radius: 60px;
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ---- FOOTER ---- */
.footer-link {
  font-size: 0.8125rem;
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--orange); }

/* ---- MOBILE MENU ---- */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,0.96);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  backdrop-filter: blur(16px);
}
#mobile-menu.open { display: flex; }
.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: var(--orange); }

/* ---- COUNTER ANIMATION ---- */
.counter { display: inline-block; }

/* ---- UTILITIES ---- */
.text-orange { color: var(--orange); }
.bg-orange { background-color: var(--orange); }
.border-orange { border-color: var(--orange); }
