body {
    font-family: 'Arial', sans-serif;
}

/* popup  */






 .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: cover;
    background-position: center;
} 

.hero-slide.active {
    opacity: 1;
}

#hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;

}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: rgb(255, 17, 0) 0px 20px 30px -10px;
}
.hero-content {
    position: relative;
    color: white;
    padding: 2rem;
    max-width: 50%;
}

.movie-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.movie-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quality-badge {
    background-color: #e50914;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-weight: bold;
}

.rating {
    color: #ffd700;
}

.movie-description {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.watch-now-btn {
    background-color: #e50914;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.watch-now-btn:hover {
    background-color: #f40612;
}

@media (max-width: 768px) {
    .hero-content {
        max-width: 100%;
    }

    .movie-title {
        font-size: 2rem;
    }

    .movie-description {
        font-size: 0.9rem;
    }
}

.movie-slider {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.movie-card {
    flex: 0 0 calc(50% - 0.5rem);
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .movie-card {
        flex: 0 0 calc(25% - 0.75rem);
    }
    #hero-slider {
        height: 50vh !important;
    }
}
    #hero-slider {
        height: 50vh !important;
    }

    .hero-slide {
        background-position: center top;
    }

    .hero-content {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

@media (min-width: 992px) {
    .movie-card {
        flex: 0 0 calc(20% - 0.8rem);
    }
    #hero-slider {
        height: 50vh !important;
    }
}

.movie-card:hover {
    transform: scale(1);
}

.movie-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.movie-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.movie-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}
.t-trendminf{
    background-color: #e50914;
    color: white;
    padding: 3px 5px;
    border-radius: 5px;
    font-weight: 600;
}

.movie-details {
    font-size: 0.8rem;
    /* opacity: 0.8; */
}
.detail-movie{
    background-color: rgb(255, 208, 0);
    color: black;
    padding: 3px 6px;
    border-radius: 5px;
}

.rating {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    left: 0.5rem;

    /* background-color: rgba(0, 0, 0, 0.7); */
    border-radius: 0.25rem;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between; /* Distributes space between items */
    align-items: center; /* Center align items vertically */
    width: 90%; /* Ensures it occupies full width */
    text-align: center;
}
.rating span {
    margin-bottom: 0.25rem;
}

.rating span:last-child {
    margin-bottom: 0;
}




.ratting-span-wuality{
        background-color: rgba(255, 0, 0, 0.814);
        color:white;
        border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;

}
.ratting-span-rait{
    background-color: #212529;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;        color: rgb(255, 230, 0);
    border-radius: 0.25rem;
font-size: 0.8rem;
font-weight: 600;
padding: 0.25rem 0.5rem;

}

.movie-card::after {
    content: '\f144';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-card:hover::after {
    opacity: 1;
}

.movie-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-control.prev {
    left: -1rem;
}

.slider-control.next {
    right: -1rem;
}
.nav-link{
    color: rgb(210, 210, 210);
}

.nav-link:hover{
    color: white;
    cursor: pointer;
    border-bottom:2px solid white;
    border-top:2px solid white;
    cursor: pointer;
}
.nav-item:active{
    color: #e50914;
}
.nahover:hover{
    background-color: #e50914;
    color: aliceblue;
    cursor: pointer;
}
.nahover{
    text-align: center;
    color: rgb(27, 27, 27);
    cursor: pointer;
}