/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f7fb;
    color: #222;
    line-height: 1.6;
}

/* Wrapper */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e90ff, #23b574);
    color: #fff;
    padding: 15px 0 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 26px;
    letter-spacing: 1px;
}

header .student-info {
    font-size: 13px;
    text-align: right;
}

/* Navigation */
nav {
    margin-top: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

nav ul li {
    /* no bullets */
}

nav a {
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 14px;
    transition: background 0.3s, transform 0.2s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

nav a.active {
    background: #ffffff;
    color: #1e90ff;
}

/* Main content */
main {
    padding: 25px 0 40px;
}

.page-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1e90ff;
}

.subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Card style sections */
.card {
    background: #fff;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.card h2 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #23b574;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 6px;
    color: #333;
}

.card p {
    margin-bottom: 8px;
    font-size: 14px;
}

.card ul {
    margin-left: 18px;
    margin-top: 6px;
    margin-bottom: 6px;
    font-size: 14px;
}

.highlight {
    background: #e7f7ff;
    border-left: 4px solid #1e90ff;
    padding: 10px 12px;
    border-radius: 6px;
    margin-top: 8px;
    font-size: 14px;
}

/* Image styling */
.img-box {
    text-align: center;
    margin: 10px 0;
}

.img-box img {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background: #1e293b;
    color: #cbd5f5;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 600px) {
    header h1 {
        font-size: 20px;
    }

    .student-info {
        font-size: 12px;
    }

    nav a {
        font-size: 12px;
        padding: 6px 10px;
    }

    .page-title {
        font-size: 20px;
    }
}
