/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1f2d22;
  line-height: 1.6;
  background: #ffffff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }

/* ===== Colors ===== */
:root {
  --primary: #2d6a4f;
  --primary-dark: #1b4332;
  --accent: #74c69d;
  --earth: #8b6f47;
  --bg-dark: #1b2e25;
  --bg-cream: #f4f1ea;
  --text: #1f2d22;
  --text-light: #6c7a6f;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid #e4e2d9;
  transition: all 0.3s ease;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-dark);
}
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}
.logo .accent { color: var(--accent); }
.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
  font-family: 'Manrope', sans-serif;
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Manrope', sans-serif;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(45, 106, 79, 0.4);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: white; }
.btn-light {
  background: white;
  color: var(--primary-dark);
}
.btn-light:hover { background: var(--bg-cream); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 24px; }

/* ===== Hero ===== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: linear-gradient(135deg, rgba(27, 67, 50, 0.75) 0%, rgba(45, 106, 79, 0.6) 100%), url('https://images.unsplash.com/photo-1582268611958-ebfd161ef9cf?w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 160px 0 100px;
}
.hero h1 {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
  color: white;
}
.hero p {
  font-size: 20px;
  margin-bottom: 36px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-tag {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(116, 198, 157, 0.2);
  border: 1px solid rgba(116, 198, 157, 0.4);
  color: var(--accent);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

/* ===== Sections ===== */
section { padding: 100px 0; }
.section-header { max-width: 720px; margin: 0 auto 70px; text-align: center; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(45, 106, 79, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-family: 'Manrope', sans-serif;
}
.section-header h2 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--primary-dark);
}
.section-header p { font-size: 18px; color: var(--text-light); }

/* ===== Stats ===== */
.stats-bar {
  background: var(--primary-dark);
  padding: 60px 0;
  color: white;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item .number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--accent);
}
.stat-item .label { color: rgba(255, 255, 255, 0.8); font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 8px; }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid #e4e2d9;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(27, 67, 50, 0.15);
}
.service-card img { width: 100%; height: 240px; object-fit: cover; transition: all 0.5s; }
.service-card:hover img { transform: scale(1.05); }
.service-card-body { padding: 32px; }
.service-card h3 { font-size: 24px; margin-bottom: 12px; color: var(--primary-dark); }
.service-card p { color: var(--text-light); margin-bottom: 20px; }
.service-card .learn-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
}
.service-card .learn-more:hover { gap: 12px; transition: gap 0.2s; }

/* ===== Split Section ===== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-section.reverse > div:first-child { order: 2; }
.split-section img {
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(27, 67, 50, 0.15);
}
.split-section h2 { font-size: 44px; margin-bottom: 20px; color: var(--primary-dark); line-height: 1.15; }
.split-section p { font-size: 17px; color: var(--text-light); margin-bottom: 16px; }
.checklist { list-style: none; margin-top: 24px; }
.checklist li {
  padding: 12px 0 12px 40px;
  position: relative;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid #e4e2d9;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 26px; height: 26px;
  background: var(--primary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E") no-repeat center;
}

/* ===== Projects Gallery ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}
.project-card:hover img { transform: scale(1.08); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 67, 50, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: white;
}
.project-card .category {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 6px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
}
.project-card h3 { color: white; font-size: 22px; }

/* ===== Process / Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feature-card {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s;
  border: 1px solid #e4e2d9;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(27, 67, 50, 0.1);
}
.feature-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--primary-dark); }
.feature-card p { color: var(--text-light); font-size: 15px; }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial {
  background: white;
  padding: 36px;
  border-radius: 8px;
  border: 1px solid #e4e2d9;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px; left: 24px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 100px;
  color: var(--accent);
  line-height: 1;
  font-weight: 700;
}
.testimonial .stars { color: #d4a04f; margin-bottom: 16px; font-size: 18px; }
.testimonial p { font-size: 16px; margin-bottom: 24px; font-style: italic; color: var(--text); }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid #e4e2d9;
}
.testimonial-author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author .name { font-weight: 700; font-family: 'Playfair Display', serif; font-size: 17px; }
.testimonial-author .role { color: var(--text-light); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* ===== CTA ===== */
.cta-section {
  background-image: linear-gradient(135deg, rgba(27, 67, 50, 0.92) 0%, rgba(45, 106, 79, 0.85) 100%), url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
}
.cta-section h2 { color: white; font-size: 52px; margin-bottom: 20px; }
.cta-section p { font-size: 19px; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.9); }

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.team-card { text-align: center; }
.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: saturate(0.9);
  transition: all 0.3s;
}
.team-card:hover img { filter: saturate(1.1); }
.team-card h4 { font-size: 22px; margin-bottom: 4px; color: var(--primary-dark); }
.team-card .position {
  color: var(--primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.contact-info h3 { font-size: 32px; margin-bottom: 16px; color: var(--primary-dark); }
.contact-info p { color: var(--text-light); margin-bottom: 32px; }
.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.info-item .icon {
  width: 52px; height: 52px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.info-item h5 { font-size: 17px; margin-bottom: 4px; color: var(--primary-dark); font-family: 'Playfair Display', serif; }
.info-item p { color: var(--text-light); margin: 0; font-size: 15px; }
.contact-form {
  background: white;
  padding: 48px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(27, 67, 50, 0.1);
  border: 1px solid #e4e2d9;
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e4e2d9;
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  transition: border 0.2s;
  background: var(--bg-cream);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer .logo { color: white; }
.footer .logo .accent { color: var(--accent); }
.footer-col h4 { color: white; font-size: 18px; margin-bottom: 20px; font-family: 'Playfair Display', serif; }
.footer-col p { color: rgba(255,255,255,0.7); margin-bottom: 16px; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 42px; height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: white;
}
.socials a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  padding: 180px 0 100px;
  background-image: linear-gradient(135deg, rgba(27, 67, 50, 0.85) 0%, rgba(45, 106, 79, 0.7) 100%), url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}
.page-header h1 { font-size: 60px; margin-bottom: 16px; color: white; }
.breadcrumbs { color: var(--accent); font-size: 15px; font-family: 'Manrope', sans-serif; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; }
.breadcrumbs a { color: rgba(255,255,255,0.7); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero h1 { font-size: 40px; }
  .section-header h2, .split-section h2, .cta-section h2, .page-header h1 { font-size: 34px; }
  .split-section, .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-section.reverse > div:first-child { order: 0; }
  .services-grid, .testimonials-grid, .team-grid, .projects-grid, .features-grid, .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: white; flex-direction: column; padding: 24px; border-bottom: 1px solid #e4e2d9; gap: 16px; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .cta-section { background-attachment: scroll; }
  .contact-form { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .services-grid, .testimonials-grid, .team-grid, .projects-grid, .features-grid, .stats-grid { grid-template-columns: 1fr; }
}
