/* =========================
   STUDENTHUB — MOBILE FIRST
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;

    background: #f5f7fb;
    color: #172033;

    overflow-x: hidden;
}


/* =========================
   SETUP
========================= */

#setupSection {
    position: fixed;
    inset: 0;

    z-index: 9999;

    width: 100%;
    max-width: none;
    min-height: 100vh;

    margin: 0;
    padding: 35px 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow-y: auto;

    background: #f5f7fb;

    border: none;
    border-radius: 0;
    box-shadow: none;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

#setupSection.setup-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#setupSection > * {
    width: 100%;
    max-width: 520px;

    margin-left: auto;
    margin-right: auto;
}

#setupSection h1 {
    margin: 0 0 12px;

    font-size: 30px;
    font-weight: 700;

    letter-spacing: -1.5px;
}

#setupSection h2 {
    margin: 0 0 12px;

    font-size: 26px;
    font-weight: 700;

    letter-spacing: -1px;
}

#setupSection p {
    margin: 0 0 25px;

    color: #7b8497;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================
   ROLE SELECTION
========================= */

#roleSelection {
    width: 100%;
    max-width: 520px;

    margin: 0 auto 10px;
}

#roleSelection h3 {
    margin: 0 0 12px;

    color: #172033;

    font-size: 14px;
    font-weight: 700;
}

.role-options {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    width: 100%;
}

.role-option {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 100px;

    padding: 15px;

    background: #ffffff;

    border: 1px solid #e0e5ee;
    border-radius: 14px;

    cursor: pointer;

    text-align: center;

    transition: 0.2s ease;
}

.role-option:hover {
    border-color: #5367f5;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(
            83,
            103,
            245,
            0.08
        );
}

.role-option.active {
    background: #eef0ff;

    border-color: #5367f5;

    box-shadow:
        0 0 0 2px
        rgba(
            83,
            103,
            245,
            0.08
        );
}

.role-option-icon {
    margin-bottom: 8px;

    font-size: 25px;
}

.role-option strong {
    display: block;

    color: #172033;

    font-size: 13px;
}

.role-option small {
    display: block;

    margin-top: 4px;

    color: #8992a5;

    font-size: 10px;
    line-height: 1.4;
}


/* =========================
   LABELS & INPUTS
========================= */

label {
    display: block;

    margin-top: 20px;
    margin-bottom: 8px;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.5px;

    color: #7b8497;
}

input,
select,
textarea {
    display: block;

    width: 100%;

    padding: 14px 15px;

    border: 1px solid #e0e5ee;
    border-radius: 12px;

    background: #fafbfe;

    font-family: inherit;
    font-size: 15px;

    color: #172033;

    transition: 0.2s ease;
}

textarea {
    min-height: 110px;

    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;

    border-color: #6c7cff;

    background: #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(
            108,
            124,
            255,
            0.1
        );
}


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

button {
    max-width: 100%;

    border: none;
    border-radius: 12px;

    padding: 13px 20px;

    margin-top: 20px;

    background: #5367f5;

    color: #ffffff;

    font-family: inherit;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.4px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

button:hover {
    opacity: 0.95;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(
            83,
            103,
            245,
            0.2
        );
}

button:active {
    transform: translateY(0);
}


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

#dashboard {
    display: block;

    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;
}


/* =========================
   SIDEBAR / MOBILE NAV
========================= */

#sidebar {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    height: auto;

    padding: 15px;

    background: #ffffff;

    border-right: none;
    border-bottom: 1px solid #e9ecf3;
}

.brand {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 5px 5px 15px;

    font-size: 19px;
    font-weight: 700;

    letter-spacing: -0.8px;
}

.brand-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    border-radius: 11px;

    background: #eef0ff;

    font-size: 20px;
}


/* =========================
   NAVIGATION
========================= */

nav {
    display: flex;

    flex-direction: row;

    gap: 7px;

    overflow-x: auto;

    padding-bottom: 3px;

    scrollbar-width: none;
}

nav::-webkit-scrollbar {
    display: none;
}

nav a {
    display: flex;

    align-items: center;

    flex: 0 0 auto;

    gap: 9px;

    padding: 9px 11px;

    border-radius: 11px;

    background: #f7f8fc;

    color: #697386;

    text-decoration: none;

    font-size: 11px;
    font-weight: 600;

    transition: 0.2s ease;
}

