/* ==========================================
   GREEN ROOTS  about.css
   ========================================== */

/* Force navbar always solid on inner pages */
.navbar {
  background: var(--white) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}
.navbar .nav-links a {
  color: var(--text-dark) !important;
}
.navbar .logo {
  color: var(--green-dark) !important;
}
.navbar .hamburger {
  color: var(--text-dark) !important;
}

.active-link {
  color: var(--green-mid) !important;
  font-weight: 700 !important;
}

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

/* ==========================================
   PAGE HERO BANNER
   ========================================== */
.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 220px;
  margin-top: 72px; /* nav height */
}
.page-hero-overlay {
  background: linear-gradient(135deg, var(--green-dark) 0%, #3a6b22 100%);
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  padding: 50px clamp(24px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-hero-content {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  padding: 50px clamp(24px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.page-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  animation: heroIn 0.8s ease forwards;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  animation: heroIn 0.8s ease 0.2s both forwards;
}
.breadcrumb a {
  color: var(--green-light);
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--white);
}
.breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
}
.page-hero-image {
  background: url("https://images.unsplash.com/photo-1585320806297-9794b3e4eeae?w=900&q=80")
    center/cover no-repeat;
  position: relative;
}
.page-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(45, 90, 27, 0.2);
}

/* ==========================================
   ALTERNATING ROWS
   ========================================== */
.about-rows {
  padding: 90px 0;
  background: var(--white);
}
.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.about-row:last-child {
  margin-bottom: 0;
}
.row-reverse {
  direction: rtl;
}
.row-reverse > * {
  direction: ltr;
}

.about-row-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-row-text h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  color: var(--text-dark);
  line-height: 1.2;
}
.about-row-text h2 span {
  color: var(--green-mid);
}
.row-sub-label {
  color: var(--text-light);
  font-style: italic;
  font-size: 0.93rem;
  margin-top: -8px;
}
.about-row-text p {
  color: var(--text-mid);
  line-height: 1.75;
  font-size: 0.95rem;
}

.about-row-image {
  height: 340px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 50px rgba(45, 90, 27, 0.18);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s;
}
.about-row-image:hover {
  transform: scale(1.02);
}
.about-row-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 3px solid rgba(125, 196, 78, 0.3);
  pointer-events: none;
}

.ari1 {
  background-image: url("https://images.unsplash.com/photo-1592419042139-aca73b80b5b2?w=700&q=80");
}
.ari2 {
  background-image: url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=700&q=80");
}

/* ==========================================
   STATS / AWARD DARK BANNER
   ========================================== */
.stats-banner {
  position: relative;
  background: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80")
    center/cover no-repeat;
  padding: 90px 0;
  text-align: center;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 10, 0.82);
}
.stats-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.stats-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 36px;
}
.stats-content h2 span {
  color: var(--green-light);
}

/* Award badge */
.award-badge {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.badge-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid var(--green-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(125, 196, 78, 0.12);
  animation: spin-slow 20s linear infinite;
  position: relative;
}
@keyframes spin-slow {
  from {
    box-shadow: 0 0 0 0 rgba(125, 196, 78, 0.4);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(125, 196, 78, 0);
  }
  to {
    box-shadow: 0 0 0 0 rgba(125, 196, 78, 0);
  }
}
.badge-icon {
  font-size: 2.4rem;
}
.badge-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-light);
  text-align: center;
  line-height: 1.4;
}

.stats-desc {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  font-size: 0.93rem;
  margin-bottom: 14px;
}
.stats-cta {
  display: inline-block;
  margin-top: 24px;
  color: var(--white);
  font-size: 1.05rem;
  border-bottom: 2px solid var(--green-light);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.stats-cta strong {
  color: var(--green-light);
}
.stats-cta:hover {
  color: var(--green-light);
}

/* Stat counters strip */
.stats-strip {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 40px 0 0;
  flex-wrap: wrap;
}
.stat-num {
  text-align: center;
}
.stat-num strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  color: var(--green-light);
  line-height: 1;
}
.stat-num span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
  display: block;
}

/* ==========================================
   WHY CHOOSE US
   ========================================== */
