:root {

  --green:      #6AB22A;
  --green-lt:   #85CC3E;
  --green-dk:   #4E8A1A;
  --dark:       #141608;
  --dark-2:     #1A1C0F;
  --cream:      #F4F6EE;
  --cream-2:    #EBEDE3;
  --white:      #FFFFFF;
  --text:       #1E2410;
  --text-inv:   rgba(255,255,255,0.85);
  --muted:      #4A5C2E;
  --muted-inv:  rgba(255,255,255,0.55);
  --brown:      #7A3B10;
  --border:     rgba(106,178,42,0.15);


  --f-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-body:    'Helvetica Neue', Helvetica, Arial, sans-serif;


  --t-xs:   0.72rem;
  --t-sm:   0.875rem;
  --t-md:   1rem;
  --t-lg:   1.125rem;
  --t-xl:   1.375rem;
  --t-2xl:  clamp(1.75rem, 2.8vw, 2.4rem);
  --t-3xl:  clamp(2.8rem,  6vw,   5.5rem);
  --t-stat: clamp(2rem,    3.5vw, 3rem);
  --t-btn:  0.775rem;


  --lh-head:    1.05;
  --lh-sub:     1.25;
  --lh-body:    1.78;
  --lh-caption: 1.55;


  --ls-tight:  -0.03em;
  --ls-wide:    0.08em;
  --ls-wider:   0.13em;
  --ls-widest:  0.2em;


  --fw-light:  300;
  --fw-reg:    400;
  --fw-med:    500;
  --fw-semi:   600;
  --fw-bold:   700;
  --fw-black:  900;

  /* — Section rhythm — */
  --section-py: 100px;

  /* — Radius — */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* — Shadows — */
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.14);
}


html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--f-body);
  font-size: var(--t-md);
  font-weight: var(--fw-reg);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head);
  color: var(--dark);
  margin: 0;
}

p   { margin: 0; }
img { display: block; }

/*TYPOGRAPHY PRIMITIVES*/

.tp-eyebrow {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  line-height: 1;
  color: var(--green);
  display: block;
}

.tp-heading {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-head);
  color: var(--dark);
  letter-spacing: var(--ls-tight);
}

.tp-subheading {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-sub);
  color: var(--dark);
  letter-spacing: var(--ls-tight);
}

.tp-lead {
  font-family: var(--f-body);
  font-size: var(--t-lg);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  color: var(--muted);
}

.tp-body {
  font-family: var(--f-body);
  font-size: var(--t-md);
  font-weight: var(--fw-reg);
  line-height: var(--lh-body);
  color: var(--text);
}

.tp-caption {
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: var(--fw-reg);
  line-height: var(--lh-caption);
  color: var(--muted);
}

.tp-label {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  line-height: 1;
  color: var(--muted);
  display: block;
}

.tp-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-lt));
  border: none;
  margin: 0;
}
.tp-divider.center { margin-inline: auto; }

/* ═══════════════════════════════════════════════════════
   4. NAVBAR
═══════════════════════════════════════════════════════ */
#mainNav {
  background: transparent;
  padding-block: 20px;
  transition: background .35s, padding .35s, box-shadow .35s;
}
#mainNav .navbar-brand img { height: 52px; width: auto; }

#mainNav .nav-link {
  font-family: var(--f-body);
  font-size: var(--t-btn);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: rgba(255,255,255,0.82) !important;
  padding: 8px 16px !important;
  transition: color .2s;
  min-height: 44px;
  display: flex;
  align-items: center;
  position: relative;
}
#mainNav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 16px; right: 16px;
  height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
#mainNav .nav-link:hover { color: #fff !important; }
#mainNav .nav-link:hover::after { transform: scaleX(1); }

#mainNav.navbar-shrink {
  background: rgba(10,12,8,0.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 10px;
  box-shadow: 0 1px 0 rgba(106,178,42,0.2);
}