nav a:hover {
    background: #f1f3ff;

    color: #5367f5;

    transform: translateY(-1px);
}

nav a span {
    display: none;
}

.sidebar-message {
    display: none;
}


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

#mainContent {
    width: 100%;
    min-width: 0;

    padding: 20px 15px 55px;

    animation:
        fadeUp 0.45s ease;
}


/* =========================
   HEADER
========================= */

header {
    position: relative;

    width: 100%;

    padding: 10px 0 25px;

    border-bottom: none;
}

.header-actions {
    position: static;

    margin-bottom: 18px;
}

#installBtn {
    margin-top: 0;

    padding: 9px 12px;

    background: #ffffff;

    color: #5367f5;

    border: 1px solid #dfe4f2;

    border-radius: 10px;
}

#greeting {
    margin: 0 0 15px;

    padding-top: 5px;

    color: #697386;

    font-size: 14px;
    font-weight: 600;
}

.hero-title h1 {
    margin: 0;

    max-width: 650px;

    font-size: clamp(
        31px,
        10vw,
        43px
    );

    line-height: 1.08;

    letter-spacing: -2px;

    font-weight: 750;
}

.hero-title h1 span {
    color: #5367f5;
}

.hero-title p {
    margin: 15px 0 0;

    color: #8992a5;

    font-size: 14px;

    line-height: 1.6;
}

#digitalClock {
    display: inline-block;

    margin-top: 20px;

    padding: 7px 11px;

    border-radius: 8px;

    background: #ffffff;

    border: 1px solid #e7eaf1;

    color: #697386;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================
   SECTIONS
========================= */

section {
    width: 100%;

    margin-bottom: 18px;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #e8ebf2;

    border-radius: 17px;

    box-shadow:
        0 8px 30px
        rgba(
            32,
            45,
            75,
            0.04
        );

    animation:
        fadeUp 0.45s ease both;
}

section h2 {
    margin: 0 0 7px;

    color: #172033;

    font-size: 20px;

    font-weight: 700;

    letter-spacing: -0.6px;
}

section > p {
    margin: 0;

    color: #8992a5;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================
   SECTION HEADINGS
========================= */

.section-heading {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 20px;
}

.section-heading button {
    width: 100%;

    flex-shrink: 0;

    margin-top: 0;
}


/* =========================
   QUICK ACTIONS
========================= */

.quick-actions-section {
    display: grid;

    grid-template-columns: 1fr;

    gap: 10px;

    padding: 0;

    background: transparent;

    border: none;

    box-shadow: none;
}

.quick-card {
    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 0;

    padding: 17px;

    border-radius: 17px;

    border: 1px solid transparent;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.quick-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 28px
        rgba(
            32,
            45,
            75,
            0.08
        );
}

.quick-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    border-radius: 12px;

    font-size: 18px;
}

.quick-card h3 {
    margin: 0 0 4px;

    font-size: 12px;

    font-weight: 700;
}

.quick-card p {
    margin: 0;

    font-size: 10px;

    color: #788297;

    line-height: 1.4;
}

.quick-card a {
    margin-left: auto;

    color: #657087;

    text-decoration: none;

    font-size: 20px;
}

.quick-blue {
    background: #eef3ff;

    border-color: #e0e8ff;
}

.quick-blue .quick-icon {
    background: #dce6ff;
}

.quick-green {
    background: #edfaf4;

    border-color: #daf1e6;
}

.quick-green .quick-icon {
    background: #d8f1e4;
}

.quick-purple {
    background: #f4efff;

    border-color: #e9ddff;
}

.quick-purple .quick-icon {
    background: #e8dcff;
}

.quick-orange {
    background: #fff5e9;

    border-color: #f9e8d0;
}

.quick-orange .quick-icon {
    background: #ffe8c9;
}


/* =========================
   CLASS CARDS
========================= */

.class-card,
#classList > div,
#tomorrowClasses > div {
    display: block;

    width: 100%;

    min-height: auto;

    margin: 10px 0;

    padding: 20px;

    background: #f8f9fc;

    border: 1px solid #e8ebf2;

    border-radius: 16px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.class-card:hover,
