/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7fb;
    background: linear-gradient(45deg, rgba(0, 153, 255, 0.7), rgba(255, 0, 102, 0.7)); /* Initial gradient */
    background-size: 400% 400%;
    animation: gradientAnimation 10s ease infinite;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.navbar-nav .nav-link {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ff6f61;
}

.navbar-nav .nav-link.active {
    color: #ff6f61;
}

/* Hero Section */
.header {
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    padding: 80px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
    position: relative;
}

.header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.header p {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

/* Card Styles */
.card {
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 2rem;
}

/* Footer Styles */
.footer {
    background-color: #1d2836;
    color: #fff;
    padding: 30px 0;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ff6f61;
}

/* Animation for Gradient Background */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
/* Ensure all movie images are 40% of their container width */
.movie-img {
    width: 60%;
    margin: 0 auto; /* Center the image horizontally */
    display: block;
}

