/* 
   IASON (Interaction Association for Supporting Orphans and Needy)
   Custom CSS System - Matching Client Mockup Exact Styling
*/

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

:root {
  --primary-teal: #045b4c;
  --primary-teal-dark: #023f34;
  --primary-teal-light: #067c68;
  --primary-emerald: #0e6245;
  --secondary-navy: #0b192c;
  --accent-gold: #e5a93c;
  --bg-light: #f8f9fc;
  --card-bg: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(4, 91, 76, 0.1);
  --shadow-lg: 0 12px 32px rgba(11, 25, 44, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--secondary-navy);
}

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

/* ==================== PAGE HEADERS & BANNERS ==================== */
.page-header {
  background: linear-gradient(135deg, #0b192c 0%, #045b4c 100%);
  color: #ffffff !important;
  padding: 85px 20px;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 25, 44, 0.85) 0%, rgba(4, 91, 76, 0.88) 100%);
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-header h1 {
  color: #ffffff !important;
  font-size: 3.2rem !important;
  font-weight: 800 !important;
  margin-bottom: 14px !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  text-align: center !important;
}

.page-header p {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  opacity: 0.95 !important;
  font-weight: 500 !important;
  max-width: 750px;
  margin: 0 auto;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  text-align: center !important;
}

/* ==================== TOP BAR (Dark Teal) ==================== */
.top-bar {
  background-color: var(--primary-teal);
  color: #ffffff;
  font-size: 0.88rem;
  padding: 10px 0;
}

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

.top-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-info span, .top-info a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-weight: 500;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-social a {
  color: #ffffff;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: var(--transition);
}

.top-social a:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: var(--accent-gold);
}

/* ==================== MAIN HEADER & NAV (White Background) ==================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-weight: 600;
  font-size: 1.02rem;
  color: #334155;
  padding: 6px 0;
  position: relative;
}

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

.btn-donate {
  background-color: var(--primary-teal);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(4, 91, 76, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-donate:hover {
  background-color: var(--primary-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(4, 91, 76, 0.35);
}

/* ==================== HERO SLIDER SECTION ==================== */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
  background-color: #0b192c;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  color: #ffffff;
}

.hero-slide-content h1 {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 18px;
  max-width: 720px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-slide-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 30px;
  max-width: 650px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.btn-hero-donate {
  background-color: var(--primary-teal);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.btn-hero-donate:hover {
  background-color: var(--primary-teal-light);
  transform: translateY(-2px);
}

/* Slider Controls (Arrows & Dots) */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--primary-teal);
  width: 30px;
  border-radius: 10px;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
  background: var(--primary-teal);
  color: white;
  padding: 50px 20px;
}

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

.stat-item {
  padding: 20px;
}

.stat-icon {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  opacity: 0.9;
  font-weight: 500;
}

/* ==================== PROGRAM CARDS (WHAT WE DO) ==================== */
.section-padding {
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  color: var(--primary-teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  color: var(--secondary-navy);
  line-height: 1.2;
}

.programs-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.program-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(4, 91, 76, 0.25);
}

.program-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background-color: #f1f5f9;
  position: relative;
}

.program-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-teal);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.program-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.program-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.progress-bar-container {
  background: #e2e8f0;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  background: linear-gradient(90deg, var(--primary-teal), var(--accent-gold));
  height: 100%;
  border-radius: 4px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* ==================== BANK DETAILS CARD ==================== */
.bank-card {
  background: linear-gradient(135deg, var(--secondary-navy) 0%, var(--primary-teal-dark) 100%);
  color: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(229, 169, 60, 0.3);
  margin-bottom: 30px;
}

.bank-card h3 {
  color: var(--accent-gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bank-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bank-detail-row:last-child {
  border-bottom: none;
}

.bank-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.bank-value {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition);
}

.btn-copy:hover {
  background: var(--accent-gold);
  color: var(--secondary-navy);
}

/* ==================== FOOTER ==================== */
.main-footer {
  background-color: var(--secondary-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 20px 20px 20px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto 50px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-col h4 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

/* Buttons */
.btn-primary {
  background: var(--primary-teal);
  color: white;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-teal-dark);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-slide-content h1 {
    font-size: 2.5rem;
  }
  .hero-slider-container {
    height: 460px;
  }
  .nav-menu {
    display: none;
  }
}
