/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --color-primary: #2a6049;
  --color-primary-dark: #1a3d2e;
  --color-primary-light: #3d8a67;
  --color-accent: #e8a84c;
  --color-bg: #f7f9f7;
  --color-text: #1e2d26;
  --color-text-muted: #5a7060;
  --color-white: #ffffff;
  --color-border: #d4e4d8;

  --shadow-sm: 0 2px 8px rgba(42,96,73,0.08);
  --shadow-md: 0 6px 24px rgba(42,96,73,0.12);
  --shadow-lg: 0 16px 48px rgba(42,96,73,0.16);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-full: 50px;
  --transition: 0.3s ease;

  --header-height: 90px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--color-bg);
}

/* ===== HEADER / NAVBAR ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(42,96,73,0.1);
}

/* Transparent over dark hero */
.site-header--hero {
  background: transparent;
  border-bottom-color: transparent;
}

.site-header--hero.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 24px rgba(42,96,73,0.1);
}

.navbar {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo {
  height: 70px;
  width: auto;
  transition: opacity var(--transition);
}

.navbar-brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.95);
  transition: color var(--transition);
  white-space: nowrap;
}

.site-header.scrolled .navbar-brand-name,
.site-header:not(.site-header--hero) .navbar-brand-name {
  color: var(--color-primary-dark);
}

/* Logo stays as-is (PNG with own colors) */

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.2px;
}

.site-header--hero:not(.scrolled) .nav-link { color: rgba(255,255,255,0.9); }
.site-header--hero:not(.scrolled) .nav-link:hover { background: rgba(255,255,255,0.12); color: #fff; }

.site-header.scrolled .nav-link,
.site-header:not(.site-header--hero) .nav-link {
  color: var(--color-text);
}

.site-header.scrolled .nav-link:hover,
.site-header:not(.site-header--hero) .nav-link:hover {
  background: rgba(42,96,73,0.08);
  color: var(--color-primary);
}

/* CTA button in nav */
.nav-cta {
  background: var(--color-primary) !important;
  color: #fff !important;
  padding: 0.55rem 1.3rem !important;
  box-shadow: 0 3px 12px rgba(42,96,73,0.3);
  margin-left: 0.5rem;
}

.site-header--hero:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,0.18) !important;
  border: 2px solid rgba(255,255,255,0.6);
  box-shadow: none;
}

.nav-cta:hover {
  background: var(--color-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(42,96,73,0.35) !important;
}

/* Mobile toggle button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.9);
  transition: all 0.25s ease;
}

.site-header.scrolled .nav-toggle span,
.site-header:not(.site-header--hero) .nav-toggle span {
  background: var(--color-text);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(42,96,73,0.3);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42,96,73,0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-full { width: 100%; text-align: center; }

/* ===== HERO ===== */
.hero-container {
  background: linear-gradient(160deg, #1a3d2e 0%, #2a6049 50%, #3d8a67 100%);
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-height) + 80px) 24px 20px;
  position: relative;
  overflow: hidden;
}

.hero-container::before {
  content: '';
  position: absolute;
  top: -20%; right: -15%;
  width: 65%; height: 75%;
  background: radial-gradient(circle, rgba(232,168,76,0.14) 0%, transparent 65%);
  pointer-events: none;
}

.hero-container::after {
  content: '';
  position: absolute;
  bottom: 10%; left: -10%;
  width: 45%; height: 50%;
  background: radial-gradient(circle, rgba(61,138,103,0.2) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-logo {
  height: min(320px, 30vh);
  width: auto;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 0.8rem;
  letter-spacing: -1px;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.hero-wave {
  width: 100%;
  line-height: 0;
  margin-top: auto;
}

.hero-wave svg { width: 100%; display: block; }

/* ===== SECTIONS ===== */
.section { padding: 6rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--color-primary-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header { text-align: center; margin-bottom: 4rem; }

/* ===== ABOUT SECTION ===== */
.about-section { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.about-text .btn { margin-top: 0.5rem; }

.about-owner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.owner-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--color-primary);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #2a6049, #3d8a67);
  flex-shrink: 0;
}

.owner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.owner-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
}

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

.owner-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.2rem;
}

.owner-title {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.2rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg { width: 100%; height: 100%; }

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.value-card p { font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.6; }

/* ===== LEADER SECTION ===== */
.leader-section {
  background: linear-gradient(160deg, #f0f7f3 0%, #fff 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.leader-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: center;
}

.leader-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.leader-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--color-primary);
  box-shadow: 0 20px 60px rgba(42,96,73,0.2);
  background: linear-gradient(135deg, #2a6049, #3d8a67);
}

.leader-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  letter-spacing: 0.5px;
}

.leader-role {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.leader-text p {
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ===== SERVICES SECTION ===== */
.services-section { background: var(--color-bg); }

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

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-card:nth-child(1) { border-top: 4px solid var(--color-primary); }
.service-card:nth-child(2) { border-top: 4px solid var(--color-accent); }
.service-card:nth-child(3) { border-top: 4px solid #6aab8e; }
.service-card:nth-child(4) { border-top: 4px solid var(--color-primary); }
.service-card:nth-child(5) { border-top: 4px solid var(--color-accent); }
.service-card:nth-child(6) { border-top: 4px solid #6aab8e; }

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 0.7rem;
}

.service-card p { font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.65; }

/* ===== CONTACT SECTION ===== */
.contact-section { background: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.form-group { margin-bottom: 1.3rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--color-primary); }

.form-group textarea { resize: vertical; }

.contact-info-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.contact-info-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.3rem;
}

.contact-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }

.contact-item strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.contact-item a { color: var(--color-primary); text-decoration: none; font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }
.contact-item span { color: var(--color-text); font-weight: 500; }

.contact-cta {
  margin-top: 1.5rem;
  padding: 1.2rem;
  background: linear-gradient(135deg, rgba(42,96,73,0.08), rgba(232,168,76,0.08));
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-primary);
}

.contact-cta p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(160deg, #1a3d2e 0%, #2a6049 100%);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo { height: 90px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 260px; }

.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.7rem; }

.footer a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer a:hover { color: var(--color-accent); }
.footer-contact p { margin-bottom: 0.7rem; font-size: 0.92rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: rgba(26,61,46,0.98);
    backdrop-filter: blur(16px);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links.open { display: flex; }

  .nav-link {
    padding: 0.9rem 1rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9) !important;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .nav-link:last-child { border-bottom: none; }
  .nav-link:hover { background: rgba(255,255,255,0.08) !important; }

  .nav-cta {
    background: var(--color-primary) !important;
    text-align: center;
    margin-top: 0.5rem;
    border: none !important;
    border-bottom: none !important;
  }

  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-owner { order: -1; }
  .leader-grid { grid-template-columns: 1fr; text-align: center; }
  .leader-photo-wrap { order: -1; }
  .leader-circle { width: 200px; height: 200px; }
  .values-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 0; }
  .values-grid, .services-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .owner-circle { width: 180px; height: 180px; }
  .hero-logo { height: 220px; }
  .footer-grid { gap: 2rem; }
}
