
/* Hero Section */
.hero {
    min-height: fit-content;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
    padding: 10px 0;
    margin-top: 20px;
}

.hero-slider {
    position: relative;
    display: block;
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-content.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 1;
}

.hero-image {
    flex: 1;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

.hero-text {
    flex: 1;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    margin-left: -100px;
    z-index: 2;
}

.hero-text h4 {
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.1rem !important;
    margin-bottom: 30px !important;
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 40px;
    justify-content: center;
}

/* .hero-buttons .cta-button.learnmore {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.hero-buttons .cta-button.learnmore:hover {
    background-color: var(--primary-color);
    color: var(--text-primary);
} */


@media (min-width: 993px){
    .hero{
        padding-top: 60px;
    }
    .hero-text{
        display: flex;
        align-content: center;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: fit-content;
        width: 100px;
    }
    .hero-content{
        display: flex;
        align-items: center;
        height: auto;
        width: auto;
    }
    .hero-text{
        padding: 20px;
        margin-right: 20px;
    }

}
/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hero-slider {
    position: static;
    }
    .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    /* position: relative; */
    opacity: 0;
    visibility: hidden;
    }

    .hero-content.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    }

    .hero-text {
    margin-left: 0;
    margin-top: -50px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: auto;
        padding: 15px 0 0 0;
    }

    .hero-text h4 {
        font-size: 1.2rem !important;
    }
    .hero-text p {
        font-size: 0.8rem !important;
    }
    .hero-buttons {
        /* flex-direction: column; */
        gap: 15px;
        font-size: 0.8rem !important;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    .hero{
        padding: 10px 0 0 0;
    }

    .hero-text {
        padding: 20px;
    }

    /* .hero-text h4 {
        font-size: 1.8rem;
    } */

}