/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa; /* Light Gray Background */
}

/* --- Navigation Bar --- */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0d6efd !important; /* Blue Brand Color */
}
.nav-link {
    font-weight: 500;
    color: #333 !important;
    margin-right: 15px;
    transition: 0.3s;
}
.nav-link:hover {
    color: #0d6efd !important;
}

/* --- Hero Section (Banner) --- */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../image/banner.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    animation: fadeInDown 1s; /* Animation */
}
.hero-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* --- Course Cards --- */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-10px); /* Upar uthne ka effect */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 200px;
    object-fit: cover;
}
.price {
    font-weight: 700;
    color: #0d6efd;
}

/* --- Footer --- */
.footer {
    background-color: #212529;
    color: white;
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
}    /* --- Youny Style Premium Design --- */
.premium-bg {
    background-color: #000; /* Pitch Black */
    color: #fff;
}

.hero-banner {
    position: relative;
    height: 70vh;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 40px 40px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 50px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%);
    border-radius: 0 0 40px 40px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
}

.sticky-buy-card {
    position: sticky;
    top: 100px;
}

.lesson-row {
    background: #111;
    border-radius: 12px;
    margin-bottom: 10px;
    padding: 15px;
    transition: 0.3s;
    border: 1px solid #222;
}
.lesson-row:hover {
    background: #1a1a1a;
    border-color: #0d6efd;
}

.btn-premium {
    background: #fff;
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 30px;
    transition: 0.3s;
}
.btn-premium:hover {
    background: #0d6efd;
    color: #fff;
}

/* Mobile Bottom Bar for Buy Button */
@media (max-width: 768px) {
    .mobile-buy-bar {
        position: fixed;
        bottom: 0; left: 0; width: 100%;
        background: rgba(0,0,0,0.8);
        backdrop-filter: blur(10px);
        padding: 15px;
        z-index: 999;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #333;
    }
}