
/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: #333;
  font-family: "Nunito Sans", sans-serif;
}

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

h1,
h2,
h3,
h4 {
  margin-bottom: 15px;
  font-family: "Montserrat", sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Updated h2 style with centered green underline */
h2 {
  font-size: 2.7rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: #333;
  margin-bottom: 2.5rem;
  position: relative;
  text-align: center;
  padding-bottom: 15px;
  white-space: normal !important;
}

h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #4ad385;
}

/* Section heading alignment for specific sections */
.section-with-centered-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Multi-color heading effect */
h1 span.blue-text,
h2 span.blue-text,
h3 span.blue-text,
h4 span.blue-text {
  color: #3eb6ff;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

p {
  margin-bottom: 20px;
  color: #333;
}

.subheadline {
  font-size: 1.25rem;
  color: #252525;
  margin-bottom: 1rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero {
  background: linear-gradient(to right, #2e2e2e, #434343); /* modern gradient */
}

/* Hero subheadline specific style */
.hero .subheadline {
  font-size: 1.6rem;
  color: white;
  font-weight: 400;
  margin-bottom: 2.5rem;
  text-transform: none;
  text-align: center;
}

.btn {
  display: inline-block;
  margin: 8px 0px 0px;
  padding: 12px 30px;
  border-radius: 34px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  background-color: #4ad385;
  color: black;
  border: none;
  font-family: "Lato", sans-serif;
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: #4ad385;
  color: white;
}

section {
  padding: 80px 0;
}

.bg-white {
  background-color: white;
  color: #333;
}
.bg-light-gray {
  background-color: #f7f7f7;
  color: #333;
}

.bg-white .grid-item,
.bg-white .testimonial {
  background-color: #f7f7f7;
  color: #333;
}
.bg-light-gray .grid-item,
.bg-light-gray .testimonial {
  background-color: white;
  color: #333;
}
.bg-light-gray .contact-form {
  background-color: white;
  color: #333;
}
.bg-white .contact-form {
  background-color: #f7f7f7;
  color: #333;
}

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

header {
  background-color: white;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
}

.header-phone {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* WhatsApp Icon Styles */
.whatsapp-icon {
  color: #25d366;
  margin-right: 8px;
  font-size: 1.1rem;
  vertical-align: middle;
}

/* White WhatsApp icon specifically for the hero button */
.hero-buttons .whatsapp-icon {
  color: black !important;
}

/* Black WhatsApp icon for specific sections */
.cta-break .whatsapp-icon {
  color: black !important;
}

/* Update header phone style */
.header-phone {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  display: inline-flex;
  align-items: center;
}

/* Make phone numbers look clickable */
.phone-link {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.phone-link:hover {
  color: #4ad385;
}

/* Updated Hero Section */

.hero {
  background-image: url("/api/placeholder/1600/800");
  background-color: #555;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 200px 0 120px;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  text-align: center;
}

.hero-content {
  flex-direction: column !important;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

/* Two Column Layout with centered heading */
.two-column-with-centered-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.two-column {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.column {
  flex: 1;
}

/* Video Container */
.video-container {
  position: relative;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container iframe,
.video-container video {
  width: 100%;
  max-width: 640px;
  height: 360px;
  border: none;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(51, 51, 51, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.play-button:hover {
  background-color: #555;
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
  color: white;
  font-size: 32px;
  margin-left: 6px;
}

/* Feature List with Icon Boxes */
.feature-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.feature-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-direction: row;
}

.feature-list li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #4ad385;
  border-radius: 50%;
  color: black;
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}

/* ====== Partnerships Section Updates ====== */
.feature-list.horizontal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 100% !important;
  margin: 30px auto !important;
}

.feature-list.horizontal li {
  flex-direction: row;
  margin-bottom: 0 !important;
  align-items: center;
  background: #ffffff;
  padding: 12px 20px;
  border-radius: 30px;
}

.feature-list li i {
  width: 48px; /* Increased by 20% */
  height: 48px;
  font-size: 22px;
  background-color: #4ad385;
}

/* ===== Blue Icons Update ====== */
#product-highlights .grid-item i,
#dealer-benefits .grid-items i,
#industry-segments .grid-item i {
  color: #3eb6ff !important;
}

/* ===== Sector Cards Clickable ===== */
#industry-segments .grid-item {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

#industry-segments .grid-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

#industry-segments .grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Section-specific adjustments */
#why-choose .two-column .column:last-child .subheadline {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  margin-bottom: 15px;
}

#built-for-resellers .two-column .column:first-child .subheadline {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  margin-bottom: 15px;
}

/* ✅ Fix for center-aligning the misaligned subheadline */
#built-for-resellers .subheadline {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

/* Popup modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 30px;
  border-radius: 8px;
  width: 350px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.modal-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #4ad385;
  color: black;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modal-btn:hover {
  background-color: #4ad385;
  color: white;
}

.modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Blue icons for dealer benefits section */
#dealer-benefits .grid-item i {
  color: #3eb6ff !important;
}

/* Updated Contact Form Styles */
.contact-form {
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-form h3 {
  font-size: 1.7rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.contact-form h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #4ad385;
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 14px;
  color: #333;
  font-family: "Nunito Sans", Arial, sans-serif;
  background-color: #f9f9f9;
}

.form-control::placeholder {
  color: #888;
}

.form-control:focus {
  outline: none;
  border-color: #4ad385;
  box-shadow: 0 0 0 3px rgba(74, 211, 133, 0.2);
}

.form-submit {
  text-align: center;
  margin-top: 15px;
}

.cta-break {
  background-color: #f5f3f3;
  color: white;
  padding: 60px 0;
  text-align: center;
}

.cta-break h2 {
  color: #333333;
  font-size: 2.7rem;
  font-weight: 500;
  letter-spacing: normal;
}

.cta-break .subheadline {
  color: rgba(44, 44, 44, 0.8);
}

.four-column-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.grid-item {
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s ease;
  text-align: center;
}

.grid-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.grid-item i {
  font-size: 36px;
  /* color: #555; */
  margin-bottom: 20px;
}

.grid-item h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* partner logos */
.partners-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 40px 0;
  margin: 0 auto;
  max-width: 1200px;
}

.partners-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll-logos 25s linear infinite;
}

.partner-card {
  width: 280px; /* Larger card size */
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  /* transition: all 0.4s ease; */
  /* margin: 0 10px; */
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.partner-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* filter: grayscale(100%); */
  opacity: 0.85;
  transition: all 0.4s ease;
}

.partner-card:hover img {
  opacity: 1;
}

/* Gradient fade effects */
.partners-container::before,
.partners-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.partners-container::before {
  left: 0;
  background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
}

.partners-container::after {
  right: 0;
  background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
}

/* Animation with pauses */
@keyframes scroll {
  0%,
  16% {
    transform: translateX(0);
  }
  20%,
  36% {
    transform: translateX(calc(-280px * 1));
  } /* card width + gap */
  40%,
  56% {
    transform: translateX(calc(-280px * 2));
  }
  60%,
  76% {
    transform: translateX(calc(-280px * 3));
  }
  80%,
  96% {
    transform: translateX(calc(-280px * 4));
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partners-container:hover .partners-track {
  animation-play-state: paused;
}

.partner-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* filter: grayscale(100%); */
  opacity: 0.8;
  transition: all 0.3s ease;
}

.partner-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partners-wrapper:hover .partners-slide-track {
  animation-play-state: paused;
}

/* Add this to make sure the carousel is centered */
.partners-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  /* display: flex;
            justify-content: center; */
}

/* Add gradient fade effects on sides */
.partners-wrapper::before,
.partners-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.partners-wrapper::before {
  left: 0;
  background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
}

.partners-wrapper::after {
  right: 0;
  background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-140px * 6 - 40px * 5)
    ); /* Adjust based on half the items */
  }
}

/* Pause animation on hover */
.partner-logos-container:hover .partner-logos-track {
  animation-play-state: paused;
}

.testimonial-slider {
  margin: 40px auto;
  max-width: 800px;
}

.testimonial {
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  position: relative;
}

.testimonial:before {
  content: '"';
  font-size: 120px;
  color: rgba(0, 0, 0, 0.1);
  position: absolute;
  top: -20px;
  left: 10px;
  font-family: serif;
  z-index: 0;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-quote {
  font-size: 20px;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
  color: #333;
}

footer {
  background-color: #222;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
  text-align: left;
  /* padding-bottom: 10px; */
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

@media (max-width: 992px) {
  .two-column {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .feature-list.horizontal {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 20px;
  }

  .feature-list.horizontal li {
    width: auto !important;
    justify-content: flex-start !important;
  }

  .four-column-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    flex-direction: column !important;
    max-width: 100%;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }

  #why-choose .two-column {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  #why-choose .column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #why-choose .video-container {
    flex-grow: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
  }

  #why-choose .video-container iframe {
    height: 100%;
    max-height: 480px; /* 👈 You can tweak this value to match the text column */
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 10px;
  }

  #why-choose .feature-list {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    /* display: inline-block;
                white-space: normal;
                line-height: 1.3; */
    font-size: 3.5rem;
  }

  h2 .blue-text {
    display: block;
    margin-top: 5px;
  }

  h2.section-title {
    font-size: 3.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 80%;
    max-width: 300px;
  }

  .four-column-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-column {
    margin-bottom: 20px;
  }

  .footer-column h3 {
    text-align: center;
  }

  .footer-column h3:after {
    left: 50%;
    transform: translateX(-50%);
  }
  .header-container {
    flex-direction: column;
    gap: 10px;
  }

  /* Add box shadow to grid items in mobile view */
  #product-highlights .grid-item,
  #dealer-benefits .grid-item,
  #industry-segments .grid-item {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  /* Optional: Add hover effect for better interactivity */
  #product-highlights .grid-item:hover,
  #dealer-benefits .grid-item:hover,
  #industry-segments .grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .video-container {
    margin: 30px;
  }

  #built-for-resellers .two-column {
    flex-direction: column; /* Puts video above image on mobile */
  }

  #why-choose .video-container,
  #built-for-resellers .video-container,
  #difference .video-container {
    display: block !important;
    width: 100%;
    margin: 20px auto;
  }

  #why-choose .feature-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    gap: 20px;
    margin-top: 20px;
  }

  #why-choose .feature-list li {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    text-align: left;
    margin: 0 auto;
    background: transparent !important;
    border-radius: 30px;
    padding: 12px 20px;
  }

  #why-choose .feature-list li i {
    background-color: #4ad385;
    color: black;
    font-size: 18px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
  }

  #why-choose .column .btn {
    display: block;
    margin: 20px auto 0;
    text-align: center;
  }

  #why-choose .column > div {
    text-align: center !important;
    margin: 0 auto;
  }

  /* Adjust two-column layout for mobile */
  .two-column {
    flex-direction: column;
  }

  /* Ensure proper spacing */
  .column {
    width: 100%;
    padding: 0 15px;
  }

  /* Adjust video iframe sizing */
  .video-container iframe {
    height: 250px; /* Fixed height for mobile */
  }

  /* Center-align content in mobile */
  .two-column-with-centered-heading {
    text-align: center;
  }

  /* Ensure proper spacing between heading parts */
  h2 {
    font-size: 2.7rem;
    padding-bottom: 10px;
  }

  h2:after {
    bottom: 5px;
  }

  /* Horizontal feature list becomes horizontal on mobile */
  .feature-list.horizontal {
    flex-direction: column !important;
    /* flex-wrap: wrap; */
    gap: 20px;
  }

  .feature-list.horizontal li {
    width: auto !important;
    justify-content: flex-start !important;
  }

  .feature-list li {
    justify-content: center;
    margin-bottom: 20px;
  }

  /* Grid items full width on mobile */
  .four-column-grid {
    grid-template-columns: 1fr !important;
  }

  .cta-break h2 {
    font-size: 2.7rem;
  }

  #partnerships .feature-list.horizontal {
    flex-direction: column !important;
    align-items: center;
    gap: 15px;
  }

  #partnerships .feature-list.horizontal li {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    margin: 10px auto !important;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .contact-form h3 {
    font-size: 1.5rem;
  }

  .hero .subheadline {
    font-size: 1.2rem;
  }

  .contact-form {
    padding: 20px;
  }

  .video-container {
    margin: 15px 0 !important;
  }

  .video-container iframe {
    height: 200px;
  }

  .feature-list.horizontal {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 20px;
  }

  .feature-list.horizontal li {
    width: auto !important;
    justify-content: flex-start !important;
  }
}

