/* ================================
   RESET
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }

body {
  font-family: 'Barlow', sans-serif;
}

.content-text p{
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 16px;
}

.content-disclaimer p{
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 16px;
}
.business-disclaimer {
    text-align:left;
    margin: 0 auto;
}
.business-disclaimer p{
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ================================
   HEADER + CONTAINER
================================ */
.main-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem 0;
  z-index: 9999;
}

.header-inner {
  display: flex;
  flex-wrap: nowrap;            /* Default: no wrap */
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 30px;
  gap: 1rem;
}

/* Logo always stays on the left */
.logo {
  flex: 0 0 auto;
}
.logo img {
  height: clamp(32px, 5vw, 56px);
  width: auto;
}

/* ================================
   NAVIGATION (middle)
================================ */
.main-nav {
  flex: 1 1 auto;               /* take all remaining space */
  display: flex;
  justify-content: center;
}

.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 0;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav li > a {
  font-size: 13px;
  font-weight: 600;
  color: #262672;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 16px;
  display: block;
  white-space: nowrap;
}

.main-nav li:hover > a {
  color: #7da83d;
}

/* ================================
   DROPDOWN (DESKTOP / TABLET)
   — instead of margin-top, use transform
================================ */
.has-dropdown {
  position: relative;
}

/* Base state: submenu sits at top:100%, then is shifted down 8px via translateY */
.has-dropdown .submenu {
  list-style: none;
  position: absolute;
  top: 100%;                 /* anchor at bottom of parent link */
  left: 0;
  background: #ffffff;
  min-width: 180px;          /* adjust as needed */
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border: 1px solid #e0e0e0;
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);        /* shift down by 8px for the visual gap */
  transition: opacity 0.2s ease,
              transform 0.2s ease;
  pointer-events: none;              /* don’t let pointer events pass when hidden */
}

/* When hovering (desktop) or focus-within, “pop” it into view */
.has-dropdown:hover .submenu,
.has-dropdown:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);          /* move up into its final spot */
  pointer-events: auto;              /* now submenu links are clickable */
}

/* Submenu link styles */
.submenu li a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #262672;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.submenu li a:hover {
  background-color: #f8f8f8;
  color: #7da83d;
}

/* ================================
   NAV BUTTONS (right)
================================ */
.nav-buttons {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.btn {
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}

.btn-green {
  background-color: #88b04b;
}

.btn-purple {
  background-color: #262672;
}

.btn:hover {
  opacity: 0.85;
}

/* ================================
   HAMBURGER (mobile toggle)
================================ */
#hamburger {
  display: none;  /* hidden by default */
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #262672;
  flex: 0 0 auto;
  margin-left: auto;
}

/* ================================
   TABLET (≤ 1024px)
================================ */
@media (max-width: 1024px) {
  /* 1) Allow the header-inner to wrap */
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 1rem;
  }

  /* 2) Keep Logo + Buttons on Row #1 */
  .logo {
    flex: 0 0 auto;
    order: 1;
  }
  .nav-buttons {
    flex: 0 0 auto;
    order: 1;
  }

  /* 3) Move Nav into Row #2, full-width */
  .main-nav {
    flex: 1 1 100%;
    order: 2;
    justify-content: center;
    margin-top: 0.5rem;
  }
  .main-nav > ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  /* 4) Keep dropdown behavior exactly the same, but remove the “gap” dead-zone */
  .has-dropdown {
    position: relative;  /* make <li> the positioning context */
  }
  .has-dropdown .submenu {
    position: absolute;  /* sit directly under parent */
    top: 100%;           /* flush against the bottom edge of the parent link */
    left: 0;             /* align with left edge of parent link */
    margin-top: 0;       /* remove any extra spacing */
    padding-top: 0;
    z-index: 10;

    /* hide by default */
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 150ms ease;
  }
  /* show submenu on hover (or focus) */
  .has-dropdown:hover .submenu,
  .has-dropdown:focus-within .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  /* 5) Hamburger remains hidden on TABLET (we keep nav visible) */
  #hamburger {
    display: none;
  }
}


/* ================================
   MOBILE (≤ 640px)
================================ */
@media (max-width: 640px) {
  /* 1) Logo no longer spans 100%—let it take only as much space as it needs */
  .logo {
    flex: 0 0 auto;      /* instead of flex: 0 0 100% */
    order: 1;
    text-align: left;    /* or center, if you like */
  }

  /* 2) Show the hamburger next to the logo */
  #hamburger {
    display: block;
    flex: 0 0 auto;
    order: 2;
    margin-left: auto;   /* pushes hamburger to the right of the logo */
  }

  /* 3) Hide the buttons on mobile */
  .nav-buttons {
    display: none;
  }

  /* 4) Hide the nav by default; use .active to show */
  .main-nav {
    flex: 1 1 100%;
    order: 3;
    display: none;
    flex-direction: column;
    margin-top: 1rem;
  }
  .main-nav.active {
    display: flex;
  }
  .main-nav > ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .main-nav > ul > li {
    width: 100%;
  }
  .main-nav li > a {
    padding: 14px 20px;
  }

  /* 5) Convert submenus into simple “accordion” style on mobile */
  .has-dropdown {
    position: relative; /* keep this so it’s consistent if you ever switch back to absolute */
  }
  .has-dropdown .submenu {
    position: static;
    margin: 0;
    transform: none;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }
  .has-dropdown.open .submenu {
    display: block;
  }
  .submenu li a {
    padding: 12px 30px;
    border-top: 1px solid #eee;
  }
}

/* ================================
   Section Title
================================= */
.text-green{
    color: #79a13e;
}
.text-purple{
    color:#4234a7 !important;
    font-size:16px !important;
}
.section-title {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.5rem);
  font-weight: 700;
  color: #79a13e;
  text-align: center;
  padding: 80px 0 20px 0px;
}
@media(max-width: 1024px){
    .section-title{
        padding: 60px 0 20px 0;
    }
}
.section-title-small-container{
    padding-top: 60px;
}
.section-title-2 {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1.75rem, 3vw + 0.5rem, 3rem) !important;
  font-weight: 800; /* Increased from 700 to 900 for boldest weight */
  letter-spacing: -0.5px; /* Optional: tightens appearance slightly */
  color: #79a13e;
  text-align: center !important;
  margin-bottom: 1rem;
  padding: 0 0 50px 0;
}


