/* ============================================
   GREENLEAF PRO - Click Boost Agency Demo
   White & Green Premium Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --green-dark: #1a4d2e;
  --green-mid: #2d7a4f;
  --green-bright: #3db56a;
  --green-light: #a8e6c1;
  --green-pale: #e8f5ee;
  --white: #ffffff;
  --off-white: #f8fdf9;
  --gray-light: #f2f2f2;
  --gray-mid: #9aaa9e;
  --gray-dark: #3a3a3a;
  --text-main: #1c2b1f;
  --text-sub: #5c6e61;
  --shadow-sm: 0 2px 12px rgba(26,77,46,0.08);
  --shadow-md: 0 8px 32px rgba(26,77,46,0.14);
  --shadow-lg: 0 24px 64px rgba(26,77,46,0.18);
  --radius: 12px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61,181,106,0.15);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-bright));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--gray-mid);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sub);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-bright);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--green-dark);
}

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

.nav-cta {
  background: var(--green-dark) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover {
  background: var(--green-bright) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(61,181,106,0.35) !important;
}

.nav-cta::after { display: none !important; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}

.burger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--green-dark);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
  transition: color var(--transition);
}

.mobile-menu a:hover { color: var(--green-bright); }

.mobile-cta-btn {
  background: var(--green-dark) !important;
  color: var(--white) !important;
  padding: 14px 40px !important;
  border-radius: 50px !important;
  font-size: 1rem !important;
}

/* ============================================
   HERO SLIDER
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 80px;
}

.slides-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}

.slide.active { opacity: 1; }

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s ease;
}

.slide.active .slide-bg { transform: scale(1); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,77,46,0.82) 0%, rgba(26,77,46,0.3) 60%, transparent 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 0 8%;
  max-width: 680px;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.2s;
}

.slide.active .slide-badge {
  opacity: 1;
  transform: translateY(0);
}

.slide-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease 0.4s;
}

.slide.active .slide-content h1 {
  opacity: 1;
  transform: translateY(0);
}

.slide-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease 0.55s;
}

.slide.active .slide-content p {
  opacity: 1;
  transform: translateY(0);
}

.slide-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s ease 0.7s;
}

.slide.active .slide-buttons {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-bright);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--white);
  color: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 8%;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.slider-dot.active {
  background: var(--white);
  width: 28px;
  border-radius: 4px;
}

.slider-arrows {
  display: flex;
  gap: 10px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1rem;
}

.slider-arrow:hover {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}

/* Stats bar */
.stats-bar {
  background: var(--green-dark);
  padding: 24px 8%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 10px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-light);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: block;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */

section { padding: 90px 8%; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-bright);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--green-dark);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-sub);
  max-width: 540px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 54px;
}

/* Fade-in animation */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
  background: var(--off-white);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img { transform: scale(1.06); }

.service-img-wrap { overflow: hidden; }

.service-body {
  padding: 28px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  transition: background var(--transition);
}

.service-card:hover .service-icon { background: var(--green-bright); }

.service-body h3 {
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.service-body p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-bright);
  transition: gap var(--transition);
}

.service-card:hover .service-link { gap: 12px; }

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-img-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
}

.about-badge {
  position: absolute;
  top: 30px;
  left: -20px;
  background: var(--green-dark);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--green-light);
}

.about-badge span {
  font-size: 0.72rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feat-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--green-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.feat-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 2px;
}

