/* ===== CSS Variables ===== */
:root {
  --primary: #4a7c59;
  --primary-dark: #3a6348;
  --primary-light: #e8f5e9;
  --primary-muted: #cdeacf;
  --accent: #6a7a6c;
  --gold: #c9a84c;
  --gold-light: #e2cc7e;
  --text: #161616;
  --text-secondary: #4f554f;
  --text-muted: #6a7a6c;
  --bg: #ffffff;
  --bg-sage: #ecf6ec;
  --bg-cream: #f8faf8;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 40px rgba(74, 124, 89, 0.18);
  --shadow-glow: 0 0 30px rgba(74, 124, 89, 0.25);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --transition: 0.3s ease;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-bg-dark: rgba(255, 255, 255, 0.08);
  --glass-border-dark: rgba(255, 255, 255, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
}

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

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Keyframes ===== */
@keyframes heroGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(201, 168, 76, 0.2), 0 0 30px rgba(74, 124, 89, 0.1); }
  50% { box-shadow: 0 0 25px rgba(201, 168, 76, 0.4), 0 0 50px rgba(74, 124, 89, 0.2); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes ctaShimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 2px solid transparent;
  text-align: center;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #5a9d6b);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(74, 124, 89, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74, 124, 89, 0.4), 0 0 20px rgba(74, 124, 89, 0.2);
}

.btn-soft {
  background: rgba(205, 234, 207, 0.6);
  color: var(--primary-dark);
  border-color: rgba(205, 234, 207, 0.8);
  backdrop-filter: blur(8px);
}

.btn-soft:hover {
  background: linear-gradient(135deg, var(--primary), #5a9d6b);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74, 124, 89, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

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

.btn-outline-dark:hover {
  background: linear-gradient(135deg, var(--primary), #5a9d6b);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74, 124, 89, 0.3);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 0.95rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-nav {
  padding: 10px 28px;
  background: linear-gradient(135deg, var(--primary), #5a9d6b);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 12px rgba(74, 124, 89, 0.25);
}

.btn-nav:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 124, 89, 0.35);
}

.btn-install {
  padding: 10px 28px;
  background: linear-gradient(135deg, var(--gold, #c9a84c), #d4b85c);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.3);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-install:hover {
  background: linear-gradient(135deg, #d4b85c, var(--gold, #c9a84c));
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(74, 124, 89, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.6rem;
  color: var(--primary);
  filter: drop-shadow(0 2px 4px rgba(74, 124, 89, 0.3));
}

.logo-img {
  height: 64px;
  width: auto;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: var(--text-secondary);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 30, 15, 0.6) 0%,
    rgba(20, 40, 20, 0.35) 40%,
    rgba(15, 30, 15, 0.65) 100%
  );
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    270deg,
    rgba(74, 124, 89, 0.15),
    rgba(201, 168, 76, 0.08),
    rgba(74, 124, 89, 0.15),
    rgba(201, 168, 76, 0.05)
  );
  background-size: 400% 400%;
  animation: heroGradientShift 12s ease infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0 40px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: rgba(255, 255, 255, 0.95);
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: badgeGlow 3s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  color: var(--white);
  margin-bottom: 24px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
}

.highlight {
  background: linear-gradient(135deg, #a8dbb0, var(--gold-light), #a8dbb0);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientText 4s ease infinite;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 44px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.hero-buttons .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

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

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a8dbb0 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  margin-top: 6px;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  padding: 100px 0 40px;
  background: linear-gradient(180deg, var(--bg-sage) 0%, var(--bg) 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.page-hero .section-tag {
  margin-bottom: 12px;
}

.page-hero .section-intro {
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Active Nav Link ===== */
.nav-links .active-link {
  color: var(--primary) !important;
}

/* ===== Sections ===== */
.section {
  padding: 36px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
}

/* ===== About Section ===== */
.about-section {
  background: linear-gradient(180deg, #e8f5e9 0%, #f8faf8 100%);
  text-align: center;
}

.about-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 18px;
  color: var(--text);
}

.about-text {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  font-weight: 300;
}

/* ===== Verse Section ===== */
.verse-section {
  background: var(--bg);
  padding: 36px 0;
}

.verse-block {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 28px 30px;
  background: linear-gradient(135deg, rgba(232, 245, 233, 0.5), rgba(201, 168, 76, 0.06));
  border-radius: var(--radius);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.verse-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 20px;
}

.verse-quote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.85;
  color: var(--text);
  margin: 0;
  font-weight: 300;
}

.verse-cite {
  display: block;
  margin-top: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
}

.verse-reflection {
  margin-top: 18px;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.7;
}

/* ===== Values Section (We Support + Mission/Vision/Motto) ===== */
.values-section {
  background: var(--bg-sage);
  padding: 36px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.values-heading {
  font-size: 1.3rem;
  margin-bottom: 18px;
  color: var(--text);
  position: relative;
  padding-bottom: 10px;
}

.values-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
}

.support-list {
  list-style: none;
  padding: 0;
}

.support-list li {
  padding: 10px 0 10px 24px;
  position: relative;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.support-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
}

.mvm-item {
  margin-bottom: 20px;
}

.mvm-item:last-child {
  margin-bottom: 0;
}

.mvm-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.mvm-item p {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.95rem;
}

.mvm-motto p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  font-style: italic;
}

/* ===== Programmes Section ===== */
.programmes-section {
  background: var(--bg-cream);
  padding: 36px 0;
}

.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.prog-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 18px;
  border: 1px solid rgba(74, 124, 89, 0.08);
  transition: box-shadow var(--transition), transform var(--transition);
}

.prog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.prog-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-sage);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.prog-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.prog-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 8px;
}

/* ===== Approach Section ===== */
.approach-section {
  background: var(--bg-sage);
  padding: 36px 0;
}

.approach-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}

.approach-section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.approach-intro {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 24px;
  font-weight: 300;
  line-height: 1.7;
}

.approach-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(74, 124, 89, 0.1);
}