/* Contact number green */
.phone-link, 
.footer-links a[href^="https://wa.me"]
{
  color: #4ad385;
}

/* Email ID blue */
.footer-links a[href^="mailto"],
a[href^="mailto"] {
  color: #3eb6ff;
}

/* Optional hover effect if needed */
.footer-links a:hover,
a:hover {
  color: rgb(0, 0, 0);
}

.three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
  align-items: start;
}

.grid-item {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

/* Responsive: Stack columns on small devices */
@media (max-width: 768px) {
  .three-column-grid {
    grid-template-columns: 1fr;
  }
}

/* testimonial */
/* Only apply inside testimonial section */
.testimonial-section .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.testimonial-section .testimonial-item {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  height: 400px; /* Fixed height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease; /* Smooth transition */
  cursor: pointer; /* Pointer on hover */
}

/* Hover effect */
.testimonial-section .testimonial-item:hover {
  background-color: #ffffff; /* Light blue highlight */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px); /* Slight lift effect */
}

.testimonial-section .testimonial-content {
  width: 100%;
}

.testimonial-section iframe {
  max-width: 100%;
  height: 200px;
  border-radius: 10px;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .testimonial-section .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* Why Choose Section - Specific Styling */
#why-choose {
  padding: 80px 0;
}

#why-choose .section-header {
  margin-bottom: 50px;
}

.why-choose-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-choose-column {
  flex: 1;
}

#why-choose .video-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  height: 360px;
}

.why-choose-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.why-choose-features li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 16px;
  gap: 15px;
}

.why-choose-features li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #4ad385;
  border-radius: 50%;
  color: black;
  font-size: 18px;
}

.why-choose-button {
  margin-left: 55px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .why-choose-content {
    gap: 40px;
  }

  #why-choose .video-container {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .why-choose-content {
    flex-direction: column;
  }

  #why-choose .video-container {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .why-choose-button {
    margin-left: 0;
    text-align: center;
  }

  .why-choose-features {
    margin-top: 30px;
  }
}

.hero-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-direction: column;
  /* margin-top: 50px; */
}

.hero-text {
  flex: 1;
  min-width: 280px;
  /* margin-top: 120px; */
  color: white;
}

.hero-image {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: fadeInRight 1.2s ease-in-out;
}

/* Base button styling */
.btn {
  display: inline-block;
  padding: 12px 20px;
  font-size: 16px;
  text-align: center;
  /** background-color: #007BFF; 
  color: white; **/
  text-decoration: none;

  margin: 5px;
  white-space: normal !important;
}

/* Make buttons full width and same size on small screens */
@media (max-width: 768px) {
  .why-choose-button {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0 !important;
  }

  .why-choose-button .btn {
    width: 100%;
    box-sizing: border-box;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-text h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-form {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.dealer-form h3 {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.dealer-form h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #4ad385;
}

.dealer-form input,
.dealer-form textarea {
  width: 100%;
  padding: 6px 12px;
  /* margin-bottom: 15px; */
  border: 1px solid #ddd;
  font-size: 14px;
  border-radius: 30px;
  color: #333;
  font-family: "Nunito Sans", Arial, sans-serif;
  background-color: #f9f9f9;
}

@media (max-width: 768px) {
  .hero-content-wrapper {
    flex-direction: column-reverse;
  }
}

/* for Tawk.to greeting text disable */
/* @media (max-width: 768px) {
    iframe[src*="tawk.to"] {
      bottom: 50px !important;
      right: 50px !important;
      z-index: 9999 !important;
    }
  } */

/* General two-column layout fix */
.two-column {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.two-column .why-choose-column,
.two-column .column {
  flex: 1 1 48%;
}

/* Bullet icons and text alignment */
.why-choose-features li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 18px;
}

.why-choose-features li i {
  font-size: 18px;
  margin-right: 15px;
  color: #050505; /* Optional: brand blue */
}

/* Fix for the sign-up section bullet + button layout */
#contact .why-choose-features li {
  font-size: 18px !important;
}

#contact .why-choose-features li .btn {
  margin-top: 8px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
  }

  .two-column .why-choose-column,
  .two-column .column {
    flex: 1 1 100%;
  }

  .video-container iframe {
    width: 100%;
    height: auto;
  }
}

/* Align icon and text properly inside list items */
.why-choose-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.4;
}

/* Resize icons consistently */
.why-choose-features li i {
  font-size: 18px;
  min-width: 24px;
  text-align: center;
  color: #000000; /* optional: brand color */
}

/* Fix mobile layout for better spacing and stacking */
@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
    /* align-items: stretch; */
    gap: 30px;
  }

  .two-column .why-choose-column,
  .two-column .column {
    flex: 1 1 100%;
  }

  .why-choose-features li {
    font-size: 17px;
    align-items: flex-start;
  }

  .why-choose-features li i {
    margin-top: 4px;
  }

  /* Remove excess left margin from button */
  .why-choose-button {
    margin-left: 0 !important;
    text-align: left !important;
  }

  /* Ensure forms don’t get squished */
  .contact-form input,
  .contact-form button {
    width: 100%;
  }
}

/* DeepSeek */
/* Add this to your styles.css */
#built-for-resellers .two-column {
  align-items: stretch; /* This ensures vertical alignment */
}

#built-for-resellers .why-choose-column {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers content vertically */
  height: 100%; /* Takes full height of container */
}

#built-for-resellers .why-choose-features {
  margin-top: 30px; /* Removes any default top margin */
}

#built-for-resellers .why-choose-button {
  margin-left: 55px; /* Adjust this value to match your design */
  margin-top: 10px !important;
}

/* Mobile View */
@media (max-width: 768px) {
  #built-for-resellers .why-choose-button {
    margin-top: 10px !important;
    margin-left: 0 !important;
    padding-top: 10px;
  }

  #built-for-resellers .why-choose-features {
    margin-bottom: 10px !important; /* Reduced space below points */
  }
}

/* Add this to your mobile media query */
@media (max-width: 768px) {
  #why-choose .why-choose-features li i {
    width: 38px !important; /* Fixed width */
    height: 38px !important; /* Fixed height */
    border-radius: 50% !important; /* Ensures perfect circle */
    flex-shrink: 0; /* Prevents squeezing */
  }

  #why-choose .why-choose-features li {
    align-items: center; /* Proper vertical alignment */
  }
}

/* For the "EXCITING INCENTIVES" section bullet points */
@media (max-width: 768px) {
  #contact .why-choose-features {
    padding-left: 0; /* Remove default padding */
    margin-left: 0; /* Remove default margin */
  }

  #contact .why-choose-features li {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    align-items: flex-start; /* Align items to top */
    gap: 12px; /* Consistent gap */
    margin-bottom: 20px;
    padding: 0;
    background: none !important; /* Remove any background */
  }

  #contact .why-choose-features li i {
    min-width: 24px; /* Fixed width for icons */
    margin-top: 4px; /* Slight vertical adjustment */
    font-size: 18px;
    color: #000; /* Ensure icon color */
  }

  #contact .why-choose-features li > div {
    flex: 1;
    text-align: left !important;
    margin: 0 !important;
  }

  #contact .why-choose-features li .btn {
    display: inline-block !important;
    margin: 8px 0 0 0 !important;
    width: auto !important;
    padding: 8px 16px !important;
  }
}

/* Button with WhatsApp bubble icon */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  white-space: nowrap;
  text-align: center;
  padding: 12px 20px;
  font-size: 15px;
  background-color: #4ad385;
  border-radius: 34px;
  color: black;
  text-decoration: none;
}

.whatsapp-icon-circle {
  background-color: #1d8357;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 25px;
  /* flex-shrink: 0; */
}

.whatsapp-icon-circle i {
  color: white;
  font-size: 16px;
}

/* Mobile-friendly adjustment */
@media (max-width: 768px) {
  .whatsapp-button {
    flex-wrap: nowrap;
    white-space: normal;
    max-width: 100%;
    font-size: 15px;
  }
}

/* .btn {
    padding: 12px 20px;
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 14px;
    margin-right: 10px;
    min-width: 140px;
    text-align: center;
  } */

.iframe-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.iframe-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: transparent;
}

.iframe-close {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 450px;
  border: none;
}

@media (max-width: 600px) {
  .iframe-wrapper iframe {
    height: 250px;
  }

  .btn {
    width: 100%;
    margin-top: 10px;
  }
}

/* alignment */
@media (max-width: 768px) {
  #built-for-resellers .why-choose-features {
    padding-left: 0;
    margin-left: 0;
  }

  #built-for-resellers .why-choose-features li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 16px;
    padding: 0;
  }

  #built-for-resellers .why-choose-features li i {
    min-width: 38px;
    height: 38px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4ad385;
    border-radius: 50%;
    color: black;
    flex-shrink: 0;
  }
}

