/* ============================================
   Kumi Hospital - Modern Futuristic Stylesheet
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
/* Brand colors extracted from Kumi Hospital logo:
   - Deep forest green (leaves) = healing, nature, growth, life
   - Warm golden amber (background) = hope, faith, warmth, divine light
   - Earth brown (fruits) = stability, tradition, rootedness
   - Cream/white (ring) = purity, cleanliness, medical trust
*/
:root {
  /* Primary Colors - Healing Green (from logo leaves) */
  --primary: #2d6a2e;
  --primary-light: #3d8b3e;
  --primary-dark: #1e4d1f;
  --primary-gradient: linear-gradient(135deg, #1e4d1f 0%, #2d6a2e 40%, #3d8b3e 100%);

  /* Accent Colors - Golden Hope (from logo background) */
  --accent: #c8960c;
  --accent-light: #e8bc30;
  --accent-dark: #9c7400;

  /* Earth Brown (from logo fruits) */
  --earth: #7a5230;
  --earth-light: #9a7050;
  --earth-dark: #5a3a1e;

  /* Neutral Colors - Warm-tinted grays */
  --white: #ffffff;
  --off-white: #faf9f7;
  --gray-50: #f5f3f0;
  --gray-100: #e8e4df;
  --gray-200: #d1cbc3;
  --gray-300: #b3aba0;
  --gray-400: #8a8078;
  --gray-500: #665e56;
  --gray-600: #4a443e;
  --gray-700: #332e2a;
  --gray-800: #221e1b;
  --gray-900: #141210;

  /* Semantic Colors */
  --success: #2d8a3e;
  --warning: #c8960c;
  --danger: #c0392b;
  --info: #2874a6;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 30px rgba(45,106,46,0.2);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 900px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-light);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gray-800);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-md);
  color: var(--gray-600);
}

/* --- Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--gray {
  background: var(--gray-50);
}

.section--dark {
  background: var(--gray-800);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: var(--gray-200);
}

.section--primary {
  background: var(--primary-gradient);
  color: var(--white);
}

.section--primary h2,
.section--primary h3 {
  color: var(--white);
}

.section--primary p {
  color: rgba(255,255,255,0.9);
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.section-header .subtitle {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: var(--space-lg) auto 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(45,106,46,0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(45,106,46,0.4);
  color: var(--white);
}

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--gray-800);
  box-shadow: 0 4px 15px rgba(200,150,12,0.3);
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(200,150,12,0.4);
  color: var(--gray-800);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

.btn--sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: transparent;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  height: 70px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  z-index: 1001;
}

.logo__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.logo__text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.1;
}

.logo__text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header.scrolled .logo__text {
  color: var(--gray-800);
}

.header.scrolled .logo__text span {
  color: var(--gray-400);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

.header.scrolled .nav__link {
  color: var(--gray-600);
}

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active {
  color: var(--primary);
  background: var(--gray-50);
}

.nav__cta {
  margin-left: var(--space-sm);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.header.scrolled .menu-toggle span {
  background: var(--gray-700);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,18,16,0.82) 0%, rgba(30,77,31,0.7) 40%, rgba(45,106,46,0.55) 70%, rgba(61,139,62,0.45) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: var(--header-height);
  min-height: 100vh;
}

.hero__content {
  padding: var(--space-3xl) 0;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

.hero__badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

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

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-2xl);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__stat {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Image Slider */
.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.03);
}

.hero__slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slider Navigation Arrows */
.hero__slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  opacity: 0;
}

.hero:hover .hero__slider-btn {
  opacity: 1;
}

.hero__slider-btn:hover {
  background: rgba(45,106,46,0.7);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-50%) scale(1.1);
}

.hero__slider-btn--prev {
  left: 24px;
}

.hero__slider-btn--next {
  right: 24px;
}

/* Slider Dots */
.hero__slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
}

.hero__slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero__slider-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
}

.hero__slider-dot:hover:not(.active) {
  background: rgba(255,255,255,0.4);
}

