/* =============================================
   THE GRAND SHUJAA FARM — STYLESHEET
   Clapet Enterprise / Sentinel Prime Holdings
   ============================================= */

/* ======================== CUSTOM PROPERTIES */
:root {
  --green:        #2d6a4f;
  --dark-green:   #1b4332;
  --light-green:  #52b788;
  --pale-green:   #d8f3dc;
  --brown:        #6b4226;
  --light-brown:  #a0522d;
  --maroon:       #895a0e;
  --dark-maroon:  #6a4509;
  --black:        #1a1a1a;
  --dark-gray:    #2c2c2c;
  --gray:         #666666;
  --light-gray:   #e8e8e8;
  --cream:        #f9f5f0;
  --white:        #ffffff;
  --gold:         #c9a84c;

  --font-heading: 'Playfair Display', serif;
  --font-body:    'Lato', sans-serif;

  --transition:       all 0.3s ease;
  --transition-slow:  all 0.6s ease;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.13);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.18);

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --section-pad: 90px 0;
}

/* ======================== RESET */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body { font-family:var(--font-body); color:var(--black); background:var(--white); line-height:1.7; overflow-x:hidden; }
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
h1,h2,h3,h4,h5,h6 { font-family:var(--font-heading); line-height:1.3; color:var(--dark-green); }

/* ======================== UTILITIES */
.container { max-width:1180px; margin:0 auto; padding:0 24px; }

.section-label {
  display:inline-block;
  background:var(--pale-green);
  color:var(--green);
  padding:5px 16px;
  border-radius:50px;
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  margin-bottom:14px;
}
.section-label.light {
  background:rgba(255,255,255,0.12);
  color:var(--gold);
}

.section-title {
  font-size:clamp(1.7rem,4vw,2.7rem);
  color:var(--dark-green);
  margin-bottom:14px;
  position:relative;
}
.section-title::after {
  content:'';
  display:block;
  width:55px;
  height:4px;
  background:var(--maroon);
  margin-top:12px;
  border-radius:2px;
}
.section-title.center::after { margin:12px auto 0; }
.section-title.white { color:var(--white); }
.section-title.white::after { background:var(--gold); }

.section-sub {
  font-size:1.05rem;
  color:var(--gray);
  max-width:620px;
  margin-bottom:50px;
}
.section-sub.center { margin:0 auto 50px; text-align:center; }
.section-sub.light { color:rgba(255,255,255,0.7); }

