/*=======================================================
            TOP SLIDER:
========================================================*/
.slider-area {
    height: 80vh;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #2c3e50, #000);
    padding: 0 0 !important;
}

#home .row > *{
    padding: 0;
}

.glide .glide-slider {
    width: 100%;
    height: 100%;
}

.glide__track {
    width: 100%;
    height: 100%;
}

.glide__slides {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent overflow */
}

.glide__slide {
    position: relative;
    width: 100%; /* Ensure each slide takes up the full width of the container */
    overflow: hidden;
    flex-shrink: 0; /* Prevent flex items from shrinking */
    box-sizing: border-box; /* Include padding and border in element’s total width and height */
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: transform 0.5s ease-in-out;
    box-sizing: border-box; /* Ensure image sizing does not overflow */
}

.slider-area .glide__slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slider-area .glide__slide:hover .slider-image {
    transform: scale(1.01);
}

.slider-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    background: none !important;
    border-radius: 10px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto; /* Center content */
    top: 50%;
    transform: translateY(-50%);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-content h2 {
    margin: 20px 0;
    color: #FFF;
    font-size: 2.5em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-family: 'Helvetica Neue', sans-serif;
}

.slider-content p {
    margin: 15px 0;
    font-size: 1.2em;
    line-height: 1.5;
}

.slider-content .btn {
    margin-top: 20px;
    padding: 10px 20px;
    color: black;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
    animation: fadeIn 1.5s ease-out;
}

.slider-content .btn:hover {
    transform: scale(1.05);
    color: #FFF;
}

/* Navigation bullets */
.glide__bullets {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.glide__bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.glide__bullet--active {
    background: #FFF;
}