#classList > div:hover,
#tomorrowClasses > div:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px
        rgba(
            32,
            45,
            75,
            0.07
        );
}

.class-card h3,
#classList h3,
#tomorrowClasses h3 {
    margin: 0 0 17px;

    color: #172033;

    font-size: 16px;

    font-weight: 700;

    word-break: break-word;
}

.class-card p,
#classList p,
#tomorrowClasses p {
    margin: 7px 0;

    color: #788297;

    font-size: 12px;

    line-height: 1.5;
}

#classList button {
    margin-top: 12px;

    padding: 7px 10px;

    background: #fff0f1;

    color: #d85b68;

    border: 1px solid #ffd9dd;

    font-size: 9px;

    box-shadow: none;
}

#classList button:hover {
    background: #ffe5e8;

    transform: none;

    box-shadow: none;
}


/* =========================
   ADD CLASS FORM
========================= */

#classForm {
    display: none;

    width: 100%;

    max-width: 650px;

    margin-top: 20px;

    padding: 20px;

    background: #f8f9fc;

    border: 1px solid #e6e9f0;

    border-radius: 16px;
}

#classForm h3 {
    margin: 0 0 5px;

    font-size: 18px;
}


/* =========================
   STUDY PLANNER
========================= */

#studySection {
    background: #ffffff;
}

#studyResults {
    width: 100%;

    margin-top: 20px;
}

#studyResults > div {
    width: 100%;

    padding: 20px;

    background: #eefaf5;

    border: 1px solid #dcefe6;

    border-radius: 15px;
}

#studyResults h3 {
    margin: 0 0 10px;

    color: #267957;

    font-size: 16px;
}

#studyResults p {
    color: #64756d;

    font-size: 13px;

    line-height: 1.6;
}

#studyResults li {
    margin: 10px 0;

    color: #64756d;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================
   LECTURER MATERIALS
========================= */

#lecturerMaterialsSection {
    background: #ffffff;
}

#lecturerMaterialsForm {
    width: 100%;

    max-width: 650px;

    margin-top: 20px;

    padding: 20px;

    background: #f8f9fc;

    border: 1px solid #e6e9f0;

    border-radius: 16px;
}

#lecturerMaterialsForm h3 {
    margin: 0 0 5px;

    font-size: 18px;
}

#lecturerMaterialsList {
    width: 100%;

    margin-top: 20px;
}

.lecturer-material-card {
    width: 100%;

    margin-top: 12px;

    padding: 18px;

    background: #f7f3ff;

    border: 1px solid #e9ddff;

    border-radius: 15px;
}

.lecturer-material-card h3 {
    margin: 0 0 8px;

    color: #172033;

    font-size: 15px;

    word-break: break-word;
}

.lecturer-material-card p {
    margin: 6px 0;

    color: #788297;

    font-size: 12px;

    line-height: 1.5;
}

.lecturer-material-card a {
    display: inline-block;

    margin-top: 10px;

    padding: 9px 12px;

    background: #ffffff;

    color: #6650a8;

    border: 1px solid #dfd3fa;

    border-radius: 10px;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;
}

.delete-material-btn {
    background: #fff0f1;

    color: #d85b68;

    border: 1px solid #ffd9dd;

    box-shadow: none;
}


/* =========================
   COURSE MATERIALS
========================= */

#materialsResults {
    margin-top: 20px;
}

#materialsResults > div {
    padding: 20px;

    border-radius: 15px;

    background: #f7f3ff;

    border: 1px solid #e9ddff;
}

#materialsResults h3 {
    margin-top: 0;

    font-size: 17px;
}

.course-material-btn {
    margin: 8px 8px 0 0;

    background: #ffffff;

    color: #6650a8;

    border: 1px solid #dfd3fa;

    box-shadow: none;
}

.course-material-btn:hover {
    background: #f4efff;
}


/* =========================
   EXPENSE TRACKER
========================= */

#expenseSection {
    background: #ffffff;
}

#expenseForm {
    width: 100%;

    max-width: 650px;
}

#expenseSummary {
    display: flex;

    align-items: flex-start;

    flex-direction: column;

    gap: 8px;

    margin-top: 25px;

    padding: 20px 22px;

    border-radius: 16px;

    background: #fff6e9;

    border: 1px solid #f8e7ce;
}

