/* Footer Styles */
.kl-footer {
    background: url('https://7951055.fs1.hubspotusercontent-na1.net/hubfs/7951055/site-assets/footer.svg') no-repeat center bottom;
    background-size: contain;
    background-color: #FFFFFF; /* White background */
    padding-top: 60px;
    padding-bottom: 30px;
}

.kl-footer .kl-footer__social svg {
    fill: #092c4c;
}

.kl-footer__content {
    padding: 0;⟲
}

.kl-footer__legal {
    display: block;
    margin-top: 15px;
    margin-bottom: 30px;
}

.kl-footer h1, .kl-footer h2, .kl-footer h3, .kl-footer h4, .kl-footer h5, .kl-footer h6, .kl-footer p, .kl-footer a, .kl-footer div, .kl-footer span {
    color: #092c4c; /* Dark blue text for better visibility */
}

.kl-footer__wrapper {
    width: 100%;
    padding-top: 32px;
    padding-bottom: 32px;
}

@media (max-width: 768px) {
    .kl-footer {
        height: auto;
        background-color: #FFFFFF;
    }
}

.kl-hero-02 {
    min-height: auto;
}

/* Hero Image Styles */
.kl-hero-02__image {
    position: relative;
    width: 100%;
}

/* Custom Video Styles */
.custom-video {
    width: 100%;
    border-radius: 8px;
    display: block;
    position: relative; /* Added to ensure controls are positioned relative to the video */
}

.video-controls {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #1C1E4C;
    padding: 0px;
    border-radius: 8px;
    opacity: 0.9;
}

.video-controls button {
    background: none;
    border: none;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    padding: 12px;
}

/* Ensure controls remain visible on smaller screens */
@media (max-width: 768px) {
    .video-controls {
        bottom: 5px;
        right: 5px;
    }

    .video-controls button {
        padding: 8px;
        font-size: 10px;
    }
}

/* Card Grid Preheader Style */
.kl-card-grid__preheader {
    text-align: center;
}

/* OneReg Stats Styles */
.onereg-stats h1 {
    font-size: 50px;
    margin: 0;
}

/* Testimonial Footer Styles */
.kl-testimonial__footer img {
    border-radius: 0;
    height: auto;
    width: auto;
    max-height: 50px;
    margin: 0 20px 0 0;
}

/* Carousel Styles */
.kl-logos {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0 60px;
}

.kl-logos .carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: max-content;
}

.kl-logos__item {
    flex: 0 0 auto;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
.kl-logos__item img{
    filter: grayscale(1);
}
.kl-logos::before,
.kl-logos::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
}

.kl-logos::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.kl-logos::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

/* Carousel Arrow Styles */
.kl-cards-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    box-shadow: none;
}

.kl-cards-slider__arrow svg {
    width: 20px;
    height: 20px;
    fill: #555;
}

.kl-cards-slider__arrow--prev {
    left: 10px;
    z-index: 10;
}

.kl-cards-slider__arrow--next {
    right: 10px;
    z-index: 10;
}

.kl-cards-slider__arrow:hover svg {
    fill: #000;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .kl-logos {
        padding: 0 30px;
    }

    .kl-cards-slider__arrow {
        width: 40px;
        height: 40px;
    }

    .kl-cards-slider__arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .kl-logos {
        padding: 0 20px;
    }

    .kl-cards-slider__arrow {
        width: 30px;
        height: 30px;
    }

    .kl-cards-slider__arrow svg {
        width: 12px;
        height: 12px;
    }
}

/* OneReg Solutions Styles */
.onereg-solutions .kl-features-02__card {
    flex-basis: 450px;
    margin: 20px;
    transition: all 0.2s ease;
}

.onereg-solutions .kl-features-02__card:hover {
    opacity: 0.6;
}

.kl-features-01__card h4 {
    font-weight: bold;
    text-transform: uppercase;
}

.kl-card-grid__content h1 {
    transition: all 0.5s ease-in-out;
}

/* Container Styles */
.kl-features-02 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -16px;
    text-align: center;
}

@media screen and (max-width: 530px) {
    .kl-features-02 {
        display: block;
    }
}

/* Card Styles */
.kl-features-02__card {
    flex-basis: calc(33.333% - 32px);
    margin: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .kl-features-02__card {
        flex-basis: calc(50% - 32px);
    }
}

@media screen and (max-width: 530px) {
    .kl-features-02__card {
        flex-basis: 100%;
    }
}

/* Header and Image Styles */
.kl-features-02__card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kl-features-02__image {
    margin-bottom: 16px;
}

.kl-features-02__image img,
.kl-features-02__image svg {
    max-height: 48px;
    width: auto;
    fill: #1C1E4C;
    display: block;
}

.kl-features-02__card h4 {
    margin: 0;
    vertical-align: top;
}

.kl-features-02__card p {
    font-weight: 500;
    margin: 1rem 0 0;
}

/* Additional Adjustments */
.onereg-solutions a {
    font-size: 20px;
    text-decoration: none;
}

.onereg-solutions .kl-features-02__card {
    flex-basis: 225px;
    margin: 32px;
}

.kl-features-02__image {
    margin-bottom: 16px;
}

.kl-features-02__image img,
.kl-features-02__image svg {
    width: 100%;
    display: block;
}


/* Fade-in-up animation */
.fade-in-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.kl-testimonial {
    opacity: 0;
    transform: translateY(20px); /* Adjust the value to your preference */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Add this line */
}

.kl-navbar__button:hover,
.kl-navbar__button:focus-within,
.kl-navbar__description:hover h2,
.kl-navbar__description:focus-within h2,
.kl-navbar__description:hover h3,
.kl-navbar__description:focus-within h3,
.kl-navbar__description:hover p,
.kl-navbar__description:focus-within p,
.kl-navbar__item--active .kl-navbar__button {
  color: #b066ff; 
}

.button.Navbar_with_Menu__button {
  background-color: #b066ff;
  transition: all 0.15s linear !important;
}

.button.Navbar_with_Menu__button:hover {
  border-radius: 1px;
  transform: scale(1.05);
}