/* === GENERAL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f9f9f9;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* === HEADER === */
.header {
    background-color: #003366; /* Dark Blue */
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo {
    height: 60px;
}

.title-group h1 {
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.9rem;
    color: #c0c0c0;
}

/* === HERO === */
.hero {
    background-color: #e6f0ff; /* Light blue background */
    text-align: center;
    padding: 80px 20px;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
}

/* === VIDEOS SECTION === */
.videos-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

/* === SEARCH BAR === */
.search-container {
    display: flex;
    justify-content: center;  /* center horizontally */
    margin-bottom: 40px;
}

#searchInput {
    padding: 12px 20px;
    width: 300px;
    border-radius: 25px 0 0 25px; /* rounded left side */
    border: 1px solid #ccc;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#searchInput:focus {
    border-color: #003366;
    box-shadow: 0 0 8px rgba(0, 51, 102, 0.3);
}

#searchBtn {
    padding: 12px 20px;
    background-color: #003366;
    color: #fff;
    border: none;
    border-radius: 0 25px 25px 0; /* rounded right side */
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

#searchBtn:hover {
    background-color: #0055a5;
}

/* === VIDEO GRID === */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* === FOOTER === */
.footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

.footer-note {
    font-size: 0.9rem;
    margin-top: 5px;
    color: #c0c0c0;
}

/* === UTILITIES === */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.video-card iframe {
    width: 100%;
    height: 200px;
    border-radius: 10px;
}

.video-card h3 {
    font-size: 1.1rem;
    margin: 10px 0 5px;
}

.video-card p {
    font-size: 0.9rem;
    color: #555;
}

/* NAV BUTTONS */
.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.nav-btn {
    padding: 14px 32px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Primary Button */
.primary-btn {
    background: linear-gradient(135deg, #0b3c5d, #1f6aa5);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

/* Secondary Button */
.secondary-btn {
    background: #fff;
    color: #0b3c5d;
    border: 2px solid #0b3c5d;
}

.secondary-btn:hover {
    background: #0b3c5d;
    color: #fff;
}
