/* =========================================================
   RESET
========================================================= */

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


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        "Cairo",
        Tahoma,
        Arial,
        sans-serif;

    background: #f6f8fc;

    color: #172033;

    line-height: 1.7;

}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid #e7ebf2;

}


.nav-container {

    max-width: 1200px;

    width: 92%;

    margin: auto;

    min-height: 78px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =========================================================
   BRAND
========================================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: #172033;

}


.brand-icon {

    width: 46px;

    height: 46px;

    border-radius: 13px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 24px;

    background: #eef4ff;

}


.brand-text {

    display: flex;

    flex-direction: column;

    line-height: 1.3;

}


.brand-text strong {

    font-size: 17px;

    font-weight: 800;

}


.brand-text span {

    color: #718096;

    font-size: 12px;

}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {

    display: flex;

    align-items: center;

    gap: 8px;

}


.nav-links a {

    text-decoration: none;

    color: #657083;

    padding: 9px 16px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 600;

    transition: 0.2s;

}


.nav-links a:hover {

    color: #2457a6;

    background: #f1f5fb;

}


.nav-links a.active {

    color: #2457a6;

    background: #edf3ff;

}


/* =========================================================
   NOTIFICATION BUTTON
========================================================= */

.notification-button {

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    border-radius: 12px;

    background: #f4f6fa;

    text-decoration: none;

    font-size: 19px;

}


.notification-button:hover {

    background: #eaf0fb;

}


.notification-button span {

    position: absolute;

    top: -4px;

    left: -4px;

    min-width: 19px;

    height: 19px;

    padding: 0 5px;

    border-radius: 20px;

    background: #e05252;

    color: white;

    font-size: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: 700;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    overflow: hidden;

    background: #f4f7fc;

    border-bottom: 1px solid #e7ebf2;

}


.hero-container {

    max-width: 1200px;

    width: 92%;

    min-height: 530px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.25fr 0.75fr;

    align-items: center;

    gap: 80px;

    position: relative;

    z-index: 2;

}


.hero-background-shape {

    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

    opacity: 0.5;

}


.shape-one {

    width: 430px;

    height: 430px;

    background: #e8f0ff;

    left: -150px;

    top: -150px;

}


.shape-two {

    width: 350px;

    height: 350px;

    background: #edf3fb;

    right: -120px;

    bottom: -160px;

}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {

    position: relative;

    z-index: 3;

}


.hero-badge {

    width: fit-content;

    display: flex;

    align-items: center;

    gap: 8px;

    background: white;

    border: 1px solid #e1e8f2;

    padding: 7px 13px;

    border-radius: 30px;

    color: #315d9d;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 5px 20px rgba(30, 60, 100, 0.05);

}


.hero-content h1 {

    margin-top: 25px;

    font-size: clamp(35px, 5vw, 58px);

    line-height: 1.25;

    letter-spacing: -1.5px;

    font-weight: 800;

}


.hero-content h1 span {

    display: block;

    color: #2457a6;

}


.hero-content > p {

    max-width: 650px;

    margin-top: 22px;

    color: #697586;

    font-size: 17px;

    line-height: 2;

}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;

}


.primary-button,
.secondary-button {

    text-decoration: none;

    padding: 12px 20px;

    border-radius: 10px;

    font-size: 14px;

    font-weight: 700;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    transition: 0.2s;

}


.primary-button {

    background: #2457a6;

    color: white;

    box-shadow:
        0 8px 20px rgba(36, 87, 166, 0.18);

}


.primary-button:hover {

    transform: translateY(-2px);

    background: #1d4b92;

}


.secondary-button {

    background: white;

    color: #334155;

    border: 1px solid #dce3ed;

}


.secondary-button:hover {

    background: #f8fafc;

    transform: translateY(-2px);

}


/* =========================================================
   HERO DASHBOARD
========================================================= */

.hero-dashboard {

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid #e1e7ef;

    border-radius: 20px;

    padding: 25px;

    box-shadow:
        0 25px 60px rgba(31, 50, 80, 0.09);

}


.dashboard-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.dashboard-header div:first-child {

    display: flex;

    flex-direction: column;

}


.dashboard-header span {

    color: #8792a3;

    font-size: 12px;

}


.dashboard-header strong {

    font-size: 20px;

    margin-top: 3px;

}