/* ======================== BUTTONS */
.btn {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 32px;
  border-radius:var(--radius-sm);
  font-family:var(--font-body);
  font-weight:700;
  font-size:0.9rem;
  letter-spacing:0.5px;
  text-transform:uppercase;
  cursor:pointer;
  border:2px solid transparent;
  transition:var(--transition);
}
.btn-primary { background:var(--green); color:var(--white); border-color:var(--green); }
.btn-primary:hover { background:var(--dark-green); border-color:var(--dark-green); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-outline { background:transparent; color:var(--white); border-color:var(--white); }
.btn-outline:hover { background:var(--white); color:var(--dark-green); transform:translateY(-2px); }
.btn-maroon { background:var(--maroon); color:var(--white); border-color:var(--maroon); }
.btn-maroon:hover { background:var(--dark-maroon); border-color:var(--dark-maroon); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-gold { background:var(--gold); color:var(--dark-green); border-color:var(--gold); }
.btn-gold:hover { background:#b8973e; transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-white-outline { background:transparent; color:var(--white); border-color:rgba(255,255,255,0.6); }
.btn-white-outline:hover { background:var(--white); color:var(--maroon); }

/* ======================== NAVBAR */
.navbar {
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  padding:0 24px;
  transition:var(--transition);
}
.navbar.scrolled {
  background:rgba(27,67,50,0.97);
  backdrop-filter:blur(12px);
  box-shadow:var(--shadow-md);
}
.nav-inner {
  max-width:1180px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:80px;
}
.nav-logo { display:flex; align-items:center; gap:12px; }
.nav-logo-icon {
  width:68px; height:68px;
  border-radius:50%;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background:var(--white);
  border:2px solid rgba(255,255,255,0.3);
  flex-shrink:0;
  padding:4px;
  box-shadow:0 2px 12px rgba(0,0,0,0.18);
}
.nav-logo-icon img {
  width:100%; height:100%;
  object-fit:contain;
  border-radius:50%;
}
.nav-logo-name {
  font-family:var(--font-heading);
  font-size:1.05rem;
  font-weight:700;
  color:var(--white);
  line-height:1.2;
}
.nav-logo-sub {
  font-size:0.65rem;
  color:var(--light-green);
  letter-spacing:1.2px;
  text-transform:uppercase;
  display:block;
}
.nav-links { display:flex; align-items:center; gap:4px; }
.nav-links a {
  color:var(--white);
  font-weight:600;
  font-size:0.88rem;
  padding:8px 14px;
  border-radius:var(--radius-sm);
  transition:var(--transition);
  letter-spacing:0.3px;
  position:relative;
}
.nav-links a::after {
  content:'';
  position:absolute;
  bottom:4px; left:14px; right:14px;
  height:2px;
  background:var(--gold);
  transform:scaleX(0);
  transition:var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform:scaleX(1); }
.nav-links a:hover,
.nav-links a.active { color:var(--gold); }
.nav-cta {
  background:var(--maroon) !important;
  color:var(--white) !important;
  padding:9px 20px !important;
  border-radius:var(--radius-sm) !important;
}
.nav-cta:hover { background:var(--dark-maroon) !important; }
.nav-cta::after { display:none !important; }

.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; background:none; border:none; }
.hamburger span { display:block; width:26px; height:2px; background:var(--white); border-radius:2px; transition:var(--transition); }
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ======================== HERO (HOME) */
.hero {
  position:relative;
  height:100vh;
  min-height:620px;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero-bg {
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  will-change:transform;
}
.hero-overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(
    135deg,
    rgba(27,67,50,0.88) 0%,
    rgba(107,66,38,0.6) 55%,
    rgba(128,0,32,0.5) 100%
  );
}
.hero-content {
  position:relative;
  z-index:2;
  max-width:820px;
  padding:0 24px;
  margin:0 auto;
  text-align:center;
}
.hero-badge {
  display:inline-block;
  background:rgba(201,168,76,0.18);
  border:1px solid var(--gold);
  color:var(--gold);
  padding:6px 22px;
  border-radius:50px;
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  margin-bottom:24px;
  animation:fadeInDown 0.8s ease forwards;
}
.hero-title {
  font-size:clamp(2.2rem,6vw,4.6rem);
  color:var(--white);
  font-weight:700;
  line-height:1.12;
  margin-bottom:18px;
  animation:fadeInUp 0.8s ease 0.2s both;
}
.hero-title em { color:var(--gold); font-style:normal; display:block; }
.hero-tagline {
  font-size:clamp(1rem,2.5vw,1.3rem);
  color:rgba(255,255,255,0.88);
  margin-bottom:42px;
  font-style:italic;
  animation:fadeInUp 0.8s ease 0.4s both;
}
.hero-btns {
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
  animation:fadeInUp 0.8s ease 0.6s both;
}
.hero-scroll {
  position:absolute;
  bottom:36px;
  left:50%;
  transform:translateX(-50%);
  z-index:2;
  color:rgba(255,255,255,0.7);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  font-size:0.72rem;
  letter-spacing:2px;
  text-transform:uppercase;
  animation:bounce 2s infinite;
}
.hero-scroll svg { width:20px; height:20px; }

/* ======================== PAGE HERO (inner pages) */
.page-hero {
  position:relative;
  height:420px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
}
.page-hero .hero-bg { background-attachment:scroll; }
.page-hero .hero-overlay {
  background:linear-gradient(to right,rgba(27,67,50,0.92) 0%,rgba(27,67,50,0.55) 100%);
}
.page-hero-content {
  position:relative;
  z-index:2;
  padding:0 24px 60px;
  max-width:1180px;
  margin:0 auto;
  width:100%;
}
.breadcrumb {
  display:flex;
  align-items:center;
  gap:8px;
  color:rgba(255,255,255,0.6);
  font-size:0.82rem;
  margin-bottom:14px;
}
.breadcrumb a { color:var(--light-green); }
.breadcrumb span { color:rgba(255,255,255,0.3); }
.page-hero-title {
  font-size:clamp(2rem,5vw,3.4rem);
  color:var(--white);
  font-weight:700;
}
.page-hero-desc {
  font-size:1.05rem;
  color:rgba(255,255,255,0.82);
  max-width:540px;
  margin-top:10px;
}

/* ======================== FEATURES STRIP */
.features-strip { background:var(--dark-green); padding:0; }
.features-strip-inner {
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.feature-item {
  display:flex;
  align-items:center;
  gap:14px;
  padding:22px 20px;
  border-right:1px solid rgba(255,255,255,0.08);
  transition:var(--transition);
}
.feature-item:last-child { border-right:none; }
.feature-item:hover { background:rgba(255,255,255,0.04); }
.feature-icon { font-size:1.9rem; flex-shrink:0; }
.feature-text strong { display:block; color:var(--white); font-size:0.92rem; font-weight:700; }
.feature-text span { color:rgba(255,255,255,0.55); font-size:0.78rem; }

/* ======================== ABOUT SECTION */
.about-section { padding:var(--section-pad); }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.about-image-wrap { position:relative; }
.about-image-main { width:100%; height:500px; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); }
.about-badge {
  position:absolute;
  bottom:-28px; right:-28px;
  background:var(--maroon);
  color:var(--white);
  padding:28px 24px;
  border-radius:var(--radius-md);
  text-align:center;
  box-shadow:var(--shadow-md);
  min-width:140px;
}
.about-badge .number { font-size:2.8rem; font-weight:900; font-family:var(--font-heading); line-height:1; display:block; }
.about-badge .label { font-size:0.72rem; letter-spacing:1px; text-transform:uppercase; opacity:0.88; display:block; margin-top:5px; }
.about-text { color:var(--gray); margin-bottom:18px; font-size:1rem; }
.about-checks { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:26px 0; }
.check-item {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:0.88rem;
  font-weight:600;
  color:var(--dark-gray);
}
.check-item::before { content:'✓'; color:var(--green); font-weight:900; font-size:1rem; flex-shrink:0; }

/* ======================== STATS */
.stats-section {
  background:linear-gradient(135deg,var(--dark-green) 0%,var(--brown) 100%);
  padding:80px 0;
  position:relative;
  overflow:hidden;
}
.stats-section::before {
  content:'';
  position:absolute;
  width:500px; height:500px;
  background:rgba(255,255,255,0.03);
  border-radius:50%;
  top:-200px; left:-100px;
}
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:0; text-align:center; }
.stat-item { padding:30px 20px; border-right:1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right:none; }
.stat-number { font-family:var(--font-heading); font-size:clamp(2.5rem,5vw,3.6rem); font-weight:900; color:var(--white); line-height:1; display:block; }
.stat-number .unit { color:var(--gold); }
.stat-label { color:rgba(255,255,255,0.65); font-size:0.88rem; margin-top:8px; display:block; letter-spacing:0.5px; }

/* ======================== SERVICES GRID */
.services-section { padding:var(--section-pad); background:var(--cream); }
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.service-card {
  background:var(--white);
  border-radius:var(--radius-md);
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:var(--transition);
}
.service-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.service-card-img-wrap { overflow:hidden; position:relative; height:220px; }
.service-card-img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease; }
.service-card:hover .service-card-img { transform:scale(1.07); }
.service-tag {
  position:absolute;
  top:14px; left:14px;
  background:var(--maroon);
  color:var(--white);
  padding:4px 12px;
  border-radius:50px;
  font-size:0.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.5px;
}
.service-card-body { padding:26px; }
.service-card-icon { font-size:2rem; margin-bottom:12px; }
.service-card-title { font-size:1.15rem; color:var(--dark-green); margin-bottom:10px; }
.service-card-text { color:var(--gray); font-size:0.88rem; line-height:1.7; margin-bottom:18px; }
.service-card-link { color:var(--green); font-weight:700; font-size:0.83rem; display:inline-flex; align-items:center; gap:6px; transition:var(--transition); }
.service-card-link:hover { color:var(--maroon); gap:10px; }