/* ═══════════════════════════════════════════════════════
   5. HERO
═══════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-slice { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.hero-slice img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.44) saturate(1.1);
  transition: filter .6s ease;
}
.hero-slice:hover img { filter: brightness(.58) saturate(1.25); }

.hero-slice-1 { clip-path: polygon(0% 0%,  20% 0%,  25% 100%,  0% 100%); }
.hero-slice-2 { clip-path: polygon(20% 0%,  40% 0%,  45% 100%, 25% 100%); }
.hero-slice-3 { clip-path: polygon(40% 0%,  60% 0%,  65% 100%, 45% 100%); }
.hero-slice-4 { clip-path: polygon(60% 0%,  80% 0%,  85% 100%, 65% 100%); }
.hero-slice-5 { clip-path: polygon(80% 0%, 100% 0%, 100% 100%, 85% 100%); }

/* Grain texture overlay */
#hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
}

.hero-fade-l {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(to right,
    rgba(8,10,5,.97) 0%,
    rgba(8,10,5,.78) 25%,
    rgba(8,10,5,.28) 52%,
    transparent 70%
  );
}

.hero-content { position: relative; z-index: 6; padding-block: 40px; }

/* Entrance animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes expandWidth {
  from { width: 0; }
  to   { width: auto; }
}

.hero-content .hero-eyebrow  { animation: fadeUp .7s ease both; animation-delay: .1s; }
.hero-content .hero-title    { animation: fadeUp .8s ease both; animation-delay: .28s; }
.hero-content .hero-sub      { animation: fadeUp .8s ease both; animation-delay: .45s; }
.hero-content .hero-actions  { animation: fadeUp .8s ease both; animation-delay: .62s; }

.hero-eyebrow {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--green);
  border-left: 2px solid var(--green);
  padding-left: 14px;
  line-height: 1;
  display: inline-block;
}

.hero-title {
  font-family: var(--f-display);
  font-size: var(--t-3xl);
  font-weight: 900;
  line-height: var(--lh-head);
  color: #fff;
  letter-spacing: var(--ls-tight);
}
.hero-title em { color: var(--green); font-style: normal; }

.hero-sub {
  font-family: var(--f-body);
  font-size: var(--t-lg);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  color: rgba(255,255,255,.72);
  max-width: 460px;
}

/* ═══════════════════════════════════════════════════════
   6. BUTTONS
═══════════════════════════════════════════════════════ */
.btn-gold,
.btn-outline-gold {
  font-family: var(--f-body);
  font-size: var(--t-btn);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: 0;
  min-height: 48px;
  padding-inline: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .28s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  border-width: 1.5px;
  border-style: solid;
  position: relative;
  overflow: hidden;
}

.btn-gold {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.btn-gold::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--green-lt);
  transform: translateX(-101%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.btn-gold > * { position: relative; z-index: 1; }
.btn-gold:hover::before { transform: translateX(0); }
.btn-gold:hover { color: #fff; border-color: var(--green-lt); }

.btn-outline-gold {
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: rgba(255,255,255,.85);
}
.btn-outline-gold:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(106,178,42,.06);
}

/* ═══════════════════════════════════════════════════════
   7. STATS BAR
═══════════════════════════════════════════════════════ */
.stats-bar {
  background: var(--dark-2);
  padding-block: 0;
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.stats-bar-inner {
  display: flex;
  align-items: stretch;
}
.stat-item {
  text-align: center;
  flex: 1;
  padding-block: 36px;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: background .25s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(106,178,42,.05); }

.stat-num {
  font-family: var(--f-display);
  font-size: var(--t-stat);
  font-weight: var(--fw-bold);
  color: var(--green);
  line-height: 1;
  display: block;
  letter-spacing: var(--ls-tight);
}
.stat-label {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: var(--fw-med);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--muted-inv);
  margin-top: 8px;
  display: block;
}

/* ═══════════════════════════════════════════════════════
   8. SECTIONS — shared rhythm
═══════════════════════════════════════════════════════ */
section { padding-block: var(--section-py); }

/* ── About ── */
#about { background: var(--white); }

.about-img-wrap {
  position: relative;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform .7s ease;
}
.about-img-wrap:hover img { transform: scale(1.03); }

/* Floating accent line */
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: 24px; left: 24px; right: -24px; bottom: -24px;
  border: 2px solid rgba(106,178,42,.25);
  z-index: 0;
  pointer-events: none;
  transition: border-color .3s;
}
.about-img-wrap:hover::before { border-color: rgba(106,178,42,.5); }
.about-img-wrap > img { position: relative; z-index: 1; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding-block: 7px;
  font-family: var(--f-body);
  font-size: var(--t-md);
  font-weight: var(--fw-reg);
  line-height: var(--lh-caption);
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.check-list li:last-child { border-bottom: none; }
.check-list li i {
  color: var(--green);
  flex-shrink: 0;
  font-size: .9rem;
  margin-top: 3px;
  background: rgba(106,178,42,.1);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── Services ── */
#services { background: var(--cream); }

.service-card {
  background: var(--white);
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s cubic-bezier(.4,0,.2,1);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card .card-img-wrap {
  height: 210px;
  overflow: hidden;
}
.service-card .card-img-top {
  height: 210px;
  width: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.service-card:hover .card-img-top { transform: scale(1.07); }
.service-card .card-body { padding: 1.6rem 1.5rem 1.75rem; }

.service-card .card-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green), var(--green-lt));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
}
.service-card .card-title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: var(--fw-bold);
  color: var(--dark);
  line-height: var(--lh-sub);
  margin-bottom: .5rem;
  letter-spacing: var(--ls-tight);
}
.service-card .card-text {
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: var(--fw-reg);
  line-height: var(--lh-body);
  color: var(--muted);
}

