:root {
    --primary-color: #0d253f;
    --secondary-color: #e50914;
    --accent-color: #90cea1;
    --background-color: #f5f5f7;
    --card-color: #ffffff;
    --text-color: #333;
}

 /* Additional Details Section Styles */
 .additional-details {
    background-color: rgba(13, 37, 63, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.additional-details h4 {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
}

.detail-item i {
    margin-top: 4px;
    width: 20px;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.search-form {
    max-width: 500px;
    width: 100%;
}

.search-form .form-control {
    border-radius: 20px 0 0 20px;
}

.search-form .btn {
    border-radius: 0 20px 20px 0;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.movie-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
    background-color: var(--card-color);
    height: 100%;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img-container {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.movie-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover img {
    transform: scale(1.05);
}

.movie-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.movie-card .card-body {
    padding: 15px;
}

.movie-card .card-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card .card-year {
    color: #777;
    font-size: 0.9rem;
}

.movie-card .card-genre {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: 5px;
}

.genre-badge {
    background: var(--secondary-color);
    color: white;
    border-radius: 20px;
    padding: 3px 10px;
    margin: 3px;
    display: inline-block;
    font-size: 0.8rem;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
    margin-top: 5px;
}

.section-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #ddd;
    margin-left: 15px;
}

.movie-details {
    background-color: var(--card-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.movie-poster {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.movie-poster img {
    width: 100%;
    height: auto;
}

.movie-info h1 {
    font-weight: 700;
    margin-bottom: 5px;
}

.movie-meta {
    color: #777;
    margin-bottom: 15px;
}

.movie-plot {
    margin: 20px 0;
    line-height: 1.6;
}

.movie-cast, .movie-director {
    margin-bottom: 10px;
}

.movie-cast span, .movie-director span {
    font-weight: 600;
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 25px 0;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .card-img-container {
        height: 200px;
    }
    
    .movie-poster {
        margin-bottom: 20px;
    }
}