/* Floating elements */
.hero__float {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

.hero__float--top {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.hero__float--bottom {
  bottom: 15%;
  left: -10%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero__float-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.hero__float-text {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.hero__float-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-400);
}

/* --- Page Header (for inner pages) --- */
.page-header {
  background: linear-gradient(135deg, #141210 0%, #1e4d1f 40%, #2d6a2e 70%, #3d8b3e 100%);
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 20% 50%, var(--accent) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--accent) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .separator {
  color: rgba(255,255,255,0.3);
}

.breadcrumb .current {
  color: var(--accent);
  font-weight: 500;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-100);
}

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

.card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card__body {
  padding: var(--space-xl);
}

.card__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(45,106,46,0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.card__title {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.card__text {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: var(--space-md);
  transition: gap var(--transition-fast);
}

.card__link:hover {
  gap: var(--space-md);
}

/* Icon Card */
.icon-card {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.icon-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.icon-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: rgba(45,106,46,0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  transition: all var(--transition-base);
}

.icon-card:hover .icon-card__icon {
  background: var(--primary-gradient);
  color: var(--white);
  transform: scale(1.1);
}

.icon-card__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.icon-card__text {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Team Card */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

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

.team-card__image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
}

.team-card__body {
  padding: var(--space-lg);
}

.team-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--gray-800);
}

.team-card__role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

/* --- Grid Layouts --- */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

.grid--auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--auto-fill-sm {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* --- About / Feature Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image__overlay {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  background: var(--white);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image__overlay strong {
  display: block;
  font-size: 2rem;
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1;
}

.about-image__overlay span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.about-content h2 {
  margin-bottom: var(--space-lg);
}

.about-content p {
  margin-bottom: var(--space-md);
}

.feature-list {
  margin-top: var(--space-xl);
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.feature-list__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(45,106,46,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
}

.feature-list__text h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.feature-list__text p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--gray-500);
}

/* --- Values/Core Cards --- */
.value-card {
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.value-card h4 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  padding: var(--space-2xl) 0;
}

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

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-item__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Department List --- */
.dept-card {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.dept-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.dept-card__number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
}

.dept-card__info h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.dept-card__info p {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

/* --- Service List --- */
.service-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.service-item__check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: rgba(45,138,62,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 0.9rem;
}

.service-item span {
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* --- Testimonial / Quote --- */
.quote-block {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  position: relative;
  margin: var(--space-2xl) 0;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

.quote-block p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.quote-block .quote-author {
  font-style: normal;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 1rem;
}

.quote-block .quote-author span {
  display: block;
  font-weight: 400;
  color: var(--primary);
  font-size: 0.9rem;
}

/* --- CTA Section --- */
.cta {
  background: linear-gradient(135deg, #1e4d1f 0%, #2d6a2e 40%, #3d8b3e 80%, #4a9e4b 100%);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.cta .btn {
  margin: 0 var(--space-sm);
}

/* --- Partners / Logo Grid --- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--space-lg);
  align-items: center;
  justify-items: center;
}

.partner-logo {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  opacity: 0.7;
  transition: all var(--transition-base);
  filter: grayscale(50%);
  max-height: 80px;
  object-fit: contain;
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* --- Video Grid --- */
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

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

.video-card__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-card__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card__title {
  padding: var(--space-md) var(--space-lg);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* --- Newsletter Grid --- */
.newsletter-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  display: block;
}

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

.newsletter-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.newsletter-card__info {
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  text-align: center;
}

.newsletter-card__info span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

/* --- Download Item --- */
.download-item {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.download-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.download-item__icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(192,57,43,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  font-size: 1.3rem;
}

.download-item__info {
  flex: 1;
}

.download-item__info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.download-item__info p {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

/* --- Contact Form & Info --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(45,106,46,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-info__text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.contact-info__text p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--gray-500);
}

.contact-info__text a {
  color: var(--primary);
  font-weight: 500;
}

.contact-form {
  background: var(--white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  background: var(--white);
  color: var(--gray-700);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,106,46,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Map Section --- */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Donate Section --- */
.donate-card {
  background: linear-gradient(135deg, #9c7400, #c8960c, #e8bc30);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  color: var(--gray-800);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.donate-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.donate-card h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
  color: var(--gray-800);
}

.donate-card p {
  color: rgba(0,0,0,0.7);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

.bank-details {
  background: rgba(255,255,255,0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.bank-details h4 {
  margin-bottom: var(--space-md);
  font-size: 1rem;
  color: var(--gray-800);
}

.bank-details p {
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
}

/* --- Accommodation Section --- */
.amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  background: var(--gray-50);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--gray-600);
  margin: 0.25rem;
}

.amenity-tag .icon {
  color: var(--primary);
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--gray-500);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-4xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand {
  max-width: 320px;
}

.footer__brand .logo {
  margin-bottom: var(--space-lg);
}

.footer__brand .logo__text {
  color: var(--white);
}

.footer__brand .logo__text span {
  color: var(--gray-400);
}

.footer__brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer__title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  color: var(--gray-400);
}

.footer__contact-item .icon {
  color: var(--primary-light);
  min-width: 20px;
  margin-top: 2px;
}

.footer__bottom {
  padding: var(--space-xl) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 999;
  font-size: 1.2rem;
}

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

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* --- Ateso Language Section --- */
.language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.language-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
}

.language-item__ateso {
  font-weight: 600;
  color: var(--primary);
}

.language-item__english {
  color: var(--gray-500);
}

/* --- Loader --- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader__spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--gray-100);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Misc --- */
.divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: var(--radius-full);
  margin: var(--space-lg) 0;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(45,106,46,0.1);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--accent {
  background: rgba(200,150,12,0.15);
  color: var(--accent-dark);
}

.badge--free {
  background: rgba(45,138,62,0.15);
  color: var(--success);
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