.pillar-icon {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.approach-goal {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}

.approach-goal p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.7;
  font-style: italic;
}

/* ===== CTA Contact Line ===== */
.cta-contact-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.5px;
}

.cta-divider {
  opacity: 0.5;
}

.cta-location {
  font-weight: 400;
  font-size: 0.95rem;
  opacity: 0.8;
}

/* ===== Image Banner ===== */
.image-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.image-banner-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.image-banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-banner-item:hover img {
  transform: scale(1.05);
}

.image-banner-item:hover {
  box-shadow: 0 8px 30px rgba(74, 124, 89, 0.25);
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===== Nature Strip ===== */
.nature-strip {
  overflow: hidden;
}

.nature-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.nature-strip-inner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease, box-shadow 0.4s ease;
  display: block;
}

.nature-strip-inner img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(74, 124, 89, 0.3);
}

/* ===== About (legacy — kept for inner pages if needed) ===== */
.about-legacy {
  background: linear-gradient(180deg, #e8f5e9 0%, #f0f7f0 50%, #f8faf8 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 48px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.about-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 48px rgba(74, 124, 89, 0.15), 0 0 20px rgba(74, 124, 89, 0.08);
  border-color: rgba(74, 124, 89, 0.2);
}

.about-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 124, 89, 0.1), rgba(201, 168, 76, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
  border: 1px solid rgba(74, 124, 89, 0.12);
}

.about-card h3 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.8;
}

/* ===== Programs ===== */
.programs {
  background: linear-gradient(180deg, var(--bg) 0%, #f8faf8 100%);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.program-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
  opacity: 0;
  transition: opacity var(--transition);
}

.program-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 48px rgba(74, 124, 89, 0.15), 0 0 20px rgba(74, 124, 89, 0.08);
  border-color: rgba(74, 124, 89, 0.2);
}

.program-card:hover::before {
  opacity: 1;
}

.program-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(74, 124, 89, 0.1), rgba(201, 168, 76, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  border: 1px solid rgba(74, 124, 89, 0.1);
}

.program-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.program-card > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 22px;
  line-height: 1.7;
}

.program-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.program-features li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.program-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-muted), var(--gold-light));
  border: 2px solid var(--primary);
}

