/* Slider styles */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 1000px;
    padding: 3rem;
    border-radius: 15px;
    backdrop-filter: blur(8px);
    background: linear-gradient(to top, rgba(21, 32, 43, 0.9) 0%, rgba(21, 32, 43, 0) 100%);
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: -1px;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.slide-buttons {
    margin-top: 2rem;
}

.slide-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin: 0 15px;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    background-color: var(--primary-color);
    border: none;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-btn.secondary {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.slide-btn:hover {
    transform: translateY(-2px);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    background-color: rgba(21, 32, 43, 0.7);
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--text-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-container {
        height: 500px;
        border-radius: 12px;
    }

    .slide-content {
        padding: 1.5rem;
    }

    .slide-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .slide-btn {
        width: 100%;
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
        margin: 0.5rem 0;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }

    .slider-dots {
        bottom: 20px;
    }

    .dot {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}
