* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fc;
    color: #222;
    line-height: 1.6;
}

/* =========================
   SCHOOL HEADER
========================= */

.header {
    background: #003399;
    color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
}

.logo-area h1 {
    font-size: 22px;
}

.logo-area p {
    font-size: 13px;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    opacity: 0.8;
}

/* LOGIN BUTTON */

.login-btn {
    background: white;
    color: #003399;
    padding: 9px 20px;
    border-radius: 5px;
}

.login-btn:hover {
    opacity: 0.9;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;

    background:
        linear-gradient(
            rgba(0, 51, 153, 0.82),
            rgba(0, 51, 153, 0.82)
        ),
        url("../images/school-bg.jpg") center/cover no-repeat;
}

.hero-content {
    max-width: 800px;
    color: white;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 19px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: white;
    color: #003399;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.secondary-btn {
    background: #003399;
    color: white;
    border: 2px solid white;
}

/* =========================
   ABOUT
========================= */

.about {
    padding: 60px 10%;
    text-align: center;
    background: white;
}

.about h2 {
    color: #003399;
    margin-bottom: 20px;
    font-size: 30px;
}

.about p {
    max-width: 800px;
    margin: auto;
}

/* =========================
   FEATURES
========================= */

.features {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 50px 8% 70px;
    flex-wrap: wrap;
}

.feature-card {
    background: white;
    padding: 30px;
    width: 300px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    color: #003399;
    margin-bottom: 12px;
}

/* =========================
   LOGIN PAGE
========================= */

.login-container {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.login-box h2 {
    text-align: center;
    color: #003399;
    margin-bottom: 8px;
}

.login-box > p {
    text-align: center;
    margin-bottom: 25px;
    color: #666;
}

.login-box label {
    display: block;
    margin-top: 15px;
    margin-bottom: 6px;
    font-weight: bold;
}

.login-box input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.login-box input:focus {
    outline: none;
    border-color: #003399;
}

.login-box button {
    width: 100%;
    padding: 13px;
    margin-top: 25px;
    border: none;
    border-radius: 5px;
    background: #003399;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.login-box button:hover {
    background: #002266;
}

.error-message {
    background: #ffe5e5;
    color: #b00000;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 15px;
}

.login-note {
    font-size: 13px;
    margin-top: 20px;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #002266;
    color: white;
    text-align: center;
    padding: 25px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .header {
        flex-direction: column;
        text-align: center;
    }

    .logo-area {
        flex-direction: column;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }
}


/* =========================================
PROFESSIONAL STUDENT DASHBOARD
Next Level School Of Science and Tech
========================================= */

.student-dashboard {
width: 92%;
max-width: 1150px;
margin: 40px auto;
padding-bottom: 50px;
}

/* Welcome Section */
.student-welcome {
background: linear-gradient(135deg, #0b3d91, #174ea6);
color: white;
border-radius: 16px;
padding: 35px 40px;
margin-bottom: 25px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.dashboard-label {
display: inline-block;
font-size: 12px;
font-weight: 700;
letter-spacing: 1.5px;
margin-bottom: 8px;
opacity: 0.85;
}

.student-welcome h1 {
margin: 5px 0 10px;
font-size: 30px;
font-weight: 700;
}

.student-welcome p {
margin: 0;
font-size: 15px;
opacity: 0.9;
}

/* Summary Cards */
.student-cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-bottom: 30px;
}

.student-card {
background: #ffffff;
border: 1px solid #e5e9f2;
border-radius: 14px;
padding: 22px;
display: flex;
align-items: center;
gap: 16px;
box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.student-card:hover {
transform: translateY(-3px);
box-shadow: 0 9px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
width: 52px;
height: 52px;
border-radius: 12px;
background: #eef4ff;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
}

.student-card span {
display: block;
color: #777;
font-size: 13px;
margin-bottom: 5px;
}

.student-card h3 {
margin: 0;
color: #172033;
font-size: 16px;
}

/* Information Section */
.student-information {
background: #ffffff;
border-radius: 16px;
padding: 30px;
border: 1px solid #e5e9f2;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
margin-bottom: 30px;
}

.section-heading {
margin-bottom: 25px;
}

.section-heading h2 {
margin: 3px 0 0;
color: #172033;
font-size: 23px;
}

.section-heading .dashboard-label {
color: #0b3d91;
}

/* Information Grid */
.information-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 16px;
}

.information-item {
background: #f8faff;
border: 1px solid #e7ecf5;
border-radius: 10px;
padding: 16px 18px;
}

.information-item span {
display: block;
color: #707784;
font-size: 12px;
margin-bottom: 6px;
}

.information-item strong {
display: block;
color: #172033;
font-size: 15px;
font-weight: 600;
word-break: break-word;
}

.information-item.full-width {
grid-column: 1 / -1;
}

/* Dashboard Actions */
.student-actions {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}

.student-action {
text-decoration: none;
border-radius: 14px;
padding: 20px 24px;
display: flex;
align-items: center;
gap: 16px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.student-action:hover {
transform: translateY(-3px);
}

.student-action > span:first-child {
font-size: 25px;
}

.student-action span {
display: flex;
flex-direction: column;
}

.student-action strong {
font-size: 16px;
margin-bottom: 4px;
}

.student-action small {
font-size: 13px;
opacity: 0.8;
}

.results-action {
background: #0b3d91;
color: white;
box-shadow: 0 6px 18px rgba(11, 61, 145, 0.2);
}

.logout-action {
background: #ffffff;
color: #b42318;
border: 1px solid #f0d8d5;
box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

/* Mobile Responsive */
@media (max-width: 768px) 
{

.student-dashboard {
    width: 94%;
    margin: 25px auto;
}

.student-welcome {
    padding: 27px 22px;
}

.student-welcome h1 {
    font-size: 24px;
}

.student-cards {
    grid-template-columns: 1fr;
}

.student-information {
    padding: 22px 18px;
}

.information-grid {
    grid-template-columns: 1fr;
}

.information-item.full-width {
    grid-column: auto;
}

.student-actions {
    grid-template-columns: 1fr;
}

}



.login-btn {
    background: white;
    color: #003399;
    border: 2px solid white;
}

.login-btn:hover {
    background: #003399;
    color: white;
}



