/* ===================================================
   NG Farms Sarl — Stylesheet
   =================================================== */

/* === CSS Variables === */
:root {
  --primary:        #16a34a;
  --primary-dark:   #15803d;
  --primary-darker: #166534;
  --accent:         #4ade80;
  --dark:           #0f172a;
  --text:           #1e293b;
  --text-light:     #64748b;
  --bg-light:       #f0fdf4;
  --bg-section:     #f8fafc;
  --white:          #ffffff;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.10), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.10), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.10), 0 10px 10px -5px rgba(0,0,0,0.04);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --transition: all 0.3s ease;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

/* === Container === */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Shared typography helpers === */
.section-label {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger siblings */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===================================================
   HEADER / NAVBAR
   =================================================== */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  transition: padding 0.3s ease;
}

header.scrolled .nav {
  padding: 14px 0;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: var(--white);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-shrink: 0;
}

.logo:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-img--footer {
  height: 36px;
}

.footer-logo {
  margin-bottom: 14px;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Nav links */
nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

header.scrolled nav ul li a {
  color: var(--text);
}

header.scrolled nav ul li a:hover,
header.scrolled nav ul li a.active {
  color: var(--primary);
  background: var(--bg-light);
}

nav ul li a.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 18px;
  box-shadow: 0 2px 12px rgba(22, 163, 74, 0.35);
}

nav ul li a.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.45);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--transition);
}

header.scrolled .lang-switcher {
  background: var(--bg-light);
  border-color: rgba(0, 0, 0, 0.1);
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.06em;
  line-height: 1;
}

header.scrolled .lang-btn {
  color: var(--text-light);
}

.lang-btn.active,
.lang-btn[aria-pressed="true"] {
  background: var(--primary);
  color: var(--white);
}

.lang-btn:not(.active):hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

header.scrolled .lang-btn:not(.active):hover {
  color: var(--primary);
  background: rgba(22, 163, 74, 0.08);
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

header.scrolled .menu-toggle span {
  background: var(--text);
}

/* On transparent header, give the hamburger lines a white colour */
header:not(.scrolled) .menu-toggle span {
  background: var(--white);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===================================================
   HERO
   =================================================== */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(22, 101, 52, 0.68) 100%),
    url('farm.jpg') center / cover no-repeat;
  background-color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 100px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -1.5px;
}

.hero h1 .highlight {
  color: var(--accent);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll down indicator */
.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.25); }
}

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ===================================================
   ABOUT
   =================================================== */
.about {
  padding: 110px 0 100px;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-text .section-label,
.about-text .section-title {
  text-align: left;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.4rem;
  line-height: 1.8;
  font-size: 0.97rem;
}

.about-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2.2rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
}

.check {
  width: 22px;
  height: 22px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
}

/* About visual card */
.about-visual {
  position: relative;
  padding-bottom: 30px;
}

.about-card-main {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  border: 2px solid rgba(22, 163, 74, 0.12);
  position: relative;
  overflow: hidden;
}

.about-card-main::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-icon-large {
  font-size: 4.5rem;
  line-height: 1;
}

.about-card-main h3 {
  font-size: 1.35rem;
  color: var(--text);
}

.about-card-main p {
  color: var(--text-light);
  font-size: 0.88rem;
  max-width: 240px;
  line-height: 1.6;
}

.about-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 9px 24px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.45);
}

/* ===================================================
   ACTIVITIES
   =================================================== */
