/* Remove default margin and padding */
body {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  background-color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}



/* Ensure header is transparent to avoid white space above the logo section */
header,
.site-header {
  background: transparent !important;
  margin: 0;
  padding: 0;
}


/* Full-width background for logo section */
.logo-background {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/wp-content/themes/tdc-theme/assets/images/resized/hero.webp') no-repeat center center;
  background-size: cover;
  margin-bottom: 0;
  /* Remove extra bottom margin */
  padding-bottom: 1px;
  /* Small padding to prevent margin collapse */
}

/* Interactive Logo Section */
.interactive-logo-section {
  width: 500px;
  height: 524px;
  margin: 0;
  /* reset centering */
  margin-left: auto;
  /* push it all the way to the right */
}

.logo-container {
  position: relative;
  width: 500px;
  height: 524px;
  animation: swooshInSpin 1.5s ease-out forwards;
}

.logo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-in-out;
  z-index: 1;
}


.enlarge {
  transform: scale(1.1);
  z-index: 10;
}

.image-map-helper {
  position: absolute;
  top: 0;
  left: 0;
  width: 500px;
  height: 524px;
  opacity: 0;
  z-index: 100;
}

@keyframes swooshInSpin {
  from {
    transform: translateY(-100px) scale(0.8) rotate(-360deg);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }
}



/* New container for title and logo */
.logo-header {
  display: flex;
  justify-content: space-between;
  /* Changed to space-between to push title to the left */
  align-items: center;
  padding: 40px 0;
  /* Adjust vertical spacing as needed */
}

/* Updated Title Styling */
.logo-title {
  margin-right: 40px;
  /* Maintain gap between text and logo */
  margin-left: 0;
  /* Remove left margin to touch the window edge */
  text-align: left;
  /* Align text to the left */
}

/* Title Styling */
.logo-title h1 {
  font-size: 3.5rem;
  /* Adjust as needed */
  font-weight: 800;
  /* Bolder font weight */
  color: #fff;
  /* White color for contrast on dark backgrounds */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  /* Optional: adds depth */
  opacity: 0;
  /* Start invisible and animate in */
  transform: translateY(-20px);
  animation: fadeInTitle 2s ease-out forwards;
  animation-delay: 0.5s;
  /* Delay optional for staggered effect */
  margin: 0;
  /* Remove default margins */
}

/* Call-to-Action Buttons */
.cta-buttons {
  margin-top: 20px;
  /* Space between title and buttons */
  display: flex;
  gap: 15px;
  /* Space between buttons */
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #007bff;
  /* Primary blue color, adjust as needed */
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #0056b3;
  /* Darker shade on hover */
  transform: translateY(-2px);
}


/* Keyframes for the fade-in animation */
@keyframes fadeInTitle {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustment (stack columns on smaller screens) */
@media (max-width: 768px) {
  .logo-header {
    flex-direction: column;
    text-align: center;
  }

  .logo-title,
  .interactive-logo-section {
    margin-bottom: 20px;
  }

  .logo-title {
    text-align: center;
    /* Center title on mobile for better appearance */
  }

  .cta-buttons {
    justify-content: center;
    /* Center buttons on mobile */
  }
}




/* ----------------------------
   BUTTON STYLING
----------------------------- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  /* Increased padding for larger button */
  background-color: #002147;
  color: #fff;
  border: 2px solid #002147;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.25rem;
  /* Increased font size */
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
  background-color: #ffcc00;
  color: #002147;
  transform: scale(1.1);
  /* Slightly larger scale on hover */
}

