/* For Sale header */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move only half to make it seamless */
}

.marquee {
    display: flex;
    white-space: nowrap;
    gap: 40px; /* Adjust space between messages */
    animation: marquee 10s linear infinite;
    width: max-content; /* Ensure content stretches */
}

/* Duplicate the content dynamically to make it seamless */
.marquee::after {
    content: attr(data-text) " " attr(data-text) " " attr(data-text);
    display: inline-block;
    white-space: nowrap;
}

/* For section-4 */
.image-container {
    position: relative;
    width: 450px;
    height: 400px;
    overflow: hidden;
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out;
}

.hidden {
    display: none;
}

@keyframes border-trail {
    0% { width: 0; left: 0; }
    100% { width: 100%; left: 0; }
}

.animated-box {
    position: relative;
    border: 10px solid transparent;
    transition: box-shadow 0.3s ease-in-out;
}

.animated-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 0;
    background-color: orange;
    transition: width 5s linear;
}

.active-box {
    box-shadow: 0 4px 10px rgba(219, 219, 219, 0.5);
}

.active-box::before {
    width: 100%;
    animation: border-trail 5s linear forwards;
}
.faq-button {
    text-align: right;
}
.faq-icon {
    transition: transform 0.3s ease;
    color: gray;
}

/* partner section animation */

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

  .animate-marquee {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    width: max-content;
    white-space: nowrap;
  }