.dashboard-icon {

    width: 48px;

    height: 48px;

    border-radius: 13px;

    background: #eef4ff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 23px;

}


.dashboard-divider {

    height: 1px;

    background: #edf0f5;

    margin: 23px 0;

}


.dashboard-stat {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 12px 0;

}


.stat-icon {

    width: 42px;

    height: 42px;

    border-radius: 11px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eef4ff;

}


.notification-stat {

    background: #fff5e8;

}


.schedule-stat {

    background: #edf8f2;

}


.dashboard-stat div:last-child {

    display: flex;

    flex-direction: column;

}


.dashboard-stat strong {

    font-size: 21px;

    line-height: 1.3;

}


.dashboard-stat span {

    color: #7b8493;

    font-size: 12px;

}


/* =========================================================
   MAIN
========================================================= */

.main-container {

    max-width: 1200px;

    width: 92%;

    margin: auto;

}


/* =========================================================
   CONTENT SECTION
========================================================= */

.content-section {

    padding-top: 80px;

    scroll-margin-top: 90px;

}


.section-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 28px;

}


.section-label {

    display: block;

    color: #7b8798;

    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 800;

    margin-bottom: 5px;

}


.section-header h2 {

    font-size: 27px;

    font-weight: 800;

    color: #172033;

}


.section-header p {

    color: #7a8494;

    margin-top: 5px;

    font-size: 14px;

}


.section-count {

    min-width: 60px;

    height: 50px;

    background: white;

    border: 1px solid #e5eaf1;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    color: #2457a6;

    font-size: 17px;

    font-weight: 800;

}


.section-count span {

    color: #8a94a4;

    font-size: 9px;

    font-weight: 600;

}


/* =========================================================
   NOTIFICATIONS
========================================================= */

.notifications-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

}


.notification-card {

    background: white;

    border: 1px solid #e6ebf2;

    border-radius: 15px;

    padding: 20px;

    transition: 0.25s;

}


.notification-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(30, 50, 80, 0.08);

}


.notification-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

}


.notification-type {

    background: #eef4ff;

    color: #315d9d;

    border-radius: 20px;

    padding: 4px 9px;

    font-size: 10px;

    font-weight: 700;

}


.notification-type.task-type {

    background: #fff5e7;

    color: #ad7022;

}


.due-date {

    color: #a36a26;

    font-size: 10px;

    background: #fff8ed;

    padding: 4px 8px;

    border-radius: 20px;

}


.notification-card h3 {

    font-size: 17px;

    margin-top: 17px;

    color: #202b3c;

}


.notification-card > p {

    color: #727d8d;

    font-size: 13px;

    margin-top: 7px;

    line-height: 1.8;

}


.notification-footer {

    margin-top: 17px;

    padding-top: 12px;

    border-top: 1px solid #edf0f4;

}


.notification-footer span {

    color: #788394;

    font-size: 11px;

}


/* =========================================================
   SUBJECTS
========================================================= */

.subjects-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.subject-card {

    background: white;

    border: 1px solid #e4e9f0;

    border-radius: 17px;

    padding: 23px;

    position: relative;

    overflow: hidden;

    transition: 0.25s;

}


.subject-card::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    height: 3px;

    background: #2457a6;

    transform: scaleX(0);

    transform-origin: right;

    transition: 0.25s;

}


.subject-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(30, 50, 80, 0.08);

}


.subject-card:hover::after {

    transform: scaleX(1);

}


.subject-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.subject-icon {

    width: 52px;

    height: 52px;

    border-radius: 14px;

    background: #eef4ff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 25px;

}


.lab-badge {

    background: #fff3df;

    color: #a86a20;

    border-radius: 20px;

    padding: 5px 10px;

    font-size: 10px;

    font-weight: 800;

}


.subject-number {

    position: absolute;

    left: 20px;

    top: 28px;

    color: #e5e9ef;

    font-size: 25px;

    font-weight: 800;

}


.subject-card h3 {

    margin-top: 22px;

    font-size: 19px;

    font-weight: 800;

}


.subject-card > p {

    color: #788393;

    font-size: 13px;

    min-height: 50px;

    margin-top: 7px;

}


.subject-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    border-top: 1px solid #edf0f4;

    margin-top: 20px;

    padding-top: 15px;

}