/* ----------------------------
   FADE-IN ANIMATION
----------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------
  FULL-WIDTH BANNER
----------------------------- */
.full-width-banner {
  position: relative;
  width: 100%;
  height: 500px;
  /* Increased height for a more immersive feel */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-width-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) brightness(0.5);
  /* Blur and fade effect */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.banner-text {
  font-size: 4rem;
  /* Increased font size */
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
  line-height: 1.2;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.banner-subtext {
  font-size: 3rem;
  /* Slightly smaller than the h1 banner text */
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  /* Subtle shadow for depth */
  margin-top: -1rem;
  /* Adjust spacing as needed */
  line-height: 1.4;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.banner-buttons {
  display: flex;
  justify-content: space-around;
  /* Spread buttons out */
  gap: 32px;
  /* Increased spacing for better proportion */
  flex-wrap: wrap;
}

.banner-button {
  padding: 36px 60px;
  /* Larger padding for bigger buttons */
  font-size: 2rem;
  /* Increased font size for better visibility */
  background-color: #ffcc00;
  color: #002147;
  border: none;
  border-radius: 10px;
  /* Slightly larger border radius for a smoother look */
  text-transform: uppercase;
  font-weight: bold;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.banner-button:hover {
  background-color: #002147;
  color: #ffcc00;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .banner-text {
    font-size: 2rem;
    /* Adjusted for smaller screens */
  }

  .banner-subtext {
    font-size: 1.7rem;
    /* Adjusted for smaller screens */
  }

  .banner-button {
    padding: 18px 28px;
    /* Adjusted for smaller screens */
    font-size: 1.3rem;
    /* Adjusted font size */
  }

  .full-width-banner {
    height: 500px;
  }
}

/* ----------------------------
   FEATURES SECTION
----------------------------- */

/* 1) Section wrapper – identical to #howto-win */
#features {
  padding: 0 20px 80px;
  background-color: #f8f8f8;
}

/* 2) Header & intro – mirrored from .howto-header */
#features .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

#features .section-header h2 {
  font-size: 3rem;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 600;
}

#features .section-header .intro {
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* 3) Auto-wrapping grid – like your howto-block but fluid */
#features .features-grid-content {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  position: relative;
  /* Ensure the container is positioned */
  z-index: 0;
  /* Set a base z-index for the container */
}

/* 4) Feature cards – borrow the white-box style of .howto-content */
#features .feature-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  /* Added shadow */
  padding: 2rem 1.5rem;
  text-decoration: none;
  /* Remove underline from links */
  color: inherit;
  /* Inherit text color */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  z-index: 1;
  /* Ensure cards are above the container */
  margin-top: -25px;
  /* Lift the cards slightly above the container */
}

#features .feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  /* Enhanced shadow on hover */
}

/* Ensure the text and images inside the card are styled properly */
#features .feature-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 1rem;
}

#features .feature-item h3 {
  margin-top: 20px;
  font-size: 2rem;
  color: #000000;
  text-align: center;
  margin-bottom: 0.75rem;
}

#features .feature-item p {
  font-size: 1.2rem;
  color: #555;
  text-align: center;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Accent color variables per card */
#features .feature-item:nth-child(1) {
  --accent: #e74c3c;
}

/* red */
#features .feature-item:nth-child(2) {
  --accent: #f1c40f;
}

/* yellow */
#features .feature-item:nth-child(3) {
  --accent: #3498db;
}

/* blue */
#features .feature-item:nth-child(4) {
  --accent: #2ecc71;
}

/* green */

/* Pulse keyframes for the accent circle */
@keyframes pulse {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.2;
  }

  50% {
    transform: translateX(-50%) scale(1.15);
    opacity: 0.3;
  }
}

/* Accent circle behind the icon, now using var(--accent) + animation */
#features .feature-item::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--accent);
  opacity: 0.2;
  z-index: 0;
  animation: pulse 4s ease-in-out infinite;
}

/* Card hover: lift + colored glow */
#features .feature-item:hover {
  transform: translateY(-8px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.08),
    0 0 0 6px var(--accent, transparent);
}

/* ─── CLEAN ACCENT ANIMATION FOR FEATURES ───────────────────────── */

/* 1) Define per-card accent colors */
#features .feature-item:nth-child(1) {
  --accent: #e74c3c;
}

/* red */
#features .feature-item:nth-child(2) {
  --accent: #f1c40f;
}

/* yellow */
#features .feature-item:nth-child(3) {
  --accent: #3498db;
}

/* blue */
#features .feature-item:nth-child(4) {
  --accent: #2ecc71;
}

/* green */



