/************Main Slider*****************/
.slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    height: 1050px;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;

}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 1000px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0);
    /* Add transparency */
    z-index: 3;
    /* Ensure text stays on top */
}

.text-overlay h2 {
    font-size: 3rem;
    color: #ffcc00;
}

.text-overlay p {
    font-size: 1.6rem;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.178);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 3;
    /* Keep buttons above slides */
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.slider-container a {
    text-decoration: none;
    color: inherit;

}

/********************/
.hover-icon {
    position: absolute;
    top: 180px;
    right: 80px;
    width: auto;
    height: 60px;
    z-index: 4;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
}

.hover-icon p {
    color: #ffcc00;
    background-color: rgba(0, 0, 0, 0.37);
    border-radius: 10px;
    font-size: 20px;
    padding: 10px;
}

/* Pop-up comment */
.popup-comment {
    position: absolute;
    top: 50%;
    right: 120%;  
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show the comment on hover */
.hover-icon:hover .popup-comment {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px); /* Slight move effect */
}

.hover-icon:hover {
    transform: scale(1.1);
}


/***********************/



/*************************Flyer Slider************************
.flyer-slider-container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    margin-top: 20px;
}

.flyer-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.flyer-slide {
    flex: 0 0 calc(100% / 3);
    display: flex;
    justify-content: center;
    position: relative;
}

.flyer-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.flyer-download-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
}

.flyer-download-btn:hover {
    background: rgba(0, 0, 0, 1);
}

.flyer-nav-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.flyer-nav-buttons button {
    background-color: rgba(0, 0, 0, 0.226);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
}

.flyer-nav-buttons button:hover {
    background-color: rgba(0, 0, 0, 0.226);
}  */