/* Service card accent bar on hover */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.service-card { position: relative; }
.service-card:hover::after { transform: scaleX(1); }

/* ── Gallery Marquee ── */
#gallery {
  background: var(--white);
  padding-bottom: 0;
  overflow: hidden;
}

.gallery-marquee-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-marquee-wrap::before,
.gallery-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.gallery-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.gallery-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.gallery-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.gallery-marquee-item {
  flex-shrink: 0;
  width: 420px;
  height: 290px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.gallery-marquee-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.gallery-marquee-item:hover img { transform: scale(1.06); }


/* ── Vision & Mission ── */
#vision-mission { background: var(--cream-2); }

.vm-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--green);
  border-top: none;
  padding: 2rem 2rem 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .3s, box-shadow .3s;
}
.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.vm-card--mission { border-left-color: var(--green); }
.vm-card--vision  { border-left-color: var(--green-dk); }

.vm-tag {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.85rem;
}
.vm-card--mission .vm-tag { color: var(--green); }
.vm-card--vision  .vm-tag { color: var(--green-dk); }

.vm-title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: var(--fw-bold);
  color: var(--dark);
  line-height: var(--lh-sub);
  letter-spacing: var(--ls-tight);
  margin-bottom: 0.75rem;
}

.vm-rule {
  width: 32px;
  height: 2px;
  border: none;
  border-radius: 0;
  margin-bottom: 1rem;
  display: block;
}
.vm-card--mission .vm-rule { background: var(--green); }
.vm-card--vision  .vm-rule { background: var(--green-dk); }

.vm-body {
  font-family: var(--f-body);
  font-size: var(--t-md);
  font-weight: var(--fw-reg);
  line-height: var(--lh-body);
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.vm-watermark {
  position: absolute;
  bottom: -16px;
  right: 12px;
  font-family: var(--f-display);
  font-size: 7rem;
  font-weight: var(--fw-black);
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(106,178,42,.05);
  user-select: none;
  pointer-events: none;
}
.vm-card--vision .vm-watermark { color: rgba(78,138,26,.05); }

/* ── CTA ── */
#cta {
  background:
    linear-gradient(135deg, rgba(15,20,9,.92) 0%, rgba(15,20,9,.76) 100%),
    url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1600&auto=format&fit=crop') center/cover fixed;
  padding-block: 120px;
}
#cta h2 {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 900;
  color: #fff;
  line-height: var(--lh-head);
  letter-spacing: var(--ls-tight);
}
#cta .cta-lead {
  font-family: var(--f-body);
  font-size: var(--t-lg);
  font-weight: var(--fw-light);
  color: rgba(255,255,255,.72);
  max-width: 520px;
  line-height: var(--lh-body);
}
#cta .tp-eyebrow { color: var(--green-lt); }

/* ── Contact ── */
#contact { background: var(--white); }

