/* =========================
   GENERAL RESET
========================= */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background: #f4f6f9;
    color: #2c3e50;
}

/* =========================
   HEADER
========================= */
.header {
    background: white;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

/* Logo Section */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.logo {
    width: 70px;
    height: auto;
    display: block;
    min-width: 70px;
}

/* 🟢 UPDATED: Tagline Spacing */
.tagline {
    font-size: 12px;
    color: #0b1c3d;
    margin: 5px 0 0 0; /* Adds 5px of space above the tagline */
}

/* 🟢 UPDATED: Title Spacing */
h1 {
    margin: 0;
    line-height: 1.1; /* Keeps the text height tight */
    color: #0b1c3d;
}

/* =========================
   NAVIGATION
========================= */
.header nav {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.header nav a {
    color: #0b1c3d;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.header nav a:hover {
    color: #1f3a6d;
}

/* =========================
   CONTAINER
========================= */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    margin-top: 20px;
}

/* =========================
   CARDS
========================= */
.card {
    background: white;
    padding: 20px;
    margin: 15px 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-3px);
}

.card h3 {
    margin-bottom: 10px;
}

/* =========================
   BUTTONS (BLUE THEME)
========================= */
.btn {
    display: inline-block;
    padding: 10px 15px;
    margin-top: 10px;
    background: linear-gradient(135deg, #0b1c3d, #1f3a6d);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    transition: 0.3s ease;
}

.btn:hover {
    background: linear-gradient(135deg, #1f3a6d, #2e5aac);
    transform: translateY(-2px);
}

/* =========================
   FORMS
========================= */
form {
    margin-bottom: 20px;
}

input, select {
    padding: 10px;
    margin: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: auto;
}

input:focus, select:focus {
    outline: none;
    border-color: #1f3a6d;
}

/* File Input */
input[type="file"] {
    padding: 10px;
    background: #ecf0f1;
}

/* =========================
   STAR ICON (FAVOURITES)
========================= */
.star-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 22px;
    border: none;
    background: none;
    cursor: pointer;
    transition: 0.2s;
}

.star-btn:hover {
    transform: scale(1.2);
}

/* Not favorite */
.star-outline {
    color: gold;
}

/* Favorite */
.star-filled {
    color: gold;
}

/* =========================
   SUBJECT BUTTONS (TABS)
========================= */
.card .btn {
    margin-right: 5px;
}

/* =========================
   FOOTER
========================= */
.footer {
    text-align: center;
    padding: 15px;
    background: #0b1c3d;
    color: white;
    margin-top: 40px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 768px) {

    .logo-container {
        flex-direction: column;
        text-align: center;
    }

    .header nav {
        justify-content: center;
    }

    .container {
        width: 95%;
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}