/* ========================================================= ROOT VARIABLES ========================================================= */
body.site {
  --text-dark: #1a1a1a;
  --gray-light: #f9f9f9;
}

/* ========================================================= SHARED / GLOBAL UTILITIES ========================================================= */
.btn-primary {
  background-color: #243e58;
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.3s;
  border: none;
  display: inline-block;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  cursor: pointer;
  border: 2px solid #243e58;
}
.btn-primary:hover {
  background-color: #fff;
  color: #243e58 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  border: 2px solid #243e58;
}
.btn-primary--slide {
  margin: 20px;
}

/* ========================================================= HERO SLIDER SECTION ========================================================= */
/* ========================================================= HERO SLIDER SECTION ========================================================= */
.hero {
  position: relative; /* FIX: creates boundary for absolute children */
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.slider {
  position: relative; /* FIX: keeps absolute slides inside the box */
  overflow: hidden; /* extra insurance against bleed */
  height: 60vh; /* was 79vh — too tall */
  min-height: 380px; /* was 600px */
  max-height: 620px; /* prevents giant heights on large screens */
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 1s;
  display: block;
  color: #fff;
  overflow: hidden;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transition:
    opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}
/* outgoing slide stays visible/on top just long enough to crossfade smoothly */
.slide.leaving {
  opacity: 0;
  visibility: visible;
  z-index: 1;
  transition:
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.9s;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 7s ease-out;
}
/* subtle Ken Burns zoom while a slide is showing */
.slide.active img {
  transform: scale(1.08);
}

/* ---- Curtain transition (echoes "3dcurtain-horizontal") ----
   Image reveals outward from the center like a curtain opening. */
.slide.curtain-in img {
  animation: curtainReveal 1.1s cubic-bezier(0.65, 0, 0.35, 1) both;
}
@keyframes curtainReveal {
  from {
    clip-path: inset(0 50% 0 50%);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* ---- Zoom transition (echoes "slotzoom-horizontal") ----
   Image drops in from an oversized scale while fading up. */
.slide.zoom-in img {
  animation: zoomReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes zoomReveal {
  from {
    transform: scale(1.35);
    opacity: 0;
  }
  to {
    transform: scale(1.08);
    opacity: 1;
  }
}
.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
}
.hero .container-1200 {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  pointer-events: auto;
  text-align: center;
}
.slide-content > * {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-duration: 0.9s;
}
.slide.active .slide-content h1,
.slide.active .slide-content h2 {
  animation-name: heroTitleIn;
  animation-delay: 0.4s;
}
.slide.active .slide-content p {
  animation-name: heroTextIn;
  animation-delay: 1.2s;
}
.slide.active .slide-content .btn-primary {
  animation-name: heroBtnIn;
  animation-delay: 1.8s;
  animation-duration: 0.7s;
}
@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(45px) scale(0.98);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroBtnIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  z-index: 3;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}
.slider__nav svg {
  width: 30px;
  height: 30px;
  display: block;
}
/* .slider__nav:hover {
  background: rgba(255, 255, 255, 0.75);
} */
.slider__prev {
  left: 10px;
}
.slider__next {
  right: 10px;
}
.slide-content h2,
.slide-content h1 {
  color: #ffffff;
  text-shadow: rgba(0, 0, 0, 0.6) 2px 2px 8px;
  line-height: 1.15;
  margin: 0px;
  padding: 0px;
  font-weight: 700;
  font-size: clamp(24px, 6vw, 65px);
  white-space: normal;
  margin-bottom: 20px;
}
.slide-content p {
  color: #ffffff;
  text-shadow: rgba(0, 0, 0, 0.6) 2px 2px 4px;
  line-height: 1.4;
  margin: 0px 0px 20px;
  padding: 0px;
  font-weight: 400;
  font-size: clamp(16px, 2.2vw, 20px);
  white-space: normal;
  width: 100%;
}
@media (max-width: 1024px) {
  .slide-content {
    max-width: 600px;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .slider {
    height: 420px; /* was 450px */
    min-height: auto;
  }
  .slider__nav {
    top: auto;
    bottom: 60px;
    transform: none;
    padding: 6px 14px;
    font-size: 20px;
  }
  .slider__prev {
    left: 10px;
    display: none !important;
  }
  .slider__next {
    display: none !important;
    right: 10px;
  }
  .slide-content .btn-primary {
    padding: 12px 28px;
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .slider {
    height: 360px; /* was 380px */
    min-height: auto;
  }
  .hero .container-1200 {
    padding: 0 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .slide,
  .slide img,
  .slide-content > * {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ========================================================= WELCOME / ABOUT US SECTION ========================================================= */
.section {
  position: relative;
}
.section-lg {
  padding: 70px 0;
}

/* ---- Minimal grid utilities (in case Bootstrap's .row/.col-* aren't loaded) ---- */
.welcome-section .row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 80px;
}
.welcome-section .row.text-center {
  text-align: center;
  justify-content: center;
}
.welcome-section .col-md-12 {
  width: 100%;
}
.welcome-section .col-lg-8 {
  flex: 1 1 0;
  min-width: 0;
}
.welcome-section .col-lg-4 {
  flex: 0 0 320px;
  max-width: 320px;
}
@media (max-width: 991px) {
  .welcome-section .col-lg-8,
  .welcome-section .col-lg-4 {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .welcome-section .col-lg-4 {
    margin-top: 40px;
  }
}

/* ---- Section heading: "ABOUT US" + dash underline + intro paragraph ---- */
.welcome-section .main-heading {
  max-width: 760px;
  margin: 0 auto 50px;
}
.welcome-section .section-title-dash {
  position: relative;
  display: inline-block;
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dark, #1a1a1a);
}
.welcome-section .section-title-dash-bottom {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  display: block;
  width: 46px;
  height: 3px;
  background-color: #f4692b;
  border-radius: 2px;
}
.welcome-section .main-heading > p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #000;
}

/* ---- Excellence boxes (left column) ---- */
.welcome-section .about-list {
  padding: 26px 30px;
  margin-bottom: 22px;
  border-radius: 4px;
  background-color: #ffffff;
  border: 1px solid var(--header-green, #2e9e46);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.welcome-section .about-list:hover {
  background-color: #ffeee7;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.welcome-section .about-list h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--text-dark, #1a1a1a);
}
.welcome-section .about-list p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: #000;
}

/* ---- Offset framed images (right column) ---- */
.welcome-section .about-box-layout2 {
  position: relative;
  height: 100%;
}
.welcome-section .item-img {
  position: relative;
  padding-bottom: 70px; /* leaves room for the overlapping sub-image */
}
.welcome-section .main-img {
  border-radius: 4px;
  overflow: hidden;
}
.welcome-section .main-img img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.welcome-section .sub-img {
  position: absolute;
  left: -60px;
  bottom: -170px;
  width: 100%;
  border: 4px solid var(--header-green, #2e9e46);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  background: #fff;
  line-height: 0;
}
.welcome-section .sub-img img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.welcome-section .overlay-gallery {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
}
.welcome-section .sub-img:hover .overlay-gallery {
  background: rgba(0, 0, 0, 0.15);
}
@media (max-width: 1000px) {
  .welcome-section .sub-img {
    width: 43%;
    left: 0;
  }
}
@media (max-width: 768px) {
  .welcome-section .sub-img {
    width: 43%;
    left: -10px;
  }
  .welcome-section .main-img img {
    width: 65%;
  }
  .our-services-section {
    margin-top: 40px;
  }
}
@media (max-width: 640px) {
  .welcome-section .sub-img {
    left: -15px;
    width: 58%;
    bottom: -10px;
  }
  .welcome-section .about-list {
    padding: 22px 22px;
  }
}

/* ========================================================= OUR SERVICES SECTION ========================================================= */
.our-services-section__title {
  font-size: 42px;
  font-weight: 900;
  color: #243e58;
  margin: 10px 0;
  text-align: center;
}

.our-services-section__title span {
  color: #508ec2;
  font-size: 42px;
  font-weight: 900;
  margin: 10px 0;
  text-align: center;
}

.section-description {
  color: #000000;
  font-size: 16px;
  margin-bottom: 30px;
  text-align: center;
}
.our-services-section {
  background-color: var(--gray-light);
  padding: 60px 0 60px;
}
.our-services-section__title {
  text-align: center;
  color: #151515;
  font-size: 40px;
  font-weight: 700;
}
.srv-extra {
  display: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.service-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  aspect-ratio: 4 / 3.4;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease,
    opacity 0.35s ease;
  transform-origin: center;
}
.service-tile__img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  transition: transform 0.5s ease;
}
.service-tile__tooltip {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.4;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: normal;
  z-index: 5;
}
.service-tile:hover {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1.03);
  z-index: 10;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); */
}
.service-tile:hover .service-tile__img {
  transform: scale(1.02);
}
.service-tile:hover .service-tile__tooltip {
  opacity: 1;
  transform: translateY(0);
}
.services-cta {
  text-align: center;
}
@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-tile:hover {
    transform: scale(1.08);
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-grid:hover .service-tile {
    filter: none;
    opacity: 1;
  }
  .service-tile:hover {
    transform: none;
    box-shadow: none;
  }
  .service-tile__tooltip {
    display: none;
  }
}

/* ========================================================= WHY CHOOSE US SECTION ========================================================= */
.why-choose-section {
  background-color: #ffffff;
}
.why-choose-section .main-heading {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}
.why-choose-section .section-title-dashed {
  font-size: 42px;
  font-weight: 900;
  color: #243e58;
  margin: 10px 0;
  text-align: center;
}
/* .why-choose-section .section-title-dashed::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  display: block;
  width: 50px;
  height: 2px;
  background-image: repeating-linear-gradient(
    to right,
    #f4692b 0,
    #f4692b 8px,
    transparent 8px,
    transparent 14px
  );
} */
.why-choose-section .main-heading > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #000;
}

/* ---- Two-column layout ---- */
.why-choose-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ---- Left: green-bordered box ---- */
.why-box {
  border: 1px solid var(--header-green, #2e9e46);
  border-radius: 4px;
  padding: 36px;
}
.why-info {
  margin-bottom: 28px;
}
.why-info h3 {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark, #1a1a1a);
}
.why-info p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #000;
  max-width: 480px;
}
.why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature-item {
  padding: 22px;
  border-radius: 4px;
  background-color: var(--gray-light, #f9f9f9);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.feature-item:hover {
  background-color: #fdeae1;
  border: 1px solid var(--header-green, #2e9e46);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: #00ae44;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
}
.feature-item h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark, #1a1a1a);
}
.feature-item p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: #000;
}

/* ---- Right: peach stats panel ---- */
.stats-panel {
  height: 100%;
  padding: 20px;
  border-radius: 4px;
  background-color: #ffeee7;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stat-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 4px;
  background-color: #ffffff;
}
.stat-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-label {
  font-size: 15px;
  color: #000;
}
.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: #000;
}
.stat-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #00ae44;
}
.stat-icon svg {
  width: 100%;
  height: 100%;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  .why-box {
    padding: 28px;
  }
}
@media (max-width: 640px) {
  .why-features {
    grid-template-columns: 1fr;
  }
  .why-box {
    padding: 22px;
  }
  .why-info h3 {
    font-size: 22px;
  }
}

/* ========================================================= OUR OFFERS SECTION ========================================================= */
.offers-section {
  background-color: #ffffff;
}
.offers-section .main-heading {
  margin-bottom: 40px;
  text-align: center;
}
.offers-section .section-title-dashed {
  font-size: 42px;
  font-weight: 900;
  color: #243e58;
  margin: 10px 0;
  text-align: center;
}
/* .offers-section .section-title-dashed::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  display: block;
  width: 50px;
  height: 2px;
  background-image: repeating-linear-gradient(
    to right,
    #f4692b 0,
    #f4692b 8px,
    transparent 8px,
    transparent 14px
  );
} */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  /* aspect-ratio: 4 / 3.4; */
}
.offer-card__img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  transition: transform 0.5s ease;
}
.offer-card:hover .offer-card__img {
  transform: scale(1.06);
}
.offer-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.offer-card:hover .offer-card__overlay {
  opacity: 1;
}
.offer-card__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-dark, #1a1a1a);
}
@media (max-width: 991px) {
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }
  /* on touch devices hover doesn't apply well; keep the title always visible */
  /* .offer-card__overlay { opacity: 1; background-color: rgba(255, 255, 255, 0.85); } */
}