.why-us {
  padding: 90px 0;
  background: var(--off-white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.why-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(74, 140, 42, 0.1);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.why-card:hover {
  box-shadow: 0 12px 40px rgba(74, 140, 42, 0.18);
  transform: translateY(-6px);
}
.why-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(74, 140, 42, 0.35);
  transition: transform 0.3s;
}
.why-card:hover .why-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}
.why-icon {
  font-size: 1.8rem;
}
.why-tag {
  color: var(--green-mid);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  font-style: italic;
}
.why-card h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.35;
}
.why-card p {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ==========================================
   SPLIT CTA
   ========================================== */
.split-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}
.split-left {
  background: url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?w=900&q=80")
    center/cover no-repeat;
  position: relative;
}
.split-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 45, 10, 0.78);
}
.split-left-inner {
  position: relative;
  z-index: 1;
  padding: 60px clamp(24px, 5vw, 70px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.split-left-inner h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  color: var(--white);
}
.split-left-inner p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 0.93rem;
}

.split-right {
  background: var(--green-mid);
  position: relative;
  overflow: hidden;
}
.split-right::before {
  content: "";
  font-size: 260px;
  position: absolute;
  right: -40px;
  bottom: -30px;
  opacity: 0.07;
  line-height: 1;
}
.split-right-inner {
  position: relative;
  z-index: 1;
  padding: 60px clamp(24px, 5vw, 70px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.split-right-inner h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  color: var(--white);
}
.split-right-inner p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 0.93rem;
}
.split-phone {
  font-size: 0.82rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
}
.split-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-phone {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}
.btn-phone:hover {
  background: var(--white);
  color: var(--green-mid);
}
.split-right-inner .btn-primary {
  background: var(--green-dark);
}
.split-right-inner .btn-primary:hover {
  background: rgba(0, 0, 0, 0.35);
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials {
  padding: 90px 0;
  background: var(--white);
}
.testimonials-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.testimonials-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.testimonials-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 4px;
}
.testi-controls {
  display: flex;
  gap: 10px;
  margin: 4px 0 20px;
}
.testi-controls button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--green-mid);
  background: transparent;
  color: var(--green-mid);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testi-controls button:hover {
  background: var(--green-mid);
  color: var(--white);
}

/* Slider */
.testi-slider {
  position: relative;
  min-height: 210px;
  overflow: hidden;
}
.testi-slide {
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: fadeIn 0.5s ease;
}
.testi-slide.active {
  display: flex;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.testi-quote {
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  color: var(--green-light);
  line-height: 0.6;
  margin-bottom: 6px;
  opacity: 0.6;
}
.testi-slide > p {
  color: var(--text-mid);
  font-size: 0.96rem;
  line-height: 1.8;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--green-light);
  flex-shrink: 0;
}
.ta1 {
  background-image: url("https://randomuser.me/api/portraits/women/44.jpg");
}
.ta2 {
  background-image: url("https://randomuser.me/api/portraits/men/32.jpg");
}
.ta3 {
  background-image: url("https://randomuser.me/api/portraits/women/68.jpg");
}
.testi-author strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
}
.testi-author span {
  font-size: 0.8rem;
  color: var(--green-mid);
}

.testi-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0ddc8;
  transition:
    background 0.3s,
    transform 0.3s;
  cursor: pointer;
}
.dot.active {
  background: var(--green-mid);
  transform: scale(1.3);
}

/* Testimonials right */
.testimonials-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.testi-person {
  font-size: 9rem;
  line-height: 1;
  filter: drop-shadow(0 12px 30px rgba(74, 140, 42, 0.25));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
.testi-stat-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.tstat {
  background: var(--green-pale);
  border: 1px solid rgba(74, 140, 42, 0.15);
  border-radius: 10px;
  padding: 18px 22px;
  text-align: center;
  min-width: 100px;
}
.tstat strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--green-dark);
}
.tstat span {
  font-size: 0.78rem;
  color: var(--text-mid);
  margin-top: 4px;
  display: block;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
  .page-hero {
    grid-template-columns: 1fr;
  }
  .page-hero-image {
    display: none;
  }
  .page-hero-content {
    padding: 40px 24px;
  }
  .about-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .row-reverse {
    direction: ltr;
  }
  .about-row-image {
    height: 260px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .split-cta {
    grid-template-columns: 1fr;
  }
  .testimonials-layout {
    grid-template-columns: 1fr;
  }
  .testimonials-right {
    display: none;
  }
  .stats-strip {
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .split-btns {
    flex-direction: column;
  }
  .btn-phone {
    text-align: center;
  }
}
