* {
    margin: 0;
    box-sizing: border-box;
    padding: 0;
    font-family: 'Times New Roman', Times, serif;
}

body {
    line-height: 2.5;
    color: black;
}

h1,h2,h3 {
    color: black;
    margin-bottom: 1rem;
}

.Title {
    color: white
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: darkblue;
    text-decoration: darkgray;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #003366;
    color: white;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 0.5rem;
}

.btn:hover {
    background: #002244;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== HEADER ===== */
header {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #003366;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: #003366;
    font-weight: 500;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #003366, #005588);
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero .btn {
    background: white;
    color: #003366;
}

.hero .btn:hover {
    background: #f0f0f0;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 4rem 1rem;
    background: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

/* ===== QUIZZES/TESTS SECTION ===== */
.latest-quizzes, .latest-tests {
    padding: 4rem 1rem;
    background: #f4f4f4;
}

.latest-quizzes h2, .latest-tests h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.quiz-list, .test-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quiz-card, .test-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.quiz-card h3, .test-card h3 {
    margin-bottom: 0.5rem;
}

.quiz-card p, .test-card p {
    color: #555;
    margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-links a {
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}