/* ======================== WHY CHOOSE US */
.why-section {
  padding:var(--section-pad);
  background:var(--dark-green);
  position:relative;
  overflow:hidden;
}
.why-section::after {
  content:'';
  position:absolute;
  width:400px; height:400px;
  background:rgba(255,255,255,0.02);
  border-radius:50%;
  bottom:-100px; right:-100px;
}
.why-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.why-card {
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.09);
  border-radius:var(--radius-md);
  padding:30px 22px;
  text-align:center;
  transition:var(--transition);
}
.why-card:hover { background:rgba(255,255,255,0.1); border-color:var(--gold); transform:translateY(-5px); }
.why-icon { font-size:2.4rem; margin-bottom:14px; display:block; }
.why-title { font-size:0.98rem; color:var(--white); font-family:var(--font-heading); margin-bottom:10px; }
.why-text { color:rgba(255,255,255,0.58); font-size:0.82rem; line-height:1.6; }

/* ======================== VISION MISSION */
.vision-mission { padding:var(--section-pad); background:var(--cream); }
.vm-grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.vm-card { padding:48px 40px; border-radius:var(--radius-lg); position:relative; overflow:hidden; }
.vm-vision { background:var(--green); }
.vm-mission { background:var(--white); border:2px solid var(--light-gray); }
.vm-bg-num {
  font-family:var(--font-heading);
  font-size:9rem;
  font-weight:900;
  position:absolute;
  top:-20px; right:16px;
  opacity:0.06;
  line-height:1;
  color:var(--white);
  pointer-events:none;
}
.vm-mission .vm-bg-num { color:var(--green); }
.vm-icon { font-size:2.6rem; margin-bottom:18px; display:block; }
.vm-title { font-size:1.5rem; margin-bottom:14px; }
.vm-vision .vm-title { color:var(--white); }
.vm-vision .vm-text { color:rgba(255,255,255,0.85); line-height:1.8; }
.vm-mission .vm-text { color:var(--gray); line-height:1.8; }

