.hero {
  position: relative;
  min-height: 816px;
  position: relative;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.hero-video {
  object-fit: cover;
  left: 0;
  top: 0;
  z-index: 0;
}

.hort-section {
  background: #fff;
  padding: 3rem 0 2rem 0;
}
.hort-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.5rem;
}
.hort-subtitle {
  color: #888;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.hort-btn {
  background: #d7b835;
  border: none;
  border-radius: 13px;
  padding: 0.7rem 2rem;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.2s;
  color: #2b2b2b;
  text-decoration: none;
  padding-top: 15px;
  padding-bottom: 15px;
}
.hort-btn:hover {
  background: #cbb03b;
  color: #222;
}

.hort-wave1 {
  width: 100%;
  height: 35px;
  background: url("/public/assets/img/horticulture/Wave1.png") center
    center/cover no-repeat;
  position: relative;
  margin-bottom: -32px;
  z-index: 2;
}
.hort-wave2 {
  width: 100%;
  height: 35px;
  background: url("/public/assets/img/horticulture/Wave2.png") center
    center/cover no-repeat;
  position: relative;
  margin-top: -32px;
  z-index: 2;
}
.hort-maint {
  background: url("/public/assets/img/horticulture/darkBG.jpg") center
    center/cover no-repeat;
  color: #fff;
  padding: 3rem 0 2rem 0;
  position: relative;
  min-height: 920px;
}
.hort-maint .card {
  background: #fff;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: none;
  margin: 0 1rem;
  min-width: 260px;
  max-width: 340px;
  display: inline-block;
}
.hort-expertise {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.hort-expertise .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: none;
  padding: 2rem 1.5rem;
  margin: 0 1rem;
  min-width: 260px;
  max-width: 340px;
  display: inline-block;
  text-align: center;
}
.hort-expertise .icon {
  background: #000;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.hort-planting {
  padding: 3rem 0 2rem 0;
}
.hort-planting .row {
  margin-bottom: 2rem;
}
.hort-planting-img {
  width: 100%;
  height: 705px;
  object-fit: cover;
  border-radius: 8px;
}
.hort-learn {
  background: #d7b835;
  padding: 2.5rem 0 2rem 0;
  text-align: center;
  margin-top: -214px;
}
.hort-learn .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border: none;
  padding: 1.5rem 1rem;
  margin: 0 1rem;
  min-width: 260px;
  max-width: 340px;
  display: inline-block;
  text-align: left;
}
.hort-learn .hort-btn {
  margin-left: 0;
  margin-top: 1rem;
}
.hort-footer {
  background: #f9f9f9;
  border-top: 1px solid #eee;
  padding: 2rem 0 1rem 0;
  font-size: 0.95rem;
  color: #888;
  text-align: center;
}

.expertise.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: none;
  max-width: 370px;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.expertise-icon img {
  width: 150px;
}

.expertise-icon {
  background: #000;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.expertise-title {
  font-size: 1.6rem;
  margin-top: 5rem;
  margin-bottom: 2rem;
}

.expertise-description {
  font-size: 1rem;
}

/* Divider wave (SVG) moved from inline HTML */
.hort-wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -59px;
  margin-bottom: -2px;
  z-index: 1;
  position: relative;
}
.hort-wave-divider .hort-wave-svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* Maintenance & Stewardship option cards (moved from inline styles) */
.hort-maint-row {
  gap: 0;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}
.hort-maint-card {
  min-height: 170px;
  flex: 1 1 0;
  max-width: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1.5rem; /* approximate p-4 */
  margin: 1rem; /* approximate m-3 */
}
.hort-maint-icon {
  margin-right: 32px;
}
.hort-maint-icon img {
  width: 64px;
  height: 64px;
}
.hort-maint-title {
  font-size: 1.35rem;
  text-align: left;
  font-weight: 600;
}
.hort-maint-desc {
  font-size: 1.08rem;
  text-align: left;
}

.card.learn-card {
  display: inline-block;
  max-width: none;
  min-height: 220px;
}