.subject-footer > span {

    color: #8993a1;

    font-size: 10px;

}


.subject-footer a {

    color: #2457a6;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    display: flex;

    gap: 5px;

    align-items: center;

}


.subject-footer a:hover {

    color: #173f7a;

}


/* =========================================================
   SCHEDULE
========================================================= */

.schedule-wrapper {

    background: white;

    border: 1px solid #e4e9f0;

    border-radius: 17px;

    overflow-x: auto;

    box-shadow:
        0 10px 30px rgba(30, 50, 80, 0.04);

}


.schedule-table {

    min-width: 780px;

}


.schedule-head,
.schedule-row {

    display: grid;

    grid-template-columns:
        1fr 1.7fr 1.4fr 1.2fr 1fr;

    align-items: center;

}


.schedule-head {

    background: #f7f9fc;

    color: #778294;

    font-size: 11px;

    font-weight: 800;

    border-bottom: 1px solid #e5eaf0;

}


.schedule-head > div,
.schedule-row > div {

    padding: 15px 18px;

}


.schedule-row {

    border-bottom: 1px solid #edf0f4;

    font-size: 12px;

    transition: 0.15s;

}


.schedule-row:last-child {

    border-bottom: none;

}


.schedule-row:hover {

    background: #fafcff;

}


.schedule-day {

    font-weight: 800;

    color: #2457a6;

}


.schedule-subject {

    font-weight: 700;

    color: #303b4c;

}


.schedule-time {

    direction: ltr;

    text-align: right;

    color: #596576;

    font-weight: 600;

}


.schedule-time span {

    color: #a2aab5;

    padding: 0 3px;

}


.schedule-lab,
.schedule-lecture {

    display: inline-flex;

    padding: 5px 9px;

    border-radius: 20px;

    font-size: 10px;

    font-weight: 700;

}


.schedule-lab {

    color: #9a631f;

    background: #fff3df;

}


.schedule-lecture {

    color: #37658f;

    background: #eef5fb;

}


.schedule-title-icon {

    width: 50px;

    height: 50px;

    background: white;

    border: 1px solid #e4e9f0;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {

    background: white;

    border: 1px dashed #d8dee8;

    border-radius: 15px;

    padding: 50px 20px;

    text-align: center;

}


.empty-icon {

    width: 55px;

    height: 55px;

    border-radius: 15px;

    background: #f2f5f9;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: auto;

    font-size: 24px;

}


.empty-state h3 {

    margin-top: 15px;

    font-size: 17px;

}


.empty-state p {

    margin-top: 5px;

    color: #8791a0;

    font-size: 13px;

}


/* =========================================================
   FOOTER
========================================================= */

footer {

    margin-top: 90px;

    background: #172033;

    color: white;

}


.footer-container {

    max-width: 1200px;

    width: 92%;

    margin: auto;

    min-height: 130px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


.footer-brand {

    font-size: 17px;

    font-weight: 800;

}


.footer-brand span {

    margin-left: 7px;

}


.footer-container p {

    color: #aab3c1;

    font-size: 12px;

    margin-top: 4px;

}


.footer-info {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 5px;

    color: #9ca7b7;

    font-size: 11px;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {


    .nav-links {

        display: none;

    }


    .hero-container {

        grid-template-columns: 1fr;

        gap: 35px;

        padding: 60px 0;

    }


    .hero-dashboard {

        max-width: 500px;

        width: 100%;

        margin: auto;

    }


    .notifications-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .subjects-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 600px) {


    .nav-container {

        min-height: 68px;

    }


    .brand-text strong {

        font-size: 15px;

    }


    .hero-container {

        width: 90%;

        padding: 45px 0;

    }


    .hero-content h1 {

        font-size: 36px;

    }


    .hero-content > p {

        font-size: 14px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .primary-button,
    .secondary-button {

        justify-content: center;

    }


    .notifications-grid,
    .subjects-grid {

        grid-template-columns: 1fr;

    }


    .section-header {

        align-items: flex-start;

    }


    .section-header h2 {

        font-size: 23px;

    }


    .section-count {

        display: none;

    }


    .content-section {

        padding-top: 55px;

    }


    .footer-container {

        padding: 30px 0;

        flex-direction: column;

        align-items: flex-start;

    }


    .footer-info {

        align-items: flex-start;

    }

}