/* ===== Why Us ===== */
.why-us {
  background: linear-gradient(180deg, #ecf6ec 0%, #e2f0e3 50%, #ecf6ec 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 60px;
}

.why-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.why-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(74, 124, 89, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* reset background for the circle container */
}

.why-number {
  background: rgba(255, 255, 255, 0.8);
  -webkit-text-fill-color: var(--primary);
  border: 2px solid rgba(74, 124, 89, 0.2);
  box-shadow: 0 4px 15px rgba(74, 124, 89, 0.1);
}

.why-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.why-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== Team ===== */
.team {
  background: linear-gradient(180deg, var(--bg) 0%, #f5faf5 100%);
}

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

.team-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 40px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 48px rgba(74, 124, 89, 0.15), 0 0 20px rgba(74, 124, 89, 0.08);
  border-color: rgba(74, 124, 89, 0.2);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-sage), rgba(201, 168, 76, 0.1));
  border: 3px solid transparent;
  background-clip: padding-box;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.15);
  transition: box-shadow 0.4s ease;
}

.team-card:hover .team-avatar {
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.3), 0 0 20px rgba(74, 124, 89, 0.15);
}

.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.team-role {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* ===== Testimonials ===== */
.testimonials {
  background: linear-gradient(180deg, #e8f5e9 0%, #ecf6ec 50%, #f0f7f0 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(74, 124, 89, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.7);
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
  opacity: 0;
  transition: opacity var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(74, 124, 89, 0.2), 0 0 30px rgba(74, 124, 89, 0.1);
  border-color: rgba(74, 124, 89, 0.25);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--primary-muted), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: -5px;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.8;
}

.testimonial-author strong {
  display: block;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== Content Blocks (legacy) ===== */
.content-block {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.content-block p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== Programme List (legacy) ===== */
.programme-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
}

.programme-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(74, 124, 89, 0.15);
}

.programme-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(160deg, #2d5038 0%, #3a6348 25%, #4a7c59 50%, #3a6348 75%, #2d5038 100%);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 50%);
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  animation: ctaShimmer 6s ease-in-out infinite;
}

.cta-content {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Contact ===== */
.contact {
  background: linear-gradient(180deg, var(--bg) 0%, #f5faf5 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 32px;
}

.contact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74, 124, 89, 0.12);
  box-shadow: 0 4px 15px rgba(74, 124, 89, 0.08);
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  box-shadow: 0 4px 20px rgba(74, 124, 89, 0.2);
  border-color: rgba(74, 124, 89, 0.25);
}

.contact-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-item a {
  color: var(--primary);
}

.contact-form {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 44px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(74, 124, 89, 0.15);
  border-radius: var(--radius-sm);
  font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.1), 0 0 20px rgba(74, 124, 89, 0.05);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, #151f18 0%, #0e160f 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-about .logo {
  margin-bottom: 18px;
}

.footer-about .logo-text {
  color: var(--white);
}

.footer-about .logo-icon {
  color: var(--primary-muted);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-links h4,
.footer-emergency h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--primary-muted);
  padding-left: 4px;
}

.emergency-number {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-muted) !important;
  margin-bottom: 14px;
  text-shadow: 0 0 20px rgba(74, 124, 89, 0.3);
}