/* ======================== COMMUNITY */
.community-section { padding:var(--section-pad); }
.community-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.community-img-stack { position:relative; height:480px; }
.comm-img-main { width:68%; height:370px; object-fit:cover; border-radius:var(--radius-lg); position:absolute; top:0; left:0; box-shadow:var(--shadow-lg); }
.comm-img-sec { width:54%; height:270px; object-fit:cover; border-radius:var(--radius-lg); position:absolute; bottom:0; right:0; box-shadow:var(--shadow-lg); border:5px solid var(--white); }
.impact-list { margin:24px 0; }
.impact-item { display:flex; align-items:flex-start; gap:16px; padding:14px 0; border-bottom:1px solid var(--light-gray); }
.impact-icon { width:44px; height:44px; background:var(--pale-green); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; }
.impact-item-title { display:block; color:var(--dark-green); font-weight:700; font-size:0.93rem; margin-bottom:2px; }
.impact-item-desc { color:var(--gray); font-size:0.83rem; }

/* ======================== CORPORATE STATEMENT */
.corp-section {
  padding:100px 0;
  background:linear-gradient(135deg,var(--maroon),var(--brown));
  text-align:center;
  position:relative;
  overflow:hidden;
}
.corp-section::before {
  content:'"';
  font-family:var(--font-heading);
  font-size:22rem;
  color:rgba(255,255,255,0.04);
  position:absolute;
  top:-80px; left:10px;
  line-height:1;
}
.corp-quote {
  font-family:var(--font-heading);
  font-size:clamp(1.1rem,2.5vw,1.5rem);
  color:var(--white);
  line-height:1.9;
  max-width:820px;
  margin:0 auto 24px;
  font-style:italic;
  position:relative;
}
.corp-attrib {
  color:rgba(255,255,255,0.6);
  font-size:0.85rem;
  letter-spacing:2px;
  text-transform:uppercase;
}

/* ======================== TESTIMONIALS */
.testimonials { padding:var(--section-pad); }
.testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.testi-card {
  background:var(--cream);
  border-radius:var(--radius-md);
  padding:36px 28px;
  position:relative;
  transition:var(--transition);
}
.testi-card:hover { box-shadow:var(--shadow-md); transform:translateY(-4px); }
.testi-card::before {
  content:'"';
  font-family:var(--font-heading);
  font-size:5rem;
  color:var(--light-green);
  position:absolute;
  top:-10px; left:22px;
  line-height:1;
  opacity:0.45;
}
.testi-text { color:var(--gray); font-style:italic; line-height:1.8; margin-bottom:22px; }
.testi-author { display:flex; align-items:center; gap:14px; }
.testi-avatar { width:50px; height:50px; border-radius:50%; object-fit:cover; border:3px solid var(--green); }
.testi-name { font-weight:700; color:var(--dark-green); font-size:0.93rem; }
.testi-role { color:var(--gray); font-size:0.78rem; }

