/* STRT HERO SECTION*/
.hero {
    background-image: url(../images/hero-bg.webp);
}

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero .container .hero-info {
    text-align: center;
    background-color: transparent;
}

.hero .container .hero-info .info-title {
    font-size: 20px;
}

.hero .container .hero-info>h2 {
    font-size: 15px;
}

/* Social icons */
.hero .social {
    width: 60%;
    margin: 1rem auto;
    padding: 0 1rem;
}

.hero .social-list {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.hero .social-list i {
    background-color: var(--main-color);
    color: #fff;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.hero .social-list i:hover {
    transform: translateY(-0.4rem) scale(1.05);
}

.hero .container .hero-info>button {
    background-color: var(--main-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 10px;
    border-radius: 5px;
}

.hero .container .hero-info>button:last-of-type {
    margin-right: 0.7rem;
    padding: 10px 20px;
}

.hero .container .hero-info>button:hover {
    transform: scale(1.05);
}

/* hero Slider */
.hero-slider {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.hero-slider .slides {
    display: flex;
    transition: transform 0.5s ease;
}

.hero-slider .slides .slide {
    flex: 0 0 100%;
}

.hero-slider .slide img {
    max-width: 100%;
    aspect-ratio: 16/9;
}

/* Controls */
.hero-slider .btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    color: #fff;
    padding: 5px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.hero-slider .prev {
    left: 10px;
}

.hero-slider .next {
    right: 10px;
}

.hero-slider:hover .btn {
    opacity: 1;
    visibility: visible;
}

/* Dots Navigation */
.hero-slider .dots {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.hero-slider .dots .dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin: 0 0.3rem;
    background-color: #ddd;
    cursor: pointer;
}

.hero-slider .dots .dot.active {
    background-color: var(--main-color);
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* Hero Section on larger screens */
@media (min-width: 768px) {

    .hero .container {
        height: 100%;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .hero .container>* {
        width: 49%;
    }

    .hero .container .hero-info p {
        font-size: 1rem;
        line-height: 1.5;
    }
    .hero .container .hero-info>button {
        font-size: 1rem;
    }

}

@media (min-width: 992px) {
    .hero .container .hero-info .info-title {
        font-size: 2.3rem;
        font-weight: 900;
    }

    .hero .container .hero-info>h2 {
        font-size: 1.8rem;
        font-weight: 700;

    }
}

/* END HERO SECTION*/