.contact-info-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 1.75rem; }
.contact-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--green), var(--green-lt));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .9rem;
  border-radius: var(--radius-sm);
}
.contact-label {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  margin-bottom: 4px;
}
.contact-value {
  font-family: var(--f-body);
  font-size: var(--t-md);
  font-weight: var(--fw-med);
  color: var(--dark);
  line-height: var(--lh-caption);
}
.contact-value a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.contact-value a:hover { color: var(--green); }

.form-label {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
  display: block;
}
.form-control,
.form-select {
  font-family: var(--f-body);
  font-size: var(--t-md);
  font-weight: var(--fw-reg);
  border-radius: var(--radius-sm);
  border: 1.5px solid #dde0d8;
  padding: 11px 14px;
  background: var(--cream);
  color: var(--text);
  min-height: 48px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(106,178,42,.14);
  background: var(--white);
  outline: none;
}
.form-control::placeholder { color: #aab5a5; }

/* ── History ── */
#history { background: var(--cream); }

.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 8px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brown), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 2.8rem;
  padding-left: 2rem;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: -2.56rem; top: .4rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--brown);
  box-shadow: 0 0 0 4px rgba(122,59,16,.15);
  transition: box-shadow .25s, background .25s;
}
.timeline-item:hover .timeline-dot {
  background: var(--brown);
  box-shadow: 0 0 0 6px rgba(122,59,16,.18);
}
.timeline-year {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: var(--fw-semi);
  color: var(--brown);
  background: rgba(122,59,16,.1);
  padding: .2rem .85rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: .5rem;
  line-height: 1.8;
  letter-spacing: .05em;
  border: 1px solid rgba(122,59,16,.2);
}
.timeline-item h5 {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: var(--fw-bold);
  color: var(--dark);
  margin-bottom: .35rem;
  line-height: var(--lh-sub);
  letter-spacing: var(--ls-tight);
}
.timeline-item p {
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: var(--fw-reg);
  color: #6a7c65;
  line-height: var(--lh-body);
}

.history-img-wrap { position: relative; }
.history-img-wrap img {
  width: 100%; height: 440px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
}
.history-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--brown); color: #fff;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.history-badge .num {
  font-family: var(--f-display);
  font-size: 2.4rem; font-weight: var(--fw-black);
  line-height: 1; display: block; color: #fff;
}
.history-badge .lbl {
  font-family: var(--f-body);
  font-size: var(--t-xs); font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wider); text-transform: uppercase;
  display: block; margin-top: 4px;
  color: rgba(255,255,255,.8);
}

/* ── Team ── */
#team { background: var(--white); }

/* ── Team Rows — flex-based, not Bootstrap columns ── */

/* Shared row base */
.team-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Row with 1 card — cap width so it doesn't stretch full container */
.team-row-1 .team-card-slim {
  width: 200px;
}

/* Row with 2 cards — each card a fixed comfortable width */
.team-row-2 .team-card-slim {
  width: 200px;
}

/* Row with 5 cards — divide container evenly */
.team-row-5 {
  gap: 12px;
}
.team-row-5 .team-card-slim {
  flex: 1 1 160px;
  max-width: 200px;
  min-width: 140px;
}

