/* General styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7fa;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Hero Header */
.hero {
    background: linear-gradient(to bottom right, #0056b3, #003d80);
    color: white;
    text-align: center;
    padding: 80px 20px 40px;
    position: relative;
}

.button-container {
    text-align: center;
}

.hero-content-l h1 {
    font-size: 6rem;
    margin-bottom: 10px;
    margin-top: 4%;
}

.hero-content-l2 h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    margin-top: 1%;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 300;
}

nav {
    position: absolute;
    top: 10px;
    right: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffe;
}

/* Cards */
.card {
    background: white;
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #0056b3;
    border-bottom: 2px solid #0056b3;
    padding-bottom: 5px;
}

/* Video */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Buttons */
.button-primary,
.button-secondary {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.button-primary {
    background-color: #0056b3;
    color: white;
}

.button-primary:hover {
    background-color: #003d80;
}

.button-secondary {
    background-color: #eee;
    color: #0056b3;
    border: 1px solid #0056b3;
}

.button-secondary:hover {
    background-color: #ddd;
}

/* Fancy List */
.fancy-list {
    padding-left: 20px;
    list-style-type: disc;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #003d80;
    color: white;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    /* Hero section */
    .hero-content-l h1 {
        font-size: 2.2rem;   /* down from 6rem */
        margin-top: 10px;
    }
    .hero-content-l2 h1,
    .hero-content h1 {
        font-size: 1.8rem;   /* scale down */
    }
    .tagline {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Navigation */
    nav {
        position: static; /* let it flow instead of absolute */
        text-align: center;
        margin: 10px 0;
    }
    .nav-link {
        display: inline-block;
        margin: 5px 10px;
        font-size: 1rem;
    }

    /* Buttons */
    .button-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .button-primary, .button-secondary {
        width: 90%; /* full-width buttons on mobile */
        text-align: center;
    }

    /* Cards */
    .card {
        margin: 15px 10px;
        padding: 15px;
    }
    h2 {
        font-size: 1.4rem;
    }

    /* Footer */
    footer {
        font-size: 0.8rem;
        padding: 15px 5px;
    }
}
