/* ==========================================================================
   Hero Slider Styles
   ========================================================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 1071px;
    overflow: hidden;
}

.hero-slider__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.hero-slider__slide--active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Background */
.hero-slider__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slider__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Container */
.hero-slider__container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 20px;
}

.hero-slider__content {
    max-width: 932px;
    width: 100%;
    display: flex;
}

/* Badge Image */
.hero-slider__badge {
    width: 230px;
    height: 230px;
    flex-shrink: 0;
}

.hero-slider__badge-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Text Content */
.hero-slider__text {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hero-slider__title {
    font-weight: 700;
    font-size: 120px;
    line-height: 1.1;
    text-align: right;
    color: #fff;
    margin: 0 0 40px 0;
}

.hero-slider__subtitle {
    font-weight: 700;
    font-size: 36px;
    line-height: 133%;
    text-align: right;
    color: #fefefe;
    margin: 0 0 66px 0;
}

/* Buttons */
.hero-slider__buttons {
    display: flex;
    gap: 34px;
    align-items: center;
    justify-content: flex-start;
}

.hero-slider__button span {
    color: #ffffff;
    font-size: 24px;
    line-height: 28px;
    font-family: var(--second-family);
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

.hero-slider__button {
    padding: 0 32px;
    min-height: 70px;
    line-height: 70px;
    border-radius: 0 16px;
    background-color: #023421;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    border: none;
    cursor: pointer;
    height: auto;
    min-width: auto;
}

.hero-slider__button--secondary span {
    color: #ffd46e;
}

.hero-slider__button--primary {
}

.hero-slider__button-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.hero-slider__button:hover {
    background-color: #034a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Navigation Dots */
.hero-slider__navigation {
    position: absolute;
    top: 50%;
    left: 80px;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 20px;
}

.hero-slider__dot {
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-slider__dot-inactive {
    display: block;
    transition: opacity 0.3s ease-in-out;
}

.hero-slider__dot-active {
    display: none;
    transition: opacity 0.3s ease-in-out;
}

.hero-slider__dot--active .hero-slider__dot-inactive {
    display: none;
}

.hero-slider__dot--active .hero-slider__dot-active {
    display: block;
}

.hero-slider__dot:hover .hero-slider__dot-inactive circle {
    fill-opacity: 0.5;
}

/* Responsive */
@media (max-width: 1400px) {
    .hero-slider__content {
        transform: scale(.8);
        transform-origin: right;
    }
}

@media (max-width: 768px) {
    .hero-slider__content {
        flex-direction: column-reverse;
        transform: none;
    }

    .hero-slider {
        height: 800px;
    }

    .hero-slider__container{
        align-items: start;
        padding-top: 125px;
        padding-bottom: 0;
    }

    .hero-slider__title {
        font-size: 56px;
        max-width: 330px;
        margin: 58px 0 20px;
    }

    .hero-slider__subtitle {
        font-size: 20px;
        margin-bottom: 32px;
        max-width: 300px;
    }

    .hero-slider__badge {
        width: 107px;
        height: 107px;
        flex-shrink: 0;
        flex-grow: 0;
    }

    .hero-slider__buttons {
        flex-direction: column-reverse;
        gap: 16px;
        width: 100%;
    }

    .hero-slider__button {
        min-height: 64px;
        line-height: 64px;
        width: 100%;
        justify-content: center;
    }

    .hero-slider__button span {
        font-size: 20px;
    }

    .hero-slider__navigation {
        left: 20px;
    }
}