/* Align incentives section bullet points like "MADE FOR DEALERS" */
#contact .why-choose-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

#contact .why-choose-features li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.4;
}

#contact .why-choose-features li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #4ad385;
  border-radius: 50%;
  color: black;
  font-size: 18px;
  flex-shrink: 0;
}

#built-for-resellers .why-choose-features {
  margin-bottom: 0 !important; /* Remove bottom margin */
}

#built-for-resellers .why-choose-button {
  margin-top: 0 !important; /* Remove top margin */
  margin-left: 55px; /* Keep existing left alignment */
  padding-top: 5px; /* Small padding instead of margin */
}

@media (max-width: 768px) {
  #built-for-resellers .why-choose-features {
    margin-bottom: 0 !important;
  }

  #built-for-resellers .why-choose-button {
    margin: 0 !important;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    /* Space between buttons */
  }
}

/* --------------------------------------------------------------------------------------------------- */

/* Header buttons styling */
.header-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-buttons .btn {
  padding: 8px 16px;
  border-radius: 34px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.btn-partnership {
  background-color: #4ad385;
  color: black;
}

.btn-partnership:hover {
  background-color: #4ad385;
}

.btn-email {
  background-color: #4ad385;
  color: black !important;
}

.btn-email:hover {
  background-color: #4ad385;
  color: white !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .header-buttons {
    gap: 8px;
  }

  .header-buttons .btn {
    font-size: 12px;
    padding: 6px 10px;
  }
}

.hero {
  text-align: center;
  padding: 6rem 1rem;
  background-color: #8a8888;
  margin-top: 2.5rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 3rem;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
  margin-top: 30px;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  margin-top: 30px;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card i {
  font-size: 2rem;
  color: #3eb6ff;
  margin-bottom: 1rem;
}

.stat-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1d1d1d;
}

.stat-card p {
  font-size: 0.95rem;
  color: #2c2c2c;
}

.highlight {
  color: #000000;
  font-weight: 600;
}

@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.hero {
  text-align: center;
  padding: 6rem 1rem;
  background-color: #616060;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
  margin-top: 25px;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 500px; /* medium width */
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: 1fr;
  }

  .hero-image img {
    max-width: 350px;
  }
}

/* Force hero content to stack vertically */
.hero-content {
  display: flex;
  flex-direction: column !important;
  align-items: center;
  text-align: center;
}
.hero {
  display: block !important;
}

/* Force hero content to be stacked vertically */
.hero-content {
  display: flex;
  flex-direction: column !important;
  align-items: center;
  text-align: center;
}

/* Make hero image medium-width and centered */
.hero-image img {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto 0;
}

.intercom-section {
  background-color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.intercom-section .section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.intercom-grid {
  display: grid;
  grid-template-columns: repeat(3 1fr);
  gap: 2rem;
  justify-items: center;
}

.intercom-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  max-width: 350px;
}

.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  margin-bottom: 1rem;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intercom-card p {
  font-size: 1rem;
  color: #333;
  line-height: 1.4;
}

/* Tablet view: 2 per row */
@media (max-width: 1024px) {
  .intercom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile view: 1 per row */
@media (max-width: 768px) {
  .intercom-grid {
    grid-template-columns: 1fr;
  }
}

/* Replace the existing .intercom-grid styles with these */
.intercom-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.intercom-card {
  flex: 0 0 300px; /* Fixed width cards */
  scroll-snap-align: start;
  height: auto;
}

/* Hide scrollbar but keep functionality */
.intercom-grid::-webkit-scrollbar {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .intercom-card {
    flex: 0 0 280px; /* Slightly smaller cards on tablet */
  }
}

@media (max-width: 768px) {
  .intercom-grid {
    flex-direction: column;
    overflow-x: visible;
  }
  .intercom-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Carousel Container */
.intercom-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 10px; /* Reduced padding */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  width: calc(100% - 80px); /* Space for arrows */
  margin: 0 auto;
}

/* Show 3 cards at a time (with partial peek of next) */
.intercom-card {
  flex: 0 0 calc(33.333% - 14px); /* 3 cards with gap */
  scroll-snap-align: start;
  min-width: 280px; /* Minimum card width */
  transition: transform 0.3s ease;
}

/* Navigation Arrows */
.video-carousel-controls {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: #4ad385;
}

.prev-arrow {
  left: 10px;
}

.next-arrow {
  right: 10px;
}

/* Tablet: Show 2 cards */
@media (max-width: 1024px) {
  .intercom-card {
    flex: 0 0 calc(50% - 10px); /* 2 cards */
  }
}

/* Mobile: Stack vertically */
@media (max-width: 768px) {
  .intercom-grid {
    flex-direction: column;
    overflow-x: visible;
    width: 100%;
    padding: 10px 0;
  }
  .intercom-card {
    flex: 1 1 100%;
    min-width: 100%;
    margin-bottom: 20px;
  }
  .carousel-arrow {
    display: none;
  }
}

/* CTA Buttons Container */
.video-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  flex-wrap: wrap;
}

/* Individual Button Styles */
.btn-brochure {
  background-color: #4ad385;
  color: black;
  padding: 12px 25px;
}

.btn-brochure:hover {
  background-color: #4ad385;
}

.btn-partner {
  background-color: #4ad385;
  color: black;
  padding: 12px 25px;
}

.btn-partner:hover {
  background-color: #3bc073;
  color: white;
}

.video-cta-buttons .btn i {
  margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .video-cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Testimonial CTA Button */
.testimonial-cta {
  text-align: center;
  margin-top: 50px;
}

.btn-dealer-network {
  background-color: #4ad385;
  color: black;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-dealer-network:hover {
  background-color: #3bc073;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-dealer-network i {
  font-size: 20px;
}

/* Dealer CTA Section */
.dealer-cta-section {
  padding: 80px 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.dealer-cta-section h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.dealer-cta-section .subheadline {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 2;
}

.btn-cta-large {
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 50px;
  background-color: #4ad385;
  color: black;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-cta-large:hover {
  background-color: #3bc073;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-cta-large i {
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dealer-cta-section {
    padding: 60px 20px;
  }

  .dealer-cta-section h2 {
    font-size: 2rem;
  }

  .dealer-cta-section .subheadline {
    font-size: 1.1rem;
  }

  .btn-cta-large {
    padding: 16px 30px;
    font-size: 1rem;
  }
}

/* Video Background Styles */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  /* overflow: hidden; */
  display: flex;
  align-items: center;
  color: white;
}

.video-background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 1;
  transition: opacity 1s ease;
}

.video-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  /* color: white;
  text-align: center; */
  width: 100%;
}

/* Ensure text remains visible */
.hero-text h1,
.hero-text h3,
.hero-text p {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero {
    min-height: 700px; /* Taller on mobile for better viewing */
  }

  .hero-overlay {
    background: rgba(0, 0, 0, 0.6); /* Darker overlay for mobile readability */
    
  }
}

/* Remove ALL previous hero/video styles */
/* Add these fresh styles: */

.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* Ensures it stays behind content */
  /* Force display */
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-content {
  position: relative;
  z-index: 2; /* Above video */
  height: 100%;
  display: flex;
  align-items: center;
  /* Dark overlay effect */
  background: linear-gradient(
    to bottom,
    rgba(200, 200, 200, 0.4) 0%,
    rgba(230, 230, 230, 0.7) 100%
  );
}

/* Mobile fix */
@media (max-width: 768px) {
  .hero-video-bg {
    position: fixed; /* Better mobile behavior */
  }
}

.hero {
  background: url("../videos/hero-bg.mp4") center/cover;
}

.video-overlay-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Between video (0) and content (2) */

  /* Light gray gradient - adjust colors as needed */
  background: linear-gradient(
    to bottom,
    rgba(245, 245, 245, 0.3) 0%,
    /* Very light gray */ rgba(220, 220, 220, 0.6) 100%
      /* Slightly darker gray */
  );

  /* Optional: Add blend mode for subtle effect */
  mix-blend-mode: overlay;
}

/* Hero Layout */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  color: white;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: -1;
}

.hero-container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-left {
  flex: 1;
  max-width: 55%;
  padding-right: 20px;
}

.hero-right {
  flex: 1;
  max-width: 45%;
}

/* Feature List */
.hero-features-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.hero-features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-features-list i {
  color: #4ad385;
  margin-right: 12px;
  font-size: 22px;
}

/* Contact Form (matches existing) */
.hero-right .contact-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-right .contact-form h3 {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  color: #333;
}

.hero-right .contact-form h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #4ad385;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    /* padding-top: 2px; */
  }
  .hero-left,
  .hero-right {
    max-width: 100%;
    width: 100%;
    padding: 0;
  }
  .hero-right {
    margin-top: 10px;
  }
  .hero {
    min-height: 900px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .hero-features-list li {
    font-size: 16px;
  }
  .hero-right .contact-form {
    padding: 25px 15px;
    margin-top: 5px;
  }
}

/* ---------- Dealer Form Enhancements ---------- */

/* Country code + phone number input container */
.form-group select#countryCode {
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 24px;
  font-size: 12px;
  background-color: #fff;
  font-family: montserrat;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group select#countryCode:focus {
  border-color: #007bff;
}

/* Align dropdown + number input nicely */
.form-group div {
  display: flex;
  align-items: center;
}

.form-group div select {
  flex: 0 0 140px; /* fixed width for dropdown */
}

.form-group div input[type="number"] {
  flex: 1; /* take remaining space */
}

/* Captcha checkbox styling */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin-top: 12px;
  color: #333;
}

.captcha-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #007bff; /* blue checkbox on modern browsers */
  align-items: center;
}

#captchaStatus {
  font-weight: 600;
  margin-left: 8px;
}

/* Error message for Name field */
#nameError {
  font-size: 13px;
  color: red;
  margin-top: 4px;
  display: none;
}

/* Captcha loader spinner */
.loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

html {
  scroll-behavior: smooth;
}

/* HERO SECTION FIX */
.hero-left h2 span {
  border-bottom: none !important; /* remove the green underline */
}

.hero-left h2 {
  font-size: 36px; /* reduced heading size */
  margin-bottom: 10px; /* tighter gap below heading */
  line-height: 1.2; /* compact line height */
}

.hero-left h3 {
  font-size: 22px; /* slightly smaller subheadline */
  margin-top: 0; /* removes any extra gap above */
  line-height: 1.4; /* keep it readable */
}

