/* =============================================
   Learning Isn't Linear - Videos Page Styles
   ============================================= */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* ==================== HEADER (same as product/contact/papers) ==================== */
header {
    background: #222;
    padding: 8px 0;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-container {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.logo-container img {
    height: 38px;
    width: auto;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

nav a:hover {
    color: #0077cc;
}

/* ==================== HERO ==================== */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-bottom: 1px solid #eee;
}

.hero h1 {
    font-size: 48px;
    margin: 0;
    color: #222;
}

/* ==================== VIDEO GALLERY (your original special styles) ==================== */
.video-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 20px 20px 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.video-card {
    width: 100%;
    max-width: 640px;
    display: flex;
    justify-content: center;
}

/* Responsive 16:9 wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==================== FOOTER ==================== */
footer {
    background: #222;
    color: #888;
    text-align: center;
    padding: 25px 20px;
    margin-top: 60px;
}

.footer-nav {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-nav a {
    color: #aaa;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #0077cc;
}