/* Slider/hero style for image with overlay and navigation */

section.slider {
    padding: 0;
}
.slider {
    position: relative;
    height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--dark-brown);
    overflow: hidden;
    color: var(--text-light);

    h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
}
    .slider-effect {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            visibility: hidden;
            transform-style: preserve-3d;
            backface-visibility: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1);
        }
        .slide.active {
            position: relative;
            opacity: 1;
            visibility: visible;
            z-index: 10;
        }
        .slide.first {
            color: var(--text-light);
            text-align: center;
        }
        .slide.first::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
        }
            .hero-content {
                position: relative;
                z-index: 2;
                display: grid;
                grid-template-columns: 1fr;
                align-items: center;
                margin: 0 5rem;
            }
            .hero-content-2fr {
                grid-template-columns: 2fr 1fr;
            }
                .hero-text {
                    color: var(--text-light);
                }
                .hero-image {
                    position: relative;
                    border-radius: 50%;
                    overflow: hidden;
                    aspect-ratio: 1;
                    width: 100%;
                    max-width: 500px;
                    margin-left: auto;
                    box-shadow: var(--shadow-lg);
                }
                .hero-image .profile-image {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: transform 0.5s ease;
                }
                .hero-image .image-overlay {
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    background: radial-gradient(circle at center, rgba(17, 105, 146, 0) 0%, rgba(17, 105, 146, 0.2) 100%);
                    z-index: 1;
                }
        .slider-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            z-index: 10;
            display: flex;
            justify-content: space-between;
            padding: 0 1rem;
        }
            .slider-arrow {
                width: 50px;
                height: 50px;
                color: var(--text-light);
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                backdrop-filter: blur(5px);
                border-width: initial;
                border-style: none;
                border-color: initial;
                border-image: initial;
                border-radius: 50%;
                background: rgba(255, 255, 255, 0.2);
                transition: 0.3s;
            }
        .slider-controls {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 1rem;
            margin: 1rem 0;
            z-index: 999;
        }
            .slider-dot {
                width: 12px;
                height: 12px;
                border-radius: 50%;
                background: rgba(255,255,255,0.7);
                border: none;
                cursor: pointer;
                transition: background 0.3s;
            }
            .slider-dot.active {
                background: #fff;
                box-shadow: 0 0 0 2px #aaa;
            }
                








/* .hero {
    position: relative;
    background: #222;
    background-size: cover;
    background-position: center;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 100px;
}
.hero-slide-img {
    width: 100vw;
    height: 480px;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.7s;
}
.hero-slide-img.hidden {
    opacity: 0;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: left;
    max-width: 650px;
    margin-left: 5vw;
    background: rgba(0,0,0,0.35);
    padding: 2rem 2.5rem;
    border-radius: 1.2rem;
} */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 3;
    padding: 0.5rem 1.2rem;
    border-radius: 50%;
    color: #555;
    transition: background 0.2s, color 0.2s;
}
.slider-btn:hover {
    background: #fff;
    color: #222;
}
.prev-btn { left: 2vw; }
.next-btn { right: 2vw; }
.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 12px;
}
.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}
.slider-dot.active {
    background: #fff;
    box-shadow: 0 0 0 2px #aaa;
}