/* FORM SECTION FIX */
/* === Dealer form heading + width adjustments (exact selectors from your markup) === */

/* Smaller heading */
.hero-right .contact-form h3 {
  font-size: 1.4rem; /* was 1.7rem */
  line-height: 1.2;
}

/* Desktop: keep heading on one line & narrow the form slightly */
@media (min-width: 768px) {
  .hero-right .contact-form h3 {
    white-space: nowrap;
  }
  .hero-right .contact-form {
    max-width: 460px; /* makes the form a bit narrower */
    margin: 0 auto; /* centers it inside .hero-right */
  }
}

/* Mobile: allow wrapping and keep things readable */
@media (max-width: 767.98px) {
  .hero-right .contact-form h3 {
    font-size: 1.25rem;
    line-height: 1.25;
    white-space: normal;
  }
  .hero-right .contact-form {
    max-width: 100%;
  }
  .hero-left h2 {
    width: 100%;
  }
}

/* Subheadline text fix */
.hero-right h4 {
  font-size: 12px; /* smaller */
  font-style: italic; /* italic */
  font: rgb(75, 74, 74);
}

/* Hide header buttons on mobile */
@media (max-width: 767.98px) {
  .header-buttons {
    display: none !important;
  }
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* same as desktop dark overlay */
    z-index: 1;
  }
  
}

/* Reduce gap between form and subheadline */
.hero-left h4 {
  margin-bottom: 5px; /* tighter spacing below subheadline */
}

.hero-right {
  margin-top: 5px; /* reduce form top margin */
}

/* Make country code smaller and phone number field bigger */
#dealerInquiryForm123 .row .col-4 {
  flex: 0 0 25%; /* smaller dropdown */
  max-width: 25%;
}

#dealerInquiryForm123 .row .col-8 {
  flex: 0 0 75%; /* bigger input */
  max-width: 75%;
}

/* Mobile: reduce gap between features/subheadline and form */
@media (max-width: 767.98px) {
  .hero-right {
    margin-top: 10px !important; /* tighter spacing */
  }
}

/* ======================
   Phone field adjustments
   ====================== */
.phone-group select {
  flex: 0 0 50px;   /* fixed smaller width for country code */
  max-width: 50px;
  padding: 10px;
}

.phone-group input {
  flex: 1;          /* take remaining width */
  min-width: 0;     /* prevent overflow */
}


/* Mobile-specific adjustments */
@media (max-width: 767.98px) {
  /* 1. Reduce gap between features and form */
  .hero-right {
    margin-top: 5px !important; /* tighter spacing */
  }

  /* 2. Make heading look wider and more balanced */
  .hero-left h2 {
    max-width: 100%;      /* allow more width usage */
    font-size: 1.8rem;   /* slightly smaller to avoid wrapping too soon */
    line-height: 1.3;    /* improve readability */
    margin: 0 auto 20px; /* center and add breathing room */
  }
}


/* Mobile Carousel Styles - ONLY show on mobile */
@media (max-width: 768px) {
  .mobile-carousel-container {
    display: block;
    position: relative;
    width: 100%;
    margin: 40px 0;
    overflow: hidden;
  }

  .mobile-carousel {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
  }

  .mobile-carousel-card {
    flex: 0 0 100%;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 0 10px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .mobile-carousel-card i {
    font-size: 36px;
    color: #3eb6ff;
    margin-bottom: 20px;
  }

  .mobile-carousel-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
  }

  /* Carousel Navigation */
  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-arrow:hover {
    background: #4ad385;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }

  /* Carousel Indicators */
  .carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
  }

  .carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .carousel-indicator.active {
    background: #4ad385;
  }

  /* Hide the original grid on mobile */
  .four-column-grid {
    display: none;
  }
}

/* Desktop view - show original grid, hide carousel */
@media (min-width: 769px) {
  .mobile-carousel-container {
    display: none;
  }
  
  .four-column-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
  }
}

/* Desktop view - show grid, hide carousel */
@media (min-width: 769px) {
  .mobile-carousel-container {
    display: none;
  }
  
  .four-column-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
  }
}

/* Mobile view - show carousel, hide grid */
@media (max-width: 768px) {
  .four-column-grid {
    display: none;
  }
  
  .mobile-carousel-container {
    display: block;
    /* Rest of your mobile carousel styles */
  }
}

/* Testimonial carousel specific styles */
.mobile-carousel-card .testimonial-content {
  padding: 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-carousel-card iframe {
  width: 100%;
  height: 200px;
  border-radius: 8px;
}

/* Adjust testimonial grid for desktop */
@media (min-width: 769px) {
  .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
  }
  
  .testimonial-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

/* Mobile testimonial carousel adjustments */
@media (max-width: 768px) {
  .testimonial-item {
    display: none;
  }
  
  .mobile-carousel-card {
    background: #f7f7f7;
    padding: 0;
    min-height: 380px;
  }
}

/* Testimonial Section Specific Styles */
.testimonial-section .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.testimonial-section .testimonial-item {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.testimonial-section .testimonial-item:hover {
  background-color: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.testimonial-section .testimonial-content {
  width: 100%;
}

.testimonial-section iframe {
  max-width: 100%;
  height: 200px;
  border-radius: 10px;
}

/* Desktop view - show testimonial grid, hide carousel */
@media (min-width: 769px) {
  .testimonial-section .mobile-carousel-container {
    display: none !important;
  }
  
  .testimonial-section .testimonial-grid {
    display: grid !important;
  }
}

/* Mobile view - show carousel, hide testimonial grid */
@media (max-width: 768px) {
  .testimonial-section .testimonial-grid {
    display: none !important;
  }
  
  .testimonial-section .mobile-carousel-container {
    display: block !important;
  }
  
  /* Testimonial carousel specific styles */
  .testimonial-section .mobile-carousel-card {
    background: #f7f7f7;
    padding: 0;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .testimonial-section .mobile-carousel-card .testimonial-content {
    padding: 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .testimonial-section .mobile-carousel-card iframe {
    width: 100%;
    height: 200px;
    border-radius: 8px;
  }
}

/* Tools Section Specific Styles */
#product-highlights .four-column-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 40px 0;
}

#product-highlights .grid-item {
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s ease;
  text-align: center;
  background: white;
}

#product-highlights .grid-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

#product-highlights .grid-item i {
  font-size: 36px;
  color: #3eb6ff;
  margin-bottom: 20px;
}

#product-highlights .grid-item h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* Desktop view - show grid, hide carousel */
@media (min-width: 769px) {
  #product-highlights .mobile-carousel-container {
    display: none !important;
  }
  
  #product-highlights .four-column-grid {
    display: grid !important;
  }
}

/* Mobile view - show carousel, hide grid */
@media (max-width: 768px) {
  #product-highlights .four-column-grid {
    display: none !important;
  }
  
  #product-highlights .mobile-carousel-container {
    display: block !important;
  }
  
  /* Tools carousel specific styles */
  #product-highlights .mobile-carousel-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  #product-highlights .mobile-carousel-card i {
    font-size: 36px;
    color: #3eb6ff;
    margin-bottom: 20px;
  }
  
  #product-highlights .mobile-carousel-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
  }
}

/* Footer Mobile Optimization */
@media (max-width: 768px) {
  /* Hide Quick Links and Contact Us on mobile */
  .footer-column:nth-child(2),
  .footer-column:nth-child(3) {
    display: none;
  }
  
  /* Center the remaining content */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  
  /* Adjust logo size for mobile */
  .footer-column .logo {
    height: 35px;
    margin-bottom: 10px;
  }
  
  /* Adjust copyright text for mobile */
  .copyright {
    font-size: 13px;
    padding-top: 20px;
  }
}

/* Ensure desktop view remains unchanged */
@media (min-width: 769px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-column:nth-child(2),
  .footer-column:nth-child(3) {
    display: block;
  }
}

/* -------------Fix for the misalignment of the cards in carousal------------ */
/* Mobile Carousel Container */
.mobile-carousel-container {
  position: relative;
  width: 100%;
  margin: 40px 0;
  overflow: hidden;
}

/* Carousel Track */
.mobile-carousel {
  display: flex;
  transition: transform 0.3s ease-in-out;
  width: 100%;
}

/* Carousel Cards - SIMPLIFIED */
.mobile-carousel-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 30px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Testimonial card specific height */
.testimonial-section .mobile-carousel-card {
  min-height: 380px;
  background: #f7f7f7;
}

/* Carousel Navigation */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-indicator.active {
  background: #4ad385;
}