.activities {
  background: var(--bg-section);
  padding: 100px 0;
  text-align: center;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.activity-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 38px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.activity-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.activity-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 54px;
  height: 54px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.activity-card:hover .card-icon {
  background: var(--primary);
  transform: scale(1.08) rotate(-5deg);
}

.activity-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.activity-card p {
  color: var(--text-light);
  font-size: 0.88rem;
  line-height: 1.75;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 16px;
  transition: gap 0.2s ease;
}

.card-link:hover {
  gap: 10px;
}

/* ===================================================
   STATS
   =================================================== */
.stats {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 16px;
}

.stat-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.stat-number {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-number .suffix {
  font-size: 1.6rem;
  letter-spacing: 0;
  font-weight: 700;
}

.stat-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 400;
}

/* ===================================================
   CONTACT
   =================================================== */
.contact {
  padding: 110px 0 100px;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-label,
.contact-info .section-title {
  text-align: left;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 0.95rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-style: normal;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
  border: 1px solid transparent;
}

.contact-item:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateX(5px);
  border-color: var(--primary);
}

.contact-item:hover .contact-icon {
  background: rgba(255, 255, 255, 0.2);
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-item-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.contact-item:hover .contact-item-text strong {
  opacity: 0.85;
}

.contact-item-text span {
  font-size: 0.88rem;
  font-weight: 500;
}

/* Contact form */
.contact-form-wrapper {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 15px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-submit {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 13px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(22, 163, 74, 0.3);
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
}

/* ===================================================
   GALLERY
   =================================================== */
.gallery {
  padding: 110px 0 0;
  background: var(--white);
}

.gallery-intro {
  text-align: center;
  margin-bottom: 56px;
}

.gallery-intro .section-desc {
  margin-bottom: 0;
}

/* Slider wrapper — full viewport width */
.gallery-slider {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  user-select: none;
  cursor: grab;
  touch-action: pan-y;
}

.gallery-slider:active {
  cursor: grabbing;
}

.gallery-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Individual slide */
.gallery-slide {
  min-width: 100%;
  height: 560px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 8s ease;
}

.gallery-slider:not(:hover) .gallery-slide.active img {
  transform: scale(1.04);
}

/* Caption overlay */
.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
  color: var(--white);
  padding: 60px 48px 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.slide-caption-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Placeholder slides */
.gallery-slide--placeholder {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 100%);
}

.gallery-slide--placeholder2 {
  background: linear-gradient(135deg, #0d4023 0%, var(--primary-darker) 100%);
}

.slide-placeholder-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px;
  text-align: center;
}

.slide-placeholder-icon {
  font-size: 4rem;
  opacity: 0.5;
}

.slide-placeholder-content p {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  max-width: 300px;
}

/* Navigation arrows */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.gallery-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.gallery-btn--prev { left: 24px; }
.gallery-btn--next { right: 24px; }

/* Dot indicators */
.gallery-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  padding: 0;
}

.gallery-dot.active {
  background: var(--white);
  width: 28px;
}

/* Progress bar */
.gallery-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  z-index: 11;
  transition: width 0.1s linear;
}

/* Gallery responsive rules are in the unified section below */

/* ===================================================
   TEAM
   =================================================== */
.team {
  padding: 110px 0 100px;
  background: var(--bg-section);
  text-align: center;
}

.team-header {
  margin-bottom: 56px;
}

.team-header .section-desc {
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 32px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-card:hover::before {
  transform: scaleX(1);
}

/* Avatar circle with initials */
.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  position: relative;
  flex-shrink: 0;
  transition: var(--transition);
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.team-card:hover .team-avatar::after {
  border-color: var(--accent);
}

.team-avatar--primary {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary));
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
}

.team-avatar--dark {
  background: linear-gradient(135deg, #0d4023, var(--primary-darker));
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
}

.team-avatar--accent {
  background: linear-gradient(135deg, var(--primary), #22c55e);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}

.team-card:hover .team-avatar {
  transform: scale(1.06);
}

/* Photo variant */
.team-card--photo {
  padding: 0 0 32px;
  overflow: hidden;
}

.team-photo-wrapper {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-bottom: 24px;
  position: relative;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
  display: block;
}

.team-card--photo:hover .team-photo {
  transform: scale(1.04);
}

.team-card--photo .team-info {
  padding: 0 28px;
}

.team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.team-role {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary-darker);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
}

/* ===================================================
   WHATSAPP FLOATING BUTTON
   =================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 998;
  transition: var(--transition);
  animation: fabPulse 2.5s ease-in-out infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65);
  animation: none;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50%       { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.65), 0 0 0 10px rgba(37, 211, 102, 0.08); }
}

/* ===================================================
   RESPONSIVE SYSTEM
   Breakpoints: 1200 → 1024 → 768 → 480 → 375
   =================================================== */

/* --------------------------------------------------
   ≤ 1200px  Compact nav items so 6 links all fit
   -------------------------------------------------- */
@media (max-width: 1200px) {
  nav ul { gap: 2px; }

  nav ul li a {
    padding: 7px 10px;
    font-size: 0.82rem;
  }

  nav ul li a.nav-cta {
    padding: 7px 14px;
  }
}

/* --------------------------------------------------
   ≤ 1024px  Switch to mobile menu; collapse grids
   -------------------------------------------------- */
@media (max-width: 1024px) {
  /* --- Mobile hamburger --- */
  .menu-toggle { display: flex; }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    padding: 40px 32px;
    gap: 4px;
    transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.25);
  }

  nav ul.open { right: 0; }

  nav ul li a {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.88) !important;
    padding: 12px 16px !important;
    display: block;
    background: transparent !important;
  }

  nav ul li a:hover,
  nav ul li a.active {
    color: var(--accent) !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }

  nav ul li a.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    margin-top: 8px;
    text-align: center;
  }

  /* --- Section padding --- */
  .about    { padding: 80px 0; }
  .activities { padding: 80px 0; }
  .stats    { padding: 64px 0; }
  .gallery  { padding-top: 80px; padding-bottom: 0; }
  .team     { padding: 80px 0; }
  .contact  { padding: 80px 0; }

  /* --- About: stack to 1 column, show visual --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    display: block;
    max-width: 400px;
    margin: 0 auto;
    padding-bottom: 40px;
  }

  .about-text .section-label,
  .about-text .section-title {
    text-align: center;
  }

  .about-text p { text-align: center; }

  .about-features { align-items: center; }

  .about-text .btn { display: block; text-align: center; }

  /* --- Contact: stack to 1 column --- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* --- Footer: 2 columns --- */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand { grid-column: 1 / -1; }

  /* --- Team: allow 2 cols on tablet --- */
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* --------------------------------------------------
   ≤ 768px  Phone landscape / portrait
   -------------------------------------------------- */