/* 3) Single ::before for the circle */
#features .feature-item {
  position: relative;
  /* ensure pseudo is positioned correctly */
  /* remove any previous transform here if present */
}

#features .feature-item::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--accent);
  opacity: 0.15;
  z-index: 0;
  animation: pulse-scale 3s ease-in-out infinite;
}

/* 4) Hover glow + subtle lift */
#features .feature-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.08),
    0 0 0 4px var(--accent);
}



/* ─── GREEN COMMITMENT (Split-Screen w/ 4-Colour Accents) ───────────────── */

/* 1) Section wrapper (fills container) */
#green-commitment {
  padding: 80px 20px 80px;
  background: linear-gradient(to bottom, #fff, #f9fafb);
  box-sizing: border-box;
}

/* 2) Header & intro */
#green-commitment .section-header {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 40px;
}

#green-commitment .section-header h2 {
  font-size: 3rem;
  color: #000;
  /* neutral black */
  margin-bottom: 10px;
  font-weight: 600;
}

#green-commitment .section-header .intro {
  font-size: 1.4rem;
  color: #555;
  line-height: 1.4;
}

/* 3) Two-column grid */
#green-commitment .green-grid-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
  position: relative;
}

/* 4) Decorative stripe (optional) */
#green-commitment .green-grid-content::before {
  content: '';
  position: absolute;
  right: 50%;
  top: 15%;
  width: 6px;
  height: 70%;
  background: #e0e0e0;
  /* neutral gray */
  transform: translateX(50%);
  border-radius: 4px;
  z-index: 0;
}

/* 5) CARD 1: Full-cell image */
#green-commitment .green-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding: 0;
  box-shadow: none;
  background: none;
}

#green-commitment .green-card:nth-child(1) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* 6) CARD 2: Health stats container */
#green-commitment .green-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  background: #fff;
  border-radius: 8px;
  padding-top: 100px !important;
  /* Ensure it overrides other styles */
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
}

/* 7) Stats grid */
#green-commitment .health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 20px;
}

/* 8) Accent colours per stat */
#green-commitment .health-item:nth-child(1) {
  --accent: #e74c3c;
}

/* red */
#green-commitment .health-item:nth-child(2) {
  --accent: #2ecc71;
}

/* green */
#green-commitment .health-item:nth-child(3) {
  --accent: #f1c40f;
}

/* yellow */
#green-commitment .health-item:nth-child(4) {
  --accent: #3498db;
}

/* blue */

/* 9) Health-item base */
#green-commitment .health-item {
  position: relative;
  text-align: center;
  overflow: visible;
}

/* 10) Accent circle behind each counter */
#green-commitment .health-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--accent);
  opacity: 0.15;
  z-index: 0;
}

/* 11) Counter styling */
#green-commitment .counter {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  color: var(--accent);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

#green-commitment .health-item p {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
  color: #555;
}

/* 12) CARD 3: Env groups with side-by-side layout */
#green-commitment .green-card:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
  margin-top: -40px;
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  display: flex;
  /* Use flexbox for side-by-side layout */
  gap: 20px;
  /* Add spacing between groups */
}

#green-commitment .env-group {
  flex: 1;
  /* Ensure groups take equal space */
}

#green-commitment .env-group h4 {
  font-size: 1.5rem;
  color: #000;
  /* neutral black */
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

#green-commitment .env-facts {
  list-style: none;
  padding: 0;
  margin: 0;
}

#green-commitment .env-facts li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #555;
  line-height: 1.4;
}

#green-commitment .env-facts li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #000;
  /* neutral black */
  font-weight: bold;
}

/* 13) Responsive: single-column under 768px */
@media (max-width: 768px) {
  #green-commitment {
    padding: 60px 10px;
  }

  #green-commitment .green-grid-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 25px;
  }

  #green-commitment .green-card:nth-child(1),
  #green-commitment .green-card:nth-child(3) {
    margin-top: 0;
  }

  #green-commitment .green-card:nth-child(3) {
    display: block;
    /* Revert to block layout for smaller screens */
  }

  #green-commitment .green-grid-content::before {
    display: none;
  }
}