/* Modal Styles */
.modal {
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.close-modal:hover {
  color: #333;
}

/* Modal Styles */
.modal {
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.close-modal:hover {
  color: #333;
}

/* Modal Styles - ENHANCED */
.modal {
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex !important; /* Force show when class is added */
  opacity: 1;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.close-modal:hover {
  color: #333;
}

/* Ensure modal is on top of everything */
.modal, .modal-content, .close-modal {
  box-sizing: border-box;
}

/* App Download Styles */
.app-downloads {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.app-downloads h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.app-badges {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.app-badge {
  display: block;
  transition: transform 0.2s ease;
}

.app-badge:hover {
  transform: scale(1.05);
}

.app-badge img {
  height: 40px;
  width: auto;
  border-radius: 7px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .app-badges {
    flex-direction: column;
    justify-content: center;
  }
  
  .app-badge img {
    height: 35px;
  }
}


/* Mobile view - show app downloads in footer */
@media (max-width: 768px) {
  .footer-contact.mobile-hidden {
    display: none; /* Keep most of contact section hidden */
  }
  
  /* But show only the app downloads part */
  .app-downloads {
    display: block !important;
    text-align: center;
    margin-top: 25px;
    border-top: none;
    padding-top: 0;
  }
  
  .app-downloads h4 {
    text-align: center;
    margin-bottom: 10px;
  }
  
  .app-badges {
    flex-direction: column;
    gap: 8px;
  }
  
  .app-badge img {
    height: 40px;
  }
}

/* ===== FAQ SECTION STYLES ===== */
#faqs {
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
  color: #333;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f9f9f9;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 25px 20px;
  margin: 0;
  color: #555;
  line-height: 1.6;
}

.faq-cta {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.faq-cta p {
  margin-bottom: 20px;
  font-size: 18px;
  color: #333;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .faq-question {
    padding: 16px 20px;
    font-size: 16px;
  }
  
  .faq-answer p {
    padding: 0 20px 16px;
  }
}

/* Tools Carousel Styles */
.tools-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 50px;
}

.tools-carousel {
  width: 100%;
  overflow: hidden;
}

.tools-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.tools-carousel-card {
  flex: 0 0 calc(33.333% - 14px);
  background: #f7f7f7;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-width: 280px;
}

.tools-carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.tools-carousel-card i {
  font-size: 36px;
  color: #3eb6ff;
  margin-bottom: 20px;
}

.tools-carousel-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* Tools Carousel Arrows */
.tools-carousel-arrow {
  position: static;
  width: 70px;
  height: 60px;
  background: rgba(74, 211, 133, 0.9);
  color: white;
  font-size: 20px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin: 0 15px;
  transform: none;
}

.tools-carousel-arrow:hover {
  background: #4ad385;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Hide desktop carousel on mobile */
@media (max-width: 768px) {
  .tools-carousel-container {
    display: none;
  }
  
  .mobile-carousel-container {
    display: block;
  }
}

/* Hide mobile carousel on desktop */
@media (min-width: 769px) {
  .mobile-carousel-container {
    display: none;
  }
}

/* Ensure consistent light-gray background for CTA section */
.dealer-cta-section.bg-light-gray {
  background-color: #f7f7f7;
}

/* If you want to add some visual separation from previous section */
.dealer-cta-section.bg-light-gray {
  position: relative;
}

/* Optional: Add a subtle top border for definition */
.dealer-cta-section.bg-light-gray::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
}

/* Partner Carousel Styles */
.partner-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 50px;
}

.partner-carousel {
  width: 100%;
  overflow: hidden;
}

.partner-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.partner-carousel-card {
  flex: 0 0 calc(33.333% - 14px);
  background: #f7f7f7;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-width: 280px;
}

.partner-carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.partner-carousel-card i {
  font-size: 36px;
  color: #3eb6ff;
  margin-bottom: 20px;
}

.partner-carousel-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* Partner Carousel Arrows */
.partner-carousel-arrow {
  position: static;
  width: 70px;
  height: 60px;
  background: rgba(74, 211, 133, 0.9);
  color: white;
  font-size: 20px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin: 0 15px;
  transform: none;
}

.partner-carousel-arrow:hover {
  background: #4ad385;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Hide desktop carousel on mobile */
@media (max-width: 768px) {
  .partner-carousel-container {
    display: none;
  }
  
  #who-should-partner .mobile-carousel-container {
    display: block;
  }
}

/* Hide mobile carousel on desktop */
@media (min-width: 769px) {
  #who-should-partner .mobile-carousel-container {
    display: none;
  }
}


/* Product Carousel Styles (Desktop) */
.product-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 50px;
}

.product-carousel {
  width: 100%;
  overflow: hidden;
}

.product-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.product-carousel-card {
  flex: 0 0 calc(33.333% - 14px);
  background: #ffffff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-width: 280px;
}