/* ── Card ── */
.team-card-slim {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 16px 24px;
  border-radius: var(--radius-md);
  transition: background .25s, box-shadow .25s;
}
.team-card-slim:hover {
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

/* ── Avatar ── */
.team-avatar-wrap {
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--white);
  outline: 2px solid rgba(106,178,42,0.2);
  outline-offset: 4px;
  flex-shrink: 0;
  transition: outline-color .25s;
  box-shadow: var(--shadow-sm);
}
.team-card-slim:hover .team-avatar-wrap { outline-color: var(--green); }
.team-avatar-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Info block — fixed min-height so all cards in a row align ── */
.team-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-height: 80px; /* locks all text blocks to same height */
}
.team-card-info .team-person-name {
  font-family: var(--f-body);
  font-size: var(--t-md);
  font-weight: var(--fw-bold);
  color: var(--dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.team-card-info .team-name {
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: var(--fw-reg);
  color: var(--muted);
  line-height: 1.4;
}
.team-card-info .team-role {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: var(--fw-semi);
  color: var(--green-dk);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  display: inline-block;
  padding: 2px 10px;
  background: rgba(106,178,42,0.08);
  border-radius: 20px;
  border: 1px solid rgba(106,178,42,0.18);
  margin-top: 2px;
}

/* ── Responsive ── */

/* Tablet: 5-person rows → 3 + 2 wrap */
@media (max-width: 991px) {
  .team-row-5 .team-card-slim {
    flex: 1 1 140px;
    max-width: 180px;
  }
}

/* Mobile: all rows stack to 2 per row, centered */
@media (max-width: 575px) {
  .team-row {
    gap: 12px;
  }
  .team-row-1 .team-card-slim,
  .team-row-2 .team-card-slim,
  .team-row-5 .team-card-slim {
    width: calc(50% - 8px);
    max-width: none;
    min-width: 0;
    flex: 0 0 calc(50% - 8px);
  }
  /* CEO stays centered solo on mobile */
  .team-row-1 .team-card-slim {
    width: 160px;
    flex: 0 0 160px;
  }
  .team-avatar-wrap {
    width: 90px; height: 90px;
  }
}

/* Team Hierarchy Divider */
.team-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2.5rem;
}
.team-divider::before,
.team-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(106,178,42,.25), transparent);
}
.team-divider span {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding: 5px 18px;
  border: 1px solid rgba(106,178,42,.2);
  border-radius: 20px;
  background: var(--cream);
}

/* ── Partners ── */
#partners { background: var(--cream-2); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}
.partner-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem 1.75rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s, border-color .3s;
  text-align: center;
  border: 1px solid rgba(0,0,0,.05);
}
.partner-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: rgba(106,178,42,.3);
}
.partner-logo-wrap {
  width: 150px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.partner-logo-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter .35s ease;
}
.partner-card:hover .partner-logo-wrap img { filter: grayscale(0%) opacity(1); }
.partner-name {
  font-family: var(--f-body);
  font-size: var(--t-md);
  font-weight: var(--fw-semi);
  color: var(--dark);
  margin: 0; line-height: var(--lh-sub);
}
.partner-type {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: var(--fw-reg);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: #999; margin: 0;
}

/* ── Footer ── */
footer { background: var(--dark); padding: 72px 0 0; }

.footer-brand {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: var(--fw-bold);
  color: #fff; line-height: 1;
  letter-spacing: var(--ls-tight);
}
.footer-brand span { color: var(--green); font-style: italic; }
.footer-desc {
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  color: var(--muted-inv);
  max-width: 290px;
}
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  color: var(--muted-inv); margin-right: 8px;
  font-size: .82rem; transition: all .2s;
}
.footer-social a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.footer-heading {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: var(--fw-reg);
  color: var(--muted-inv);
  text-decoration: none; transition: color .2s;
  line-height: var(--lh-caption);
}
.footer-links a:hover { color: var(--green); }
.footer-contact-text {
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: var(--fw-reg);
  line-height: var(--lh-body);
  color: var(--muted-inv);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 56px; padding: 22px 0;
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: var(--fw-reg);
  color: rgba(255,255,255,.25);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════
   9. SCROLL REVEAL + SCROLL-TOP
═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

#scrollTop {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--green); color: #fff;
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 999; cursor: pointer;
  box-shadow: 0 4px 16px rgba(106,178,42,.4);
}
#scrollTop.visible { opacity: 1; pointer-events: auto; }
#scrollTop:hover {
  background: var(--green-lt);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════
   10. RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .hero-slice-4, .hero-slice-5 { display: none; }
  .hero-slice-1 { clip-path: polygon(0% 0%, 34% 0%, 40% 100%, 0% 100%); }
  .hero-slice-2 { clip-path: polygon(34% 0%, 67% 0%, 73% 100%, 40% 100%); }
  .hero-slice-3 { clip-path: polygon(67% 0%, 100% 0%, 100% 100%, 73% 100%); }

  .stats-bar-inner { flex-wrap: wrap; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); flex-basis: 50%; }
  .stat-item:nth-child(even) { border-right: none; }
}

@media (max-width: 768px) {
  :root { --section-py: 68px; }
  .gallery-marquee-item { width: 280px; height: 210px; }
  .gallery-marquee-wrap::before,
  .gallery-marquee-wrap::after { width: 60px; }
  .about-img-wrap::before { display: none; }
}