/* ─── SERVICES OFFERED SECTION ─────────────────────────────────────────── */
/* Section padding & header */
#services-offered {
  padding: 80px 20px 80px;
  background-color: #f0f0f0;
  /* Light but darker grey background */
}

#services-offered .section-header {
  text-align: center;
  margin-bottom: 3rem;

}

#services-offered .section-header h2 {
  font-size: 3rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 0.75rem;
}

#services-offered .section-header .intro {
  font-size: 1.5rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Services grid */
.services-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 cards in a row */
  gap: 5px;
  /* Small gap between cards */
  max-width: 100%;
  /* Full width */
  margin: 0 auto 40px;
  padding: 0;
  list-style: none;
}

/* Individual card */
.services-list li {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Accent borders (retain your coloring) */
.services-list a:nth-child(1) li {
  border-left: 4px solid #ff0000;
  background: rgba(255, 0, 0, 0.03);
}

.services-list a:nth-child(2) li {
  border-left: 4px solid #ffcc00;
  background: rgba(255, 206, 0, 0.03);
}

.services-list a:nth-child(3) li {
  border-left: 4px solid #007bff;
  background: rgba(0, 123, 255, 0.03);
}

.services-list a:nth-child(4) li {
  border-left: 4px solid #28a745;
  background: rgba(40, 167, 69, 0.03);
}
/* Service icon */
.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.service-icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* Title & description */
.services-list strong {
  font-size: 1.4rem;
  font-weight: 600;
  color: #002147;
  margin-bottom: 0.75rem;
}

.services-list p {
  font-size: 1.25rem;
  color: #444;
  flex-grow: 1;
  line-height: 1.4;
}

/* CTA buttons */
.services-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.services-cta .btn {
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

.btn-secondary {
  font-size: 1.1rem;
}

/* Responsive: stack cards on smaller screens */
@media (max-width: 768px) {
  .services-list {
    grid-template-columns: 1fr;
    /* Stack cards vertically */
    gap: 20px;
  }
}

/* Ensure the links wrap the entire list item */
.services-list a {
  text-decoration: none; /* Remove underline from links */
  display: block; /* Make the link cover the entire list item */
  color: inherit; /* Inherit text color */
}

/* Ensure the list items remain styled correctly */
.services-list li {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/*── Animations ─────────────────────────────────────────────────────────────*/
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
}


/* ─── Google Reviews (Carousel) ────────────────────────────────────────── */

/* 1) Full-width background & padding */
#google-reviews {
  width: 100%;
  padding: 4rem 1.5rem;
  background: linear-gradient(to bottom, #fff, #f9fafb);
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent horizontal overflow of the container itself */
}


/* 4) Each card: fixed width, snap point, padding, shadow */
#google-reviews .ti-review-item {
  flex: 0 0 calc(100% - 2rem); /* Make items responsive */
  min-width: 600px !important;
  max-width: 600px !important;
  padding: 2rem !important;
  background: #fff !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* 5) Reviewer name & date */
#google-reviews .ti-review-item .ti-name {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.25rem !important;
}

#google-reviews .ti-review-item .ti-date {
  font-size: 1rem !important;
  color: #6b7280 !important;
  margin-bottom: 1rem !important;
}

/* 7) Body text: larger & 5-line clamp */
#google-reviews .ti-review-item .ti-review-text {
  font-size: 1.7rem !important;
  line-height: 1.6 !important;
  margin-bottom: 0.5rem !important;
}

#google-reviews h1 {
  font-size: 3rem;
  /* Adjust font size as needed */
  color: #000000;
  /* Dark blue color */
  text-align: center;
  /* Center align the text */
  margin-bottom: 2rem;
  /* Add spacing below the heading */
  text-transform: uppercase;
  /* Optional: make text uppercase */
  letter-spacing: 1px;
  /* Add slight spacing between letters */
}
/* 1) Make each card width relative so the container’s scrollWidth truly grows */
#google-reviews .ti-review-item {
  /* At normal zoom: 400px; at extreme zoom-out: 30% of container; never above 600px */
  flex: 0 0 clamp(400px, 30%, 600px) !important;
  scroll-snap-align: start !important;
}

