.terms-section {
margin-top: 150px;
 
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.terms-card {
  /* background: linear-gradient(to right, #ffffff, #f3f3f3); */
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
  color: white;
  box-shadow: 0 8px 20px rgba(246, 246, 246, 0.97);
}

.terms-card h2 {
  font-weight: 700;
  color: white;
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
}

.term-item {
  background: linear-gradient(rgba(24, 44, 46, 0.7), rgba(0, 0, 0, 0.7));

  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.term-item:hover {
  transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(246, 246, 246, 0.97);
}

.term-item h4 {
 color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.term-item p {
  font-size: 15px;
  line-height: 1.6;
}

/* Contact link styling */
.contact-link {
  text-align: center;
  margin-top: 20px;
}

.contact-link a {
  color: rgb(4, 213, 245);
  font-weight: bold;

}

.contact-link a:hover {
color: #fff;
}

/* Animation effects */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }
.delay-6 { animation-delay: 1.2s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}



/* Scroll wrapper hides overflow */
.scroll-wrapper {
  overflow: hidden;
  position: relative;
}

/* Flex container scrolls left */
.card-container {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scroll-loop 30s linear infinite;
}

/* Animation for infinite left scroll */
@keyframes scroll-loop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Card Styling */
.scroll-card {
  
  position: relative;
  flex: 0 0 auto;
  width: 230px;
  height: 150px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);

}
      
/* Zoom on hover */
.scroll-card:hover {
  transform: scale(1.05);
}

/* Overlay for text reveal */
.card-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  opacity: 0;
  padding: 1rem;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}



/* Show overlay on hover */

.scroll-card:hover .card-overlay {
  opacity: 1;
}

/* Text styles */
.card-overlay h5 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.card-overlay p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.card-overlay a {
  color: #fff;
  text-decoration: underline;
}

/* Optional: pause animation on hover */
.scroll-wrapper:hover .card-container {
  animation-play-state: paused;
}

/* Brand Section Styling */
#brand-showcase {
  padding: 60px 20px;
  text-align: center;
  background: none; /* no background */
}

#brand-showcase .brand-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: #222;
}

#brand-showcase .brand-container {
  max-width: 1200px;
  margin: auto;
}

#brand-showcase .brand-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Increased from 200px to 250px */
  gap: 30px;
  align-items: center;
  justify-items: center;
}

#brand-showcase .brand-logos img {
  max-width: 180px; /* Increased from 120px to 180px */
  height: auto; /* Maintains aspect ratio */
  transition: transform 0.3s ease, filter 0.3s ease;
}

#brand-showcase .brand-logos img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}