#expenseSummary h3 {
    margin: 0;

    color: #956322;

    font-size: 14px;
}

#expenseSummary p {
    margin: 0;

    color: #d58625;

    font-size: 25px;

    font-weight: 750;
}

#expenseList {
    margin-top: 18px;
}

.expense-card {
    padding: 18px;

    margin-top: 12px;

    border-radius: 14px;

    background: #fafbfe;

    border: 1px solid #e7eaf1;
}

.expense-card h3 {
    margin: 0 0 8px;

    font-size: 15px;
}

.expense-card p {
    margin: 5px 0;

    color: #788297;

    font-size: 12px;
}

.expense-card button {
    margin-top: 10px;

    padding: 7px 10px;

    background: #fff0f1;

    color: #d85b68;

    border: 1px solid #ffd9dd;

    box-shadow: none;
}


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

#notificationsSection {
    background: #f3f7ff;

    border-color: #dfe8ff;
}

#reminderStatus {
    margin-top: 15px;

    color: #788297;

    font-size: 12px;
}


/* =========================
   ROLE-SPECIFIC VISIBILITY
========================= */

.lecturer-only {
    display: none;
}

.student-only {
    display: block;
}

body.lecturer-mode .student-only {
    display: none;
}

body.lecturer-mode .lecturer-only {
    display: block;
}


/* =========================
   EMPTY STATES
========================= */

.empty-state {
    padding: 20px;

    margin-top: 15px;

    border-radius: 14px;

    background: #f8f9fc;

    border: 1px dashed #dfe4ee;

    color: #8992a5;

    font-size: 13px;

    line-height: 1.6;

    text-align: center;
}


/* =========================
   STATUS / BADGES
========================= */

.role-badge {
    display: inline-flex;

    align-items: center;

    padding: 6px 10px;

    margin-top: 10px;

    border-radius: 8px;

    background: #eef0ff;

    color: #5367f5;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes fadeUp {

    from {
        opacity: 0;

        transform:
            translateY(8px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }

}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 380px) {

    #setupSection {
        padding: 28px 20px;
    }

    #setupSection h1 {
        font-size: 27px;
    }

    .brand {
        font-size: 18px;
    }

    .hero-title h1 {
        font-size: 31px;
    }

    section {
        padding: 17px;
    }

    button {
        padding: 12px 15px;
    }

    .role-option {
        min-height: 90px;

        padding: 12px;
    }

    .role-option-icon {
        font-size: 22px;
    }

}



/* =========================
   ACCESSIBILITY
========================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid
        rgba(
            83,
            103,
            245,
            0.25
        );

    outline-offset: 2px;
}
/* =========================
   TABLET / LARGER MOBILE
========================= */

@media (min-width: 900px) {

    #mainContent {
        padding: 30px 25px 60px;
    }

    .quick-actions-section {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .section-heading {
        flex-direction: row;

        align-items: center;

        justify-content: space-between;
    }

    .section-heading button {
        width: auto;
    }

    #expenseSummary {
        flex-direction: row;

        align-items: center;

        justify-content: space-between;
    }

}

/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}
/* =========================
   ABOUT STUDENTHUB
========================= */

#aboutSection {
    background: #ffffff;
}


/* ABOUT INTRO */

.about-intro {
    max-width: 700px;

    margin-bottom: 22px;
}

.about-intro h3 {
    margin: 0 0 10px;

    color: #172033;

    font-size: 18px;

    font-weight: 700;
}

.about-intro p {
    margin: 0 0 12px;

    color: #788297;

    font-size: 13px;

    line-height: 1.7;
}


/* ABOUT FEATURES */

.about-features {
    display: grid;

    grid-template-columns: 1fr;

    gap: 10px;

    margin-top: 20px;
}

.about-feature {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 15px;

    background: #f8f9fc;

    border: 1px solid #e8ebf2;

    border-radius: 14px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.about-feature:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(
            32,
            45,
            75,
            0.06
        );
}

.about-feature > span {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    border-radius: 11px;

    background: #eef0ff;

    font-size: 18px;
}

.about-feature strong {
    display: block;

    margin-bottom: 4px;

    color: #172033;

    font-size: 12px;

    font-weight: 700;
}

