/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Body */

body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #004080;
    line-height: 1.6;
}


/* Header */

header {
    background-color: #004080;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

#course-title {
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 15px;
}


/* Navigation */

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: #ffffff;
    color: #004080;
    border-radius: 5px;
}


/* Hero Section */

.hero {
    background-color: #e6f0ff;
    text-align: center;
    padding: 80px 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #004080;
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-weight: 600;
    color: #004080;
    font-size: 1.2rem;
}


/* Main Grid */

main {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}


/* Card Section */

.card {
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 64, 128, 0.1);
    text-align: center;
}

.card h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #004080;
    margin-bottom: 15px;
}

.card p,
.card ul {
    color: #004080;
}

.card a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.card a:hover {
    text-decoration: underline;
}


/* Projects Section */

.projects {
    grid-column: 1 / -1;
    margin-top: 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #004080;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 64, 128, 0.3);
}

.project-card h3 {
    color: #004080;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin: 10px 0;
}

.project-card p {
    color: #004080;
    font-weight: 500;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #004080;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
}

.project-card a:hover {
    background-color: #ffffff;
    color: #004080;
    border: 1px solid #004080;
}


/* Footer */

footer {
    background-color: #004080;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

footer a {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}