.feat-text span {
  font-size: 0.78rem;
  color: var(--text-sub);
}

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-green:hover {
  background: var(--green-bright);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(61,181,106,0.3);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */

.why-section {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(61,181,106,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.why-section .section-title { color: var(--white); }
.why-section .section-sub { color: rgba(255,255,255,0.65); }
.why-section .section-label { color: var(--green-light); }
.why-section .section-label::before { background: var(--green-light); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 54px;
}

.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-6px);
  border-color: rgba(61,181,106,0.3);
}

.why-card-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.why-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.why-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ============================================
   PORTFOLIO GALLERY
   ============================================ */

.portfolio-section { background: var(--white); }

.portfolio-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 2px solid var(--green-pale);
  background: transparent;
  color: var(--text-sub);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.portfolio-item:nth-child(4) { grid-column: span 2; }

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

.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(26,77,46,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.portfolio-overlay span {
  color: var(--green-light);
  font-size: 0.8rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-section { background: var(--off-white); }

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.quote-mark {
  font-size: 4rem;
  font-family: 'Playfair Display', serif;
  color: var(--green-pale);
  line-height: 1;
  margin-bottom: -10px;
}

.testimonial-stars {
  color: #f5c842;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--green-dark);
  font-weight: 600;
}

.author-info span {
  font-size: 0.78rem;
  color: var(--gray-mid);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  text-align: center;
  padding: 90px 8%;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  top: -200px;
  left: -100px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--green-dark);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-white:hover {
  background: var(--green-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ============================================
   CONTACT / FORM SECTION
   ============================================ */

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

.contact-info {
  padding-top: 10px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-detail strong {
  display: block;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail p {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.form-card > p {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-bottom: 28px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8eee9;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-main);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-bright);
  box-shadow: 0 0 0 4px rgba(61,181,106,0.12);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61,181,106,0.35);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--text-main);
  color: rgba(255,255,255,0.7);
  padding: 70px 8% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo-name { color: var(--white); font-size: 1.4rem; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.4); }
.footer-brand .logo-icon {
  background: linear-gradient(135deg, var(--green-bright), var(--green-mid));
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  color: rgba(255,255,255,0.55);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--green-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom span {
  color: var(--green-bright);
}

.powered {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.powered a {
  color: var(--green-light);
  font-weight: 600;
}

/* ============================================
   CTA POPUP MODAL
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,77,46,0.5);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--shadow-lg);
}

.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.modal-header h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.modal-header p {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
}

.modal-close {
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background var(--transition);
  flex-shrink: 0;
}

.modal-close:hover { background: rgba(255,255,255,0.3); }

.modal-body {
  padding: 32px;
}

.modal-body .form-submit {
  margin-top: 8px;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 80px 8% 70px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

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

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 520px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a { color: var(--green-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ============================================
   PROCESS STEPS
   ============================================ */

.process-section { background: var(--white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 54px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--green-bright), var(--green-light));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(26,77,46,0.25);
  transition: all var(--transition);
}

.step:hover .step-number {
  background: var(--green-bright);
  transform: scale(1.1);
}

.step h4 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ============================================
   TEAM CARDS
   ============================================ */

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

.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img { transform: scale(1.04); }

.team-img-wrap { overflow: hidden; }

.team-info {
  padding: 20px;
  text-align: center;
}

.team-info h4 {
  font-size: 1.05rem;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.team-info span {
  font-size: 0.8rem;
  color: var(--green-bright);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.team-social {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.team-social a {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--green-dark);
  transition: all var(--transition);
}

.team-social a:hover {
  background: var(--green-dark);
  color: var(--white);
}

/* ============================================
   PRICING CARDS
   ============================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
}

.pricing-card {
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 2px solid var(--green-pale);
  transition: all var(--transition);
  position: relative;
  background: var(--white);
}

.pricing-card:hover {
  border-color: var(--green-bright);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-bright);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50px;
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured .price-period,
.pricing-card.featured .pricing-features li {
  color: var(--white);
}

.pricing-card.featured .pricing-features li {
  color: rgba(255,255,255,0.75);
}

.pricing-card.featured .pricing-features li::before {
  color: var(--green-light);
}

.pricing-plan {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 10px;
}

.pricing-card.featured .pricing-plan { color: var(--green-light); }

.pricing-card h3 {
  font-size: 1.3rem;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.price {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--green-dark);
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-sub);
  font-weight: 400;
}

.pricing-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 24px 0;
}

.pricing-card.featured .pricing-divider { background: rgba(255,255,255,0.12); }

.pricing-features li {
  font-size: 0.88rem;
  color: var(--text-sub);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--green-bright);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-btn {
  width: 100%;
  margin-top: 28px;
  padding: 12px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid var(--green-dark);
  background: transparent;
  color: var(--green-dark);
}

.pricing-btn:hover {
  background: var(--green-dark);
  color: var(--white);
}

.pricing-card.featured .pricing-btn {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}

.pricing-card.featured .pricing-btn:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
  color: var(--white);
}

/* ============================================
   FAQ
   ============================================ */

.faq-section { background: var(--off-white); }

.faq-list { max-width: 740px; margin-top: 40px; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  color: var(--green-dark);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--green-bright); }

.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--green-dark);
  transition: all var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--green-dark);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ============================================
   SUCCESS MESSAGE
   ============================================ */

.success-msg {
  display: none;
  text-align: center;
  padding: 20px;
}

.success-msg .checkmark {
  font-size: 3rem;
  margin-bottom: 12px;
}

.success-msg h4 {
  color: var(--green-dark);
  margin-bottom: 8px;
}

.success-msg p {
  font-size: 0.88rem;
  color: var(--text-sub);
}

/* ============================================
   BACK TO TOP
   ============================================ */

.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 800;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-top:hover {
  background: var(--green-bright);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(61,181,106,0.35);
}

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

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section { grid-template-columns: 1fr; gap: 40px; }
  .about-images { max-width: 540px; }
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 70px 6%; }

  .nav-links { display: none; }
  .burger { display: flex; }
  .mobile-menu { display: flex; }

  .hero { height: 90vh; }
  .slide-content { padding: 0 6%; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .portfolio-item:nth-child(1), .portfolio-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .testimonials-slider { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .about-img-accent { display: none; }
  .about-features { grid-template-columns: 1fr; }
  .slider-controls { left: 6%; bottom: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero { min-height: 100vh; }
  .slide-content h1 { font-size: 1.9rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  .team-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .modal-body { padding: 24px 20px; }
  .form-card { padding: 28px 20px; }
  .back-top { bottom: 20px; right: 20px; }
}