.about-feature p {
    margin: 0;

    color: #8992a5;

    font-size: 11px;

    line-height: 1.5;
}


/* ABOUT MISSION */

.about-mission {
    margin-top: 20px;

    padding: 18px;

    background: #eef3ff;

    border: 1px solid #dfe8ff;

    border-radius: 15px;
}

.about-mission strong {
    display: block;

    margin-bottom: 7px;

    color: #5367f5;

    font-size: 13px;
}

.about-mission p {
    margin: 0;

    color: #697386;

    font-size: 12px;

    line-height: 1.6;
}


/* ABOUT — LARGER SCREENS */

@media (min-width: 600px) {

    .about-features {
        grid-template-columns:
            repeat(2, 1fr);
    }

}
/* =========================
   PRIVACY POLICY
========================= */

#privacySection {
    background: #ffffff;
}

.privacy-content {
    max-width: 700px;
}

.privacy-content h3 {
    margin: 22px 0 8px;

    color: #172033;

    font-size: 14px;

    font-weight: 700;
}

.privacy-content h3:first-child {
    margin-top: 0;
}

.privacy-content p {
    margin: 0 0 12px;

    color: #788297;

    font-size: 13px;

    line-height: 1.7;
}

.privacy-updated {
    margin-top: 25px !important;

    padding-top: 15px;

    border-top: 1px solid #e8ebf2;

    color: #9aa2b2 !important;

    font-size: 11px !important;
}
/* =========================
   TERMS OF USE
========================= */

#termsSection {
    background: #ffffff;
}

.terms-content {
    max-width: 700px;
}

.terms-content h3 {
    margin: 22px 0 8px;

    color: #172033;

    font-size: 14px;

    font-weight: 700;
}

.terms-content h3:first-child {
    margin-top: 0;
}

.terms-content p {
    margin: 0 0 12px;

    color: #788297;

    font-size: 13px;

    line-height: 1.7;
}

.terms-updated {
    margin-top: 25px !important;

    padding-top: 15px;

    border-top: 1px solid #e8ebf2;

    color: #9aa2b2 !important;

    font-size: 11px !important;
}
/* =========================
   CONTACT STUDENTHUB
========================= */

#contactSection {
    background: #ffffff;
}

.contact-content {
    max-width: 700px;
}

.contact-content h3 {
    margin: 0 0 10px;

    color: #172033;

    font-size: 16px;

    font-weight: 700;
}

.contact-content > p {
    margin: 0 0 18px;

    color: #788297;

    font-size: 13px;

    line-height: 1.7;
}


/* CONTACT LINKS */

.contact-links {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 20px;
}

.contact-links a {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;

    padding: 13px 16px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-links a:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(
            32,
            45,
            75,
            0.08
        );
}


/* EMAIL */

.contact-email-btn {
    background: #eef3ff;

    color: #5367f5;

    border: 1px solid #dfe8ff;
}


/* INSTAGRAM */

.contact-instagram-btn {
    background: #f7f3ff;

    color: #6650a8;

    border: 1px solid #e9ddff;
}


/* CONTACT NOTE */

.contact-note {
    margin-top: 18px !important;

    color: #9aa2b2 !important;

    font-size: 11px !important;
}
/* =========================
   DISCLAIMER
========================= */

#disclaimerSection {
    background: #ffffff;
}

.disclaimer-content {
    max-width: 700px;
}

.disclaimer-content h3 {
    margin: 22px 0 8px;

    color: #172033;

    font-size: 14px;

    font-weight: 700;
}

.disclaimer-content h3:first-child {
    margin-top: 0;
}

.disclaimer-content p {
    margin: 0 0 12px;

    color: #788297;

    font-size: 13px;

    line-height: 1.7;
}

.disclaimer-updated {
    margin-top: 25px !important;

    padding-top: 15px;

    border-top: 1px solid #e8ebf2;

    color: #9aa2b2 !important;

    font-size: 11px !important;
}
/* =========================
   HELP & FAQ
========================= */

#faqSection {
    background: #ffffff;
}

.faq-content {
    width: 100%;
    max-width: 750px;
}

.faq-item {
    margin-top: 12px;

    padding: 17px;

    background: #f8f9fc;

    border: 1px solid #e8ebf2;

    border-radius: 14px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(
            32,
            45,
            75,
            0.06
        );
}