.categories-check {
  color: #d7b835;
  margin-right: 10px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  /* Hero Section */
  .hero {
    min-height: 400px;
  }

  .hero-video {
    object-fit: cover;
    left: 0;
    top: 0;
    z-index: 0;
    height: 122px;
    margin-top: 73px;
  }

  .h-100 {
    height: 73% !important;
  }

  /* Start Your Project Section */
  .hort-section {
    padding: 2rem 0 1.5rem 0;
  }

  .hort-section .container {
    margin-top: 10px !important;
    margin-bottom: 40px !important;
  }

  .hort-section h1 {
    font-size: 1.8rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .hort-section .col-md-8 {
    margin-bottom: 2rem;
  }

  .hort-section div[style*="border-left"] {
    border-left: 4px solid #e2c044 !important;
    height: auto !important;
    margin-right: 10px !important;
  }

  .hort-section div[style*="margin-left: 27px"] {
    margin-left: 15px !important;
    font-size: 1rem !important;
  }

  .hort-section .col-md-4 {
    margin-top: 1rem !important;
    text-align: center;
  }

  .hort-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    display: inline-block;
    width: auto;
  }

  /* Maintenance & Stewardship Section */
  .hort-maint {
    padding: 2rem 0 1.5rem 0;
  }

  .hort-maint .container {
    margin-top: 20px !important;
  }

  .hort-maint h2 {
    font-size: 1.8rem !important;
  }

  .hort-maint div[style*="font-size:1.3rem"] {
    font-size: 1.1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .maintenance-card {
    text-align: center !important;
    margin: 0.5rem 0 !important;
    padding: 1.5rem !important;
    min-height: auto !important;
    max-width: 100% !important;
  }

  .maintenance-card div[style*="margin-right:32px"] {
    margin-right: 0 !important;
    margin-bottom: 1rem;
  }

  .maintenance-card div[style*="font-size:1.35rem"] {
    font-size: 1.2rem !important;
    text-align: center !important;
  }

  .maintenance-card div[style*="font-size:1.08rem"] {
    text-align: center !important;
  }

  /* Wave Divider */
  .hort-wave-divider {
    margin-top: -30px;
  }

  /* Our Expertise Section */
  .hort-expertise {
    margin-top: -350px !important;
    margin-bottom: 0;
  }

  .hort-expertise h2 {
    font-size: 1.8rem !important;
  }

  .hort-expertise div[style*="font-size:1.3rem"] {
    font-size: 1.1rem !important;
    line-height: 1.4;
  }

  .expertise.card {
    margin: 1rem 0 !important;
    padding: 2rem 1rem !important;
    max-width: 100%;
  }

  .expertise-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 5rem !important;
  }

  .expertise-icon img {
    width: 120px;
    margin-top: 30px;
  }

  .expertise-title {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .expertise-description {
    font-size: 0.95rem;
  }

  /* Planting Performance Section */
  .hort-planting {
    padding: 2rem 0 1.5rem 0;
  }

  .hort-planting h2 {
    font-size: 1.6rem !important;
  }

  .hort-planting-img {
    height: 300px;
    margin-bottom: 2rem;
  }

  .hort-planting div[style*="font-size:1.9rem"] {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
  }

  .hort-planting div[style*="margin-left: -7rem"] {
    margin-left: 0 !important;
    margin-top: 2rem !important;
  }

  /* Learn Section */
  .hort-curve {
    height: 100px !important;
  }

  .hort-learn {
    margin-top: -100px;
    padding: 2rem 0 1.5rem 0;
  }

  .hort-learn h2 {
    font-size: 1.4rem !important;
    margin-bottom: 2rem !important;
    line-height: 1.3;
  }

  .learn-card {
    margin: 1rem 0 !important;
    min-height: auto !important;
    padding: 1.5rem !important;
  }

  .learn-card div[style*="margin-right:32px"] {
    margin-right: 10px !important;
    margin-bottom: 1rem;
  }

  .learn-card div[style*="font-size:1.5rem"] {
    font-size: 1.3rem !important;
  }

  .learn-card div[style*="font-size:1.08rem"] {
    font-size: 1rem !important;
  }

  .learn-card div[style*="margin-top:32px"] {
    margin-top: 1.5rem !important;
  }

  /* General Mobile Adjustments */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .col,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-8 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Hide background waves on mobile for better performance */
  .hort-wave1,
  .hort-wave2 {
    display: none;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .hero {
    min-height: 240px;
  }

  .hort-section h1 {
    font-size: 1.5rem !important;
    font-weight: 600;
  }

  .hort-maint h2,
  .hort-expertise h2 {
    font-size: 1.6rem !important;
  }

  .hort-learn h2 {
    font-size: 1.3rem !important;
    font-weight: 600;
    margin-top: -48px;
  }

  .hort-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  .expertise-title {
    font-size: 1.2rem;
  }

  .hort-planting div[style*="font-size:1.9rem"] {
    font-size: 1.1rem !important;
  }
}
