/* =======================
   0. Font Face Declarations
========================== */
@font-face {
  font-family: 'Poppins';
  src: url('https://45787058.fs1.hubspotusercontent-na1.net/hubfs/45787058/Hosted%20Fonts/Poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('https://45787058.fs1.hubspotusercontent-na1.net/hubfs/45787058/Hosted%20Fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://45787058.fs1.hubspotusercontent-na1.net/hubfs/45787058/Hosted%20Fonts/Inter/Inter-VariableFont_opsz%2cwght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


/* =======================
   1. Reset & Base Setup
========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text-color);
  background: #f9f9f9;
  line-height: 1.6;
}



/* =======================
   2. Variables
========================== */
:root {
  --primary-color: #2B4530;
  --primary-color-rgb: 43, 69, 48;
  --secondary-color: #3a5a3f;
  --text-color: #333333;
  --bg-color: #ffffff;
  --light-overlay: rgba(255, 255, 255, 0.1);

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 2.5rem;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;

  --shadow-default: 0 4px 20px rgba(0, 0, 0, 0.05);
  --border-radius: 20px;
  
  --sh-accent: #5b9630;         
  --sh-surface: #ffffff;         
  --sh-surface-dark: #f5f5f5;   
  --sh-text: #1a1a1a;           

}

/* =======================
   3. Typography
========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
}

h1 { font-size: var(--font-size-xl); }
h2 { font-size: 2rem; }
h3 { font-size: var(--font-size-lg); }
p {
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-md);
}

/* =======================
   4. Buttons
========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius);
  font-size: var(--font-size-md);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.btn--primary {
  background: var(--primary-color);
  color: #fff;
}
.btn--primary:hover {
  background: var(--secondary-color);
}

.btn--secondary {
  background: var(--bg-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}
.btn--secondary:hover {
  background: rgba(var(--primary-color-rgb), 0.1);
}

/* =======================
   5. Containers & Layout
========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.grid-two-col {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

@media (max-width: 768px) {
  .grid-two-col {
    grid-template-columns: 1fr;
  }
}

/* =======================
   6. Utilities
========================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.img-cover { object-fit: cover; object-position: center; width: 100%; height: 100%; }
.shadow-default { box-shadow: var(--shadow-default); }
.hidden { display: none; }

/* =======================
   7. Hero Banner
========================== */
.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  background: var(--primary-color);
}

.hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__text {
  background: rgba(var(--primary-color-rgb), 0.1);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-default);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  max-width: 800px;
}

.hero__title {
  font-size: var(--font-size-xl);
  color: var(--text-color);
}

.hero__body {
  font-size: var(--font-size-md);
  color: var(--text-color);
}

/* =======================
   8. CTA
========================== */
.cta {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
}

.cta__wrapper {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-default);
}

.cta__heading {
  font-size: var(--font-size-lg);
  font-family: 'Inter', sans-serif;
  margin-bottom: var(--spacing-md);
}

/* =======================
   9. Slider
========================== */
.slider {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-xl) 0;
}

.slider__img {
  object-fit: cover;
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.slider__controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* =======================
   10. Responsive Hero
========================== */
@media (max-width: 1024px) {
  .hero__text { padding: 20px; }
  .hero__title { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .hero__text { padding: 10px; }
  .hero__title { font-size: 1.8rem; }
  .btn--primary { padding: 12px 24px; font-size: 1rem; }
}

@media print {
  .hero { height: auto; }
  .hero__content { position: relative; background: none; }
  .hero__text { box-shadow: none; border: 1px solid #ccc; }
  .btn--primary { border: 1px solid var(--primary-color); }
}


/* =======================
   11. Southern Horticulture - Above the Fold Hero (Modern Overlay Style)
========================== */

.hero-above-fold {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 600px;
  max-height: 100vh;
  background-color: var(--primary-color);
  overflow: hidden;
}

.hero-above-fold__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
}

.hero-above-fold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.hero-above-fold::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,200,0.3) 0%, rgba(255,255,200,0) 70%);
  z-index: 2;
  pointer-events: none;
}

.hero-above-fold__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  padding: 6rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}


.hero-above-fold__title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-above-fold__body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #f0f0f0;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-above-fold__cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 100%;
  margin-top: 15px;
}

.hero-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #ffffff;
  color: #2B4530;
  border: 2px solid #2B4530;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: auto;
  max-width: 100%;
  box-shadow: 0 4px 10px rgba(43, 69, 48, 0.1);
}