.faq-item h3 {
    margin: 0 0 8px;

    color: #172033;

    font-size: 13px;

    font-weight: 700;

    line-height: 1.5;
}

.faq-item p {
    margin: 0;

    color: #788297;

    font-size: 12px;

    line-height: 1.7;
}

.faq-item strong {
    color: #5367f5;

    font-weight: 700;
}
/* =========================
   STUDENTHUB FOOTER
========================= */

#studentHubFooter {
    width: 100%;

    margin-top: 10px;
    padding: 30px 20px 25px;

    background: #172033;

    color: #ffffff;

    border-radius: 17px 17px 0 0;
}


/* FOOTER BRAND */

.footer-brand {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 25px;
}

.footer-logo {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border-radius: 12px;

    background: #eef0ff;

    font-size: 21px;
}

.footer-brand strong {
    display: block;

    font-size: 16px;

    font-weight: 700;
}

.footer-brand p {
    margin: 4px 0 0;

    color: #aeb6c7;

    font-size: 11px;
}


/* FOOTER LINKS */

.footer-links {
    display: grid;

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

    gap: 12px;

    padding-bottom: 22px;

    border-bottom: 1px solid
        rgba(
            255,
            255,
            255,
            0.1
        );
}

.footer-links a {
    color: #c8ceda;

    text-decoration: none;

    font-size: 11px;

    font-weight: 600;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;

    transform: translateX(2px);
}


/* FOOTER BOTTOM */

.footer-bottom {
    display: flex;

    flex-direction: column;

    gap: 10px;

    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;

    color: #8992a5;

    font-size: 10px;

    line-height: 1.5;
}

.footer-bottom a {
    color: #aeb8ff;

    text-decoration: none;

    font-size: 10px;

    font-weight: 600;
}

.footer-bottom a:hover {
    color: #ffffff;
}


/* FOOTER — LARGER SCREENS */

@media (min-width: 600px) {

    #studentHubFooter {
        padding: 35px 30px 25px;
    }

    .footer-links {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .footer-bottom {
        flex-direction: row;

        align-items: center;

        justify-content: space-between;
    }

}
/* =========================
   STUDY GUIDES
========================= */

#studyGuidesSection {
    background: #ffffff;
}

.study-guide-list {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.study-guide-card {
    width: 100%;

    background: #f8f9fc;

    border: 1px solid #e8ebf2;

    border-radius: 14px;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.study-guide-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(
            32,
            45,
            75,
            0.06
        );
}


/* GUIDE HEADER */

.study-guide-card summary {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 15px;

    cursor: pointer;

    list-style: none;
}

.study-guide-card summary::-webkit-details-marker {
    display: none;
}

.study-guide-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex-shrink: 0;

    border-radius: 11px;

    background: #eef0ff;

    font-size: 17px;
}

.study-guide-title {
    display: flex;

    flex-direction: column;

    gap: 3px;

    min-width: 0;
}

.study-guide-title strong {
    color: #172033;

    font-size: 12px;

    font-weight: 700;
}

.study-guide-title small {
    color: #8992a5;

    font-size: 10px;

    line-height: 1.4;
}

.study-guide-arrow {
    margin-left: auto;

    color: #5367f5;

    font-size: 18px;

    font-weight: 400;

    transition:
        transform 0.2s ease;
}

.study-guide-card[open]
.study-guide-arrow {
    transform: rotate(45deg);
}


/* GUIDE CONTENT */

.study-guide-content {
    padding: 0 15px 17px;

    border-top: 1px solid #e8ebf2;
}

.study-guide-content h3 {
    margin: 17px 0 8px;

    color: #172033;

    font-size: 14px;
}

.study-guide-content p {
    margin: 0 0 11px;

    color: #788297;

    font-size: 12px;

    line-height: 1.7;
}


/* QUICK TIP */

.study-guide-tip {
    margin-top: 15px;

    padding: 13px;

    background: #eef3ff;

    border: 1px solid #dfe8ff;

    border-radius: 11px;

    color: #697386;

    font-size: 11px;

    line-height: 1.6;
}

.study-guide-tip strong {
    color: #5367f5;
}