.section-title-small {
  font-family: Helvetica, sans-serif;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
/* ================================
   Hero Message
================================= */
.hero-message {
  font-family: Poppins, sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: white;
}

.hero-message__overlay {
  background: linear-gradient(to top, rgba(121, 161, 62, 0.8), rgba(38, 38, 114, 0.8));
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-message__content {
  max-width: 800px;
}

.hero-message__content h1,h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  font-family: Poppins, sans-serif;
 
}

.hero-message__content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  font-family: 'Barlow', sans-serif;
}

.hero-message__content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  font-size: 1rem;
  line-height: 1.6;
}

.hero-message__content li {
  margin-bottom: 8px;
}

/* CTA Button */
.hero-message__btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  transition: 0.2s ease;
}

.hero-message__btn:hover {
  background-color: white;
  color: #262672;
}



/* ================================
   Testimonial
================================= */
.testimonial-carousel {
  padding: 60px 30px;
  background: #fff;
  position: relative;
}

.testimonial-swiper {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

/* Fix for mobile: remove margin auto or fixed width */
.testimonial-swiper .swiper-slide {
  width: 100%; /* allow Swiper to control */
  flex-shrink: 0;
  height: auto;
}

/* Card Style */
/*.testimonial-slide {*/
/*  background: #fff;*/
/*  border: 3px solid #262672;*/
/*  border-radius: 20px;*/
/*  padding: 30px 20px;*/
/*  height: 100%;*/
/*  display: flex;*/
/*  flex-direction: column;*/
/*  align-items: center;*/
/*  text-align: center;*/
/*  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);*/
/*}*/

.testimonial-slide {
  background: #fff;
  border: 3px solid #262672;
  border-radius: 20px;
  padding: 30px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering for everything */
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}


/* Image */
.testimonial-slide img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

/* Quote */
.testimonial-quote {
  font-style: italic;
  color: #333;
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.6;
}


/* Name */
.testimonial-name {
  font-weight: 700;
  text-transform: uppercase;
  color: #262672;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

/* Role */
.testimonial-role {
  font-weight: 600;
  color: #333;
}

.testimonial-carousel__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-button-prev,
.testimonial-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  width: 30px;
  height: 40px;
}

.testimonial-button-prev {
  left: -50px; /* relative to container, not screen */
}

.testimonial-button-next {
  right: -50px;
}



/* Optional: on smaller screens, hide or reduce */
@media (max-width: 768px) {
  .testimonial-button-prev,
  .testimonial-button-next {
    display: none;
  }
}




/* ================================
   LOGO REPEAT BAR
================================= */
/* Footer Logo Carousel Bar */


.footer-logo-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-swiper img {
  height: 100%;
  width: auto;
  max-width: 50%;
}


.footer-logo-bar {
  background-color: #79a13e;
  padding: 4rem 0;
  overflow: hidden;
}

.logo-repeat {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-repeat img {
  height: 20px;
}


/* ================================
   FOOTER SECTION
================================= */
.footer {
  background-color: #363794;
  color: white;
  padding: 100px 20px 30px;
  font-family: 'Barlow', sans-serif;
}

.footer .footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Logo block on left */
.footer-logo-section {
  flex: 1 1 300px;
}

.footer-logo-section img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-logo-section .footer-logo-subtitle {
  font-family: Helvetica, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 26px;
  margin-bottom: 15px;

}

.footer-logo-section .text-and-social{
    padding-left:5px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a img {
  height: 20px;
  width: 20px;
}

/* Link blocks */
.footer-links {
  flex: 1 1 200px;
}

.footer-links h4 {
    font-family: Helvetica, sans-serif;
  color: #79a13e;
  text-transform: uppercase;
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  color: #6f9737;
}

.footer-links a {
  font-family: Helvetica, sans-serif;
  font-weight: 400; 
  
   position: relative;
  display: inline-block;
  color: white;
  text-decoration: none;
  font-size: 16px;
  line-height: 26px;
  transition: opacity 0.2s ease;
  padding-bottom: 4px;
  
}

.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: #79a13e; /* your green */
  transition: width 0.3s ease;
}

.footer-links a:hover::after,
.footer-links a.active::after {
  width: 100%;
}
/* Bottom copyright bar */
.footer-bottom {
  text-align: center;
  margin-top: 80px;
  font-size: 13px;
  color: #ccc;
}

.footer-bottom a {
  color: #ccc;
  text-decoration: underline;
}

/* ===============================
    Hero Carousal
================================= */
.hero-carousel {
  width: 100%;
  height: 70vh;
  position: relative;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  height: 100%;
  position: relative;
}

.hero-overlay {
  height: 100%;
  background: linear-gradient(to right, rgba(121, 161, 62, 0.7), rgba(38, 38, 114, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-text {
  font-family: Poppins, sans-serif;
  color: white;
  max-width: 800px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.hero-button {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid white;
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.hero-button:hover {
  background-color: white;
  color: #262672;
}



/* ================================
   Care Plan Card
================================= */

.care-plans {
  font-family: 'Barlow', sans-serif;
  padding: 20px 20px 80px 20px;
  background-color: #fff;
  text-align: center;
}
.care-plans__container {
  max-width: 1200px;
  margin: 0 auto;
}

.care-plans__title {
  font-family: inherit;
  font-size: clamp(1.75rem, 2vw + 0.5rem, 2.5rem);
  font-weight: 700;
  color: #79a13e;
  margin-bottom: 60px;
}

.care-plans__grid {
  display: flex;
  gap: clamp(3rem, 2vw + 0.5rem, 4rem);
  justify-content: center;
  flex-wrap: wrap;
}

.care-plans__card {
    font-family: inherit;
  flex: 1 1 420px;
  border: 1px solid #262672;
  border-radius: 8px;
  padding: 40px 30px ;
  text-align: left;
}

/* Typography */
.care-plans__tag {
  font-family: Helvetica, sans-serif;
  font-size: 19px;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.care-plans__tag--green {
  color: #79a13e;
}

.care-plans__tag--purple {
  color: #262672;
}

.care-plans__headline {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 15px;
}


.care-plans__headline--green {
  color: #79a13e;
}

.care-plans__text {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 30px;
  line-height: 1.6;
  padding-top: 20px;
}

/* Buttons */
.care-plans__buttons {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.care-plans__btn {
font-family: inherit;
  padding: 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.2s ease;
  text-align: center;
}

.care-plans__btn--green {
  background-color: #769e49;
  color: white;
  border: none;
}

.care-plans__btn--purple {
  background-color: #363795;
  color: white;
  border: none;
}

.care-plans__btn--outline-green {
  color: #739a42;
  border: 1px solid #86916f;
  background: transparent;
}

.care-plans__btn--outline-purple {
  color: #433e65;
  border: 1px solid #433e65;
  background: transparent;
}

.care-plans__btn:hover {
  opacity: 0.85;
}

.care-plans__btn--outline-green:hover {
    color: white;
    background-color: #739a42;
}
.care-plans__btn--outline-purple:hover{
    color: white;
    background-color: #272673;
}


/* ================================
   Info Grid
================================= */

.info-grid {
  padding: 20px 10px;
  font-family: 'Barlow', sans-serif ;
  width: 100vw;
  margin: 0 auto;
}

.info-grid__row {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
   position: relative;
  z-index: 1;
  padding: 40px 40px;
  overflow: hidden;
  background-color: white;
  min-height: 400px;
}
@media (max-width: 1024px) {
  .info-grid__row {
    gap: 1.25rem;
  }

  /* Tweak page padding on smaller screens */
  .page-content {
    padding: 1rem;
  }
  .info-grid__row{
      padding: 0 20px;
  }
}

.info-grid__row--reverse {
  flex-direction: row-reverse;
}

.info-grid__content {
  flex: 1 1 500px;
  max-width: 650px;
   position: relative;
  z-index: 2;
  background: transparent; /* or rgba if needed */
  padding: 40px 0;
  backdrop-filter: none; /* you can add blur if desired */
  border-radius: 8px;
}

.info-grid__tag {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #79a13e;
  margin-bottom: 10px;
}

.info-grid__headline {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  font-weight: 900;
  color: #353594;
  margin-bottom: 20px;
  font-family: Poppins, sans-serif;
  
}

.info-grid__list {
  margin: 0 0 16px 20px;
  padding: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.info-grid__note {
  font-size: 1rem;
  margin-bottom: 24px;
}

.info-grid__btn {
  display: inline-block;
  padding: 20px 35px;
  margin-top: 40px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #79a13e;
  color: #79a13e;
  transition: 0.2s ease;
}

.info-grid__btn:hover {
  background-color: #79a13e;
  color: white;
}

.info-grid__image {
  flex: 1 1 650px;
  max-width: 650px;

}

.info-grid__image img {
    width: 100%;
    border-radius: 8px;
    height: 400px;
    object-fit: cover;
    position: relative;
  z-index: 2;
    -webkit-box-shadow: -2px 3px 21px 1px rgba(0,0,0,0.31); 
box-shadow: -2px 3px 21px 1px rgba(0,0,0,0.31);
}

.info-grid__background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.08;
  pointer-events: none;
  animation: fadeInOut 8s ease-in-out infinite;
}

.info-grid__background-image img {
  transform: translateY(-6rem);
   width: 90%;         /* scale down */
  height: 90%;        /* scale down */
  object-fit: contain;
  max-width: 90%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}

@keyframes fadeInOut {
  0% { opacity: 0.02; }
  25% { opacity: 0.08; }
  75% { opacity: 0.09; }
  100% { opacity: 0.02; }
}

@keyframes fadeLoop {
  0%, 100% { opacity: .02; }
  50% { opacity: 0.08; }
}

.info-grid__background-image {
  animation: fadeLoop 8s ease-in-out infinite;
}

.info-grid__video {
  flex: 1 1 650px;
  max-width: 650px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.info-grid__video video {
  width: 100%;
  height: 400px; /* match image height */
  object-fit: cover; /* match image behavior */
  display: block;
  border-radius: inherit;
}


/* Optional: maintain a 16:9 box if needed */
.info-grid__video.aspect-16x9 {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
}

.info-grid__video.aspect-16x9 video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* or contain, depending on your design */
}


/* ================================
   Video Card
================================ */
.video-card {
  padding: 60px 30px;
  background: #fff;
}

.video-card__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.video-card__video {
  width: 100%;
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 12px;
}

.video-card__content {
  max-width: 700px;
  margin: 0 auto;
}

.video-card__eyebrow {
  color: #88b04b;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.video-card__title {
  color: #262672;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.video-card__text {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* =========================
   Desktop: side-by-side
========================= */
@media (min-width: 1025px) {
  .video-card__container {
    flex-direction: row;
    align-items: flex-start;
  }

  .video-card__video {
    flex: 1 1 60%;
    max-width: 60%;
  }

  .video-card__content {
    flex: 1 1 40%;
    max-width: 40%;
    padding-left: 40px;
    margin: 0;
  }

  .video-wrapper {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }

  .video-wrapper iframe {
    border-radius: 12px;
  }
}

/* =========================
   Card Carousel
========================= */
.card-carousel {
  padding: 60px 40px;
  background: #fff;
}

.card-swiper {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  flex-shrink: 0;
  width: auto;
}

.card-slide {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.card-overlay {
  background: rgba(86, 142, 41, 0.85); /* green overlay */
  color: #fff;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.card-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.card-overlay p {
  font-size: 1rem;
  line-height: 1.5;
}

/* =========================
   Team Members
========================= */
/* Section Header */
.team-section {
  padding: 60px 20px;
  text-align: center;
  font-family: 'Barlow', sans-serif;
}

.team-section-eyebrow {
  box-sizing:border-box;
  font-family: Helvetica, sans-serif;
  letter-spacing: 0.1px;
  line-height:19px;
  color: #79a13e;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-size:19px;
}

.team-section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #262672;
  margin-bottom: 20px;
}

.team-section-headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem); /* responsive sizing */
  font-weight: 900;
  color: #2f3291;
  text-align: center;
  margin-bottom: 40px;
}


/* Grid Container */
.team-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Card Styling */
.team-card {
  flex: 1 1 400px;
  max-width: 480px;
  border: 3px solid #353594;
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  background-color: white;
}

/* Image */
.team-card-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

/* Text */
.team-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #262672;
  margin-bottom: 8px;
}

.team-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #79a13e;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.team-card-desc {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
  .team-grid {
    flex-direction: column;
    align-items: center;
  }

  .team-card-desc {
    text-align: center;
  }
}


/* =========================
   Call to Action
========================= */
.cta-section {
  background: linear-gradient(to bottom, #769e49, #53772c); /* green gradient */
  color: white;
  text-align: center;
  padding:60px 20px;
  font-family: 'Poppins', sans-serif;
  margin-top: 3rem;

}
.cta-small{
      width: 70%;
  margin: 0 auto;
}
.cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

.cta-text {
  font-family:Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-weight:400;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: #53772c;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-button:hover {
  background-color: #363794;
  color: white;
}

/* =========================
   Social Icons
========================= */
.social-icons img {
  width: 32px;
  height: 32px;
  transition: filter 0.2s ease;
  filter: brightness(0) invert(1); /* makes it white */

}

.social-icons a:hover img {
  filter: brightness(0) saturate(100%) invert(49%) sepia(25%) saturate(933%) hue-rotate(45deg); /* turns green-ish */
}
/* =========================
   Simple cards
========================= */
.simple-cards {
  padding: 20px 20px;
  font-family: 'Barlow', sans-serif;
  background-color: #fff;
  text-align: center;
}

.simple-cards__container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.simple-card {
  position: relative;
  flex: 1 1 300px;
  max-width: 360px;
  border: 1px solid #353594;
  border-radius: 8px;
  padding: 40px 30px;
  background-color: white;
  text-align: left;
  transition: box-shadow 0.3s ease;
}

.simple-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.simple-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #262672;
  margin-bottom: 12px;
}

.simple-card__desc {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  padding-top:1rem;
}

/* The gradient overlay */
.simple-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to top, #a4c46a 0%, transparent 100%);
  z-index: 0;
  transition: height 0.3s ease;
}

/* On hover, expand the gradient */
.simple-card:hover::after {
  height: 100%;
}

/* Ensure text and content stay above the gradient */
.simple-card * {
  position: relative;
  z-index: 1;
}

/* =========================
   Text Columns
========================= */
.text-columns__container {
  display: flex;
  gap: 4rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.text-columns__col {
  flex: 1 1 500px;
  max-width: 600px;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 768px) {
  .text-columns__container {
    flex-direction: column;
    align-items: stretch; /* Ensure full-width stacking */
    gap: 2rem;
  }

  .text-columns__col {
    max-width: 100%;
    flex: 1 1 100%;
  }
}


/* =========================
   Accordion
========================= */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px; /* NEW: space between each item */
  border: none; /* Optional: remove outer border if undesired */
  background: none; /* Optional: remove outer background if undesired */
  width: 55vw;
  margin: 0 auto;
  padding-top: 5vh;
  padding-bottom:5vh;
}

@media (max-width: 1024px) {
  .accordion {
    padding-top:7vh !important;
    padding-top:4vh !important;
    width: 65vw;
  }
}

@media (max-width: 768px) {
  .accordion {
    padding-top:7vh !important;
    padding-top:4vh !important;
    width: 90vw;
  }
}

.accordion-item {
  border: none; /* Remove individual bottom borders */
  overflow: hidden;
  border-radius: 4px;
  background: #f7faff;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-header {
  background-color: #4234a7;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  width: 100%;
  padding: 1rem 1rem 1rem 2.5rem;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
  
}
.accordion-header.active{
    border-radius:4px;
}

.accordion-header:hover {
  background-color: #4234a7;
}

.accordion-header .icon {
  position: absolute;
  left: 1rem;
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  border-radius: 4px;
}
.accordion-header .icon::before {
  content: "+";
  transition: content 0.3s ease;
}

.accordion-header.active .icon::before {
  content: "–"; /* em dash for better spacing, can also use "-" */
}

.accordion-header.active .icon {
  transform: rotate(180deg);
}

.accordion-content {
  margin-top:10px;
  display: none;
  padding: 1rem 1.5rem;
  background-color: #ffffff;
  color: #333;
  border: 4px solid #4234a7;
  border-radius: 5px;
}

/* Smooth slide down/up using max-height for animation */
.accordion-content.animate {
  overflow: none;
  transition: max-height 0.4s ease, padding 0.4s ease;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.accordion-content.open {
  max-height: 500px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.accordion-content ul {
    margin-left: 35px;
}
/* =========================
   Hero
========================= */
.hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  /* We still need this for the overlay and image layers */
}

/* Background image */
.hero__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Gradient overlay */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(125, 168, 76, 0.85),
    rgba(44, 62, 133, 0.85)
  );
  z-index: 2;
}

/* 
  Make .hero__content fill the full height of the hero,
  then use flex to center its children vertically. 
*/
.hero__content {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: left;
  padding-left: 15%;      /* Push it further right */
  

  height: 100%;           /* Fill the 300px height */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center the h1 + paragraph */
}

/* Headline styling */
.h1 {
  font-family: Poppins, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-align:left !important;
}

/* Paragraph styling */
.hero__content p {
  font-size: 1rem;
  margin: 0; /* Reset default top/bottom margins */
}

/* On smaller screens, reduce the left padding */
@media (max-width: 768px) {
  .hero__content {
    padding-left: 5%;
    max-width: 700px;
  }
}

/* =========================
   Symptoms Page - Card Layout
========================= */

/* 1. Grid Layout for Entries */
.entries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem 5vw;
  font-family: 'Barlow', sans-serif;
}

/* 2. Individual Entry Card Styles */
.entries .entry {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.entries .entry:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 3. Entry Heading */
.entry-heading a {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e85;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.entry-heading a:hover {
  color: #1f2a60;
}

/* 4. Read More Link */
.entry-readmore a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #7da84c !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.entry-readmore a:hover {
  color: #5a7938;
}

/* 5. Responsive Adjustments */
@media (max-width: 1024px) {
  .entries {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .entries {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------
   3. Pagination (centered under the entries block)
---------------------------------------------- */
/* ----------------------------------------------
   1. Wrap .paginate to align with hero & entries
---------------------------------------------- */
.paginate {
  /* Push the pagination in from the left exactly as .hero__content and .entries */
  padding-left: 15%;
  margin-top: 2rem;            /* Space above the page links */
}

/* Remove any default list styling and display items in a row */
.paginate ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Add horizontal spacing between each <li> */
.paginate ul li {
  margin: 0 0.5rem;
}

/* ----------------------------------------------
   2. Style for Pagination Links
---------------------------------------------- */
.paginate ul li a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  text-decoration: none;
  color: #2c3e85;             /* Deep blue for clickable pages */
  border-radius: 3px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Highlight the “current” page link via the “act” class */
.paginate ul li a.act {
  color: #fff;                /* White text for the active page */
  background-color: #2c3e85;  /* Solid deep blue background */
  font-weight: 700;
}

/* Hover state for other page links */
.paginate ul li a:hover:not(.act) {
  color: #1f2a60;             /* Darker blue on hover */
  background-color: rgba(44, 62, 133, 0.1);
}

/* ----------------------------------------------
   3. Responsive Adjustments (Optional)
---------------------------------------------- */
@media (max-width: 768px) {
  .paginate {
    padding-left: 5%;         /* Match mobile hero/entries padding */
  }
  .paginate ul li a {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
  }
}


/* ----------------------------------------------
   4. Responsive Adjustments
---------------------------------------------- */
@media (max-width: 768px) {
  .entries {
    padding-left: 5%;         /* match your hero__content’s mobile padding */
    max-width: none;          /* allow full width on mobile if you prefer */
  }

  .entry-heading a {
    font-size: 1.25rem;
  }

  .pagination {
    justify-content: center;  /* center pagination on very small screens */
  }

  .pagination a,
  .pagination span.current {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
  }
}
/* --------------------------------------------
   ENTRY‐PAGE TYPOGRAPHY & LAYOUT
-------------------------------------------- */

/* 
  1) Center the entry content up to a comfortable reading width
  2) Add top/bottom padding so it sits nicely under any hero or nav
*/
.entry-content {
  max-width: 55vw;            /* Keeps lines from getting too long */
  margin: 2rem auto;           /* 2rem top/bottom, centered on page */
  padding: 4rem 1rem;             /* 1rem side padding on mobile */
  font-family: 'Barlow', sans-serif;
  line-height: 1.6;            /* Comfortable reading line‐height */
  color: #333;                 /* Dark gray for body text */
}

/* --------------------------------------------
   1. MAIN TITLE 
   (Using .h1 class to mimic an <h1> style)
-------------------------------------------- */
.entry-content .h1 {
  font-size: 2.5rem;           /* ~40px equivalent */
  font-weight: 800;
  color: #2c3e85;              /* Deep blue, matching your theme */
  text-align: center;          /* Center the page title */
  margin-bottom: 1.5rem;       /* Space between title and next element */
}

/* --------------------------------------------
   2. SUBHEADINGS 
   (Assumes your {symptoms_content} outputs <h2> for sub‐sections)
-------------------------------------------- */
.entry-content h2 {
  font-size: 1.75rem;          /* ~28px */
  font-weight: 600;
  color: #2c3e85;              /* Same deep blue for consistency */
  margin-top: 2rem;            /* Space above subheading */
  margin-bottom: 1rem;         /* Space below subheading */
}

/* --------------------------------------------
   3. PARAGRAPHS
-------------------------------------------- */
.entry-content p {
  font-size: 1rem;             /* ~16px */
  margin-bottom: 1.5rem;       /* Space between paragraphs */
}

/* --------------------------------------------
   4. UNORDERED LISTS
-------------------------------------------- */
.entry-content ul {
  list-style-type: disc;       /* Bullet points */
  padding-left: 1.5rem;        /* Indent so bullets show properly */
  margin-bottom: 1.5rem;       /* Space after the list */
}

.entry-content li {
  margin-bottom: 0.5rem;       /* Space between list items */
}

/* --------------------------------------------
   5. FIGURE / IMAGE STYLING
-------------------------------------------- */
.entry-content figure {
  margin: 2rem 0;              /* Vertical space before & after */
  text-align: center;          /* Center‐align the image and caption */
}

.entry-content figure img {
  max-width: 100%;             /* Responsive width */
  height: auto;                /* Maintain aspect ratio */
  border-radius: 4px;          /* Slight rounding, optional */
}

.entry-content figure figcaption {
  font-size: 0.9rem;           /* Slightly smaller caption text */
  color: #666;                 /* Medium gray for caption */
  margin-top: 0.5rem;          /* Space above caption text */
}

/* --------------------------------------------
   6. LINKS WITHIN CONTENT
-------------------------------------------- */
.entry-content a {
  color: #2c3e85;              /* Deep blue links */
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 62, 133, 0.5); /* subtle underline */
  transition: color 0.2s ease, border-color 0.2s ease;
}

.entry-content a:hover {
  color: #1f2a60;              /* Darker blue on hover */
  border-color: #1f2a60;       /* Darker underline on hover */
}

/* --------------------------------------------
   7. SMALLER HEADINGS OR CALL‐TO‐ACTION
   (If you have an <h3> or a special CTA at the bottom)
-------------------------------------------- */
.entry-content h3 {
  font-size: 1.5rem;           /* ~24px */
  font-weight: 600;
  color: #2c3e85;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* --------------------------------------------
   8. RESPONSIVE TWEAKS (Adjust if needed)
-------------------------------------------- */
@media (max-width: 768px) {
  .entry-content {
    padding: 0 1.5rem;         /* Slightly more side padding on tablets */
  }

  .h1 {
    font-size: 2rem;           /* ~32px on smaller screens */
  }

  .entry-content h2 {
    font-size: 1.5rem;         /* ~24px on smaller screens */
  }
}
/* --------------------------------------------
   Back Button
-------------------------------------------- */
.btn-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background-color: #2c3e85;        /* match deep-blue theme */
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn-back:hover {
  background-color: #1f2a60;        /* darker-blue on hover */
}

/* --------------------------------------------
   Container & Overall Layout (from earlier)
-------------------------------------------- */
.search-results {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: 'Barlow', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* --------------------------------------------
   “Searched for…” Info Line
-------------------------------------------- */
.search-info {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

.search-info strong {
  color: #2c3e85;
}

/* --------------------------------------------
   Result Items
-------------------------------------------- */
.result-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.result-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2c3e85;
}

.result-title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 62, 133, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.result-title a:hover {
  color: #1f2a60;
  border-color: #1f2a60;
}

.result-meta {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: #777;
}

.result-meta em {
  font-style: normal;
  color: #444;
}

.result-excerpt {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #444;
}

.result-link a {
  font-size: 0.9rem;
  color: #7da84c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.result-link a:hover {
  color: #5a7938;
}

.no-results {
  font-size: 1rem;
  color: #a00;
  margin-top: 2rem;
}

.no-results a {
  color: #2c3e85;
  text-decoration: underline;
}

.no-results a:hover {
  color: #1f2a60;
}

/* --------------------------------------------
   Pagination Controls
-------------------------------------------- */
.search-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}

.page-info {
  font-size: 0.9rem;
  color: #555;
}

.pagination-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-links li {
  margin-left: 0.5rem;
}

.pagination-links a,
.pagination-links span.current {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 3px;
  color: #2c3e85;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination-links span.current {
  background-color: #2c3e85;
  color: #fff;
  font-weight: 700;
}

.pagination-links a:hover {
  background-color: rgba(44, 62, 133, 0.1);
  color: #1f2a60;
}

/* --------------------------------------------
   Responsive Tweaks
-------------------------------------------- */
@media (max-width: 600px) {
  .result-title {
    font-size: 1.25rem;
  }
  .search-pagination {
    flex-direction: column;
    align-items: flex-start;
  }
  .pagination-links {
    margin-top: 0.5rem;
  }
}

/*----------------------------------------------------------------------------*/
/* --------------------------------------------
   1. Container for Search Form
-------------------------------------------- */
.search {
  max-width: 600px;           /* Limit width for readability */
  margin: 2rem auto;          /* Center with vertical spacing */
  padding: 0 1rem;            /* Side padding on mobile */
  font-family: 'Barlow', sans-serif;
}

/* --------------------------------------------
   2. Fieldset & Layout
-------------------------------------------- */
.search fieldset {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: none;
}

/* --------------------------------------------
   3. Search Input
-------------------------------------------- */
.search__field {
  flex: 1;                    /* Take up all available horizontal space */
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;     /* Light gray border */
  border-radius: 4px 0 0 4px; /* Round only left corners */
  outline: none;
  transition: border-color 0.2s ease;
}

.search__field:focus {
  border-color: #2c3e85;      /* Deep blue on focus */
}

/* --------------------------------------------
   4. Submit Button
-------------------------------------------- */
.search button[type="submit"] {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #2c3e85;  /* Deep blue background */
  border: none;
  border-radius: 0 4px 4px 0; /* Round only right corners */
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search button[type="submit"]:hover {
  background-color: #1f2a60;  /* Darker blue on hover */
}

/* --------------------------------------------
   5. Error Message Styling
-------------------------------------------- */
.search em {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #a00;                /* Dark red for emphasis */
}

/* --------------------------------------------
   6. Responsive Tweaks
-------------------------------------------- */
@media (max-width: 480px) {
  .search__field {
    font-size: 0.95rem;
    padding: 0.65rem 0.85rem;
  }

  .search button[type="submit"] {
    font-size: 0.95rem;
    padding: 0.65rem 1rem;
  }
}
/* -------------------------------------------------------------------------- */
/* --------------------------------------------
   CONTACT SECTION (Wrapper + Titles)
-------------------------------------------- */
.contact-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: 'Barlow', sans-serif;
}

.contact-pretitle {
  text-align: center;
  color: #7da84c;        /* Green accent */
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.contact-title {
  text-align: center;
  color: #2c3e85;        /* Deep blue */
  font-size: 2.5rem;     /* ~40px */
  font-weight: 700;
  margin-bottom: 2rem;
  margin-top: 3rem;
}

/* --------------------------------------------
   CONTACT FORM LIST & ROWS
-------------------------------------------- */
.contact-form-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-form-list ul li{
    list-style:none;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* Two‐column on desktop */
.two-up .form-group {
  flex: 1;
  min-width: 48%;
  margin-right: 4%;
}

.two-up .form-group:last-child {
  margin-right: 0;
}

/* Full‐width rows (Subject, Message) */
.full-width .form-group {
  width: 100%;
}

/* Button row (Submit) */
.button-row {
  justify-content: center;
  margin-top: 2rem;
}

.contact-section form{
    margin-top: 5rem;
}

/* --------------------------------------------
   2. INPUT & TEXTAREA STYLES
-------------------------------------------- */
.form-group {
  position: relative;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #cccccc;  
  border-radius: 6px;
  outline: none;
  color: #333;                /* Dark gray */
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  margin-top:5px;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #1f2a60;      /* Darker blue on focus */
}

.form-textarea {
  min-height: 150px;
  resize: vertical;           /* Allow vertical resize */
}

.form-label{
    font-weight: 700;
    color: #3a3833;
}
.required-input {
  color: #d00;          /* Strong red, accessible */
  font-weight: 600;
  margin-left: 4px;
  font-size: 1rem;
}

label.freeform-required:after {content:"*";color:#d00;margin-left:5px;}


/* --------------------------------------------
   3. SUBMIT BUTTON (Green Pill)
-------------------------------------------- */
.btn.btn-green {
  background-color: #7da84c;  /* Green accent */
  color: #fff;                /* White text */
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;        /* Fully rounded ends */
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
  display: inline-block;
}

.btn.btn-green:hover {
  background-color: #5a7938;  /* Darker green on hover */
}

/* --------------------------------------------
   4. ERROR MESSAGES
-------------------------------------------- */
.alert.success {
  background-color: #e6f7e6;  /* Very light green */
  color: #2d6a2d;             /* Dark green text */
  border: 1px solid #a3d9a5;
  padding: 1rem;
  border-radius: 4px;
  margin: 1.5rem 0;
  text-align: center;
}

.alert.error {
  background-color: #f8d7da;  /* Light red background */
  color: #721c24;             /* Dark red text */
  border: 1px solid #f5c6cb;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.field-error {
  font-size: 0.9rem;
  color: #a00;                /* Dark red text */
  margin-top: 0.25rem;
  position: absolute;
  bottom: -1.25rem;
  left: 0;
}

/* --------------------------------------------
   5. RESPONSIVE TWEAKS
-------------------------------------------- */
@media (max-width: 768px) {
  .two-up .form-group {
    min-width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/* --------------------------------------------
   PAGE CONTENT STYLES
   (for <div class="page-copy">{page_content}</div>)
-------------------------------------------- */

.page-copy {
  max-width: 800px;           /* Limit line length for readability */
  margin: 2rem auto;          /* Center on page with vertical spacing */
  padding: 0 1rem;            /* Horizontal padding for mobile */
  font-family: 'Barlow', sans-serif;
  color: #333;                /* Dark gray body text */
  line-height: 1.6;           /* Comfortable line-height */
}

/* --------------------------------------------
   1. HEADINGS (h1, h2, h3, h4, etc.)
-------------------------------------------- */
.page-copy h1,
.page-copy h2,
.page-copy h3,
.page-copy h4,
.page-copy h5,
.page-copy h6 {
  color: #2c3e85;             /* Deep blue headings */
  margin-top: 2rem;           /* Space above each heading */
  margin-bottom: 1rem;        /* Space below each heading */
  font-weight: 700;           /* Bold text */
  line-height: 1.3;           /* Slightly tighter line-height for headings */
}

.page-copy h1 { font-size: 2.5rem; }   /* ~40px */
.page-copy h2 { font-size: 2rem; }     /* ~32px */
.page-copy h3 { font-size: 1.75rem; }  /* ~28px */
.page-copy h4 { font-size: 1.5rem; }   /* ~24px */
.page-copy h5 { font-size: 1.25rem; }  /* ~20px */
.page-copy h6 { font-size: 1rem; }     /* ~16px */

/* --------------------------------------------
   2. PARAGRAPHS
-------------------------------------------- */
.page-copy p {
  margin-bottom: 1.5rem;      /* Space between paragraphs */
  font-size: 1rem;            /* ~16px body text */
}

/* --------------------------------------------
   3. LINKS
-------------------------------------------- */
.page-copy a {
  color: #2c3e85;             /* Deep‐blue links */
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 62, 133, 0.5); /* Subtle underline */
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-copy a:hover {
  color: #1f2a60;             /* Darker blue on hover */
  border-color: #1f2a60;      /* Darker underline on hover */
}

/* --------------------------------------------
   4. LISTS (ul, ol)
-------------------------------------------- */
.page-copy ul,
.page-copy ol {
  margin-bottom: 1.5rem;      /* Space after lists */
  padding-left: 1.5rem;       /* Indent */
}

.page-copy li {
  margin-bottom: 0.5rem;      /* Space between items */
  font-size: 1rem;            /* ~16px */
}

/* --------------------------------------------
   5. BLOCKQUOTES
-------------------------------------------- */
.page-copy blockquote {
  margin: 1.5rem 2rem;
  padding: 1rem 1.5rem;
  border-left: 4px solid #7da84c;  /* Green accent bar */
  background-color: #f9f9f9;        /* Light gray background */
  font-style: italic;
  color: #555;
}

/* --------------------------------------------
   6. IMAGES
-------------------------------------------- */
.page-copy img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;           /* Center‐align images with vertical space */
  border-radius: 4px;           /* Slight rounding, optional */
}

.page-copy figure {
  margin: 2rem 0;
  text-align: center;
}

.page-copy figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;            /* Slightly smaller caption text */
  color: #666;                  /* Medium gray */
}

/* --------------------------------------------
   7. HORIZONTAL RULES (<hr>)
-------------------------------------------- */
.page-copy hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2rem 0;
}

/* --------------------------------------------
   8. TABLES (Optional, if your page_content includes tables)
-------------------------------------------- */
.page-copy table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.page-copy th,
.page-copy td {
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.95rem;
}

.page-copy th {
  background-color: #f4f4f4;
  font-weight: 600;
}

/* --------------------------------------------
   9. CODE BLOCKS & INLINE CODE (Optional)
-------------------------------------------- */
.page-copy pre {
  background-color: #f1f1f1;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.page-copy code {
  background-color: #f1f1f1;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: Menlo, Consolas, monospace;
  font-size: 0.95rem;
}

/* --------------------------------------------
   10. RESPONSIVE TWEAKS
-------------------------------------------- */
@media (max-width: 768px) {
  .page-copy {
    padding: 0 1.5rem;       /* Extra side padding on tablets */
  }
  .page-copy h1 { font-size: 2rem; }   /* ~32px on smaller screens */
  .page-copy h2 { font-size: 1.75rem; }/* ~28px */
  .page-copy h3 { font-size: 1.5rem; } /* ~24px */
}

/* -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Fixed to 4 columns on large screens */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}


.blog-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__category {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #79a13e;
  color: white;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  text-transform: uppercase;
}

.blog-card__content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__content h3 a{
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #4234a7;
  margin: 0 0 0.5rem;
}

.blog-card__content a {
  text-decoration: none;
  font-weight: 400;
  color: #79a13e;
  padding-top: 10px;
}

/* Tablet (2 columns) */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (1 column) */
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}


/* -------------------------------------------------------------------------- */
.blog-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: 'Barlow', sans-serif;
  color: #111;
  text-align: center;
}

.blog-article__image img {
  display: block;
  width: 45vw;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .blog-article__image img {
    width: 75vw; 
  }
}


.blog-article__heading .h1 {
  font-size: 2rem;
  color: #2c2480;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center !important;
}

.blog-article__categories {
  margin-bottom: 10px;
}

.blog-article__category {
  background-color: #79a13e;
  color: white;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 30px;
  display: inline-block;
  margin: 0 6px;
  text-transform: uppercase;
  font-weight: 600;
}

.blog-article__meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 40px;
}

.blog-article__content {
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1.05rem;
}

.blog-article__content h2,
.blog-article__content h3 {
  color: #2c2480;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-article__content p {
  margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------------------- */
/*related blog */
/* -------------------------------------------------------------------------- */

.related-blog-card__content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}


.related-blog {
  padding: 2rem 1rem;
  text-align: center;
  width: 55vw;
  margin: 0 auto;
}

.related-blog__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #2b226b;
}

.related-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.related-blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.related-blog-card .blog-card__image {
  width: 100%;
  overflow: hidden;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.related-blog-card .blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-blog-card .blog-card__image img {
  transition: transform 0.3s ease;
}

.related-blog-card:hover .blog-card__image img {
  transform: scale(1.02);
}


.related-blog-card__content {
  padding: 1rem 1.25rem 1.5rem;
  text-align: left;
}

.related-blog-card__content h3 {
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.related-blog-card__content h3 a {
  color: #4234a7;
  text-decoration: none;
}

.related-blog-card__content h3 a:hover {
  text-decoration: underline;
}

.related-blog-card__content .blog-card__readmore {
  color: #79a13e;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
}

.related-blog-card__content .blog-card__readmore:hover {
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* Text Content Fluid Field*/ 
/* -------------------------------------------------------------------------- */
.text-content {
  font-family: 'Barlow', sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #222;
  width: 100%;
  margin: 25px auto;
  padding: 0 1rem;
  text-align: left;
  width: 65vw;
}
@media (max-width: 1024px){
    .text-content{
        width: 95vw;
    }
}

.text-content img {
  display: block;
  width: 400px;
  max-width: 100%;
  height: auto;
  margin: 1rem 0;        /* vertical spacing, left-aligned */
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* Tweak on smaller screens */
@media (max-width: 768px) {
  
  .text-content img {
    width: 90vw; /* let it fill more of the screen on mobile */
  }
}

.text-content h1{
 color: #2c2480;
  font-weight: 600;
  margin: 2rem 0 1rem;
  text-align:left;
}

.text-content h2,
.text-content h3 {
  color: #2c2480;
  font-weight: 400;
  margin: 1rem 0 1rem;
  text-align:left;
  
}

.text-content h2{
    font-size: 2rem;
}

.text-content p {
  margin-bottom: 1.5rem;
}

.text-content ul,
.text-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}



.text-content blockquote {
  border-left: 4px solid #79a13e;
  background: #f8f8f8;
  padding: 1rem 1.5rem;
  font-style: italic;
  color: #444;
  margin: 2rem 0;
}

/* -------------------------------------------------------------------------- */
/* Patient Portal */ 
/* -------------------------------------------------------------------------- */
.patient-portal {
  padding: 5rem 1rem;
  background: #f8f9fa;
  text-align: center;
}

.patient-portal .container {
  max-width: 700px;
  margin: 0 auto;
}

.portal-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.portal-intro {
  font-size: 1.125rem;
  color: #555;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.portal-actions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 2rem;
}

.portal-btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 240px;
  text-align: center;
}

.portal-btn.primary {
  background-color: #79a13e;
  color: #fff;
}

.portal-btn.primary:hover {
  background-color: #658c31;
}

.portal-btn.secondary {
  background-color: #e0e0e0;
  color: #333;
}

.portal-btn.secondary:hover {
  background-color: #d5d5d5;
}

.portal-note {
  font-size: 0.95rem;
  color: #777;
}

/* -------------------------------------------------------------------------- */
/* Get Care Now */ 
/* -------------------------------------------------------------------------- */
.get-care {
  padding: 4rem 1rem;
  text-align: center;
}
.page-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.page-intro {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 2.5rem;
}
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.symptom-card {
  display: block;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.symptom-card:hover {
  background: #79a13e;
  color: #fff;
}

/* -------------------------------------------------------------------------- */
/* Plan Card */ 
/* -------------------------------------------------------------------------- */
/* ===== Plans Layout (Flex Version) ===== */
.plans-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem auto;
  padding: 0 1rem;
  max-width: 830px;
}

/* Default: desktop (3 per row) */
.plan-card {
    display: flex;
flex-direction: column;
  flex: 1 1 calc(33.333% - 1.5rem);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
}

/* Tablet: 2 per row */
@media (max-width: 900px) {
  .plan-card {
    flex: 1 1 calc(50% - 1.5rem);
  }
}

/* Mobile: 1 per row */
@media (max-width: 600px) {
  .plan-card {
    flex: 1 1 100%;
  }
}


.plan-title {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  color: #333;
}

.plan-subtitle {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #333;
}

.plan-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #79a13e;
  margin: 0.75rem 0;
}

.plan-price span {
  font-size: 0.9rem;
  color: #666;
}

.plan-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.25rem;
}

/* Push button to bottom */
.plan-button {
  margin-top: auto;             /* key */
  display: inline-block;
  background-color: #79a13e;
  color: #fff;
  padding: 0.8rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.plan-button:hover {
  background-color: #658732;
}



/*-------- business form --------------------*/ 
/*-------------------------------------------*/


.custom-freeform-business {
max-width: 720px;
margin: 0 auto;
padding: 20px;
}

/* Labels */
.custom-freeform-business label {
display: block;
font-weight: 600;
color: #333;
margin-bottom: 6px;
font-size: 0.9rem;
}

/* Inputs & Textareas */
.custom-freeform-business input[type="text"],
.custom-freeform-business input[type="phone"],
.custom-freeform-business input[type="email"],
.custom-freeform-business textarea,
.custom-freeform-business select {
width: 100%;
padding: 12px;
border: 1px solid #d3d3d3;
border-radius: 6px;
font-size: 15px;
box-sizing: border-box;
transition: border-color 0.25s ease, box-shadow 0.25s ease;
margin-bottom: 14px;
}

/* Better Select reset */
.custom-freeform-business select {
appearance: none;
background-color: #fff;
cursor: pointer;
}

/* Focus state */
.custom-freeform-business input:focus,
.custom-freeform-business textarea:focus,
.custom-freeform-business select:focus {
border-color: #4a8b2c;
outline: none;
box-shadow: 0 0 0 3px rgba(136,176,75,0.25);
}

/* Textarea */
.custom-freeform-business textarea {
min-height: 140px;
resize: vertical;
}

/* Button */
.custom-freeform-business button[type="submit"] {
background-color: #88b04b;
padding: 15px 22px;
font-size: 16px;
font-weight: 600;
border-radius: 999px;
text-transform: uppercase;
color: #fff;
border: none;
cursor: pointer;
width: 35%; 
margin-top: 10px;
}

.custom-freeform-business button[type="submit"]:hover {
background-color: #6a9036;
}

/* Reduce heavy spacing on mobile */
@media (max-width: 640px) {
.custom-freeform-business {
padding: 16px;
}

.custom-freeform-business input,
.custom-freeform-business textarea,
.custom-freeform-business select {
font-size: 16px; /* better for mobile keyboards */
}
}


.hero-video {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 420px;
    overflow: hidden;
}

.hero-video__media {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-video__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 2;
}

.hero-video__content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 650px;
    padding: 20px;
    margin-left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.hero-video__content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-video__content p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}



/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-video {
        height: 55vh;
    }

    .hero-video__content {
        text-align: center;
        margin-left: 0;
        width: 100%;
    }

    .hero-video__content h1 {
        font-size: 2rem;
    }
}
