/* --- THEME VARIABLES --- */
:root {
  --bg-color: #ffffff;
  --text-main: #1a1a1a;
  --text-secondary: #6f6f6f;
  --accent-green: #485c11;
  --accent-light: #f4f8ec;
  --border-radius: 20px;
  --font-serif: "Crimson Text", serif;
  --font-sans: "DM Sans", sans-serif;
  --font-mono: "Roboto Mono", monospace;
}

/* --- GLOBAL RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- NAVIGATION --- */
/* nav {
        padding: 30px 5%;
        width: 100%;
        z-index: 10;
      }
      .back-link {
        text-decoration: none;
        color: var(--text-main);
        font-family: var(--font-mono);
        font-size: 14px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
      }
      .back-link:hover {
        color: var(--accent-green);
      } */

/* --- HERO SPLIT SECTION --- */
.hero-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto 60px auto;
  padding: 0 20px;
  padding-top: 100px;
  align-items: center;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

h1 {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 400;
  color: #000;
  min-height: 2.2em;
}

.dynamic-text {
  font-style: italic;
  color: var(--accent-green);
}

.cursor {
  display: inline-block;
  width: 3px;
  background-color: var(--accent-green);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
  max-width: 90%;
}

/* RIGHT SIDE: FEATURE GRID */
.hero-features {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.mini-card {
  background: #fff;
  padding: 25px;
  border-radius: var(--border-radius);
  border: 1px solid #eee;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: var(--accent-green);
}

.mc-icon {
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: block;
}
.mc-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #000;
}
.mc-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --- FULL WIDTH IMAGE SLIDESHOW --- */
.full-width-image {
  width: 100%;
  height: 80vh;
  margin-bottom: 0px; /* Removed margin to connect with next section */
  background-color: #f0f0f0;
  position: relative;
  overflow: hidden;
}

.full-width-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.full-width-image img.active {
  opacity: 1;
}

/* --- NEW DESCRIPTION SECTIONS (No Cards) --- */
.service-block {
  padding: 100px 20px;
  border-bottom: 1px solid #eee;
}

.service-block.alt-bg {
  background-color: var(--accent-light);
  border-bottom: none;
}

.service-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.service-subtitle {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: block;
}

.service-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 40px;
}

/* --- DETAILS SECTION --- */
.details-section {
  padding: 50px 20px;
  background-color: #fafafa;
}

.details-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.details-wrapper.reverse-on-desktop {
  flex-direction: row-reverse;
}
.details-text {
  flex: 1;
}

.details-text h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.details-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.feature-list li {
  margin-bottom: 24px; /* Increased spacing for better readability */
  display: flex;
  align-items: flex-start; /* Aligns tick with the first line of text */
  font-size: 1.05rem;
  line-height: 1.6; /* Gives the text room to breathe */
}

.tick {
  color: var(--accent-green);
  margin-right: 16px;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0; /* Important: Prevents the tick from squashing on small screens */
  margin-top: 4px; /* Manually nudges the tick to align perfectly with the first text line */
}



.cta-btn {
  display: inline-block;
  background-color: var(--accent-green);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
  margin-top: 20px;
}
.cta-btn.secondary {
  background-color: white;
  color: var(--accent-green);
  border: 2px solid var(--accent-green);
}
.cta-btn:hover {
  opacity: 0.9;
}

/* Feature List Styling for Sections */
/* .feature-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  margin-bottom: 40px;
} */

.feat-item {
  display: flex;
  align-items: flex-start; /* Keeps checkmark at the top */
  font-size: 1rem;
  color: #333;
}

/* Add this NEW class */
.feat-text {
  flex: 1; /* Forces the text to take up all remaining width */
  margin-top: -2px; /* OPTIONAL: Pulls text up slightly if the checkmark looks too high */
}

/* Existing tick style - no changes needed */
.feat-tick {
  color: var(--accent-green);
  margin-right: 15px;
  min-width: 20px; /* Ensures checkmark doesn't get squashed */
  font-size: 1.2rem;
  line-height: 1.2;
}

/* Buttons */
.cta-btn {
  display: inline-block;
  background-color: var(--accent-green);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
  width: fit-content;
}
.cta-btn:hover {
  opacity: 0.9;
}

.cta-btn.outline {
  background-color: transparent;
  border: 2px solid var(--accent-green);
  color: var(--accent-green);
}

/* FOOTER */
footer {
  padding: 50px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 0px; /* Connected to last section */
  border-top: 1px solid #eee;
  background: #fff;
}
.footer-logo {
  width: 40px;
  height: auto;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
  }
  .hero-text {
    padding-right: 0;
    margin-bottom: 40px;
  }
  h1 {
    font-size: 2.8rem;
  }
  .full-width-image {
    height: 40vh;
  }
  .feature-columns {
    grid-template-columns: 1fr;
  }
  .service-title {
    font-size: 2.5rem;
  }
  .details-wrapper {
    flex-direction: column;
  }
}