.product-carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-carousel-card .video-container {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.product-carousel-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* Product Carousel Arrows */
.product-carousel-arrow {
  position: static;
  width: 70px;
  height: 60px;
  background: rgba(74, 211, 133, 0.9);
  color: white;
  font-size: 20px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin: 0 15px;
  transform: none;
}

.product-carousel-arrow:hover {
  background: #4ad385;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Carousel Styles (Using the same as other sections) */
.mobile-carousel-container {
  position: relative;
  width: 100%;
  margin: 40px 0;
  overflow: hidden;
  display: none;
}

.mobile-carousel {
  display: flex;
  transition: transform 0.3s ease;
  width: 100%;
}

.mobile-carousel-card {
  flex: 0 0 100%;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin: 0 10px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-carousel-card .video-container {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.mobile-carousel-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* Mobile Navigation */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: #4ad385;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-indicator.active {
  background: #4ad385;
}

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

/* Responsive visibility */
@media (max-width: 768px) {
  .product-carousel-container {
    display: none;
  }
  
  .mobile-carousel-container {
    display: block;
  }
}

@media (min-width: 769px) {
  .product-carousel-container {
    display: flex;
  }
  
  .mobile-carousel-container {
    display: none;
  }
}

/* Mobile Carousel Card Content Alignment Fix */
.mobile-carousel-card {
  flex: 0 0 calc(100% - 40px) !important;
  background: #f7f7f7;
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0 20px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  box-sizing: border-box;
}

/* Icon alignment fix */
.mobile-carousel-card i {
  font-size: 32px;
  color: #3eb6ff;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px; /* Fixed height for icon container */
  width: 50px;
}

/* Title alignment fix */
.mobile-carousel-card h3 {
  margin: 0 0 15px 0;
  font-size: 18px;
  line-height: 1.3;
  color: #333;
  min-height: auto; /* Remove fixed height */
  display: block;
  width: 100%;
  padding: 0 10px;
  font-weight: 600;
}

/* Paragraph alignment fix */
.mobile-carousel-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin: 0;
  padding: 0 10px;
  display: block;
  width: 100%;
  text-align: center;
}

/* Remove flex-grow from paragraph as it's causing alignment issues */
.mobile-carousel-card p {
  flex-grow: 0;
}

/* Video container alignment */
.mobile-carousel-card .video-container {
  position: relative;
  height: 160px;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

/* Specific fix for cards with icons only (no videos) */
.mobile-carousel-card:not(:has(.video-container)) {
  justify-content: flex-start; /* Adjust vertical alignment */
  padding-top: 30px; /* Add more top padding for icon cards */
}

/* Ensure consistent spacing for all card types */
.mobile-carousel-card > * {
  margin-bottom: 15px;
}

.mobile-carousel-card > *:last-child {
  margin-bottom: 0;
}

/* Improved carousel container */
.mobile-carousel-container {
  position: relative;
  width: 100%;
  margin: 30px 0;
  overflow: hidden;
  display: none;
  padding: 0 5px;
  box-sizing: border-box;
}

.mobile-carousel {
  display: flex;
  transition: transform 0.3s ease;
  width: 100%;
  padding: 10px 0;
}

/* Fix for very small screens */
@media (max-width: 380px) {
  .mobile-carousel-card {
    min-height: 300px;
    padding: 20px 12px;
  }
  
  .mobile-carousel-card i {
    font-size: 28px;
    margin-bottom: 15px;
    height: 45px;
    width: 45px;
  }
  
  .mobile-carousel-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .mobile-carousel-card p {
    font-size: 13px;
  }
  
  .mobile-carousel-card .video-container {
    height: 140px;
    margin-bottom: 15px;
  }
}

/* Ensure all mobile carousels have consistent styling */
#product-highlights .mobile-carousel-card,
#who-should-partner .mobile-carousel-card,
#built-for-resellers .mobile-carousel-card {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 25px 15px;
  margin: 0 20px;
  min-height: 320px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Specific fix for the Live Technical Support card */
.mobile-carousel-card:has(i.fa-headset) {
  justify-content: center;
}

.mobile-carousel-card:has(i.fa-headset) i {
  background-color: rgba(62, 182, 255, 0.1);
  border-radius: 50%;
  padding: 15px;
}

/* Specific fix for the Partner Portal card text overflow */
.mobile-carousel-card:nth-child(4) p {
  font-size: 14px;
  line-height: 1.4;
  padding: 0 8px;
  hyphens: auto;
}

/* Ensure all text is properly contained */
.mobile-carousel-card > * {
  max-width: 100%;
}

/* ------------Fix for heading consistency--------------------- */
/* Consistent Section Headings */
#partnerships h2,
#why-choose .section-header h2,
#built-for-resellers h2,
#who-should-partner h2,
#testimonial h2,
#faqs h2,
#product-highlights h2,
.dealer-cta-section h2 {
  font-size: 2.7rem !important;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: #333;
  margin-bottom: 1.5rem;
  position: relative;
  text-align: center;
  padding-bottom: 15px;
  white-space: nowrap; /* Force single line */
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* Blue text span consistency */
#partnerships h2 .blue-text,
#why-choose .section-header h2 .blue-text,
#built-for-resellers h2 .blue-text,
#who-should-partner h2 .blue-text,
#testimonial h2 .blue-text,
#faqs h2 .blue-text,
#product-highlights h2 .blue-text,
.dealer-cta-section h2 .blue-text {
  color: #3eb6ff;
  display: inline; /* Ensure it stays on the same line */
}

/* Green underline consistency */
#partnerships h2:after,
#why-choose .section-header h2:after,
#built-for-resellers h2:after,
#who-should-partner h2:after,
#testimonial h2:after,
#faqs h2:after,
#product-highlights h2:after,
.dealer-cta-section h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #4ad385;
}

/* Subheadline consistency */
#partnerships .subheadline,
#why-choose .section-header .subheadline,
#built-for-resellers .subheadline,
#who-should-partner .subheadline,
#testimonial .subheadline,
#faqs .subheadline,
#product-highlights .subheadline,
.dealer-cta-section .subheadline {
  font-size: 1.25rem;
  color: #252525;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Mobile responsiveness for headings */
@media (max-width: 992px) {
  #partnerships h2,
  #why-choose .section-header h2,
  #built-for-resellers h2,
  #who-should-partner h2,
  #testimonial h2,
  #faqs h2,
  #product-highlights h2,
  .dealer-cta-section h2 {
    font-size: 2.3rem !important;
    white-space: normal; /* Allow wrapping on smaller screens */
    line-height: 1.2;
  }
}

@media (max-width: 768px) {
  #partnerships h2,
  #why-choose .section-header h2,
  #built-for-resellers h2,
  #who-should-partner h2,
  #testimonial h2,
  #faqs h2,
  #product-highlights h2,
  .dealer-cta-section h2 {
    font-size: 2rem !important;
    padding-bottom: 12px;
  }
  
  #partnerships .subheadline,
  #why-choose .section-header .subheadline,
  #built-for-resellers .subheadline,
  #who-should-partner .subheadline,
  #testimonial .subheadline,
  #faqs .subheadline,
  #product-highlights .subheadline,
  .dealer-cta-section .subheadline {
    font-size: 1.1rem;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  #partnerships h2,
  #why-choose .section-header h2,
  #built-for-resellers h2,
  #who-should-partner h2,
  #testimonial h2,
  #faqs h2,
  #product-highlights h2,
  .dealer-cta-section h2 {
    font-size: 1.8rem !important;
  }
  
  /* Ensure blue text stays visible on mobile */
  #partnerships h2 .blue-text,
  #why-choose .section-header h2 .blue-text,
  #built-for-resellers h2 .blue-text,
  #who-should-partner h2 .blue-text,
  #testimonial h2 .blue-text,
  #faqs h2 .blue-text,
  #product-highlights h2 .blue-text,
  .dealer-cta-section h2 .blue-text {
    display: inline; /* Prevent breaking to new line */
  }
}

/* Hero Features List Alignment Fix */
.hero-features-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center align the entire list */
  width: 100%;
}

.hero-features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 400px; /* Limit width for better readability */
  justify-content: center; /* Center each list item */
}

.hero-features-list i {
  color: #4ad385;
  margin-right: 12px;
  font-size: 18px;
  min-width: 25px; /* Fixed width for consistent alignment */
  text-align: center;
}

/* Desktop specific adjustments */
@media (min-width: 769px) {
  .hero-features-list {
    align-items: flex-start; /* Left align on desktop */
    margin-left: 10%; /* Add some left margin for balance */
  }
  
  .hero-features-list li {
    justify-content: flex-start; /* Left align items on desktop */
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero-features-list {
    align-items: center; /* Center on mobile */
    margin: 25px 0;
  }
  
  .hero-features-list li {
    justify-content: center; /* Center on mobile */
    font-size: 16px;
    text-align: center;
    max-width: 300px;
    flex-direction: row; /* Ensure icon and text are in row */
  }
  
  .hero-features-list i {
    margin-right: 10px;
    font-size: 18px;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .hero-features-list li {
    font-size: 15px;
    max-width: 280px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-features-list i {
    margin-right: 8px;
    font-size: 18px;
  }
}

/* Hero content centering */
.hero-left {
  flex: 1;
  max-width: 55%;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content horizontally */
  text-align: center; /* Center text */
}

/* Ensure text elements are centered */
.hero-left h2,
.hero-left h3 {
  text-align: center;
  width: 100%;
}

/* Mobile hero content centering */
@media (max-width: 1024px) {
  .hero-left {
    max-width: 100%;
    padding-right: 0;
    align-items: center;
  }
  
  .hero-features-list {
    align-items: center !important; /* Force center on mobile */
  }
  
  .hero-features-list li {
    justify-content: center !important; /* Force center on mobile */
  }
}

/* Force text alignment within list items */
.hero-features-list li {
  text-align: left; /* Default to left for desktop */
}

@media (max-width: 768px) {
  .hero-features-list li {
    text-align: center; /* Center text on mobile */
  }
}

/* Ensure consistent icon spacing */
.hero-features-list li {
  display: flex;
  align-items: center;
}

.hero-features-list i {
  flex-shrink: 0; /* Prevent icon from shrinking */
}

/* Hero Text Size Adjustment */
.hero-left h2 {
  font-size: 2rem !important; /* Reduced from ~2.5-2.8rem */
  line-height: 1.2;
  margin-bottom: 15px;
  font-weight: 600;
}

.hero-left h3 {
  font-size: 1rem !important; /* Reduced from ~1.6rem */
  line-height: 1.2;
  margin-bottom: 25px;
  font-weight: 400;
}

/* Better spacing for feature list */
.hero-features-list {
  margin: 20px 0 30px 0;
}

/* Desktop specific adjustments */
@media (min-width: 1025px) {
  .hero-left h2 {
    font-size: 2.1rem !important;
  }
  
  .hero-left h3 {
    font-size: 1.2rem !important;
  }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-left h2 {
    font-size: 2rem !important;
    line-height: 1.25;
  }
  
  .hero-left h3 {
    font-size: 1.2rem !important;
    line-height: 1.35;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-left h2 {
    font-size: 1.7rem !important;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  
  .hero-left h3 {
    font-size: 1.1rem !important;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  .hero-features-list {
    margin: 15px 0 25px 0;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .hero-left h2 {
    font-size: 1.5rem !important;
    white-space: normal;
  }
  
  .hero-left h3 {
    font-size: 1rem !important;
  }
  
  .hero-features-list li {
    font-size: 14px;
  }
}

/* Text readability improvements */
.hero-left h2 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
}

.hero-left h3 {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  opacity: 0.95;
}

/* Better spacing overall */
.hero-left {
  padding-top: 10px;
}

/* Ensure text doesn't get too wide on large screens */
@media (min-width: 1400px) {
  .hero-left {
    max-width: 600px;
  }
}

/* Fix for mobile icon alignment */
.hero-features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 400px;
  justify-content: center;
  flex-wrap: nowrap; /* Prevent wrapping */
}

.hero-features-list i {
  color: #4ad385;
  margin-right: 12px;
  font-size: 22px;
  min-width: 25px;
  text-align: center;
  flex-shrink: 0; /* Prevent icon from shrinking */
}

.hero-features-list li span {
  flex-shrink: 1; /* Allow text to shrink if needed */
  text-align: left;
}

/* Mobile responsiveness - fixed icon alignment */
@media (max-width: 768px) {
  .hero-features-list {
    align-items: center;
    margin: 25px 0;
    padding: 0 15px; /* Add padding to prevent edge issues */
  }
  
  .hero-features-list li {
    justify-content: flex-start; /* Align items to start */
    font-size: 16px;
    max-width: 300px;
    flex-direction: row; /* Ensure horizontal layout */
    flex-wrap: nowrap; /* Prevent wrapping */
    white-space: nowrap; /* Prevent text wrapping */
  }
  
  .hero-features-list i {
    margin-right: 10px;
    font-size: 20px;
    flex-shrink: 0; /* Prevent icon from shrinking */
  }
  
  /* Specific fix for long text items */
  .hero-features-list li:nth-child(3) {
    white-space: normal; /* Allow wrapping for long text */
  }
  
  .hero-features-list li:nth-child(3) span {
    white-space: normal; /* Allow text wrapping */
    word-break: keep-all; /* Prevent awkward word breaks */
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .hero-features-list li {
    font-size: 15px;
    max-width: 280px;
    flex-wrap: nowrap; /* Prevent wrapping */
  }
  
  .hero-features-list i {
    margin-right: 8px;
    font-size: 18px;
  }
  
  /* Specific adjustment for the long third item */
  .hero-features-list li:nth-child(3) {
    align-items: flex-start; /* Align to top for multi-line */
  }
  
  .hero-features-list li:nth-child(3) i {
    margin-top: 3px; /* Adjust icon position for multi-line text */
  }
}

/* Extreme small screen fix */
@media (max-width: 360px) {
  .hero-features-list li {
    font-size: 14px;
    max-width: 260px;
  }
  
  .hero-features-list li:nth-child(3) {
    white-space: normal;
  }
  
  /* Reduce text for very small screens */
  .hero-features-list li:nth-child(3) span {
    font-size: 13.5px;
  }
}

/* Why Choose Section Fix */
.why-choose-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.why-choose-features li {
  display: flex;
  align-items: flex-start; /* Align to top for better icon positioning */
  margin-bottom: 20px;
  font-size: 15px; /* Reduced from previous size */
  gap: 10px;
  line-height: 1.5;
}

.why-choose-features li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; /* Fixed width */
  height: 30px; /* Fixed height */
  background-color: #4ad385;
  border-radius: 50%;
  color: black;
  font-size: 16px;
  flex-shrink: 0; /* Prevent icon from shrinking */
  margin-top: 2px; /* Slight adjustment for better alignment */
}

/* Ensure text doesn't wrap under icon */
.why-choose-features li span {
  flex: 1; /* Take remaining space */
  text-align: left;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .why-choose-features {
    margin-top: 30px;
  }
  
  .why-choose-features li {
    font-size: 17px; /* Slightly smaller on mobile */
    align-items: center; /* Center align on mobile */
    margin-bottom: 18px;
  }
  
  .why-choose-features li i {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .why-choose-features li {
    font-size: 16px;
    gap: 12px;
  }
  
  .why-choose-features li i {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

/* ===== MOBILE HERO FEATURE LIST FIXES ===== */
@media (max-width: 768px) {
  /* Fix hero feature list alignment */
  .hero-features-list {
    padding: 0 15px;
    margin: 20px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-features-list li {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 320px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
    flex-wrap: nowrap;
  }
  
  /* Fix icon alignment */
  .hero-features-list i {
    min-width: 24px;
    margin-right: 12px;
    font-size: 18px;
    color: #4ad385;
    flex-shrink: 0;
    margin-top: 2px;
  }
  
  /* Ensure text doesn't wrap under icon */
  .hero-features-list li span {
    flex: 1;
    text-align: left;
  }
  
  /* Specific fix for the checkmark icons */
  .hero-features-list .fa-coins,
  .hero-features-list .fa-box-open,
  .hero-features-list .fa-chart-line {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Additional fix for very small screens */
@media (max-width: 380px) {
  .hero-features-list li {
    font-size: 15px;
    max-width: 280px;
  }
  
  .hero-features-list i {
    font-size: 16px;
    margin-right: 10px;
  }
}

/* ===== MOBILE HERO FEATURE LIST FIX ===== */
@media (max-width: 768px) {
  /* Fix hero section padding */
  .hero {
    padding: 70px 0 60px;
  }
  
  .hero-container {
    padding: 0 15px;
  }
  
  /* Ensure proper text wrapping */
  .hero-left h2 span {
    white-space: normal;
    text-overflow: clip;
    display: block;
  }
  
  .hero-left h3 {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 25px;
  }
  
  /* Fix feature list alignment */
  .hero-features-list {
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
    display: block;
  }
  
  .hero-features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.5;
    width: 100%;
    white-space: normal;
    text-overflow: clip;
    overflow: visible;
    max-width: 100%;
  }
  
  /* Fix icon alignment and spacing */
  .hero-features-list i {
    min-width: 24px;
    margin-right: 12px;
    font-size: 18px;
    color: #4ad385;
    flex-shrink: 0;
    margin-top: 2px;
  }
  
  /* Ensure text doesn't get truncated */
  .hero-features-list span {
    flex: 1;
    white-space: normal;
    text-overflow: clip;
    overflow: visible;
    display: block;
    width: auto;
  }
  
  /* Specific fix for text elements */
  .hero-left {
    text-align: center;
  }
  
  .hero-left h2,
  .hero-left h3 {
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
}

/* Fix for very small mobile devices */
@media (max-width: 380px) {
  .hero-features-list li {
    font-size: 15px;
  }
  
  .hero-features-list i {
    font-size: 16px;
    margin-right: 10px;
  }
  
  .hero-left h2 {
    font-size: 1.7rem;
  }
}


/* ===== MOBILE VIDEO BACKGROUND FIX ===== */
@media (max-width: 768px) {
  .hero-video-bg {
    /* Reset any problematic transforms */
    transform: none !important;
    left: 0 !important;
    
    /* Ensure proper aspect ratio handling */
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    
    /* Center the video properly */
    object-position: center center;
  }
  
  /* Container constraints to prevent over-zooming */
  .hero {
    position: relative;
    overflow: hidden;
  }
  
  /* Adjust overlay for better mobile viewing */
  .hero-overlay {
    background: rgba(0, 0, 0, 0.6);
  }
}

/* Specific fix for different aspect ratios */
@media (max-width: 768px) and (orientation: portrait) {
  .hero-video-bg {
    /* For portrait mode, we might need to adjust positioning */
    object-position: center top;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero-video-bg {
    /* For landscape, ensure full width coverage */
    width: 100% !important;
    height: auto !important;
    min-height: 100%;
  }
  
  .hero {
    /* Expand height for landscape */
    height: 100vh;
    min-height: 100vh;
  }
}

/* Fix for very small devices */
@media (max-width: 480px) {
  .hero-video-bg {
    /* Slight adjustment for very small screens */
    object-position: center center;
  }
}

/* Form validation styles */
#numberError, #companyError {
  display: none;
  font-size: 12px;
  margin-top: 5px;
  /* color: #dc3545; */
  font-weight: normal;
}

.form-control:valid {
  border-color: #28a745;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  #numberError, #companyError {
    font-size: 11px;
  }
  
  .phone-group {
    flex-direction: column;
  }
  
  .phone-group select,
  .phone-group input {
    width: 100%;
    margin-bottom: 8px;
  }
}

/* Form validation styles */
#nameError, #numberError, #companyError {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  color: #dc3545;
  font-weight: normal;
  width: 100%;
}

/* Adjust spacing for phone group */
.phone-group {
  margin-bottom: 10px;
}

.form-control:valid {
  border-color: #28a745;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  #nameError, #numberError, #companyError {
    font-size: 11px;
  }
  
  .phone-group {
    flex-direction: column;
    margin-bottom: 8px;
  }
  
  .phone-group select,
  .phone-group input {
    width: 100%;
    margin-bottom: 8px;
  }
}

/* ===== PARTNERSHIPS SECTION ENHANCEMENTS ===== */

/* Fix partner logo animation for continuous scrolling */
.partners-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 40px 0;
  margin: 0 auto;
  max-width: 1200px;
}

.partners-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

/* Duplicate the logos for seamless looping */
.partners-track::after {
  content: "";
  display: flex;
  gap: 30px;
  width: max-content;
}

.partner-card {
  width: 280px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white; /* White cards will stand out on gray background */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.partner-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.85;
  transition: all 0.4s ease;
}

.partner-card:hover img {
  opacity: 1;
}

/* Gradient fade effects */
.partners-container::before,
.partners-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.partners-container::before {
  left: 0;
  background: linear-gradient(to right, #f7f7f7, rgba(247, 247, 247, 0));
}

.partners-container::after {
  right: 0;
  background: linear-gradient(to left, #f7f7f7, rgba(247, 247, 247, 0));
}

/* Continuous scrolling animation */
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-280px * 5 - 30px * 5)); /* Adjust based on number of logos */
  }
}

/* Pause animation on hover */
.partners-container:hover .partners-track {
  animation-play-state: paused;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .partners-track {
    gap: 20px;
    animation: scroll-logos 25s linear infinite;
  }
  
  .partner-card {
    width: 220px;
    height: 140px;
    padding: 20px;
  }
  
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-280px * 5 - 30px * 5)); /* Width of all original logos */
  }
}
  
  .partners-container::before,
  .partners-container::after {
    width: 60px;
  }
}

/* ===== SECTION WIDTH ALIGNMENT FIX ===== */

/* Fix for all section containers to have consistent width */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Remove extra padding from carousel containers */
.product-carousel-container,
.partner-carousel-container {
  padding: 0 !important;
  max-width: 1200px;
  margin: 40px auto;
}

/* Expand carousel tracks to full width */
.product-carousel,
.partner-carousel {
  width: 100%;
  overflow: hidden;
}

.product-carousel-track,
.partner-carousel-track {
  width: 100%;
  display: flex;
  gap: 20px;
  padding: 0 10px; /* Add slight padding instead of container padding */
}

/* Make carousel cards wider to match other sections */
.product-carousel-card,
.partner-carousel-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 300px; /* Increased from 280px */
  background: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.partner-carousel-card{
  background: #f7f7f7;
}

/* Position arrows outside the content area */
.product-carousel-arrow,
.partner-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(74, 211, 133, 0.9);
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.product-prev-arrow,
.partner-prev-arrow {
  left: -25px; /* Position outside container */
}

.product-next-arrow,
.partner-next-arrow {
  right: -25px; /* Position outside container */
}

/* Ensure testimonial section matches width */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-item {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Why choose section width adjustment */
.why-choose-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .product-carousel-card,
  .partner-carousel-card {
    flex: 0 0 calc(50% - 10px); /* 2 cards on tablet */
    min-width: 280px;
  }
  
  .product-prev-arrow,
  .partner-prev-arrow {
    left: -15px;
  }
  
  .product-next-arrow,
  .partner-next-arrow {
    right: -15px;
  }
}

@media (max-width: 768px) {
  /* Hide desktop carousels on mobile */
  .product-carousel-container,
  .partner-carousel-container {
    display: none;
  }
  
  /* Show mobile carousels */
  .mobile-carousel-container {
    display: block;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
  }
  
  /* Ensure mobile cards have proper width */
  .mobile-carousel-card {
    width: calc(100% - 40px);
    margin: 0 20px;
  }
  
  /* Adjust testimonial grid for mobile */
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .testimonial-item {
    height: auto;
    min-height: 350px;
  }
  
  /* Why choose section stack on mobile */
  .why-choose-content {
    flex-direction: column;
    gap: 30px;
  }
}

/* Very large screens adjustment */
@media (min-width: 1400px) {
  .container {
    max-width: 1300px;
  }
  
  .product-carousel-card,
  .partner-carousel-card {
    min-width: 320px;
  }
}

/* ===== PRODUCT CARDS ALIGNMENT FIX ===== */

/* Container alignment */
.product-carousel-container,
.mobile-carousel-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}

/* Desktop carousel cards */
.product-carousel-track {
  display: flex;
  gap: 20px;
  padding: 10px 0;
}

.product-carousel-card {
  flex: 0 0 calc(33.333% - 14px);
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 350px; /* Fixed height for consistency */
  transition: all 0.3s ease;
}

/* Mobile carousel cards */
.mobile-carousel-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  margin: 0 15px;
  transition: all 0.3s ease;
}

/* Video container consistency */
.product-carousel-card .video-container,
.mobile-carousel-card .video-container {
  height: 180px;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Title consistency */
.product-carousel-card h3,
.mobile-carousel-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
  min-height: 60px; /* Fixed height for titles */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Description consistency */
.product-carousel-card p,
.mobile-carousel-card p {
  font-size: 16px;
  line-height: 1.5;
  color: #555;
  text-align: center;
  margin-bottom: 20px;
  flex-grow: 1; /* Push buttons to bottom */
}

/* CTA buttons container */
.cta-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: auto; /* Push to bottom */
  padding-top: 15px;
  justify-content: center;
}

/* Button styles */
.btn-brochure,
.btn-partner {
  flex: 1 1 0;
  min-width: 180px;
  max-width: 300px;
  text-align: center;
  padding: 12px 30px;
  border-radius: 34px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
}

.btn-brochure {
  background-color: #4ad385;
  color: black;
  border: 2px solid #4ad385;
}

.btn-partner {
  background-color: transparent;
  color: #4ad385;
  border: 2px solid #4ad385;
}

.btn-brochure:hover {
  background-color: #3bc073;
  color: white;
  transform: translateY(-2px);
}

.btn-partner:hover {
  background-color: #4ad385;
  color: black;
  transform: translateY(-2px);
}

/* Email link styling */
.cta-buttons a[href^="mailto"] {
  color: #3eb6ff;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  margin-top: 10px;
}

.cta-buttons a[href^="mailto"]:hover {
  color: #2a8ac8;
  text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .product-carousel-card {
    flex: 0 0 calc(50% - 10px);
    min-height: 330px;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .btn-brochure,
  .btn-partner {
    width: 100%;
    min-width: 0;
    max-width: none;
    display: block;
  }
}

@media (max-width: 768px) {
  /* Hide desktop carousel on mobile */
  .product-carousel-container {
    display: none;
  }
  
  /* Show mobile carousel */
  .mobile-carousel-container {
    display: block;
  }
  
  .mobile-carousel-card {
    min-height: 300px;
  }
  
  .mobile-carousel-card h3 {
    min-height: auto;
    font-size: 18px;
  }
  
  .mobile-carousel-card p {
    font-size: 15px;
  }
  
  /* Adjust CTA buttons for mobile */
  .cta-buttons {
    gap: 12px;
  }
  
  .btn-brochure,
  .btn-partner {
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* Very small devices */
@media (max-width: 480px) {
  .mobile-carousel-card {
    min-height: 280px;
    padding: 20px;
  }
  
  .mobile-carousel-card .video-container {
    height: 150px;
    margin-bottom: 15px;
  }
  
  .mobile-carousel-card h3 {
    font-size: 17px;
    margin-bottom: 12px;
  }
  
  .mobile-carousel-card p {
    font-size: 14px;
    margin-bottom: 15px;
  }
}

/* Ensure all cards have equal height */
.product-carousel-track,
.mobile-carousel {
  align-items: stretch; /* Make all cards same height */
}

/* Fix for carousel arrow positioning */
.product-carousel-arrow {
  z-index: 20;
  background: rgba(74, 211, 133, 0.95);
}

.product-carousel-arrow:hover {
  background: #4ad385;
  transform: scale(1.1);
}

/* ===== PARTNER CARDS ICON ENHANCEMENT ===== */

/* Icon container with white circle */
.partner-carousel-card i {
  font-size: 36px; /* Increased from previous size */
  color: #3eb6ff;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px; /* Circle size */
  height: 80px; /* Circle size */
  background: white;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

/* Mobile carousel icons */
#who-should-partner .mobile-carousel-card i {
  font-size: 32px;
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Reduce font size in cards */
.partner-carousel-card h3 {
  font-size: 18px; /* Reduced from 20px */
  margin-bottom: 12px;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  min-height: auto; /* Remove fixed height */
}

.partner-carousel-card p {
  font-size: 15px; /* Reduced from 16px */
  line-height: 1.5;
  color: #555;
  text-align: center;
  margin: 0;
}

/* Mobile card text adjustments */
#who-should-partner .mobile-carousel-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
  line-height: 1.4;
}

#who-should-partner .mobile-carousel-card p {
  font-size: 14px;
  line-height: 1.5;
}

/* Hover effects for desktop */
@media (min-width: 769px) {
  .partner-carousel-card:hover i {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #4ad385; /* Change color on hover */
  }
  
  .partner-carousel-card:hover {
    transform: translateY(-5px);
  }
}

/* Adjust card padding for new layout */
.partner-carousel-card {
  padding: 30px 25px; /* Adjusted padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px; /* Slightly reduced height */
}

#who-should-partner .mobile-carousel-card {
  padding: 25px 20px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Ensure content is properly spaced */
.partner-carousel-card > *,
#who-should-partner .mobile-carousel-card > * {
  width: 100%;
}

/* Specific icon adjustments for different icons */
.partner-carousel-card .fa-network-wired,
#who-should-partner .mobile-carousel-card .fa-network-wired {
  padding-top: 5px; /* Specific adjustment for this icon */
}

.partner-carousel-card .fa-shield-alt,
#who-should-partner .mobile-carousel-card .fa-shield-alt {
  padding-top: 3px; /* Specific adjustment for this icon */
}

.partner-carousel-card .fa-chart-line,
#who-should-partner .mobile-carousel-card .fa-chart-line {
  padding-top: 2px; /* Specific adjustment for this icon */
}