/* ======================== CTA SECTION */
.cta-section { padding:80px 0; background:var(--maroon); text-align:center; }
.cta-title { font-size:clamp(1.7rem,4vw,2.7rem); color:var(--white); font-family:var(--font-heading); margin-bottom:14px; }
.cta-text { color:rgba(255,255,255,0.8); font-size:1.05rem; margin-bottom:36px; max-width:540px; margin-left:auto; margin-right:auto; }
.cta-btns { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* ======================== CONTACT */
.contact-section { padding:var(--section-pad); background:var(--cream); }
.contact-grid { display:grid; grid-template-columns:1fr 1.6fr; gap:60px; }
.contact-info-title { font-size:1.55rem; color:var(--dark-green); font-family:var(--font-heading); margin-bottom:14px; }
.contact-info-text { color:var(--gray); margin-bottom:34px; line-height:1.7; }
.contact-items { display:flex; flex-direction:column; gap:22px; margin-bottom:34px; }
.contact-item { display:flex; align-items:flex-start; gap:16px; }
.c-icon { width:48px; height:48px; background:var(--green); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.2rem; color:var(--white); flex-shrink:0; }
.c-label { font-weight:700; color:var(--dark-green); font-size:0.82rem; text-transform:uppercase; letter-spacing:0.5px; margin-bottom:3px; }
.c-value { color:var(--gray); font-size:0.93rem; }
.social-row { display:flex; gap:12px; }
.soc-link { width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:0.95rem; transition:var(--transition); }
.soc-link:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); }
.soc-fb { background:#1877f2; color:#fff; }
.soc-tw { background:#1da1f2; color:#fff; }
.soc-ig { background:#e4405f; color:#fff; }
.soc-wa { background:#25d366; color:#fff; }

/* ======================== CONTACT FORM */
.contact-form-wrap {
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:46px 40px;
  box-shadow:var(--shadow-md);
}
.form-title { font-size:1.45rem; color:var(--dark-green); font-family:var(--font-heading); margin-bottom:28px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-group { margin-bottom:22px; }
.form-group label { display:block; font-weight:700; font-size:0.8rem; color:var(--dark-gray); margin-bottom:7px; text-transform:uppercase; letter-spacing:0.5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width:100%;
  padding:13px 17px;
  border:2px solid var(--light-gray);
  border-radius:var(--radius-sm);
  font-family:var(--font-body);
  font-size:0.93rem;
  color:var(--black);
  background:var(--white);
  transition:var(--transition);
  outline:none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(45,106,79,0.1); }
.form-group textarea { resize:vertical; min-height:120px; }
.alert { padding:14px 18px; border-radius:var(--radius-sm); font-size:0.88rem; display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.alert-success { background:var(--pale-green); color:var(--dark-green); border:1px solid var(--light-green); }
.alert-error { background:#fff0f0; color:#b22222; border:1px solid #f5a5a5; }
.hidden { display:none; }

/* ======================== MAP */
.map-section { height:420px; position:relative; overflow:hidden; background:var(--light-gray); }
.map-section iframe { width:100%; height:100%; border:0; filter:saturate(1.1); }
.map-card {
  position:absolute;
  top:50%; left:60px;
  transform:translateY(-50%);
  background:var(--white);
  border-radius:var(--radius-md);
  padding:28px 24px;
  box-shadow:var(--shadow-lg);
  max-width:260px;
}
.map-card-title { font-family:var(--font-heading); color:var(--dark-green); font-size:1.1rem; margin-bottom:10px; }
.map-card-item { display:flex; align-items:center; gap:8px; color:var(--gray); font-size:0.83rem; margin-bottom:7px; }

/* ======================== FOOTER */
.footer { background:var(--dark-green); color:var(--white); }
.footer-top { padding:80px 0 40px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:50px; }
.footer-brand-text { color:rgba(255,255,255,0.62); font-size:0.88rem; line-height:1.8; margin:18px 0 20px; }
.footer-tagline { font-style:italic; color:var(--gold); font-size:0.88rem; font-family:var(--font-heading); }
.footer-social { display:flex; gap:10px; margin-top:20px; }
.footer-head {
  font-size:0.85rem;
  font-weight:700;
  color:var(--white);
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:18px;
  padding-bottom:12px;
  border-bottom:2px solid var(--maroon);
}
.footer-links { display:flex; flex-direction:column; gap:9px; }
.footer-links a { color:rgba(255,255,255,0.62); font-size:0.88rem; transition:var(--transition); display:flex; align-items:center; gap:7px; }
.footer-links a::before { content:'›'; color:var(--light-green); font-size:1.1rem; }
.footer-links a:hover { color:var(--light-green); padding-left:4px; }
.footer-contact-item { display:flex; align-items:flex-start; gap:11px; margin-bottom:14px; }
.footer-c-icon { color:var(--light-green); font-size:0.95rem; margin-top:2px; flex-shrink:0; }
.footer-c-text { color:rgba(255,255,255,0.62); font-size:0.83rem; line-height:1.6; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.09); padding:22px 0; }
.footer-bottom-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.footer-copy { color:rgba(255,255,255,0.45); font-size:0.82rem; }
.footer-copy span { color:var(--light-green); }
.footer-legal { display:flex; gap:18px; }
.footer-legal a { color:rgba(255,255,255,0.42); font-size:0.78rem; transition:var(--transition); }
.footer-legal a:hover { color:var(--white); }

/* ======================== FLOATING BUTTONS */
.whatsapp-float {
  position:fixed;
  bottom:30px; right:30px;
  z-index:999;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}
.wa-btn {
  width:58px; height:58px;
  background:#25d366;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.7rem;
  box-shadow:0 4px 20px rgba(37,211,102,0.42);
  transition:var(--transition);
  animation:pulse-wa 2.5s infinite;
}
.wa-btn:hover { transform:scale(1.1); }
.wa-tip {
  background:var(--dark-green);
  color:var(--white);
  padding:7px 15px;
  border-radius:50px;
  font-size:0.78rem;
  font-weight:600;
  white-space:nowrap;
  box-shadow:var(--shadow-md);
  opacity:0;
  transform:translateX(10px);
  transition:var(--transition);
}
.whatsapp-float:hover .wa-tip { opacity:1; transform:translateX(0); }

.back-top {
  position:fixed;
  bottom:100px; right:30px;
  z-index:998;
  width:44px; height:44px;
  background:var(--maroon);
  color:var(--white);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem;
  cursor:pointer;
  border:none;
  box-shadow:var(--shadow-md);
  opacity:0;
  visibility:hidden;
  transition:var(--transition);
}
.back-top.show { opacity:1; visibility:visible; }
.back-top:hover { background:var(--dark-maroon); transform:translateY(-3px); }

/* ======================== SERVICE DETAIL (services.html) */
.service-detail { padding:var(--section-pad); }
.service-detail:nth-child(even) { background:var(--cream); }
.sd-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.sd-grid.flip { direction:rtl; }
.sd-grid.flip > * { direction:ltr; }
.sd-img { width:100%; height:420px; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); }
.sd-num { font-size:0.78rem; font-weight:700; color:var(--maroon); letter-spacing:3px; text-transform:uppercase; margin-bottom:10px; }
.sd-title { font-size:clamp(1.55rem,3vw,2.1rem); color:var(--dark-green); margin-bottom:18px; }
.sd-text { color:var(--gray); line-height:1.8; margin-bottom:22px; }
.sd-feats { display:flex; flex-direction:column; gap:11px; margin-bottom:28px; }
.sd-feat { display:flex; align-items:center; gap:12px; font-size:0.88rem; color:var(--dark-gray); }
.sd-feat::before { content:'●'; color:var(--green); font-size:0.45rem; flex-shrink:0; }

/* ======================== GROUP AFFILIATION */
.affil-section { padding:var(--section-pad); background:var(--cream); }
.affil-card {
  background:var(--white);
  border-radius:var(--radius-lg);
  padding:48px;
  box-shadow:var(--shadow-md);
  display:grid;
  grid-template-columns:220px 1fr;
  gap:60px;
  align-items:center;
}
.affil-logo-icon {
  width:110px; height:110px;
  background:linear-gradient(135deg,var(--dark-green),var(--brown));
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:3.2rem;
  margin:0 auto 16px;
}
.affil-logo-name { font-family:var(--font-heading); font-size:1.1rem; color:var(--dark-green); font-weight:700; text-align:center; }
.affil-logo-sub { font-size:0.72rem; color:var(--gray); letter-spacing:1px; text-align:center; margin-top:4px; }
.affil-text { color:var(--gray); line-height:1.8; margin-bottom:22px; }
.sectors { display:flex; flex-wrap:wrap; gap:10px; }
.sector { background:var(--pale-green); color:var(--green); padding:5px 14px; border-radius:50px; font-size:0.78rem; font-weight:600; }

/* ======================== LOCATIONS */
.locations-section { padding:var(--section-pad); }
.loc-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.loc-card { background:var(--white); border-radius:var(--radius-md); overflow:hidden; box-shadow:var(--shadow-sm); transition:var(--transition); }
.loc-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.loc-img { width:100%; height:200px; object-fit:cover; }
.loc-body { padding:22px; }
.loc-badge { display:inline-block; background:var(--pale-green); color:var(--green); padding:3px 10px; border-radius:50px; font-size:0.72rem; font-weight:700; margin-bottom:9px; }
.loc-title { font-size:1.15rem; color:var(--dark-green); font-family:var(--font-heading); margin-bottom:7px; }
.loc-text { color:var(--gray); font-size:0.86rem; line-height:1.6; }

/* ======================== PROGRAMS (community.html) */
.programs-section { padding:var(--section-pad); background:var(--cream); }
.prog-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.prog-card {
  background:var(--white);
  border-radius:var(--radius-md);
  padding:34px 30px;
  border-left:5px solid var(--green);
  box-shadow:var(--shadow-sm);
  transition:var(--transition);
}
.prog-card:hover { box-shadow:var(--shadow-md); transform:translateY(-3px); }
.prog-card:nth-child(2) { border-color:var(--maroon); }
.prog-card:nth-child(3) { border-color:var(--brown); }
.prog-card:nth-child(4) { border-color:var(--light-green); }
.prog-icon { font-size:2.4rem; margin-bottom:14px; display:block; }
.prog-title { font-size:1.15rem; color:var(--dark-green); font-family:var(--font-heading); margin-bottom:10px; }
.prog-text { color:var(--gray); font-size:0.86rem; line-height:1.7; }

/* ======================== IMPACT AREAS */
.areas-section { padding:var(--section-pad); background:var(--dark-green); }
.areas-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.area-card {
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.09);
  border-radius:var(--radius-md);
  padding:28px 18px;
  text-align:center;
  transition:var(--transition);
}
.area-card:hover { background:rgba(255,255,255,0.1); border-color:var(--light-green); }
.area-icon { font-size:2rem; margin-bottom:14px; display:block; }
.area-name { font-size:1.15rem; color:var(--white); font-family:var(--font-heading); margin-bottom:5px; }
.area-county { color:rgba(255,255,255,0.45); font-size:0.76rem; text-transform:uppercase; letter-spacing:1px; }

/* ======================== TOUCH / ACCESSIBILITY */
* { -webkit-tap-highlight-color: rgba(0,0,0,0); }
a, button, [role="button"] { touch-action: manipulation; }
.btn { min-height: 44px; } /* minimum tap target */
.nav-links a { min-height: 44px; display:flex; align-items:center; }

/* ======================== ANIMATIONS */
@keyframes fadeInUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeInDown {
  from { opacity:0; transform:translateY(-20px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes bounce {
  0%,100% { transform:translateX(-50%) translateY(0); }
  50%      { transform:translateX(-50%) translateY(-10px); }
}
@keyframes pulse-wa {
  0%,100% { box-shadow:0 4px 20px rgba(37,211,102,0.42); }
  50%      { box-shadow:0 4px 32px rgba(37,211,102,0.72); }
}

.reveal { opacity:0; transform:translateY(40px); transition:opacity 0.7s ease,transform 0.7s ease; }
.reveal.in { opacity:1; transform:none; }
.reveal-l { opacity:0; transform:translateX(-40px); transition:opacity 0.7s ease,transform 0.7s ease; }
.reveal-l.in { opacity:1; transform:none; }
.reveal-r { opacity:0; transform:translateX(40px); transition:opacity 0.7s ease,transform 0.7s ease; }
.reveal-r.in { opacity:1; transform:none; }
.d1 { transition-delay:0.1s; } .d2 { transition-delay:0.2s; }
.d3 { transition-delay:0.3s; } .d4 { transition-delay:0.4s; }
.d5 { transition-delay:0.5s; } .d6 { transition-delay:0.6s; }

/* ======================== RESPONSIVE */

/* Fix iOS Safari: background-attachment:fixed causes choppy rendering */
@media (max-width:1024px) {
  .hero-bg { background-attachment:scroll !important; }
}

/* ── 1100px — Tablet landscape ── */
@media (max-width:1100px) {
  .footer-grid { grid-template-columns:1fr 1fr; gap:38px; }
  .why-grid { grid-template-columns:repeat(2,1fr); }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .features-strip-inner { grid-template-columns:repeat(2,1fr); }
  .feature-item:nth-child(2) { border-right:none; }
  .about-badge { right:0; }
}

/* ── 900px — Tablet portrait ── */
@media (max-width:900px) {

  /* Navigation */
  .nav-links {
    display:none;
    position:fixed;
    top:80px; left:0; right:0;
    background:rgba(27,67,50,0.98);
    backdrop-filter:blur(10px);
    flex-direction:column;
    padding:16px;
    gap:4px;
    box-shadow:var(--shadow-lg);
    max-height:calc(100vh - 80px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .nav-links.open { display:flex; }
  .nav-links a { padding:13px 16px; width:100%; border-radius:var(--radius-sm); font-size:1rem; }
  .nav-links a::after { display:none; }
  .hamburger { display:flex; }

  /* Main grids */
  .about-grid,
  .community-grid,
  .contact-grid,
  .vm-grid,
  .sd-grid,
  .affil-card { grid-template-columns:1fr; gap:36px; }
  .sd-grid.flip { direction:ltr; }
  .affil-card { text-align:center; padding:32px 24px; }

  /* Cards */
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .testi-grid { grid-template-columns:1fr; }
  .loc-grid { grid-template-columns:repeat(2,1fr); }
  .prog-grid { grid-template-columns:1fr; }
  .areas-grid { grid-template-columns:repeat(2,1fr); }
  .why-grid { grid-template-columns:repeat(2,1fr); }
  .form-row { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }

  /* About section */
  .about-image-wrap { max-width:500px; margin:0 auto; }
  .about-image-main { height:380px; }
  .about-badge { right:0; bottom:-16px; padding:18px 14px; min-width:118px; }
  .about-checks { grid-template-columns:1fr 1fr; }

  /* Community image stack → simple vertical layout */
  .community-img-stack { height:auto !important; display:flex; flex-direction:column; gap:14px; }
  .comm-img-main {
    position:static !important;
    width:100% !important;
    height:240px !important;
    border-radius:var(--radius-lg) !important;
  }
  .comm-img-sec {
    position:static !important;
    width:100% !important;
    height:200px !important;
    border:none !important;
    border-radius:var(--radius-lg) !important;
  }

  /* Service detail images */
  .sd-img { height:300px; }

  /* Stats */
  .stat-item { border-right:none; border-bottom:1px solid rgba(255,255,255,0.1); padding:22px 16px; }
  .stat-item:last-child { border-bottom:none; }

  /* Page hero */
  .page-hero { height:360px; }
  .page-hero-content { padding:0 20px 50px; }
  .page-hero-title { font-size:2.2rem; }

  /* Map — stack vertically */
  .map-section { height:auto; display:flex; flex-direction:column; }
  .map-section iframe { height:300px; width:100%; flex-shrink:0; }
  .map-card {
    position:static;
    transform:none;
    margin:0;
    max-width:none;
    border-radius:0;
    border-top:3px solid var(--green);
    box-shadow:none;
    padding:24px;
  }

  /* Footer */
  .footer-top { padding:56px 0 30px; }
  .footer-bottom-inner { flex-direction:column; gap:8px; text-align:center; }
  .footer-legal { justify-content:center; }

  /* Features */
  .feature-item:nth-child(2) { border-right:none; }
  .feature-item:nth-child(4) { border-right:none; }

  /* Service sticky nav */
  .srv-nav { -webkit-overflow-scrolling:touch; }

  /* Affil sectors */
  .sectors { justify-content:center; }

  /* Contact */
  .contact-form-wrap { padding:32px 24px; }
}

/* ── 600px — Mobile ── */
@media (max-width:600px) {
  :root { --section-pad:56px 0; }

  /* Single-column everything */
  .services-grid,
  .loc-grid,
  .areas-grid,
  .stats-grid,
  .features-strip-inner,
  .why-grid,
  .footer-grid,
  .about-checks { grid-template-columns:1fr; }

  /* Borders */
  .stat-item { border-right:none; border-bottom:1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom:none; }
  .feature-item { border-right:none; border-bottom:1px solid rgba(255,255,255,0.08); }
  .feature-item:last-child { border-bottom:none; }

  /* Hero */
  .hero { min-height:100svh; min-height:100vh; }
  .hero-title { font-size:clamp(1.8rem,8vw,2.8rem); }
  .hero-tagline { font-size:0.95rem; }
  .hero-btns { flex-direction:column; align-items:center; gap:12px; }
  .hero-btns .btn { width:100%; max-width:280px; justify-content:center; }
  .hero-badge { font-size:0.72rem; padding:5px 14px; }
  .hero-scroll { display:none; }

  /* Page hero */
  .page-hero { height:260px; }
  .page-hero-title { font-size:1.7rem; }
  .page-hero-desc { font-size:0.9rem; }

  /* About */
  .about-image-main { height:260px; }
  .about-badge { right:0; bottom:-12px; padding:14px 12px; min-width:110px; }
  .about-badge .number { font-size:2rem; }
  .about-badge .label { font-size:0.65rem; }

  /* Inline image heights (community / about story) */
  .img-responsive-tall { height:260px !important; }

  /* VM cards */
  .vm-card { padding:28px 20px; }
  .vm-bg-num { font-size:6rem; }

  /* Contact form */
  .contact-form-wrap { padding:22px 16px; }
  .form-title { font-size:1.2rem; }

  /* Map */
  .map-section iframe { height:240px; }
  .map-card { padding:20px 16px; }

  /* Float buttons */
  .whatsapp-float { right:14px; bottom:14px; }
  .wa-btn { width:50px; height:50px; font-size:1.4rem; }
  .back-top { right:14px; bottom:76px; width:40px; height:40px; font-size:1rem; }

  /* Corporate section */
  .corp-section { padding:60px 0; }
  .corp-section::before { font-size:12rem; }
  .corp-quote { font-size:1rem; line-height:1.8; }

  /* CTA */
  .cta-section { padding:56px 0; }
  .cta-btns { flex-direction:column; align-items:center; }
  .cta-btns .btn { width:100%; max-width:280px; justify-content:center; }

  /* Service cards */
  .service-card-img-wrap { height:180px; }
  .service-card-img { height:100%; }

  /* Why cards */
  .why-card { padding:22px 18px; }

  /* Testimonials */
  .testi-card { padding:26px 18px; }

  /* SD (service detail) */
  .sd-img { height:220px; }

  /* Footer */
  .footer-top { padding:44px 0 26px; }
  .footer-brand-text { font-size:0.84rem; }

  /* Sections text */
  .section-sub { font-size:0.95rem; }
  .btn { padding:12px 24px; font-size:0.88rem; }
}

/* ── 400px — Very small phones ── */
@media (max-width:400px) {
  .container { padding:0 14px; }
  .hero-title { font-size:1.7rem; }
  .section-title { font-size:1.4rem; }
  .btn { padding:11px 18px; font-size:0.84rem; }
  .nav-inner { height:68px; }
  .nav-logo-icon { width:52px; height:52px; }
  .about-badge { display:none; }
  .service-card-body { padding:18px 16px; }
  .contact-form-wrap { padding:18px 14px; }
  .why-card { padding:18px 14px; }
  .footer-top { padding:36px 0 22px; }
  .stats-section { padding:50px 0; }
  .cta-section { padding:48px 0; }
  .corp-section { padding:50px 0; }
}