.hero-cta-button:hover {
  background: #2B4530;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .hero-above-fold__title {
    font-size: 3rem;
  }

  .hero-above-fold__body {
    font-size: 1.25rem;
  }

  .hero-above-fold__cta {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 15px;
  }
}

@media (max-width: 767px) {
  .hero-above-fold__cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta-button {
    width: 100%;
    max-width: 280px;
    padding: 14px 20px;
    font-size: 1rem;
  }
}



/* =======================
   12. Image + Text Section Module
========================== */
.image-text-module {
  font-family: 'Poppins', sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  color: #333333;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.content-wrapper {
  display: grid;
  gap: 60px;
  align-items: center;
}

.content-wrapper:not(.image-right) {
  grid-template-columns: calc(var(--image-size, 50%) * 1%) auto;
  grid-template-areas: "image text";
}

.content-wrapper.image-right {
  grid-template-columns: auto calc(var(--image-size, 50%) * 1%);
  grid-template-areas: "text image";
}

.image-column {
  grid-area: image;
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05), 0 8px 25px rgba(43, 69, 48, 0.12);
  border: 1px solid rgba(43, 69, 48, 0.08);
  transition: all 0.5s ease;
}

.image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2B4530, #3a5a3f);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-wrapper:hover::before {
  opacity: 1;
}

.image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1), 0 12px 35px rgba(43, 69, 48, 0.15);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  transition: all 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.text-column {
  grid-area: text;
  padding: 40px;
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid rgba(43, 69, 48, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.text-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2B4530, #3a5a3f);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.text-column:hover::before {
  opacity: 1;
}

.text-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(43, 69, 48, 0.12);
}

.title-content {
  margin-bottom: 20px;
}

.title-content h1,
.title-content h2,
.title-content h3,
.title-content p {
  font-size: 2.5rem;
  color: #2c3e50;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.subtitle-content {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 20px;
}

.subtitle-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2B4530, #3a5a3f);
  border-radius: 2px;
}

.subtitle-content p {
  font-size: 1.25rem;
  color: #666;
  margin: 0;
  font-weight: 300;
  line-height: 1.5;
}

.body-content {
  margin-bottom: 30px;
}

.body-content p {
  font-size: 1.1rem;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #2B4530, #3a5a3f);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(43, 69, 48, 0.2);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  word-break: break-word;
  white-space: normal;
}

.button-content {
  flex: 1;
  min-width: 0;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.cta-button:hover::before {
  transform: translateX(100%);
}

.cta-button:hover {
  background: linear-gradient(135deg, #3a5a3f, #2B4530);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(43, 69, 48, 0.3);
}

.cta-button .button-content p {
  margin: 0;
  color: inherit;
}

.cta-button svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.cta-button:hover svg {
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .image-text-module {
    padding: 40px 30px;
  }

  .content-wrapper {
    gap: 40px;
  }

  .title-content h1,
  .title-content h2,
  .title-content h3,
  .title-content p {
    font-size: 2.2rem;
  }
}

@media (max-width: 780px) {
  .image-text-module .content-wrapper,
  .image-text-module .content-wrapper.image-right,
  .image-text-module .content-wrapper.image-left,
  .image-text-module .content-wrapper:not(.image-right) {
    grid-template-columns: 1fr;
    grid-template-areas: "image" "text";
    gap: 30px;
  }
}


  .image-text-module {
    padding: 30px 20px;
  }

  .text-column {
    padding: 30px;
  }

  .title-content h1,
  .title-content h2,
  .title-content h3,
  .title-content p {
    font-size: 2rem;
  }

  .subtitle-content p {
    font-size: 1.1rem;
  }

  .body-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .text-column {
    padding: 25px;
  }

  .title-content h1,
  .title-content h2,
  .title-content h3,
  .title-content p {
    font-size: 1.8rem;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 1rem;
    flex-wrap: wrap;
  }

  .button-content {
    text-align: center;
  }
}

@media print {
  .image-text-module {
    box-shadow: none;
  }

  .image-wrapper,
  .text-column {
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .cta-button {
    border: 1px solid #2B4530;
  }
}


/* =======================
   13. Contact CTA Module
========================== */
.cta-module {
  font-family: 'Inter', sans-serif;
  padding: 80px 20px;
  background: #ffffff;
}

.cta-full-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 60px;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(43, 69, 48, 0.06);
  position: relative;
  overflow: hidden;
}

.cta-content-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-heading {
  font-size: 3rem;
  color: #2c3e50;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.cta-subtext {
  font-size: 1.25rem;
  color: #666;
  margin: 0 0 40px;
  line-height: 1.6;
}

.cta-features-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(43, 69, 48, 0.04);
  border-radius: 100px;
  transition: transform 0.3s ease;
}