.partner-carousel-card .fa-lightbulb,
#who-should-partner .mobile-carousel-card .fa-lightbulb {
  padding-top: 3px; /* Specific adjustment for this icon */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .partner-carousel-card {
    min-height: 300px;
    padding: 25px 20px;
  }
  
  .partner-carousel-card i {
    width: 70px;
    height: 70px;
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .partner-carousel-card h3 {
    font-size: 17px;
  }
  
  .partner-carousel-card p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  #who-should-partner .mobile-carousel-card {
    min-height: 280px;
    padding: 20px 15px;
  }
  
  #who-should-partner .mobile-carousel-card i {
    width: 60px;
    height: 60px;
    font-size: 28px;
    margin-bottom: 18px;
  }
  
  #who-should-partner .mobile-carousel-card h3 {
    font-size: 26px;
  }
  
  #who-should-partner .mobile-carousel-card p {
    font-size: 23.5px;
  }
}

/* Very small devices */
@media (max-width: 480px) {
  #who-should-partner .mobile-carousel-card {
    min-height: 260px;
    padding: 18px 12px;
  }
  
  #who-should-partner .mobile-carousel-card i {
    width: 65px;
    height: 65px;
    font-size: 36px;
    margin-bottom: 18px;
  }
  
  #who-should-partner .mobile-carousel-card h3 {
    font-size: 23px;
  }
  
  #who-should-partner .mobile-carousel-card p {
    font-size: 15px;
  }
}