.footer-emergency p {
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.4);
}

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

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

  .values-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

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

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

  .image-banner {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto 50px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  /* Hide hamburger and dropdown nav on mobile — bottom nav replaces them */
  .nav-toggle {
    display: none !important;
  }

  .nav-links {
    display: none !important;
  }

  /* Hide logo text on mobile, show only logo image */
  .navbar .logo-text {
    display: none;
  }

  .navbar .logo-img {
    height: 48px;
  }

  .section {
    padding: 36px 0;
  }

  .hero-content {
    padding: 80px 0 50px;
  }

  .hero-stats {
    gap: 36px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .nature-strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .nature-strip-inner img {
    height: 200px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .cta-buttons .btn {
    width: 100%;
  }

  .hero-buttons {
    margin-bottom: 50px;
  }

  /* New section responsive */
  .prog-grid {
    grid-template-columns: 1fr;
  }

  .approach-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .verse-block {
    padding: 28px 20px;
  }

  .verse-quote {
    font-size: 1.05rem;
  }

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

  .cta-contact-line {
    font-size: 0.95rem;
  }
}

/* ===== Accent Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.accent-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(74, 124, 89, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.accent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.accent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(74, 124, 89, 0.15), 0 0 0 1px rgba(74, 124, 89, 0.1);
  border-color: rgba(74, 124, 89, 0.15);
}

.accent-card:hover::before {
  transform: scaleX(1);
}

.accent-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.accent-card:hover h3 {
  color: var(--primary);
}

.accent-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Tab Pagination ===== */
.tab-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.tab-nav-bottom {
  margin-top: 32px;
  margin-bottom: 0;
}

.tab-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(74, 124, 89, 0.2);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.tab-btn:hover {
  background: rgba(74, 124, 89, 0.4);
}

.tab-btn.active {
  background: var(--primary);
  transform: scale(1.3);
}

.tab-arrow {
  padding: 10px 24px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(74, 124, 89, 0.2);
  background: rgba(255, 255, 255, 0.8);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

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

.tab-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.tab-arrow:disabled:hover {
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  border-color: rgba(74, 124, 89, 0.2);
}

.tab-page {
  display: none;
}

.tab-page.active {
  display: block;
  animation: tabFadeIn 0.35s ease;
}

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

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for grid children */
.about-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.about-card.fade-in:nth-child(3) { transition-delay: 0.2s; }

.program-card.fade-in:nth-child(2) { transition-delay: 0.08s; }
.program-card.fade-in:nth-child(3) { transition-delay: 0.16s; }
.program-card.fade-in:nth-child(4) { transition-delay: 0.08s; }
.program-card.fade-in:nth-child(5) { transition-delay: 0.16s; }
.program-card.fade-in:nth-child(6) { transition-delay: 0.24s; }

.team-card.fade-in:nth-child(2) { transition-delay: 0.08s; }
.team-card.fade-in:nth-child(3) { transition-delay: 0.16s; }
.team-card.fade-in:nth-child(4) { transition-delay: 0.24s; }

.testimonial-card.fade-in:nth-child(2) { transition-delay: 0.1s; }
.testimonial-card.fade-in:nth-child(3) { transition-delay: 0.2s; }

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ===== Page Transition ===== */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.page-transition.loaded {
  opacity: 0;
}

/* ===== Mobile Bottom Navigation ===== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(74, 124, 89, 0.1);
  padding: 6px 8px env(safe-area-inset-bottom, 8px);
  justify-content: space-evenly;
  align-items: center;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.06);
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.mobile-nav-item.active {
  color: var(--primary);
}

.mobile-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 0 0 3px 3px;
}

.mobile-nav-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.mobile-nav-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-nav-cta {
  color: var(--white);
  background: var(--primary);
  border-radius: 12px;
  margin: 4px 2px;
  padding: 6px 14px;
}

.mobile-nav-cta.active {
  color: var(--white);
  background: var(--primary-dark);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }

  /* Add padding to body so content isn't hidden behind bottom nav */
  body {
    padding-bottom: 72px;
  }

  /* Hide desktop nav buttons on mobile since we have bottom nav */
  .btn-nav, .btn-install {
    display: none;
  }
}

/* ===== Mobile Install Banner ===== */
.mobile-install-banner {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(135deg, var(--primary), #5a9d6b);
  color: var(--white);
  padding: 14px 16px;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.mobile-install-banner.show {
  display: flex;
}

.mobile-install-banner .banner-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.mobile-install-banner .banner-text {
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.3;
}

.mobile-install-banner .banner-text strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 1px;
}

.mobile-install-banner .banner-install-btn {
  background: var(--white);
  color: var(--primary);
  border: none;
  border-radius: 50px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}

.mobile-install-banner .banner-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  line-height: 1;
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px;
  }
}

/* ===== Standalone PWA Mode ===== */
@media (display-mode: standalone) {
  .navbar {
    padding-top: env(safe-area-inset-top, 0);
  }

  .mobile-bottom-nav {
    display: flex;
  }

  body {
    padding-bottom: 72px;
  }
}
