:root {
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --accent: #184d37;
  --accent-2: #FDFFF5;
  --card: #f7faf6;
  --glass: rgba(255, 255, 255, 0.6);
  --shadow: 0 10px 30px rgba(19, 25, 24, 0.06);
}
[data-theme="dark"] {
  --bg: #0b0f0e;
  --text: #e6f0ea;
  --muted: #9aa7a0;
  --accent: #6bb08b;
  --accent-2: #072317;
  --card: #07110f;
  --glass: rgba(8, 12, 10, 0.45);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* header */
header {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: min(2rem, 2rem, 8%);
}
.brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 1000;
}
nav {
  display: flex;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
}
.controls {
  display: flex;
  gap: 12px;
  align-items: center;
}
.toggle {
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--card);
}

.theme-toggle {
  font-size: 20px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

section{
  max-width: 1400px;
  margin: 0 auto;
  padding: min(5rem, 8%);
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 44px;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero p {
  color: var(--muted);
  max-width: 520px;
}
.hero-image {
  display: flex;
  justify-content: center;
}
.hero-image img {
  max-width: 100%;
  height: auto;
}

/* about */
.about-section{
  max-width: unset;
  margin: unset;
  padding: unset;
  background: var(--accent-2);
}
.about {
  max-width: 1400px;
  margin: 0 auto;
  padding: min(5rem, 8%);
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 40px;
  align-items: center;
  height: 100%;
}
.about img {
  width: 100%;
}
.about h2 {
  font-size: 28px;
  margin: 0 0 12px;
}
.about p {
  color: var(--muted);
}

/* feature card */
.feature {
  max-width: unset;
  margin: 0 auto;
  padding: 0 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.quote{
  position: relative;
  background-color: var(--accent);
  height: 100%;
}

.quote img{
  max-width: 100%;
  height: 100%;
  opacity: .1;
  object-fit: cover;
}

.quote-text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: min(2em, 8%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  border: var(--card) 2px solid;
}

.quote-text > h2{
  color: var(--card);
}

.quote-text > p{
  color: var(--card);
}

/* work process */
.work {
  padding: min(5rem, 8%); 
  text-align: center;
}
.work h3 {
  font-size: 24px;
  letter-spacing: 1px;
}
.work p.lead {
  color: var(--muted);
  max-width: 680px;
  margin: 10px auto 30px;
}
.steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 40px;
}
.step {
  flex: 1;
}
.step .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--card);
  margin: 0 auto 12px;
  color: var(--muted);
}
.step h4 {
  margin: 6px 0 8px;
  font-size: 14px;
}

/* reviews */
.reviews {
  padding: min(5rem, 8%);
}
.reviews h3 {
  text-align: center;
}
.carousel {
  display: flex;
  gap: 18px;
  padding: 30px 0;
}
.review-card {
  background: var(--card);
  padding: 22px;
  border-radius: 10px;
  min-width: 300px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.review-card.active {
  transform: scale(1.02);
}
.review-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #2f7f57);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}
.name {
  font-weight: 700;
}
.stars {
  color: #f6b042;
}

/* contact */
.contact {
  padding: min(5rem, 8%);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}
.contact form {
  background: var(--card);
  padding: 24px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  box-shadow: var(--shadow);
}
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}
.field label {
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--muted);
}
.field input,
.field textarea {
  padding: 12px;
  border: 1px solid #e6e9e6;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
}
.btn {
  background: var(--accent);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
}

footer {
  padding: 30px 0;
  text-align: center;
  color: var(--muted);
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(19, 25, 24, 0.15);
}

/* responsiveness */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .feature{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--card);
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 999;
  }
  
  nav.active {
    right: 0;
  }
  
  nav a {
    display: block;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
}

@media (max-width: 425px) {
  .quote-text{
    left: 0;
    transform: translate(0%, -50%);
  }
}

@media (max-width: 1024px) {
  .quote-text{
    left: 10%;
    transform: translate(-5%, -50%);
  }
}