/* --- Reset & Variables --- */
:root {
  --font-family: "Inter", sans-serif;
  --color-text-main: #111;
  --color-text-light: #555;
  --color-peach-hero: #fef3e9;
  /* Peach for Hero */
  --color-orange-accent: #da8e60;
  /* Orange lines */
  --color-dark-green: #4a6326;
  --color-cream-bg: #fcfcfa;
  --color-gray-bg: #f2f4ef;
  --color-yellow-cta: #eff69e;
  --color-lime-icon: #ebf2af;
}

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

body {
  font-family: var(--font-family);
  color: var(--color-text-main);
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utility */
/* Container is inherited from shared-nav-footer.css */

.section-padding {
  padding: 80px 0;
}

.bg-white {
  background-color: #fff;
}

.bg-cream {
  background-color: var(--color-cream-bg);
}

.bg-light-gray {
  background-color: var(--color-gray-bg);
}

.mb-6 {
  margin-bottom: 24px;
}

.mt-6 {
  margin-top: 24px;
}

/* Buttons */
.btn-dark {
  background: var(--color-dark-green);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  width: fit-content;
  display: inline-block;
  font-size: 15px;
  transition: 0.2s;
}

.btn-dark:hover {
  background: #3d5220;
}

.btn-text-link {
  font-weight: 600;
  color: #4a6326 !important;
  padding: 14px 20px;
  display: inline-block;
  border: 1px solid #4a6326;
  border-radius: 6px;
}

/* Navbar */
.navbar {
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  background: #fff;
  position: relative;
  z-index: 100;
}

.nav-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
}

.bag-icon {
  width: 16px;
  height: 12px;
  background: #000;
  border-radius: 2px;
  display: inline-block;
  position: relative;
  margin: 0 1px;
}

.bag-icon::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 6px;
  width: 4px;
  height: 4px;
  background: var(--color-dark-green);
  border-radius: 50%;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.login-link {
  font-weight: 600;
  font-size: 14px;
}

.btn-nav {
  background: var(--color-dark-green);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.bar {
  width: 24px;
  height: 3px;
  background: #000;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.mobile-menu.open {
  display: block;
}

.mobile-link {
  display: block;
  padding: 10px 0;
  font-weight: 500;
}

/* --- 1. HERO SECTION (Peach) --- */
.hero-ai {
  background: url("./assets/audit-hero.png") no-repeat center center/cover;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Orange Sunburst Pattern */
.hero-sunburst {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: repeating-conic-gradient(from 0deg at 100% 50%,
      transparent 0deg 15deg,
      var(--color-orange-accent) 15deg 16deg);
  opacity: 0.4;
  pointer-events: none;
}

.hero-container {
  position: relative;
  display: flex;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 24px;
  color: #444;
}

.crumb-arrow {
  width: 12px;
  height: 12px;
  fill: #666;
}

h1 {
  font-size: 38px;
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: #111;
}

.hero-description {
  font-size: 16px;
  margin-bottom: 40px;
  color: #333;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-hero-primary {
  background: var(--color-dark-green);
  color: #fff !important;
  padding: 16px 28px;
  border-radius: 6px;
  font-weight: 600;
}

.btn-hero-secondary {
  font-weight: 600;
  color: #111;
}

/* --- 2. What We Do (Grid 4) --- */
.section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  color: #666;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card-outline {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  transition: 0.3s;
}

.card-outline:hover {
  border-color: var(--color-dark-green);
  transform: translateY(-3px);
}

.icon-box-lime {
  width: 40px;
  height: 40px;
  background: #E8EC67;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #111;
}

.icon-box-lime svg {
  width: 20px;
  height: 20px;
}

.card-outline h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.card-outline p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* --- 3. Intelligence Engines (Equal Height Logic) --- */
/* This ensures image and text are always same height */
.equal-height-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: stretch;
  /* Key property */
}

.equal-height-row.reverse {
  direction: rtl;
}

/* Flip visual order */
.equal-height-row.reverse>* {
  direction: ltr;
}

/* Reset text direction */

.text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Vertically center text */
}

.image-content {
  width: 100%;
  height: 100%;
  /* Fill the grid cell height */
  min-height: 300px;
  /* Backup height */
}

.image-content img {
  width: 100%;
  height: 100%;
  /* Force image to fill container height */
  object-fit: cover;
  /* Crop appropriately without distortion */
  border-radius: 12px;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.check-grid li {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  font-weight: 500;
}

.check-circle {
  color: #fff;
  background: #000;
  /* Black circle, white check based on image */
  background: var(--color-dark-green);
  /* Or Green based on style */
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
  background-color: #dcee60;
  color: #000;
  /* Lime check for this section */
}

/* --- 4. Why Choose Us (Grid 3) --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-white {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.icon-box-dark {
  width: 40px;
  height: 40px;
  background: var(--color-dark-green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 16px;
}

.icon-box-dark svg {
  width: 20px;
  height: 20px;
}

.card-white h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* --- 5. CTA --- */
.cta-banner {
  background: #E8EC67;
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
}

.cta-banner h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}

.cta-banner p {
  max-width: 750px;
  margin: 0 auto 32px;
  font-size: 16px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* --- 6. Footer --- */


/* Responsive */
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

  /* 1. HERO SECTION */
  .hero-ai {
    padding: 40px 0 60px;
    background-color: #fdf5f0;
    /* Peach from image */
  }

  .hero-container {
    flex-direction: column;
  }

  h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-hero-primary {
    width: 100%;
    text-align: center;
    padding: 16px;
  }

  .btn-hero-secondary {
    width: 100%;
    text-align: center;
    border: none;
    font-size: 14px;
    padding: 12px;
  }

  /* 2. WHAT WE DO */
  .section-header {
    text-align: left;
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 18px;
    padding: 0 16px;
  }

  .section-header p {
    color: #666;
    font-size: 14px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-outline {
    padding: 24px;
  }

  /* 3. INTELLIGENCE ENGINES */
  .equal-height-row {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
  }

  .equal-height-row.reverse {
    flex-direction: column-reverse;
    /* Image follows previous section's image, then text */
  }

  .text-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .check-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .text-content .btn-dark {
    width: 100% !important;
    display: block;
    margin-top: 24px;
    font-size: 13px;
  }

  .image-content {
    min-height: 250px;
  }

  /* 4. WHY CHOOSE US */
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-white {
    padding: 24px;
  }

  /* 5. CTA */
  .cta-banner {
    padding: 40px 20px;
    border-radius: 12px;
    background-color: #ebf283;
    /* Yellowish background */
  }

  .cta-banner h2 {
    font-size: 24px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cta-actions .btn-dark {
    width: 100%;
  }


}

@media (min-width: 769px) and (max-width: 992px) {

  .nav-menu,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .equal-height-row {
    gap: 40px;
  }
}