/* 2) Remove any right-side padding hack you’ve tried before */
#google-reviews .ti-widget-container {
  padding-right: 0 !important;
}

/* 3) Ensure the scroll container still scrolls freely */
#google-reviews .ti-widget-container {
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  display: flex !important;
  gap: 2rem !important;
}
/* Responsive design for Google Reviews */
@media (max-width: 768px) {
  #google-reviews .ti-widget-container {
    flex-direction: column !important;
    gap: 1.5rem !important;
    overflow-x: visible !important;
  }

  #google-reviews .ti-review-item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 1.5rem !important;
  }

  #google-reviews h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  #google-reviews .ti-review-item .ti-review-text {
    font-size: 1.4rem !important;
    line-height: 1.4 !important;
  }

  #google-reviews .ti-review-item .ti-name {
    font-size: 1rem !important;
  }

  #google-reviews .ti-review-item .ti-date {
    font-size: 0.9rem !important;
  }
}


/* ------- Main partners section container -------- */
.partners-strip {
  position: relative;
  overflow: hidden;
  background-color: #f0f0f0;
  /* Light gray background */
  padding: 2rem 0 4rem;
  /* Increased bottom padding */
}

/* Carousel container */
.partners-carousel {
  max-width: 80rem;
  /* 1280px max width */
  margin: 0 auto;
  padding: 0 1.5rem;
  /* Left and right padding */
}

/* Track containing partner logos */
.partners-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  /* 32px gap between logos */
  animation: scroll 20s linear infinite;
  /* Autoplay animation */
}

/* Individual logo styling */
.partners-track img {
  flex-shrink: 0;
  width: 350px;
  height: 200px;
  object-fit: contain;
  background-color: white;
  border-radius: 0.5rem;
  /* 8px border radius */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  /* Light shadow */
  border: 1px solid #f3f4f6;
  /* Light gray border */
  transition: all 0.3s ease;
}

/* Hover effect for logos */
.partners-track img:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Deeper shadow */
}

/* Left gradient overlay for fade effect */
.partners-strip::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5rem;
  /* 80px */
  height: 100%;
  background: linear-gradient(to right, #f9fafb, transparent);
  pointer-events: none;
  z-index: 10;
}

/* Right gradient overlay for fade effect */
.partners-strip::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 5rem;
  /* 80px */
  height: 100%;
  background: linear-gradient(to left, #f9fafb, transparent);
  pointer-events: none;
  z-index: 10;
}

/* Animation for continuous scrolling */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
    /* Assumes duplicated content for seamless loop */
  }
}

.partners-strip h1 {
  font-size: 3rem;
  /* Adjust font size as needed */
  color: #000000;
  /* Dark blue color */
  text-align: center;
  /* Center align the text */
  margin-bottom: 2rem;
  /* Add spacing below the heading */
  text-transform: uppercase;
  /* Optional: make text uppercase */
  letter-spacing: 1px;
  /* Add slight spacing between letters */
}


/* Responsive design adjustments */
@media (max-width: 768px) {
  .partners-track {
    gap: 1rem;
    /* Smaller gap on mobile */
  }
  .partners-strip h1 {
    font-size: 2rem;
    /* Adjust font size for smaller screens */
    margin-bottom: 1.5rem;
    /* Reduce spacing below the heading */
  }
  

  .partners-track img {
    width: 100px;
    /* Smaller logo size on mobile */
    height: 50px;
  }
}

/* General button styling */
button,
.btn,
.cta-button,
.banner-button {
  background-color: #007bff;
  /* Primary blue color */
  color: #fff;
  /* White font color */
  border: none;
  /* Remove borders */
  text-decoration: none;
  /* Remove underline for links styled as buttons */
  font-weight: bold;
  /* Make text bold */
  transition: background-color 0.3s ease, transform 0.2s ease;
  /* Smooth transitions */
}

button:hover,
.btn:hover,
.cta-button:hover,
.banner-button:hover {
  background-color: #0056b3;
  /* Darker blue on hover */
  color: #fff;
  /* Ensure font color stays white */
  transform: translateY(-2px);
  /* Slight lift effect on hover */
}