/* ===== PAGE STYLES ===== */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #d9ecff 0%, #ffe8d6 100%);
    color: #333;
}

/* Header */
.main-header {
    position: sticky;               /* stays at the top */
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;

    background: rgba(255, 255, 255, 0.4);  /* semi-transparent for glass effect */
    backdrop-filter: blur(10px);           /* frosted glass effect */
    -webkit-backdrop-filter: blur(10px);   /* Safari support */

    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* subtle border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);         /* gentle shadow */
    
    z-index: 100; /* stays above content */
}
.logo {
    height: 65px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 6px 12px;
    border-radius: 6px;
}

.navbar a:hover,
.navbar a.active {
    color: #007bff;
    background-color: rgba(0, 119, 255, 0.1);
}
/* ================= HAMBURGER - HIDDEN ON DESKTOP ================= */
.hamburger {
    display: none;          /* Hidden on desktop by default */
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    margin-left: auto;      /* Push to right when shown */
}

/*============================
   RESPONSIVE NAVIGATION
   ===========================*/
@media (max-width: 700px) {
    .hamburger {
        display: block;      /* show hamburger */
        margin-left: auto;   /* push to right */
        font-size: 28px;
        cursor: pointer;
    }

    .navbar ul {
        display: none;       /* hide menu initially */
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 100%;           /* dropdown below header */
        right: 0;            /* align to right */
        background: rgba(255, 255, 255, 0.82); /* glass effect */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 10px 20px;
        border-radius: 0 0 12px 12px;
        z-index: 99;
    }

    .navbar ul.show {
        display: flex;       /* show menu when toggled */
    }

    .main-header {
        flex-direction: row;  /* logo left, hamburger right */
        align-items: center;
        padding: 15px 20px;
    }
}
/* ================= VIDEO LIBRARY ================= */

.video-library {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.video-library h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #f97316; /* orange title for consistency */
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.video-card video {
    width: 100%;
    border-radius: 8px;
}

.video-card h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    text-align: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   FOOTER
   ========================================================= */
footer {
    background-color: #f8f9fa;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid #e0e0e0;
}

footer img {
    height: 40px;
    margin-bottom: 10px;
}

.footer-left p {
    color: #555;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #FF6B00; /* Orange hover */
    transition: color 0.2s ease;
}

.footer-contact p {
    color: #555;
    font-size: 0.9rem;
}
