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

:root {
  --ink: #20352c;
  --muted: #64736a;
  --forest: #174b38;
  --forest-deep: #12392d;
  --mint: #dcefe4;
  --paper: #f5f7f3;
  --line: #e2e8e2;
  --font-body: 'DM Sans', sans-serif;
  --font-heading: 'Manrope', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.site-shell {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand {
  color: var(--ink);
  font-family: var(--font-heading);
  letter-spacing: -0.035em;
}

p {
  color: var(--muted);
}

.navbar-green {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(32, 53, 44, 0.04);
  padding: 0.65rem 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-green.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 24px rgba(32, 53, 44, 0.08);
}

.navbar-green .navbar-brand {
  font-size: 1.1rem;
  font-weight: 800;
}

.navbar-green .nav-link {
  color: #53645a;
  font-size: 0.94rem;
  font-weight: 600;
  padding-inline: 0.85rem;
  transition: color 0.2s ease;
}

.navbar-green .nav-link:hover,
.navbar-green .nav-link:focus,
.navbar-green .nav-link.active {
  color: var(--forest);
}

.navbar-green .navbar-toggler {
  border-color: var(--line);
}

#home-hero {
  padding-top: clamp(2.5rem, 6vw, 5rem) !important;
  padding-bottom: clamp(3rem, 7vw, 5.5rem) !important;
}

#home-hero .row {
  text-align: left;
}

#home-hero h2 {
  font-size: clamp(2.6rem, 5.5vw, 4.7rem);
  font-weight: 800;
  line-height: 1.08;
  max-width: 13ch;
}

#home-hero .ratio {
  overflow: hidden;
  border-radius: 1.25rem !important;
  box-shadow: 0 24px 60px rgba(18, 57, 45, 0.16);
}

#home-hero .hero-image img {
  background: #000;
  object-fit: contain;
}

@media (min-width: 768px) {
  #home-hero .hero-image {
    transform: translateX(-1rem);
  }
}

#home-hero .hero-copy h3 {
  color: var(--forest);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0;
  margin-top: 1.35rem;
}

#home-hero .hero-copy p {
  font-size: 1rem;
  margin-bottom: 0.85rem !important;
}

#home-hero .hero-copy .btn {
  min-width: 10rem;
}

.btn-outline-primary {
  background: transparent;
  border: 1px solid #c8d6cb;
  border-radius: 0.55rem;
  color: var(--forest);
  font-weight: 600;
  padding: 0.72rem 1.15rem;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--mint);
  border-color: var(--forest);
  color: var(--forest-deep);
}

#services,
#about-us,
#testimonial,
#articles {
  scroll-margin-top: 5rem;
}

#services {
  background: #fff;
  padding-block: clamp(3.5rem, 7vw, 6rem) !important;
}

#services h2,
#testimonial h2,
#articles h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
}

#services .row-cols-1 {
  box-shadow: none !important;
}

#services .card,
#articles .card,
#testimonial .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(32, 53, 44, 0.055) !important;
  overflow: hidden;
}

#services .card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

#services .card:hover,
#articles .card:hover {
  box-shadow: 0 18px 38px rgba(32, 53, 44, 0.1) !important;
  transform: translateY(-4px);
}

#services .card .ratio {
  overflow: hidden;
}

#services .card img {
  transition: transform 0.4s ease;
}

#services .card:hover img {
  transform: scale(1.025);
}

#services .card-body,
#articles .card-body {
  padding: 1.5rem;
}

#services .card-title,
#articles .card-title {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#services .card-body p,
#articles .card-body p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

#about-us {
  padding-block: clamp(3.5rem, 7vw, 6rem) !important;
}

#about-us .text-muted {
  color: #718078 !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#about-us h2 {
  margin-bottom: 1.5rem;
}

#about-us p {
  font-size: 1.02rem;
}

#testimonial {
  padding-block: clamp(3.5rem, 7vw, 6rem) !important;
}

#testimonial .card {
  padding: clamp(1.5rem, 4vw, 3rem) !important;
}

#testimonial .card h3 {
  color: var(--forest);
}

#testimonial blockquote {
  margin-top: 1rem;
}

#testimonial blockquote p {
  color: #48594f;
  font-size: 1.02rem;
  line-height: 1.8;
}

#testimonial footer {
  color: var(--ink);
}

#testimonial footer .text-secondary {
  color: var(--muted) !important;
}

#testimonial .badge {
  background: var(--mint) !important;
  color: var(--forest-deep) !important;
  font-family: var(--font-heading);
  font-size: 0.92rem !important;
  font-weight: 600;
}

#articles {
  background: #edf2ed;
  padding-block: clamp(3.5rem, 7vw, 6rem) !important;
}

.btn-primary,
.btn-custom {
  align-items: center;
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 0.55rem;
  color: #fff;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-custom:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: #fff;
  transform: translateY(-1px);
}

.email,
.call,
.linkedin {
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 0.55rem;
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.email:hover,
.call:hover,
.linkedin:hover {
  background: var(--forest-deep);
  color: #fff;
  transform: translateY(-1px);
}

.modal-content {
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 24px 70px rgba(18, 57, 45, 0.2);
}

footer .border-top {
  border-color: rgba(255, 255, 255, 0.22) !important;
}

body.site-shell > footer {
  background: var(--forest-deep);
  margin-top: 2rem;
  padding: 1.25rem 0;
}

body.site-shell > footer .nav-link {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.9rem;
}

body.site-shell > footer .nav-link:hover {
  color: #fff !important;
}

body.site-shell > footer .btn-outline-secondary {
  border-color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 767.98px) {
  #home-hero h2 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  #testimonial .badge {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