/* ========================================================= TESTIMONIAL SLIDER SECTION ========================================================= */
.testimonial-section {
  position: relative;
}
.testimonial-slider {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.testi-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 1s;
}
.testi-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transition:
    opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}
.testi-slide.leaving {
  opacity: 0;
  visibility: visible;
  z-index: 1;
  transition:
    opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.9s;
}
.testi-slide__media {
  position: relative;
  overflow: hidden;
}
.testi-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Orange panel with diagonal left edge ---- */
.testi-slide__panel {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #f4692b;
  padding: 60px 60px 60px 90px;
  margin-left: -82px;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}
.testi-slide__inner {
  max-width: 480px;
}
.testi-slide__inner .section-title-dash {
  position: relative;
  display: inline-block;
  margin: 0 0 34px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #ffffff;
}
.testi-slide__inner .section-title-dash-bottom {
  position: absolute;
  left: 0;
  bottom: -14px;
  display: block;
  width: 40px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
}
.testi-quote-mark {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 70px;
  line-height: 0.6;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}
.testi-quote-text {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: #ffffff;
}
.testi-quote-author {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 991px) {
  .testi-slide__panel {
    padding: 50px 40px;
  }
  .testi-slide__inner .section-title-dash {
    font-size: 22px;
  }
  .testi-quote-mark {
    font-size: 56px;
  }
}
@media (max-width: 767px) {
  .testimonial-slider {
    min-height: 0;
  }
  .testi-slide {
    position: relative;
    display: none;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .testi-slide.active {
    display: grid;
  }
  .testi-slide__media {
    height: 260px;
  }
  .testi-slide__panel {
    margin-left: 0;
    clip-path: none;
    padding: 40px 24px;
  }
  .testi-slide__inner {
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .testi-slide {
    transition: none !important;
  }
}

/* ========================================================= OUR BLOGS CAROUSEL SECTION ========================================================= */
.blogs-section {
  background-color: #ffffff;
}
.blogs-section .main-heading {
  margin-bottom: 40px;
}
.blogs-section .section-title-dashed::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  display: block;
  width: 50px;
  height: 2px;
  background-image: repeating-linear-gradient(
    to right,
    #f4692b 0,
    #f4692b 8px,
    transparent 8px,
    transparent 14px
  );
}
.blogs-carousel {
  position: relative;
  padding: 0 50px;
}
.blogs-carousel__viewport {
  overflow: hidden;
}
.blogs-carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.blogs-carousel__slide {
  flex: 0 0 calc((100% - 2 * 24px) / 3); /* 3 per row, 24px gaps */
  margin-right: 24px;
}
.blogs-carousel__slide:last-child {
  margin-right: 0;
}

/* ---- Card: image + button ---- */
.blog-card {
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
/* .blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12); } */
.blog-card__img {
  width: 100%;
  aspect-ratio: 4 / 2.85;
  object-fit: fill;
  display: block;
  border: 6px solid var(--header-green, #2e9e46);
  border-radius: 6px 6px 0 0;
  transition: transform 0.5s ease;
}
/* .blog-card:hover .blog-card__img { transform: scale(1.03); } */
.blog-card__footer {
  padding: 18px;
}
.blog-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.blog-btn--solid {
  background-color: var(--header-green, #2e9e46);
  color: #ffffff;
  /* border: 1px solid var(--header-green, #2e9e46); */
}
.blog-btn--solid:hover {
  background-color: #257c39;
  border-color: #257c39;
  color: #ffffff;
}
.blog-btn--outline {
  background-color: #f26522;
  border: 2px solid #f26522;
  color: #fff;
}
.blog-btn--outline:hover {
  background-color: transparent;
  border: 2px solid #2e9e46;
  color: #000;
}

/* ---- Carousel nav arrows ---- */
.blogs-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--header-green, #2e9e46);
  background: #ffffff;
  color: var(--header-green, #2e9e46);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.blogs-carousel__nav:hover {
  background: var(--header-green, #2e9e46);
  color: #ffffff;
}
.blogs-carousel__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.blogs-carousel__prev {
  left: 0;
}
.blogs-carousel__next {
  right: 0;
}

/* ---- Dots ---- */
.blogs-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.blogs-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--header-green, #2e9e46);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}
.blogs-carousel__dot.active {
  background-color: var(--header-green, #2e9e46);
  transform: scale(1.15);
}

/* ---- Responsive: cards per row ---- */
@media (max-width: 991px) {
  .blogs-carousel__slide {
    flex: 0 0 calc((100% - 24px) / 2); /* 2 per row */
  }
}
@media (max-width: 600px) {
  .blogs-carousel {
    padding: 0 40px;
  }
  .blogs-carousel__slide {
    flex: 0 0 100%; /* 1 per row */
  }
  .blogs-carousel__nav {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}

.marquee-item svg {
  width: 30px;
  height: 30px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5em;
  flex-shrink: 0;
}

.marquee-section {
  background: #508ec2;
  /* Your brand navy */
  padding: 20px 0;
  overflow: hidden;
  width: 100%;
  color: #ffffff;
  z-index: 10001;
}

.marquee-viewport {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.marquee-track {
  display: flex;
  gap: 60px;
  /* Space between items */
  animation: scroll 30s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  /* This forces the icon and text to stay in a single line */
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
  /* Prevents the icon from squishing */
}

.marquee-item span {
  color: #fff !important;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Moves halfway to loop perfectly */
}

/* Pause on hover for better UX */
.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

.offer-details {
  padding: 20px;
  text-align: center;
  background-color: #508ec2;
}

.offer-details h4 {
  font-size: 18px;
  font-weight: 800;
  color: #243e58;
  margin-bottom: 15px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ---- Image area with decorative side curves ---- */
.offer-card__visual {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

/* Decorative dark side curves */
.offer-card__visual::before,
.offer-card__visual::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 120px;
  background: #1e3a52; /* dark navy from your screenshot */
  border-radius: 0 50% 50% 0;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.offer-card__visual::before {
  left: -20px;
  border-radius: 0 50% 50% 0;
}

.offer-card__visual::after {
  right: -20px;
  border-radius: 50% 0 0 50%;
}

.offer-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* ---- Blue bottom details area ---- */
.offer-details {
  padding: 20px;
  text-align: center;
  background-color: #508ec2;
  color: #fff;
}

.offer-details h4 {
  margin: 0 0 12px 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000; /* black title on blue background per your screenshot */
  line-height: 1.3;
}

.offer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.5px;
}

.offer-cta svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.offer-card:hover .offer-cta svg {
  transform: translateX(3px);
}