/* ===== MOBILE FOOTER APP LINKS FIX ===== */

/* Show app downloads on mobile */
@media (max-width: 768px) {
  /* Remove the hiding of all footer columns */
  .footer-column:nth-child(2),
  .footer-column:nth-child(3) {
    display: none;
  }
  
  /* But keep the first footer column visible */
  .footer-column:first-child {
    display: block !important;
    text-align: center;
    margin-bottom: 0;
  }
  
  /* Ensure app downloads section is visible */
  .app-downloads {
    display: block !important;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .app-downloads h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
  }
  
  .app-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-direction: column; /* Horizontal layout */
  }
  
  .app-badge img {
    height: 40px;
    width: auto;
    border-radius: 7px;
    transition: transform 0.2s ease;
  }
  
  .app-badge:hover img {
    transform: scale(1.05);
  }
}

/* Adjustments for very small mobile devices */
@media (max-width: 480px) {
  .app-badges {
    flex-direction: row; /* Stack vertically on very small screens */
    gap: 10px;
    align-items: center;
  }
  
  .app-badge img {
    height: 38px;
  }
  
  .app-downloads {
    margin-top: 20px;
    padding-top: 20px;
  }
  
  .app-downloads h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }
}

/* Landscape orientation fix */
@media (max-width: 768px) and (orientation: landscape) {
  .app-badges {
    flex-direction: row; /* Keep horizontal in landscape */
  }
  
  .app-badge img {
    height: 35px;
  }
}

/* Ensure desktop view remains unchanged */
@media (min-width: 769px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-column:nth-child(2),
  .footer-column:nth-child(3) {
    display: block;
  }
  
  .app-downloads {
    display: block;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .app-downloads h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
  }
  
  .app-badges {
    display: flex;
    gap: 10px;
  }
  
  .app-badge img {
    height: 40px;
    width: auto;
    border-radius: 7px;
    transition: transform 0.2s ease;
  }
  
  .app-badge:hover img {
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  .feature-list {
    margin: 15px 0 10px 0 !important;
  }
  .feature-list li {
    margin-bottom: 5px !important;
  }
  .dealer-form {
    margin-top: 5px !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 480px) {
  .feature-list {
    margin: 15px 0 10px 0 !important;
  }
  .feature-list li {
    margin-bottom: 5px !important;
  }
  .dealer-form {
    margin-top: 5px !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 769px) {
  .feature-list {
    margin: 15px 0 10px 0 !important;
  }
  .feature-list li {
    margin-bottom: 5px !important;
  }
  .dealer-form {
    margin-top: 5px !important;
    padding-top: 0 !important;
  }
}

/* Specific styles for product mobile carousel only */
#built-for-resellers .mobile-carousel-container {
  position: relative;
  width: 100%;
  margin: 40px auto;
  overflow: hidden;
  display: none;
  padding: 0 15px;
  box-sizing: border-box;
}

#built-for-resellers .mobile-carousel {
  display: flex;
  transition: transform 0.3s ease-in-out;
  width: 100%;
}

#built-for-resellers .mobile-carousel-card {
  flex: 0 0 calc(100% - 40px);
  box-sizing: border-box;
  padding: 25px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  margin: 0 20px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#built-for-resellers .image-container {
  width: 100%;
  height: 180px;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
}

#built-for-resellers .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#built-for-resellers .mobile-carousel-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #333;
}

#built-for-resellers .mobile-carousel-card p {
  font-size: 16px;
  line-height: 1.5;
  color: #555;
}

/* Show mobile carousel on mobile devices */
@media (max-width: 768px) {
  #built-for-resellers .mobile-carousel-container {
    display: block;
  }
}

/* Carousel Navigation - specific to this section */
#built-for-resellers .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(74, 211, 133, 0.9);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

#built-for-resellers .carousel-arrow:hover {
  background: #4ad385;
  transform: translateY(-50%) scale(1.1);
}

#built-for-resellers .carousel-prev {
  left: 5px;
}

#built-for-resellers .carousel-next {
  right: 5px;
}

/* Carousel Indicators - specific to this section */
#built-for-resellers .carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 10px;
}

#built-for-resellers .product-carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

#built-for-resellers .product-carousel-indicator.active {
  background: #4ad385;
  transform: scale(1.2);
}

/* Very small devices */
@media (max-width: 480px) {
  #built-for-resellers .mobile-carousel-card {
    padding: 20px 15px;
    min-height: 350px;
  }
  
  #built-for-resellers .image-container {
    height: 160px;
    margin-bottom: 15px;
  }
  
  #built-for-resellers .mobile-carousel-card h3 {
    font-size: 18px;
  }
  
  #built-for-resellers .mobile-carousel-card p {
    font-size: 15px;
  }
  
  #built-for-resellers .carousel-arrow {
    width: 40px;
    height: 40px;
  }
}

/* Testimonial Section Width Consistency */
#testimonial .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Desktop Carousel Container */
.desktop-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 15px;
}

.desktop-carousel {
  width: 100%;
  overflow: hidden;
}

.desktop-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.testimonial-item {
  flex: 0 0 calc(33.333% - 14px);
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-content {
  width: 100%;
}

.testimonial-content iframe {
  max-width: 100%;
  height: 200px;
  border-radius: 10px;
}

/* Desktop Carousel Arrows */
.desktop-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(74, 211, 133, 0.9);
  color: white;
  font-size: 20px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10;
}

.desktop-carousel-prev {
  left: -25px;
}

.desktop-carousel-next {
  right: -25px;
}

.desktop-carousel-arrow:hover {
  background: #4ad385;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile Carousel */
.mobile-carousel-container {
  position: relative;
  width: 100%;
  margin: 40px 0;
  overflow: hidden;
  display: none;
}

.mobile-carousel {
  display: flex;
  transition: transform 0.3s ease;
  width: 100%;
}

.mobile-carousel-card {
  flex: 0 0 100%;
  background: #f7f7f7;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin: 0 10px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-carousel-card .testimonial-content {
  padding: 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-carousel-card iframe {
  width: 100%;
  height: 200px;
  border-radius: 8px;
}

/* Carousel Navigation */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: #4ad385;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-indicator.active {
  background: #4ad385;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .testimonial-item {
    flex: 0 0 calc(50% - 10px);
  }
  
  .desktop-carousel-prev {
    left: -15px;
  }
  
  .desktop-carousel-next {
    right: -15px;
  }
}

@media (max-width: 768px) {
  .desktop-carousel-container {
    display: none;
  }
  
  .mobile-carousel-container {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-carousel-container {
    display: none;
  }
}

/* Testimonial CTA */
.testimonial-cta {
  margin-top: 40px;
}

/* ===== Fixes (2025-08-29) ===== */

/* 1) Remove green underline under hero H2 (desktop + mobile) */
.hero h2::after {
  content: none !important;
  display: none !important;
}
.hero h2 {
  padding-bottom: 0 !important;
}

.hero-left h3 {
  margin-top: 10px;
}

/* 2) Make hero features list as wide as the hero heading/container */
.hero-left .hero-features-list {
  width: 95% !important;
  max-width: none !important;
  margin: 0;                    /* tidy alignment */
  padding: 0;
}
.hero-left .hero-features-list li {
  max-width: none !important;   /* undo any hidden caps */
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;              /* hide default bullets */
}

/* === Remove boldness from dealer form message === */
#dealer-form h4 {
  font-weight: normal !important;
}

/* === Fix: remove hero underline on all viewports === */
.hero h2 {
  padding-bottom: 0 !important;           /* cancel spacing added for underline */
}
.hero h2::after {
  content: none !important;
  display: none !important;                /* kill the pseudo-element */
}

/* Extra guard on mobile in case later mobile h2 rules re-apply */
@media (max-width: 768px) {
  .hero h2 { padding-bottom: 0 !important; }
  .hero h2::after { content: none !important; display: none !important; }
}

/* === Fix: stop 'Company' field turning green when not required === */
/* Keep border neutral even if :valid matches due to pattern + empty value */
#company.form-control:valid,
#company.form-control:placeholder-shown {
  border-color: #ddd !important;
  box-shadow: none !important;
}
