﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



.slider-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.slider {
    width: 100%;
    height: 400px;
    /*background: linear-gradient(135deg, #1e163d 0%, #2a1b5b 100%);*/
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

    .slide.active {
        opacity: 1;
    }

    .slide h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .slide p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        line-height: 1.5;
        max-width: 80%;
    }

.btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

.navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .nav-btn.active {
        background-color: white;
    }

.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
    z-index: 10;
}

    .prev-btn:hover, .next-btn:hover {
        background-color: rgba(255, 255, 255, 0.4);
    }

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .slide h1 {
        font-size: 1.8rem;
    }

    .slide p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .slide h1 {
        font-size: 1.5rem;
    }

    .slide p {
        font-size: 0.9rem;
        max-width: 95%;
    }
}
