/* Fix mobile portrait layout */
@media screen and (max-width: 767px) {
  .trusted-section .col-lg-6,
  .trusted-section .col-lg-5,
  .trusted-section .col-lg-1 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100%;
    padding-left: 10px; /* optional for spacing */
    padding-right: 10px;
  }

  .trusted-inner-section {
    margin-left: 0;
    margin-right: 0;
  }

  /* Optional: hide side images in portrait if needed */
  .trusted-bg,
  .trusted-bg-2,
  .trusted-section .col-lg-1 img {
    display: none;
  }
}
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .slider {
    width: 100%;
    margin-left: 0;
  }

  .scrolling-text-container {
    overflow-x: hidden;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  /* Optional: Adjust sections with large padding/margin */
  .solar-section,
  .trusted-section-1,
  .trusted-section-2,
  .homepage-section {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
  }
}
.custom-separator {
  width: 100%;
  max-width: 1300px;
  height: 6px;
  background-color: #865ff0;

  display: block;
  margin: 0px auto; /* vertical space + center horizontally */
}


/* Removes max-width limit of Bootstrap container */
.no-container {
  width: 100vw;
  margin: 0;
  padding: 0;
}

/* Ensures no gaps between columns */
.row.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.col-lg-3,
.col-12 {
  padding: 0;
}

/* Video overlay */
.image-overlay {
  position: relative;
  width: 100%;
  height: calc(100% + 20px); /* Increase height by 20px */
  overflow: hidden;
}

.image-overlay img,
.image-overlay video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hover-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.image-overlay:hover .hover-video {
  opacity: 1;
}

.image-overlay-btn {
  position: absolute;
  bottom: 10%;
  left: 20px; /* Add left padding */
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  user-select: none;
  z-index: 10;
  text-align: left; /* Make sure text aligns left */
}

.image-overlay-btn img {
  filter: invert(38%) sepia(57%) saturate(1813%) hue-rotate(234deg) brightness(94%) contrast(91%);
  /* This filter approximates #865ff0 on a black arrow, tweak if needed */
  width: 24px;  /* adjust size */
  height: auto;
}


