/* -------------------------------------------------------------------------- */
/* 2. Hero                                                                    */
/* -------------------------------------------------------------------------- */

.hero {
  min-height: var(--hero-min-height);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

.hero-swiper__pagination {
  bottom: 1.25rem !important;
  z-index: 2;
}

.hero-swiper__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border: 2px solid var(--color-white);
  background: transparent;
  opacity: 0.65;
}

.hero-swiper__pagination .swiper-pagination-bullet-active {
  background: var(--color-white);
  opacity: 1;
}

.hero-swiper__nav {
  color: var(--color-white);
  z-index: 2;
}

.hero-swiper__nav::after {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.hero .container-site {
  flex: 1;
  display: flex;
  align-items: flex-end;
  z-index: 3;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 555px;
  padding-top: var(--hero-content-pt);
  padding-bottom: var(--hero-content-pb);
  color: var(--color-white);
  pointer-events: auto;
}

.hero__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-style: Bold;
  font-size: clamp(1.75rem, 4vw + 0.5rem, 55px);
  line-height: 1.1;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 1rem;
}

.hero__lead {
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw + 0.5rem, 24px);
  line-height: 140%;
  letter-spacing: 0px;
  vertical-align: middle;
}

@media (max-width: 767.98px) {
  .hero-swiper__nav {
    display: none;
  }

  .hero-swiper__pagination {
    bottom: 0.75rem !important;
  }

  .hero-swiper__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .hero__img {
    object-position: center center;
  }
}

/* -------------------------------------------------------------------------- */
/* 3. Floating search card                                                    */
/* -------------------------------------------------------------------------- */
.search-float-section {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--search-overlap) * -1);
  padding-bottom: var(--space-2);
}

.search-card {
  background-color: var(--color-green);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.search-card .card-body {
  border-radius: var(--radius-card);
}

.search-card__label {
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 36px;
  line-height: 120%;
  letter-spacing: 0%;
  text-align: center;
  max-width: 920px;
  margin: auto;
}

/* Search form layout */
.search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  justify-content: center;
}

.search-input-wrapper {
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: stretch;
  max-width: 665px;
  justify-content: center;
  align-self: center;
  width: 100%;
  height: 56px;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border-radius: var(--radius-btn);
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0 0;
  flex: 1;
}

.search-card__input {
  border: none !important;
  background: transparent !important;
  padding: 0.75rem 1rem !important;
  font-size: 18px;
  flex: 1;
  box-shadow: none !important;
  color: #333;
}

.search-card__input::placeholder {
  color: #999;
}

.search-card__input:focus {
  box-shadow: none !important;
  border: none !important;
  outline: none;
}
.btn-search {
  width: 172px;
}

.btn-outline-advanced {
  background-color: #7ca665;
  color: var(--color-white) !important;
  font-weight: 600;
  border-radius: 8px;
  font-size: 16px;
  padding: 0.75rem 1.5rem !important;
  transition: all 0.3s ease;
  white-space: nowrap;
  width: 100%;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: none !important;
  align-self: center;
}

.btn-outline-advanced:hover {
  background-color: rgba(124, 166, 101, 0.9) !important;
}

@media (min-width: 768px) {
  .search-form {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
  }

  .search-input-wrapper {
    flex-direction: row;
    gap: 0;
    align-items: stretch;
    flex: 1;
  }

  .btn-outline-advanced {
    width: 270px;
    padding: 0.75rem 2rem !important;
    flex-shrink: 0;
  }
}
@media (max-width: 990px) {
  .btn-search {
    width: 150px;
  }
   .btn-outline-advanced {
    width: 200px;
  }
}

@media (max-width: 767px) {
  .search-card__label {
    font-size: clamp(24px, 1.4vw, 32px);
    line-height: 1.25;
  }
  .search-input-wrapper {
    max-width: 100%;
    height: 56px;
  }
  .search-card__input {
    font-size: 16px;
  }

  .btn-search {
    width: auto;
  }
  .btn-outline-advanced {
    width: 100%;
  }
}

@media (max-width: 490px) {
  .btn-search {
    width: 90px;
  }
}

@media (max-width: 360px) {
  .search-card__input {
    font-size: 12px;
  }
}
/* -------------------------------------------------------------------------- */
/* 4. Content strips                                                          */
/* -------------------------------------------------------------------------- */

.content-strip {
  background: var(--color-white);
}

.content-strip--alt {
  background: var(--color-gray-100);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-section-title);
  line-height: var(--lh-tight);
  color: var(--color-navy);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--space-4);
}

.section-lead {
  font-size: 1.0625rem;
  max-width: 36rem;
  margin-bottom: 0;
  font-family: var(--font-body);
}

.btn-primary-brand {
  --bs-btn-color: var(--color-white);
  --bs-btn-bg: var(--color-green);
  --bs-btn-border-color: var(--color-green);
  --bs-btn-hover-color: var(--color-white);
  --bs-btn-hover-bg: var(--color-green-dark);
  --bs-btn-hover-border-color: var(--color-green-dark);
  --bs-btn-active-color: var(--color-white);
  --bs-btn-active-bg: var(--color-green-dark);
  --bs-btn-active-border-color: var(--color-green-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-btn);
  padding: 0.55rem 1.35rem;
}

.content-strip__media {
  border: 1px solid rgba(19, 47, 71, 0.06);
}

/* -------------------------------------------------------------------------- */
/* 4. Content Sections (What are bushland weeds & Why DBCA manage)          */
/* -------------------------------------------------------------------------- */

