
body {
    margin: 0;
    padding: 0;
    font-family: Arial;
}

.hero-section {
    background: linear-gradient(to right, #009688, #4caf50);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 50px 0;
}

.navbar-brand {
    font-size: 30px;
}

.nav-link {
    font-size: 18px;
    margin-right: 15px;
}

footer {
    font-size: 16px;
}
body {
    margin: 0;
    padding: 0;
    background: #18335e;
    font-family: Arial, sans-serif;
}

/* TOP HEADER */

.top-header {
    background: #58b89d;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

/* NAVBAR */

.navbar {
    padding-top: 10px;
    padding-bottom: 10px;
}

.nav-link {
    color: white !important;
    font-size: 17px;
    margin-right: 15px;
    transition: 0.3s;
}

    .nav-link:hover {
        color: #ffc107 !important;
    }

/* HERO SECTION */

.hero-section {
    background: linear-gradient(to right, #1d976c, #93f9b9);
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-title {
    color: white;
    font-size: 60px;
    font-weight: bold;
}

.hero-text {
    color: white;
    font-size: 20px;
    margin-top: 20px;
}

/* FOOTER */

.footer-section {
    background: #212529;
    color: white;
    padding: 20px 0;
    margin-top: 50px;
}
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* TOP HEADER */

.top-header {
    background: #58b89d;
    color: white;
    padding: 10px 0;
    font-size: 15px;
}

/* NAVBAR */

.navbar {
    padding-top: 12px;
    padding-bottom: 12px;
}

.nav-link {
    color: white !important;
    font-size: 18px;
    margin-right: 20px;
    transition: 0.3s;
}

    .nav-link:hover {
        color: #ffc107 !important;
    }

/* HERO SECTION */

.hero-section {
    background: linear-gradient(to right, #1d976c, #93f9b9);
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-title {
    color: white;
    font-size: 60px;
    font-weight: bold;
}

.hero-text {
    color: white;
    font-size: 20px;
    margin-top: 20px;
}

/* FOOTER */

.footer-section {
    background: #212529;
    color: white;
    padding: 20px 0;
    margin-top: 0;
}
/* BODY */

body {
    background: #f4f6f9;
    font-family: 'Segoe UI', sans-serif;
}


/* REGISTER CARD */

.register-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}


/* HEADER */

.register-header {
    background: linear-gradient( 90deg, #0d6efd, #0b5ed7 );
    padding: 35px;
    text-align: center;
}

    .register-header h1 {
        color: white;
        margin: 0;
        font-size: 42px;
        font-weight: 700;
    }


/* BODY */

.register-body {
    padding: 45px;
}


/* LABEL */

.form-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}


/* INPUT */

.form-control,
.form-select {
    height: 56px;
    border-radius: 12px;
    border: 1px solid #d0d7de;
    padding-left: 18px;
    font-size: 16px;
}


    /* INPUT FOCUS */

    .form-control:focus,
    .form-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.15rem rgba(13,110,253,.2);
    }


/* CLASS CONTAINER */

#classContainer {
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 14px;
    padding: 25px;
    min-height: 120px;
}


/* CLASS ITEM */

.class-item {
    display: inline-block;
    width: 170px;
    margin-bottom: 20px;
}


    /* CHECKBOX */

    .class-item input[type=checkbox] {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }


    /* CLASS TEXT */

    .class-item span {
        margin-left: 8px;
        font-size: 17px;
        font-weight: 600;
        color: #333;
    }


/* BUTTON */

.register-btn {
    background: #0d6efd;
    border: none;
    color: white;
    border-radius: 12px;
    padding: 14px 45px;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
}


    /* BUTTON HOVER */

    .register-btn:hover {
        background: #0b5ed7;
    }


/* MOBILE */

@media(max-width:768px) {

    .register-header h1 {
        font-size: 30px;
    }

    .register-body {
        padding: 25px;
    }

    .class-item {
        width: 100%;
    }

    .form-control,
    .form-select {
        height: 50px;
    }
}
/* LOGIN CARD */

.login-card {
    max-width: 500px;
    margin: auto;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}


/* LOGIN HEADER */

.login-header {
    background: linear-gradient( 90deg, #0d6efd, #0b5ed7 );
    padding: 35px;
    text-align: center;
}

    .login-header h1 {
        color: white;
        margin: 0;
        font-size: 38px;
        font-weight: 700;
    }


/* LOGIN BODY */

.login-body {
    padding: 40px;
}


/* PASSWORD BOX */

.password-box {
    position: relative;
}


/* SHOW BUTTON */

.show-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #0d6efd;
    font-weight: 600;
    cursor: pointer;
}


/* LOGIN BUTTON */

.login-btn {
    background: #0d6efd;
    border: none;
    color: white;
    border-radius: 12px;
    padding: 14px 50px;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s;
}

/* DASHBOARD */

.dashboard-page {
    background: #2f2f35;
    min-height: 100vh;
    padding-bottom: 40px;
}


/* HEADER */

.dashboard-header {
    background: #363940;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* LOGO */

.dashboard-logo {
    height: 70px;
}


/* WELCOME */

.welcome-text {
    color: white;
    font-size: 60px;
    font-family: Georgia;
}


/* SUPPORT */

.support-text {
    color: #ff5f5f;
    font-size: 70px;
    font-family: cursive;
    margin-top: 10px;
}


/* CLASS BOX */

.class-box {
    width: 300px;
    margin: 30px auto;
}


/* CLASS DROPDOWN */

.class-dropdown {
    border: 2px solid #ff5f5f;
    border-radius: 10px;
    padding: 12px;
}


/* MATERIALS */

.materials-container {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 30px;
    border: 4px solid #ff5f5f;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
}


/* CARD */

.material-card {
    background: rgba(255,255,255,0.08);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    color: white;
    transition: 0.3s;
}


    /* CARD HOVER */

    .material-card:hover {
        transform: scale(1.03);
    }


/* IMAGE */

.material-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}


    /* LOGIN BUTTON HOVER */

    .login-btn:hover {
        background: #0b5ed7;
    }
/* ======================================
   DASHBOARD PAGE
====================================== */

.dashboard-page {
    min-height: 100vh;
    background: #2d2d3f;
    padding: 40px 30px;
}

/* ======================================
   HEADER AREA
====================================== */

.dashboard-header-area {
    text-align: center;
    margin-bottom: 30px;
}

/* WELCOME */

.welcome-title {
    color: white;
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: Georgia;
}

/* SUPPORT */

.support-title {
    color: #ff5f5f;
    font-size: 55px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* ======================================
   SUBJECT AREA
====================================== */

.subject-info {
    text-align: center;
    margin-bottom: 35px;
}

    .subject-info h3 {
        color: white;
        font-size: 42px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .subject-info h4 {
        color: #e8e8e8;
        font-size: 28px;
        font-weight: 500;
    }

/* ======================================
   CLASS DROPDOWN
====================================== */

.class-box {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.class-dropdown {
    width: 320px;
    height: 58px;
    border-radius: 14px;
    border: 2px solid #ff6b6b;
    font-size: 18px;
    font-weight: 500;
}

/* ======================================
   MATERIAL GRID
====================================== */

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

/* ======================================
   MATERIAL CARD
====================================== */

.material-ui-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 25px;
    height: 220px;
    cursor: pointer;
    transition: 0.4s;
}

    .material-ui-card:hover {
        transform: translateY(-8px) scale(1.02);
    }

/* ======================================
   CARD COLORS
====================================== */

.purple-card {
    background: linear-gradient( 135deg, #7f5cff, #9d7bff );
}

.blue-card {
    background: linear-gradient( 135deg, #36b9ff, #1d8ff1 );
}

.yellow-card {
    background: linear-gradient( 135deg, #ffd43b, #fab005 );
}

.red-card {
    background: linear-gradient( 135deg, #ff6b81, #ff4757 );
}

.green-card {
    background: linear-gradient( 135deg, #2ed573, #1dd1a1 );
}

.pink-card {
    background: linear-gradient( 135deg, #a29bfe, #fd79a8 );
}

/* ======================================
   CARD TOP
====================================== */

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* BOOK ICON */

.book-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: rgba(255,255,255,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

/* ARROW */

.arrow-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

/* ======================================
   CARD TEXT
====================================== */

.card-bottom {
    position: absolute;
    left: 25px;
    bottom: 25px;
}

    .card-bottom h2 {
        color: white;
        font-size: 28px;
        font-weight: bold;
        margin: 0;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.35);
    }

/* ======================================
   FILE SECTION
====================================== */

.file-section {
    margin-top: 70px;
}

.file-title {
    color: white;
    font-size: 38px;
    font-weight: bold;
}

/* ======================================
   MOBILE
====================================== */

@media(max-width:768px) {

    .welcome-title {
        font-size: 45px;
    }

    .support-title {
        font-size: 38px;
    }

    .subject-info h3 {
        font-size: 30px;
    }

    .subject-info h4 {
        font-size: 22px;
    }

    .class-dropdown {
        width: 100%;
    }

    .card-bottom h2 {
        font-size: 24px;
    }
}
.materials-container {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}

.material-card {
    width: 280px;
    height: 170px;
    border-radius: 25px;
    cursor: pointer;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    color: white;
}

    .material-card:hover {
        transform: translateY(-8px);
    }

    .material-card:nth-child(1) {
        background: linear-gradient(135deg,#7f5af0,#9b7bff);
    }

    .material-card:nth-child(2) {
        background: linear-gradient(135deg,#38bdf8,#2196f3);
    }

    .material-card:nth-child(3) {
        background: linear-gradient(135deg,#facc15,#ffb703);
    }

    .material-card:nth-child(4) {
        background: linear-gradient(135deg,#ff5d73,#ff4d6d);
    }

    .material-card:nth-child(5) {
        background: linear-gradient(135deg,#34d399,#10b981);
    }

    .material-card:nth-child(6) {
        background: linear-gradient(135deg,#b794f4,#f472b6);
    }

.material-icon {
    width: 55px;
    height: 55px;
    background: rgba(255,255,255,0.18);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.material-arrow {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.material-title {
    position: absolute;
    bottom: 25px;
    left: 20px;
    font-size: 22px;
    font-weight: 700;
}

.file-section {
    margin-top: 70px;
    padding: 30px;
    background: #2d2d44;
    border-radius: 25px;
}

.file-title {
    color: white;
    font-size: 35px;
    text-align: center;
    margin-bottom: 30px;
}

.file-container {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.file-card {
    width: 230px;
    background: #3a3a55;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

.pdf-icon {
    font-size: 70px;
}

.pdf-name {
    color: white;
    margin-top: 15px;
    margin-bottom: 20px;
    word-break: break-word;
}

.download-btn {
    display: inline-block;
    background: #ff4d6d;
    color: white;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

    .download-btn:hover {
        background: #ff3355;
        color: white;
    }

.no-file {
    color: white;
    font-size: 22px;
}