@media (max-width: 768px) {
  /* --- Section padding --- */
  .about    { padding: 64px 0; }
  .activities { padding: 64px 0; }
  .stats    { padding: 52px 0; }
  .gallery  { padding-top: 64px; padding-bottom: 0; }
  .team     { padding: 64px 0; }
  .contact  { padding: 64px 0; }

  /* --- Hide about visual on small phones --- */
  .about-visual { display: none; }

  /* Restore left-align for about text */
  .about-text .section-label,
  .about-text .section-title,
  .about-text p { text-align: left; }

  .about-features { align-items: flex-start; }

  .about-text .btn {
    display: inline-flex;
    text-align: left;
  }

  /* --- Hero --- */
  .hero { padding: 90px 20px 70px; }

  /* --- Gallery --- */
  .gallery-slide  { height: 380px; }
  .slide-caption  { padding: 36px 20px 48px; font-size: 0.85rem; }
  .gallery-btn    { width: 40px; height: 40px; }
  .gallery-btn--prev { left: 10px; }
  .gallery-btn--next { right: 10px; }

  /* --- Logo --- */
  .logo-img        { height: 34px; }
  .logo-img--footer { height: 30px; }

  /* --- Lang switcher --- */
  .lang-switcher   { border-color: rgba(255, 255, 255, 0.25); }

  /* --- Form --- */
  .form-row              { grid-template-columns: 1fr; }
  .contact-form-wrapper  { padding: 28px 20px; }

  /* --- Footer --- */
  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom  { flex-direction: column; text-align: center; }

  /* --- Scroll indicator --- */
  .scroll-indicator { display: none; }

  /* --- Team --- */
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }

  /* --- Stats: keep 3-col on landscape, let auto-fit decide --- */
  .stats-grid { gap: 20px; }
}

/* --------------------------------------------------
   ≤ 480px  Small phones (iPhone SE / Android small)
   -------------------------------------------------- */
@media (max-width: 480px) {
  /* --- Nav drawer narrower --- */
  nav ul { width: 260px; padding: 32px 24px; }

  /* --- Hero --- */
  .hero { padding: 80px 16px 60px; min-height: 100svh; }
  .hero h1 { letter-spacing: -0.5px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }

  /* --- Section padding --- */
  .about    { padding: 48px 0; }
  .activities { padding: 48px 0; }
  .stats    { padding: 44px 0; }
  .gallery  { padding-top: 48px; padding-bottom: 0; }
  .team     { padding: 48px 0; }
  .contact  { padding: 48px 0; }

  /* --- Gallery --- */
  .gallery-slide { height: 260px; }
  .slide-caption { padding: 28px 16px 42px; font-size: 0.8rem; }

  /* --- Stats: 2 items per row --- */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* --- Activities: single col --- */
  .activities-grid { grid-template-columns: 1fr; }

  /* --- Team: single col centred --- */
  .team-grid { grid-template-columns: 1fr; max-width: 320px; }

  /* --- Contact form --- */
  .contact-form-wrapper { padding: 22px 16px; }

  /* --- Logo --- */
  .logo { padding: 4px 8px; }
  .logo-img { height: 30px; }

  /* --- Lang switcher --- */
  .lang-btn { padding: 3px 8px; font-size: 0.68rem; }

  /* --- WhatsApp FAB --- */
  .whatsapp-fab { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  .whatsapp-fab svg { width: 22px; height: 22px; }

  /* --- Footer --- */
  .footer-brand p { font-size: 0.82rem; }
}

/* --------------------------------------------------
   ≤ 375px  Very small phones (iPhone SE 1st gen)
   -------------------------------------------------- */
@media (max-width: 375px) {
  .nav { padding: 14px 0; }
  header.scrolled .nav { padding: 10px 0; }

  .logo { padding: 3px 6px; }
  .logo-img { height: 26px; }

  .lang-switcher { gap: 1px; }
  .lang-btn { padding: 3px 6px; }

  .hero h1 { font-size: 1.9rem; }
  .hero p  { font-size: 0.9rem; }

  .section-title { font-size: 1.5rem; }

  .activity-card { padding: 28px 20px; }
  .team-grid     { max-width: 100%; }
}
