:root {
  --header-brown: #e2dab8;
  --body-brown: #faf9f8;
  --text-dark: #3b2f2f;
  --accent: #8b6f47;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: var(--body-brown);
  color: var(--text-dark);
  line-height: 1.6;

  /* SECTIONS */
section {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 2rem;
  text-align: center;
}
}

/* HEADER */
header {
  background: var(--header-brown);
  padding: 1rem 2rem;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img { width: 70px; }

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  font-weight: bold;
  color: var(--text-dark);
}


/* =====================================================
   HERO SECTION – SPLIT LAYOUT
   ===================================================== */

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 85vh;
  max-height: 900px;
  width: 100%;
  overflow: hidden;
}

/* =========================
   LEFT SIDE (TEXT)
   ========================= */
.hero-left {
  background-color: #000;
  color: #fff;
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.hero-tagline {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.hero-left h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-left p {
  max-width: 460px;
  font-size: 1rem;
  line-height: 1.6;
  color: #e5e7eb;
  margin-bottom: 2rem;
}

/* CTA BUTTON */
.btn-cta {
  background-color: #8b6f47;
  color: #fff;
  padding: 0.9rem 1.75rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}

.btn-cta:hover {
  opacity: 0.9;
}

/* CTA NOTE */
.hero-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* =========================
   RIGHT SIDE (IMAGE)
   ========================= */
.hero-right {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero-left {
    padding: 3rem 2rem;
  }

  .hero-left h1 {
    font-size: 2.2rem;
  }

  .hero-right {
    height: 45vh;
  }
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 1.9rem;
  }
}

/* BUTTON */
.btn-cta {
  margin-top: 1.5rem;
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  width: fit-content;
}



/* =====================================================
   Our Services
   ===================================================== */
.services,
.progress-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 1.5rem;
}


#services {
  padding-top: 0;
}


#services {
  background-color: #ffffff;
  border-radius: 18px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
}


section h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
}


.service-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.centered-card {
  text-align: center;
  border-top: 4px solid var(--accent);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--accent);
}

.card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.step-number {
  margin: 1rem auto;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================================================
   HOW IT WORKS SECTION
   ===================================================== */

.how-it-works {
  padding: 3rem 2rem;
  background-color: #efe9dc;
}

.how-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.how-container h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.how-subtitle {
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #555;
  font-size: 1rem;
}

/* Grid */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Step wrapper */
.how-step {
  text-align: center;
}

/* Header above card (number + arrow) */
.step-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Number badge */
.step-badge {
  width: 44px;
  height: 44px;
  background-color: #8b6f47;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Arrow */
.step-arrow {
  width: 50px;
  height: 2px;
  background-color: #8b6f47;
  position: relative;
}

.step-arrow::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid #8b6f47;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* Hide arrow for last step */
.how-step:last-child .step-arrow {
  display: none;
}

/* Card */
.how-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.how-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* Icon */
.how-icon {
  margin-bottom: 1.25rem;
}

/* Text */
.how-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.how-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 900px) {
  .how-steps {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    display: none;
  }
}


/* =====================================================
   ABOUT SECTION – ADVANCED
   ===================================================== */
.about-section {
  padding: 1.5rem 2rem;
  background-color: #efe9dc; /* softer alternative background */
}

.about-container {
  max-width: 1000px;
  margin: auto;
  background-color: #efe9dc; /* warm premium beige */
  border-radius: 18px;
  padding: 3.5rem 3.5rem 4rem;
  text-align: center;
}

/* Heading inside box */
.about-container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* Intro */
.about-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Two-column grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 3rem;
  text-align: left;
}

/* Individual item */
.about-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Icon */
.about-icon {
  font-size: 1.25rem;
  color: var(--accent);
  line-height: 1;
  margin-top: 0.2rem;
}

/* =====================================================
   FADE-IN ANIMATION
   ===================================================== */
.fade-in {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   MOBILE
   ===================================================== */
@media (max-width: 768px) {
  .about-container {
    padding: 2.5rem 2rem 3rem;
  }

  .about-container h2 {
    font-size: 1.6rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   CONTACT SECTION – 
   ===================================================== */
.contact-demo {
  background: linear-gradient(135deg, #2f3b52, #1f2937);
  border-radius: 16px;
  margin: 2.5rem auto;
  max-width: 1200px;
  color: #ffffff;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  padding: 3.5rem;
}

/* LEFT SIDE */
.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-subtext {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

/* Steps */
.contact-steps {
  list-style: none;
  padding: 0;
}

.contact-steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  font-weight: bold;
}

.contact-steps span {
  width: 28px;
  height: 28px;
  background-color: #8b6f47;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #ffffff;
}

/* RIGHT FORM CARD */
.contact-form {
  background-color: #ffffff;
  color: #3b2f2f;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: bold;
  color: #3b2f2f;
}

.contact-form input {
  margin-top: 0.4rem;
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
}

.contact-form input:focus {
  outline: none;
  border-color: #8b6f47;
}

/* CTA BUTTON */
.contact-form button {
  margin-top: 1.2rem;
  background-color: #8b6f47;
  color: #ffffff;
  border: none;
  padding: 0.85rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  opacity: 0.9;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    padding: 2.5rem 2rem;
  }

  .contact-info h2 {
    font-size: 1.8rem;
  }
}


/* FOOTER */
.site-footer {
  background: var(--header-brown);
  text-align: center;
  padding: 2rem;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-split { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
}




/* ===============================
   HEADER – MOBILE NAV FIX
================================ */

/* Hamburger hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* Desktop nav stays the same */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {

  /* Show hamburger */
  .nav-toggle {
    display: block;
  }

  /* Hide nav by default */
  .nav-menu {
    display: none;
    background: var(--header-brown);
    width: 100%;
  }

  /* When active */
  .nav-menu.active {
    display: block;
  }

  /* Stack links */
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
  }

  .nav-menu a {
    display: block;
    width: 100%;
  }
}


/* ===============================
   MOBILE NAV — DESKTOP SAFE
================================ */

/* Hide hamburger on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {

  /* Show hamburger */
  .nav-toggle {
    display: block;
  }

  /* Hide menu initially */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--header-brown);
    display: none;
  }

  .nav-menu.active {
    display: block;
  }

  /* Stack nav links */
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
  }

  .nav-menu a {
    display: block;
    width: 100%;
  }

  /* Needed for absolute nav positioning */
  .navbar {
    position: relative;
  }
}