.content-section {
  background: var(--color-white);
  padding-top: 3rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.content-section .row {
  margin-left: 0;
  margin-right: 0;
}

.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-style: Bold;
  font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.375rem);
  line-height: 120%;
  letter-spacing: 0%;
  color: var(--color-green);
}

.text-teal {
  color: var(--color-green);
}

.text-dark {
  color: var(--color-black);
}

.section-lead {
  font-size: clamp(0.95rem, 0.9rem + 0.5vw, 1.125rem);
  line-height: 1.6;
  color: #494949;
  max-width: 564px;
  font-weight: 400;
  letter-spacing: 0px;
  margin-bottom: 1.5rem;
}

/* Image styling */
.content-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  max-width: 100%;
  display: block;
}

.content-section img:hover {
  transform: scale(1.02);
}

/* Button styles */
.btn-find-more,
.btn-our-work {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  border-radius: 25px;
  border: 2px solid #999;
  background: transparent;
  color: var(--color-forrest);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-find-more:hover,
.btn-our-work:hover {
  border-color: var(--color-green);
  color: var(--color-green);
  background: rgba(0, 120, 107, 0.05);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .content-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .section-lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn-find-more,
  .btn-our-work {
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .content-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .section-lead {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .btn-find-more,
  .btn-our-work {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* -------------------------------------------------------------------------- */
/* 6. Weed Resources Section                                                  */
/* -------------------------------------------------------------------------- */

.weed-resources-section {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
  overflow: hidden;
  margin-top: 125px;
}

.weed-resources-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../assets/images/banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.resources-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
/* 
.resources-lead {
  font-size: clamp(0.95rem, 0.9rem + 0.5vw, 1.125rem);
  line-height: 1.6;
  max-width: 400px;
  font-weight: 400;
  letter-spacing: 0px;
} */

.resources-lead {
  font-family: sans-serif;
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  line-height: 150%; /* 36px */
  letter-spacing: 0;
  margin-bottom: 0;
  max-width: 400px;
  display: flex;
  align-items: center; /* vertical alignment: middle */
}
/* Resources buttons grid */
.resources-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.btn-resource-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  border: 2px solid rgba(150, 150, 150, 0.3);
  background: rgba(255, 255, 255, 0.93);
  color: var(--color-black);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  min-height: 36px;
}

.btn-resource-pill:hover {
  background: var(--color-white);
  border-color: rgba(150, 150, 150, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-view-resources {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  border: none;
  background: var(--color-yellow);
  color: var(--color-white);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: var(--font-display);
}

.btn-view-resources:hover {
  background: #f0cd55;
  /*transform: translateY(-2px);*/
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-view-resources:active {
  transform: translateY(0);
}

.right-arrow {
  font-size: 20px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .weed-resources-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .resources-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .resources-lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .resources-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .btn-resource-pill {
    padding: 0.65rem 1.1rem;
    font-size: 0.85rem;
    min-height: 36px;
  }

  .btn-view-resources {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .weed-resources-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .resources-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .resources-lead {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .resources-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .btn-resource-pill {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    min-height: 34px;
  }

  .btn-view-resources {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .weed-resources-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .resources-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }

  .resources-lead {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .resources-buttons-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .btn-resource-pill {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
  }

  .btn-view-resources {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    width: 100%;
  }
}

/* -------------------------------------------------------------------------- */
/* 7. Case studies section                                                    */
/* -------------------------------------------------------------------------- */

.case-studies-section {
  background-color: #f5f2ee4d;
  min-height: 767.5px;
  box-sizing: border-box;
}

.case-studies-section__inner {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.case-studies-section__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 44px;
  line-height: 120%;
  letter-spacing: 0;
  color: var(--color-green);
  margin-bottom: 2.5rem;
  vertical-align: middle;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 368px);
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.case-study-card {
  width: 368px;
  height: 388px;
  max-width: 100%;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(41, 8, 0, 0.06);
  border: 1px solid rgba(41, 8, 0, 0.06);
}

.case-study-card__media {
  flex: 0 0 182px;
  position: relative;
  overflow: hidden;
  background-color: #e8e4df;
}

.case-study-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 206px;
  object-fit: cover;
}

.case-study-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 24px;
}

.case-study-card__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 24px;
  line-height: 110%;
  letter-spacing: 0;
  color: var(--color-green);
  margin: 0 0 0.75rem;
  vertical-align: middle;
}

.case-study-card__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0;
  color: #494949;
  margin: 0;
  vertical-align: middle;
}

.case-studies-section__see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #5c4a3a;
  text-decoration: none;
}

.case-studies-section__see-all:hover {
  color: #3d3228;
  text-decoration: underline;
}

.case-studies-section__see-all-icon {
  display: block;
  flex-shrink: 0;
  width: 11px;
  height: 16px;
  max-height: 20px;
  object-fit: contain;
  transform: rotate(-90deg);
}

@media (max-width: 1220px) {
  .case-studies-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-study-card {
    width: 100%;
    height: auto;
    min-height: 388px;
  }
}

@media (max-width: 991px) {
  .case-studies-section__title {
    font-size: clamp(2rem, 1.5rem + 2vw, 44px);
    margin-bottom: 2rem;
  }

  .case-studies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .case-study-card {
    min-height: 0;
  }

  .case-study-card__media {
    flex-basis: min(182px, 42vw);
    min-height: 160px;
  }
}

@media (max-width: 639px) {
  .case-studies-section {
    min-height: 0;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 368px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.75rem;
  }

  .case-study-card {
    max-width: 368px;
  }

  .case-study-card__media {
    flex-basis: 182px;
    min-height: 182px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-studies-section__see-all:hover {
    text-decoration: underline;
  }
}
