#heroAbout {
    min-height: calc(100svh - 80px);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section .slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-section .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex; /* Ensure slide content is centered */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section .slide.active {
    opacity: 1;
}

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

.heroAbout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.heroAbout h3 {
    font-size: clamp(1.25rem, 2vw + 0.5rem, 2.25rem);
    font-weight: 300;
    margin: 0;
}

.heroAbout h1,
.heroAbout .slide-title {
    font-size: clamp(2.5rem, 5vw + 1rem, 6.75rem);
    font-weight: 500;
    margin: 10px 0;
}

/* About Content Section */
.about-content {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.about-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1000px; /* Ensures all sections have the same max width */
    margin: 0 auto;
}

/* About Us Container */
.about-us-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    padding: 30px 30px;
}

/* Text Container Styles */
.text {
    text-align: center;
}

/* Clients Section */
#clients {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.carouselLogo {
    background-color: white;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    margin-top: 10px;
    width: 100%;
    max-width: 1000px; /* Ensures it matches the max width of other sections */
    margin-bottom: 30px;
}

.carousel-innerLogo {
    display: flex;
    align-items: center;
    animation: none;
}

.carousel-itemLogo {
    width: 100px;
    height: 66px;
    object-fit: contain;
    flex: 0 0 auto;
    margin: 0 10px;
}

.carouselLogo::before,
.carouselLogo::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
}

.carouselLogo::before {
    left: 0;
    background: linear-gradient(to right, black 0%, transparent 100%);
}

.carouselLogo::after {
    right: 0;
    background: linear-gradient(to left, black 0%, transparent 100%);
}

/* Tablet and Small PC Screen */
@media screen and (max-width: 1200px) {
    .hero h3 {
        font-size: clamp(1.25rem, 2vw + 0.5rem, 2.25rem);
        font-weight: 300;
        margin: 0;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 5vw + 1rem, 6.75rem);
        font-weight: 500;
        margin: 10px 0;
    }

    .about-section {
        max-width: 90%;
    }

    .about-us-container {
        text-align: center;
        max-width: 90%;
    }

    .video-container {
        max-width: 100%;
    }
}

/* Mobile and Small Device Screen */
@media screen and (max-width: 768px) {
    /* Hero */

    .social-bar {
        flex-direction: row;
        margin-top: auto;
        padding-bottom: 20px;
        display: flex;
        gap: 10px;  
    }

    .heroAbout h3 {
        font-size: clamp(1.25rem, 2vw + 0.5rem, 2.25rem);
    }

    .heroAbout h1,
.heroAbout .slide-title {
        font-size: clamp(2.5rem, 5vw + 1rem, 6.75rem);
    }

    .about-content {
        width: 100%;
    }

    .about-us-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .video-container {
        max-width: 100%;
        margin: 0 0 20px 0;
    }

    .video-container {
        margin-bottom: 0;
    }

    .carouselLogo {
        width: 100%;
        margin: 0;
        padding: 0;
    }
}
