header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #2c3e50;
    color: white;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    color: white;
    font-size: 1.8rem; /* Increased font size for text-based logo */
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px; /* Set a reasonable max height for the logo image */
    width: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Ensure it doesn't exceed the container */
    object-fit: contain; /* Ensure the logo fits without distortion */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

nav a:hover,
nav a.active {
    opacity: 0.8;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 3%;
    }

    .logo img {
        max-height: 40px; /* Slightly smaller logo on mobile */
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
}
/* Video card hover effect */
.video-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Rating stars */
.rating-stars i {
    cursor: pointer;
    transition: color 0.2s;
}
.rating-stars i:hover,
.rating-stars i.active {
    color: #ffc107;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700; /* for bold headings */
}

/* Optionally, adjust the hero h1 specifically */
.hero h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}