body {
    margin: 0;
    padding: 0;
    font-family: poppins, sans-serif;
    background-color: #f9f9f9; 
}
a {
    text-decoration: none;
    color: inherit;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px; 
    font-size: 1rem;
    margin: 10px 20px; 
    border-radius: 14px;
    background-color: #ffffff; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 70px; 
}
.nav-left{
    display: flex;
    align-items: center;
    gap: 20px; 
}
.nav-item {
    padding: 5px 0;
    transition: color 0.3s;
}
.nav-item:hover {
    color: #007bff; 
}
.navbar button{
    padding: 8px 15px; 
    border: 1px solid #007bff;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.navbar button:hover {
    background-color: #007bff; 
    color: #ffffff;
}
.png{
    padding: 2px;
    height: 40px; 
    width: auto; 
}

.hero-poster {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero{
    text-align: center;
    width: 80%;
    max-width: 900px;
    margin: -80px auto 40px auto;
    padding: 40px 20px; 
    font-size: x-large;
    position: relative;
    z-index: 10;
    background: linear-gradient(to bottom right, #FFFFFF,#E0F2FF);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
    color: #333; 
}

.hero p {
    color: #333; 
}

.hero button {
    padding: 12px 30px;
    margin-top: 30px; 
    font-size: large;
    background-color: #007bff; 
    color: white; 
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.hero button:hover {
    background-color: #0056b3; 
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.card-container {
    display: flex;
    gap: 40px; 
    flex-wrap: wrap;
    padding: 40px 20px;
    justify-content: center;
    margin-bottom: 80px;
    margin-top: 90px; 
}
.card {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-8px); 
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); 
    cursor: pointer;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    margin: 0 0 10px 0;
    font-size: 22px;
    color: #333;
}

.card-text {
    color: #666;
    margin-bottom: 0; 
    font-size: 16px;
}

.footer{
    text-align: center;
    padding: 28px;
    background-color: #e9e9e9;
    margin-top: 0; 
    position: relative;
    color: #444;
}

@media (max-width: 768px) {
    
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        margin: 0; 
        padding: 10px;
        font-size: 0.9rem;
        border-radius: 0;
        width: 100%; 
    }
    
    .nav-left {
        gap: 8px;
        justify-content: space-around;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-poster {
        height: 150px;
    }
    
    .hero {
        font-size: large;
        margin: -40px auto 30px auto;
        padding: 30px 15px;
        width: 95%;
    }
    
    .card-container {
        flex-direction: column; 
        align-items: center;
        gap: 20px;
        padding: 20px 10px; 
        margin-top: 20px; 
    }

    .card {
        width: 90%;
        min-width: 250px; 
    }
}