/* Main Slider Container */
.slider-container {
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.flexslider {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.flexslider .slides {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.flexslider .slides li {
    width: 100%;
    height: 100%;
    background-size: cover;  /* Prevents cropping */
    background-position: center;
    background-repeat: no-repeat;
}

.flexslider .slides img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Navigation Arrows */
.flex-direction-nav a {
    text-decoration: none;
    display: block;
    width: 35px;
    height: 35px;
    position: absolute;
    top: 50%;
    z-index: 10;
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.flex-direction-nav a:hover {
    opacity: 1;
}

.flex-direction-nav .flex-prev {
    left: 10px;
}

.flex-direction-nav .flex-next {
    right: 10px;
}

/* Dots Navigation */
.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: 20px;
    text-align: center;
}

.flex-control-nav li {
    display: inline-block;
    margin: 0 5px;
}

.flex-control-nav li a {
    display: block;
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.flex-control-nav li a:hover,
.flex-control-nav li a.flex-active {
    background: rgba(0, 0, 0, 0.9);
}

.flex-control-paging li {
    list-style-type: none;
}

.flex-control-paging li a {
    content: none !important;
    text-indent: -9999px; /* Hide any text */
}

/* Responsive Media Queries */
@media screen and (max-width: 768px) {
    .slider-container {
        height: 60vh;
    }

    .flex-direction-nav a {
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width: 480px) {
    .slider-container {
        height: 50vh;
    }

    .flex-direction-nav a {
        width: 25px;
        height: 25px;
    }
}