.cta-feature:hover {
  transform: translateY(-2px);
}

.cta-feature-icon {
  font-size: 1.5rem;
}

.cta-feature-text {
  font-size: 1rem;
  font-weight: 500;
  color: #2B4530;
}

.cta-buttons-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary-button,
.cta-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 400;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-primary-button {
  background: linear-gradient(135deg, #2B4530 0%, #3a5a3f 100%);
  color: white;
}

.cta-primary-button:hover {
  background: linear-gradient(135deg, #3a5a3f 0%, #2B4530 100%);
  transform: translateY(-2px);
}

.cta-primary-button svg {
  transition: transform 0.3s ease;
}

.cta-primary-button:hover svg {
  transform: translateX(4px);
}

.cta-secondary-button {
  background: white;
  color: #2B4530;
  border: 2px solid #2B4530;
}

.cta-secondary-button:hover {
  background: rgba(43, 69, 48, 0.04);
  transform: translateY(-2px);
}

@media (max-width: 1023px) {
  .cta-module {
    padding: 60px 20px;
  }

  .cta-full-container {
    padding: 60px 40px;
  }

  .cta-heading {
    font-size: 2.5rem;
  }

  .cta-subtext {
    font-size: 1.125rem;
  }

  .cta-features-wrapper {
    gap: 20px;
  }

  .cta-feature {
    padding: 10px 20px;
  }
}

@media (max-width: 767px) {
  .cta-module {
    padding: 40px 20px;
  }

  .cta-full-container {
    padding: 40px 20px;
    border-radius: 20px;
  }

  .cta-heading {
    font-size: 2rem;
  }

  .cta-subtext {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .cta-features-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .cta-feature {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .cta-buttons-wrapper {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .cta-primary-button,
  .cta-secondary-button {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
  }
}


/* =======================
   13. Image Gallery Module Styles
========================== */
.img-slider-module {
  font-family: 'Inter', sans-serif;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.img-slider-outer-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 60px;
  background: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-default); 
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.img-slider-header {
  text-align: center;
  margin-bottom: 40px;
}

.img-slider-title {
  font-size: 3rem;
  color: #2c3e50;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.img-slider-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin: 0 auto;
  line-height: 1.6;
  max-width: 800px;
}

.img-slider-container {
  position: relative;
  touch-action: none;
  overflow: hidden;
}

.img-slider-featured-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(43, 69, 48, 0.04);
  margin-bottom: 20px;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.img-slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.img-slider-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.img-slider-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img-slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.img-slider-caption {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #2B4530;
  font-weight: 500;
  max-width: 300px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(43, 69, 48, 0.1);
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.img-slider-slide.active .img-slider-caption {
  transform: translateY(0);
  opacity: 1;
}

.img-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #2B4530;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(43, 69, 48, 0.15);
}

.img-slider-nav:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.img-slider-nav.prev {
  left: 20px;
}

.img-slider-nav.next {
  right: 20px;
}

.img-slider-thumbs-container {
  margin-top: 20px;
  overflow: hidden;
  padding: 10px 0;
}

.img-slider-thumbs-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 0 1px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.img-slider-thumbs-track::-webkit-scrollbar {
  display: none;
}

.img-slider-thumb {
  flex: 0 0 120px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
  transition: all 0.3s ease;
  opacity: 0.7;
  background: none;
  scroll-snap-align: start;
}

.img-slider-thumb:hover {
  opacity: 0.9;
}

.img-slider-thumb.active {
  border-color: #2B4530;
  opacity: 1;
}

.img-slider-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1023px) {
  .img-slider-module {
    padding: 60px 20px;
  }

  .img-slider-outer-container {
    padding: 60px 40px;
  }

  .img-slider-title {
    font-size: 2.5rem;
  }

  .img-slider-subtitle {
    font-size: 1.125rem;
  }

  .img-slider-thumb {
    flex: 0 0 100px;
    height: 70px;
  }

  .img-slider-caption {
    max-width: 250px;
  }
}

@media (max-width: 767px) {
  .img-slider-module {
    padding: 40px 20px;
  }

  .img-slider-outer-container {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .img-slider-title {
    font-size: 2rem;
  }

  .img-slider-subtitle {
    font-size: 1rem;
  }

  .img-slider-featured-container {
    margin-bottom: 0;
    border-radius: 12px;
    padding-bottom: 75%;
  }

  .img-slider-thumbs-container {
    display: none;
  }

  .img-slider-caption {
    position: static;
    margin-top: 12px;
    max-width: 100%;
    background: rgba(43, 69, 48, 0.04);
    border-radius: 8px;
    padding: 12px 16px;
    transform: none;
    opacity: 1;
    box-shadow: none;
    font-size: 0.875rem;
    text-align: left;
    backdrop-filter: none;
  }

  .img-slider-slide.active .img-slider-caption {
    transform: none;
  }

  .img-slider-nav {
    width: 36px;
    height: 36px;
  }

  .img-slider-nav.prev {
    left: 12px;
  }

  .img-slider-nav.next {
    right: 12px;
  }
}

@media (min-width: 768px) {
  .img-slider-caption {
    position: absolute;
    top: 20px;
    right: 20px;
    max-width: 300px;
    transform: translateY(-10px);
    opacity: 0;
  }

  .img-slider-slide.active .img-slider-caption {
    transform: translateY(0);
    opacity: 1;
  }
}


/* =======================
   14. Dual CTA Block Module Styles
========================== */
.cta-module {
  font-family: 'Inter', sans-serif;
  padding: 80px 20px;
  background: #ffffff;
}

.cta-full-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 60px;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(43, 69, 48, 0.06);
  position: relative;
  overflow: hidden;
}

.cta-content-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-heading {
  font-size: 3rem;
  color: #2c3e50;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.cta-subtext {
  font-size: 1.25rem;
  color: #666;
  margin: 0 0 40px;
  line-height: 1.6;
}

.cta-buttons-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons-wrapper .cta_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 16px 32px !important;
  border-radius: 100px !important;
  font-weight: 400 !important;
  font-size: 1.125rem !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  width: auto !important;
}

.cta-buttons-wrapper .cta_button:first-child {
  background: linear-gradient(135deg, #2B4530 0%, #3a5a3f 100%) !important;
  color: white !important;
  border: none !important;
}

.cta-buttons-wrapper .cta_button:first-child:hover {
  background: linear-gradient(135deg, #3a5a3f 0%, #2B4530 100%) !important;
  transform: translateY(-2px) !important;
}

.cta-buttons-wrapper .cta_button:last-child {
  background: white !important;
  color: #2B4530 !important;
  border: 2px solid #2B4530 !important;
}

.cta-buttons-wrapper .cta_button:last-child:hover {
  background: rgba(43, 69, 48, 0.04) !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 1023px) {
  .cta-module {
    padding: 60px 20px;
  }

  .cta-full-container {
    padding: 60px 40px;
  }

  .cta-heading {
    font-size: 2.5rem;
  }

  .cta-subtext {
    font-size: 1.125rem;
  }
}

@media (max-width: 767px) {
  .cta-module {
    padding: 40px 20px;
  }

  .cta-full-container {
    padding: 40px 20px;
    border-radius: 20px;
  }

  .cta-heading {
    font-size: 2rem;
  }

  .cta-subtext {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .cta-buttons-wrapper {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .cta-buttons-wrapper .cta_button {
    width: 100% !important;
    padding: 14px 24px !important;
    font-size: 1rem !important;
  }
}


/* =======================
   15. Footer Styles
========================== */
.custom-footer {
  background-image: linear-gradient(rgba(var(--primary-color-rgb), 0.97), rgba(var(--primary-color-rgb), 0.97)), 
                   url('https://www.toptal.com/designers/subtlepatterns/uploads/leaves.png');
  background-repeat: repeat;
  color: white;
  padding: 40px 0 20px;
  width: 100%;
  border-top: 3px solid #6A9B5E;
  font-family: 'Inter', sans-serif;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: block;
}

.footer-main {
  margin-bottom: 40px;
  display: flex;
  width: 100%;
  text-align: left;
}

/* Column Layout - Redesigned for better balance */
.footer-column {
  box-sizing: border-box;
}

.footer-info {
  width: 35%;
  padding-right: 30px;
}

.footer-links {
  width: 25%;
  padding: 0 20px;
}

.footer-map {
  width: 40%;
  padding-left: 20px;
  box-sizing: border-box;
  max-width: 40%;
  overflow: hidden;
}

/* Footer Section Spacing */
.footer-section {
  margin-bottom: 25px;
}

.footer-section:last-of-type {
  margin-bottom: 20px;
}

/* Headings */
.footer-heading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
  position: relative;
  padding-bottom: 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #6A9B5E;
}

/* Business Hours */
.hours-content {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 5px;
}

/* Contact Info */
.contact-info {
  margin-bottom: 5px;
}

.address {
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

/* CTA Button - Enhanced Styles */
.footer-cta {
  margin: 20px 0;
  display: flex;
}

/* Ensure HubSpot CTA is properly styled */
.custom-footer a.cta_button {
  color: white !important;
  background-color: #6A9B5E !important;
  border: none !important;
  border-radius: 30px !important;
  padding: 10px 20px !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
  text-align: center !important;
  min-width: 180px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

.custom-footer a.cta_button:hover {
  background-color: #5c8952 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Social Icons */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: visible;
}

.social-icon:hover {
  background-color: #6A9B5E;
  transform: translateY(-3px);
}

.social-icon i, 
.social-icon span {
  font-size: 18px;
  color: white;
  position: relative;
  z-index: 2;
}

/* Social Media base styles */
.social-media {
  margin-top: 5px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

/* SVG icon styles */
.social-icon svg {
  width: 16px;
  height: 16px;
  color: white;
  fill: currentColor;
}

.social-icon:hover svg {
  transform: scale(1.1);
}

/* Map embedding */
.map-embed-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* CSS to hide the embed field text */
.map-embed-wrapper:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  overflow: hidden;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

/* Footer Navigation */
.footer-nav .hs-menu-wrapper > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav .hs-menu-wrapper ul li {
  margin-bottom: 12px;
}

.footer-nav .hs-menu-wrapper ul li a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.3s;
}

.footer-nav .hs-menu-wrapper ul li a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Hide all submenu/child menu items */
.footer-nav .hs-menu-wrapper ul li ul,
.footer-nav .hs-menu-wrapper .hs-menu-children-wrapper {
  display: none !important;
  visibility: hidden !important;
}

/* Map Container */
.map-container {
  height: 350px;
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius);
  border: none;
  box-shadow: var(--shadow-default);
  transition: all 0.3s ease;
  max-width: 100%;
}

.map-container:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Bottom */
.footer-bottom {
  padding: 15px 0;
  background-color: rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  border-radius: 4px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Ensure Font Awesome works with module icons */
.footer-icon {
  display: inline-block;
  font-size: 18px;
  margin: 0 auto;
}

/* Footer Responsive Design */
@media (max-width: 992px) {
  .footer-main {
    flex-wrap: wrap;
  }
  
  .footer-info {
    width: 50%;
    padding-right: 20px;
  }
  
  .footer-links {
    width: 50%;
    padding-left: 20px;
    padding-right: 0;
  }
  
  .footer-map {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top: 30px;
  }
  
  .map-container {
    height: 300px;
    margin: 0 auto;
  }
  
  /* Ensure social media follows consistent spacing on tablet */
  .social-media.footer-section {
    margin-bottom: 25px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    width: 95%;
  }
  
  .footer-main {
    flex-direction: column;
  }
  
  .footer-info, 
  .footer-links,
  .footer-map {
    width: 100%;
    padding: 0;
    margin-bottom: 25px;
    text-align: center;
  }
  
  .footer-map {
    margin-bottom: 0;
  }
  
  .footer-heading {
    text-align: center;
  }
  
  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-nav .hs-menu-wrapper > ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* Center social icons on mobile */
  .social-icons {
    justify-content: center;
  }
  
  /* Move social back above the CTA on mobile to match desktop */
  .footer-links .social-media {
    order: -1;
  }
  
  /* Ensure CTA is centered on mobile */
  .footer-cta {
    justify-content: center;
    margin: 20px 0;
  }
  
  .map-container {
    height: 250px;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* Additional mobile optimization */
@media (max-width: 576px) {
  .custom-footer {
    padding: 30px 0 15px;
  }
  
  .footer-heading {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  
  .hours-content,
  .footer-nav .hs-menu-wrapper ul li a,
  .address {
    font-size: 1rem;
  }
  
  .footer-container {
    width: 100%;
    padding: 0 15px;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
  }
  
  .social-icon i {
    font-size: 20px;
  }
}