/* Reset default spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main website style */
body {
    font-family: Arial, sans-serif;
    background-color: #faf9ff;
    color: #252238;
}

/* Navigation bar */
.navbar {
    width: 100%;
    min-height: 85px;
    padding: 15px 7%;
    background-color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #ece8f7;
}

/* Clickable logo area */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: inherit;
    text-decoration: none;
}

/* Logo image */
.logo img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 10px;
}

/* TaskMate text */
.logo-text h1 {
    color: #6f42c1;
    font-size: 24px;
}

/* Student Assignment Tracker text */
.logo-text p {
    margin-top: 2px;
    color: #777184;
    font-size: 12px;
}

/* Navigation links container */
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Navigation links */
.nav-links a {
    color: #373143;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

/* Link hover and active page */
.nav-links a:hover,
.nav-links .active {
    color: #7c4dcc;
}

/* Login and register buttons */
.login-btn,
.register-btn {
    padding: 10px 18px;
    border-radius: 7px;
}

/* Login button */
.login-btn {
    border: 1px solid #7c4dcc;
}

/* Register button */
.register-btn {
    color: #ffffff !important;
    background-color: #267565;
}

/* Register button hover */
.register-btn:hover {
    background-color: #1c5d50;
}

/* Home page banner */
.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* Get Started button on banner */
.get-started-btn {
    position: absolute;
    left: 20%;
    bottom: 14%;

    padding: 13px 25px;
    border-radius: 8px;

    background-color: #7447d8;
    color: #ffffff;

    text-decoration: none;
    font-size: 15px;
    font-weight: bold;

    box-shadow: 0 5px 15px rgba(116, 71, 216, 0.25);
    transition: 0.2s ease;
}

.get-started-btn:hover {
    background-color: #5631b5;
    transform: translateY(-2px);
}

/* Mobile display */
@media screen and (max-width: 768px) {
    .get-started-btn {
        left: 18%;
        bottom: 8%;
        padding: 8px 14px;
        font-size: 11px;
    }
}

/* ================================
   ABOUT US PAGE
================================ */

.about-section {
    min-height: calc(100vh - 85px);
    padding: 75px 8%;
    background:
        linear-gradient(
            rgba(250, 249, 255, 0.94),
            rgba(250, 249, 255, 0.94)
        ),
        url("../images/banner.jpeg");

    background-size: cover;
    background-position: center;
}

.about-heading {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    margin-bottom: 10px;
    color: #7447d8;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.about-heading h2 {
    margin-bottom: 18px;
    color: #30264e;
    font-size: 38px;
}

.about-heading > p:last-child {
    color: #6d6879;
    font-size: 16px;
    line-height: 1.8;
}

.feature-container {
    max-width: 1100px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    padding: 35px 25px;
    background-color: #ffffff;
    border: 1px solid #e9e2f8;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(92, 61, 145, 0.08);
    transition: 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(92, 61, 145, 0.15);
}

.feature-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #eee7ff;
    color: #7447d8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: #30264e;
    font-size: 19px;
}

.feature-card p {
    color: #777184;
    font-size: 14px;
    line-height: 1.7;
}

/* Responsive About Us page */
@media screen and (max-width: 768px) {
    .about-section {
        padding: 50px 6%;
    }

    .about-heading h2 {
        font-size: 30px;
    }

    .feature-container {
        grid-template-columns: 1fr;
    }
}

/* ================================
   GALLERY PAGE
================================ */

.gallery-section {
    min-height: calc(100vh - 85px);
    padding: 65px 8%;
    background-color: #faf9ff;
}

.gallery-heading {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.gallery-heading h2 {
    margin-bottom: 12px;
    color: #30264e;
    font-size: 38px;
}

.gallery-heading > p:last-child {
    color: #777184;
    font-size: 15px;
    line-height: 1.7;
}

.gallery-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Temporary boxes before actual images are added */
.gallery-placeholder {
    height: 230px;
    padding: 20px;
    border: 2px dashed #cbbcf3;
    border-radius: 14px;
    background-color: #f1edfc;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #7447d8;
    text-align: center;
}

.gallery-placeholder span {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: bold;
}

.gallery-placeholder p {
    color: #777184;
    font-size: 14px;
}

/* Responsive Gallery */
@media screen and (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .gallery-section {
        padding: 45px 6%;
    }

    .gallery-heading h2 {
        font-size: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   ELEGANT PAGE TITLES
================================ */

.about-heading,
.gallery-heading {
    text-align: center;
}

/* Small heading above title */
.section-label {
    display: block;
    margin: 0 0 14px;
    padding: 0;

    border: none;
    background: none;

    color: #8d72c7;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
}

/* Main page title */
.about-heading h2,
.gallery-heading h2 {
    display: block;
    margin-bottom: 20px;
    padding: 0;

    color: #2f2935;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 52px;
    font-weight: 500;
    letter-spacing: -1px;
}

/* Remove previous decorative line */
.about-heading h2::after,
.gallery-heading h2::after {
    display: none;
}

/* Description below title */
.about-heading > p:last-child,
.gallery-heading > p:last-child {
    max-width: 850px;
    margin: 0 auto;

    color: #746b78;
    font-size: 16px;
    line-height: 1.8;
}

/* Mobile title */
@media screen and (max-width: 768px) {
    .about-heading h2,
    .gallery-heading h2 {
        font-size: 38px;
    }

    .section-label {
        font-size: 11px;
        letter-spacing: 3px;
    }
}

/* ================================
   CONTACT US PAGE
================================ */

.contact-section {
    min-height: calc(100vh - 85px);
    padding: 60px 8%;
    background-color: #faf9ff;
}

.contact-heading {
    max-width: 750px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-label,
.information-label {
    margin-bottom: 12px;
    color: #8d72c7;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
}

.contact-heading h2 {
    margin-bottom: 15px;
    color: #2f2935;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 52px;
    font-weight: 500;
}

.contact-heading > p:last-child {
    color: #746b78;
    font-size: 16px;
    line-height: 1.7;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    overflow: hidden;
    border: 1px solid #e8e1f5;
    border-radius: 18px;
    background-color: #ffffff;
    box-shadow: 0 12px 35px rgba(75, 48, 110, 0.08);
}

/* Left contact information */
.contact-information {
    padding: 45px;
    background:
        linear-gradient(
            145deg,
            #ede7ff,
            #f7f4ff
        );
}

.contact-information h3 {
    margin-bottom: 17px;
    color: #30264e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 500;
    line-height: 1.25;
}

.contact-information > p {
    color: #746b78;
    font-size: 14px;
    line-height: 1.7;
}

.contact-detail {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #ffffff;
    color: #7447d8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.contact-detail h4 {
    margin-bottom: 4px;
    color: #30264e;
    font-size: 14px;
}

.contact-detail p {
    color: #746b78;
    font-size: 13px;
}

/* Contact form */
.contact-form {
    padding: 45px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #3a3245;
    font-size: 13px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #ded8e8;
    border-radius: 8px;
    background-color: #ffffff;
    color: #3a3245;
    font-family: Arial, sans-serif;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #7c4dcc;
    box-shadow: 0 0 0 3px rgba(124, 77, 204, 0.1);
}

.send-message-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background-color: #7447d8;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
}

.send-message-btn:hover {
    background-color: #5932b8;
    transform: translateY(-2px);
}

/* Responsive Contact page */
@media screen and (max-width: 800px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-heading h2 {
        font-size: 38px;
    }

    .contact-information,
    .contact-form {
        padding: 30px;
    }
}

/* ================================
   GALLERY IMAGES AND LIGHTBOX
================================ */

/* Gallery grid */
.gallery-grid {
    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* Gallery image button */
.gallery-item {
    width: 100%;
    min-width: 0;
    height: 230px;

    padding: 0;
    overflow: hidden;

    border: none;
    border-radius: 14px;
    background-color: #eeeaf8;

    box-shadow: 0 7px 20px rgba(75, 48, 110, 0.1);
    cursor: pointer;
    transition: 0.25s ease;
}

/* Gallery image */
.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    transition: 0.35s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(75, 48, 110, 0.18);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* Lightbox background */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 70px 100px;
    background-color: rgba(18, 13, 27, 0.92);
}

/* Show lightbox */
.lightbox.show {
    display: flex;
}

/* Large selected image */
.lightbox-image {
    display: block;
    max-width: 85%;
    max-height: 82vh;

    border-radius: 12px;
    object-fit: contain;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 22px;
    right: 35px;

    border: none;
    background: none;
    color: #ffffff;

    font-size: 48px;
    line-height: 1;
    cursor: pointer;
}

/* Previous and next arrows */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 55px;
    height: 55px;

    border: none;
    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;

    font-size: 30px;
    cursor: pointer;
    transition: 0.2s ease;
}

.lightbox-arrow:hover {
    background-color: #7447d8;
}

.lightbox-previous {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Image number */
.image-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);

    color: #ffffff;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Prevent page scrolling when image is open */
body.lightbox-open {
    overflow: hidden;
}

/* Tablet */
@media screen and (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media screen and (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 220px;
    }

    .lightbox {
        padding: 65px 55px;
    }

    .lightbox-image {
        max-width: 100%;
    }

    .lightbox-arrow {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .lightbox-previous {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: 15px;
        right: 20px;
    }
}

/* ================================
   REGISTER PAGE
================================ */

.register-section {
    min-height: calc(100vh - 85px);
    padding: 55px 8%;
    background:
        linear-gradient(
            rgba(250, 249, 255, 0.94),
            rgba(250, 249, 255, 0.94)
        ),
        url("../images/banner.jpeg");

    background-size: cover;
    background-position: center;
}

.register-container {
    max-width: 1050px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    overflow: hidden;
    border: 1px solid #e6dff3;
    border-radius: 20px;

    background-color: #ffffff;
    box-shadow: 0 15px 40px rgba(76, 48, 112, 0.12);
}

/* Left registration panel */
.register-information {
    padding: 50px 45px;

    background:
        linear-gradient(
            145deg,
            #e9e1ff,
            #f5f2ff
        );
}

.register-logo {
    width: 75px;
    height: 75px;

    margin-bottom: 25px;
    border-radius: 14px;

    object-fit: cover;
}

.register-label {
    margin-bottom: 12px;

    color: #8062bf;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.register-information h2 {
    margin-bottom: 18px;

    color: #30264e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.2;
}

.register-information > p {
    margin-bottom: 28px;

    color: #706879;
    font-size: 14px;
    line-height: 1.7;
}

.register-benefit {
    margin-top: 18px;

    display: flex;
    align-items: center;
    gap: 12px;
}

.register-benefit span {
    width: 28px;
    height: 28px;

    border-radius: 50%;
    background-color: #ffffff;
    color: #7447d8;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: bold;
}

.register-benefit p {
    color: #51495b;
    font-size: 14px;
}

/* Right registration form */
.register-form-container {
    padding: 45px 50px;
}

.register-form-heading {
    margin-bottom: 28px;
}

.register-form-heading h1 {
    margin-bottom: 8px;

    color:;

    color: #2f2935;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    font-weight: 500;
}

.register-form-heading > p:last-child {
    color: #766f7c;
    font-size: 14px;
}

.password-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.create-account-btn {
    width: 100%;
    padding: 14px;

    border: none;
    border-radius: 8px;

    background-color: #7447d8;
    color: #ffffff;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.2s ease;
}

.create-account-btn:hover {
    background-color: #5932b8;
    transform: translateY(-2px);
}

.login-link {
    margin-top: 18px;

    color: #766f7c;
    font-size: 13px;
    text-align: center;
}

.login-link a {
    color: #7447d8;
    font-weight: bold;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.register-message {
    display: none;
    margin-bottom: 15px;
    padding: 11px;

    border-radius: 7px;

    font-size: 13px;
    text-align: center;
}

/* Responsive Register page */
@media screen and (max-width: 850px) {
    .register-container {
        grid-template-columns: 1fr;
    }

    .register-information {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .register-section {
        padding: 35px 5%;
    }

    .register-form-container {
        padding: 35px 25px;
    }

    .password-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .register-form-heading h1 {
        font-size: 36px;
    }
}

/* Password show and hide button */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);

    width: 25px;
    height: 25px;

    padding: 2px;
    border: none;
    background: transparent;
    color: #82798b;

    cursor: pointer;
}

.password-toggle svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.password-toggle:hover {
    color: #7447d8;
}

.password-toggle.password-visible {
    color: #7447d8;
}

/* ================================
   LOGIN PAGE
================================ */

.login-section {
    min-height: calc(100vh - 85px);
    padding: 60px 8%;

    background:
        linear-gradient(
            rgba(250, 249, 255, 0.94),
            rgba(250, 249, 255, 0.94)
        ),
        url("../images/banner.jpeg");

    background-size: cover;
    background-position: center;
}

.login-container {
    max-width: 950px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    overflow: hidden;
    border: 1px solid #e6dff3;
    border-radius: 20px;

    background-color: #ffffff;
    box-shadow: 0 15px 40px rgba(76, 48, 112, 0.12);
}

/* Login form */
.login-form-container {
    padding: 55px 60px;
}

.login-form-heading {
    margin-bottom: 30px;
}

.login-label {
    margin-bottom: 12px;

    color: #8062bf;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.login-form-heading h1 {
    margin-bottom: 9px;

    color: #2f2935;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 46px;
    font-weight: 500;
}

.login-form-heading > p:last-child {
    color: #766f7c;
    font-size: 14px;
    line-height: 1.6;
}

.login-options {
    margin-top: -3px;
    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #655d6d;
    font-size: 13px;
    cursor: pointer;
}

.remember-me input {
    width: 16px;
    height: 16px;
    accent-color: #7447d8;
}

.forgot-password {
    color: #7447d8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-submit-btn {
    width: 100%;
    padding: 14px;

    border: none;
    border-radius: 8px;

    background-color: #7447d8;
    color: #ffffff;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.2s ease;
}

.login-submit-btn:hover {
    background-color: #5932b8;
    transform: translateY(-2px);
}

.register-link {
    margin-top: 20px;

    color: #766f7c;
    font-size: 13px;
    text-align: center;
}

.register-link a {
    color: #7447d8;
    font-weight: bold;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.login-message {
    display: none;
    margin-bottom: 15px;
    padding: 11px;

    border-radius: 7px;

    font-size: 13px;
    text-align: center;
}

/* Right information panel */
.login-information {
    padding: 55px 45px;

    background:
        linear-gradient(
            145deg,
            #e9e1ff,
            #f5f2ff
        );
}

.login-logo {
    width: 75px;
    height: 75px;

    margin-bottom: 28px;
    border-radius: 14px;

    object-fit: cover;
}

.login-information h2 {
    margin-bottom: 18px;

    color: #30264e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.2;
}

.login-information > p {
    color: #706879;
    font-size: 14px;
    line-height: 1.7;
}

.login-quote {
    margin-top: 35px;
    padding: 20px;

    border-left: 4px solid #7447d8;
    border-radius: 0 10px 10px 0;

    background-color: rgba(255, 255, 255, 0.65);
}

.login-quote span {
    color: #7447d8;
    font-family: Georgia, serif;
    font-size: 35px;
    line-height: 0.5;
}

.login-quote p {
    color: #5e5667;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-style: italic;
    line-height: 1.6;
}

/* Responsive Login page */
@media screen and (max-width: 800px) {
    .login-container {
        grid-template-columns: 1fr;
    }

    .login-information {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .login-section {
        padding: 35px 5%;
    }

    .login-form-container {
        padding: 40px 25px;
    }

    .login-form-heading h1 {
        font-size: 38px;
    }
}

/* Registration error message */
.register-message.show {
    display: block;
}

.register-message.error-message {
    border: 1px solid #f2b8c0;
    background-color: #fff0f2;
    color: #b42335;
}

/* Login feedback messages */
.login-message.show {
    display: block;
}

.login-message.success-message {
    border: 1px solid #a8dfc1;
    background-color: #effcf4;
    color: #197344;
}

.login-message.error-message {
    border: 1px solid #f2b8c0;
    background-color: #fff0f2;
    color: #b42335;
}

/* ================================
   STUDENT DASHBOARD
================================ */

.dashboard-body {
    min-height: 100vh;
    background-color: #f7f5fc;
}

.dashboard-navbar {
    width: 100%;
    min-height: 85px;
    padding: 15px 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #e8e2f2;
    background-color: #ffffff;
}

.dashboard-links {
    display: flex;
    align-items: center;
    gap: 27px;
}

.dashboard-links a {
    color: #3b3444;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.dashboard-links a:hover,
.dashboard-links .active {
    color: #7447d8;
}

.dashboard-links .logout-btn {
    padding: 10px 18px;
    border: 1px solid #e2b5bb;
    border-radius: 8px;
    color: #b42335;
}

.dashboard-links .logout-btn:hover {
    background-color: #fff0f2;
    color: #b42335;
}

.dashboard-main {
    width: 86%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 50px 0 70px;
}

/* Welcome section */
.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.dashboard-label {
    margin-bottom: 10px;
    color: #8062bf;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.dashboard-welcome h2 {
    margin-bottom: 10px;
    color: #30264e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 500;
}

.dashboard-welcome > div > p:last-child {
    max-width: 670px;
    color: #746d7c;
    font-size: 14px;
    line-height: 1.7;
}

.dashboard-add-btn {
    flex-shrink: 0;
    padding: 13px 22px;
    border-radius: 8px;
    background-color: #7447d8;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s ease;
}

.dashboard-add-btn:hover {
    background-color: #5932b8;
    transform: translateY(-2px);
}

/* Summary cards */
.summary-grid {
    margin-top: 35px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.summary-card {
    min-width: 0;
    padding: 25px;

    display: flex;
    align-items: center;
    gap: 17px;

    border: 1px solid #e8e2f2;
    border-radius: 14px;
    background-color: #ffffff;

    box-shadow: 0 7px 22px rgba(75, 48, 110, 0.06);
}

.summary-number {
    width: 52px;
    height: 52px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    font-size: 23px;
    font-weight: bold;
}

.summary-card h3 {
    margin-bottom: 5px;
    color: #342c40;
    font-size: 15px;
}

.summary-card p {
    color: #8b8491;
    font-size: 11px;
    line-height: 1.4;
}

.summary-total .summary-number {
    background-color: #eee6ff;
    color: #7447d8;
}

.summary-pending .summary-number {
    background-color: #fff3df;
    color: #c27618;
}

.summary-progress .summary-number {
    background-color: #e8f3ff;
    color: #3277b8;
}

.summary-completed .summary-number {
    background-color: #e5f8f0;
    color: #25856c;
}

/* Upcoming assignments */
.upcoming-section {
    margin-top: 35px;
    padding: 30px;

    border: 1px solid #e8e2f2;
    border-radius: 16px;
    background-color: #ffffff;

    box-shadow: 0 8px 25px rgba(75, 48, 110, 0.06);
}

.section-heading-row {
    margin-bottom: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-heading-row h2 {
    color: #30264e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 500;
}

.section-heading-row > a {
    color: #7447d8;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.dashboard-table-wrapper {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
    padding: 15px;
    border-bottom: 1px solid #eeeaf4;
    text-align: left;
}

.dashboard-table th {
    color: #837b8c;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.dashboard-table td {
    color: #463e4f;
    font-size: 13px;
}

.status-badge {
    display: inline-block;
    padding: 6px 11px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: bold;
}

.status-pending {
    background-color: #fff3df;
    color: #ad6714;
}

.status-in-progress {
    background-color: #e8f3ff;
    color: #3277b8;
}

.status-completed {
    background-color: #e5f8f0;
    color: #25856c;
}

.view-link {
    color: #7447d8;
    font-weight: bold;
    text-decoration: none;
}

/* Empty assignment message */
.empty-assignments {
    padding: 45px 20px;
    text-align: center;
}

.empty-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background-color: #eee6ff;
    color: #7447d8;

    font-size: 25px;
    font-weight: bold;
}

.empty-assignments h3 {
    margin-bottom: 8px;
    color: #342c40;
}

.empty-assignments p {
    margin-bottom: 20px;
    color: #837b8c;
    font-size: 13px;
}

.empty-assignments a {
    display: inline-block;
    padding: 11px 18px;

    border-radius: 7px;
    background-color: #7447d8;
    color: #ffffff;

    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

/* Responsive dashboard */
@media screen and (max-width: 1050px) {
    .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 800px) {
    .dashboard-navbar,
    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-links {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 600px) {
    .dashboard-main {
        width: 90%;
        padding-top: 35px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .upcoming-section {
        padding: 22px 16px;
    }

    .dashboard-welcome h2 {
        font-size: 31px;
    }
}

/* ================================
   ADD ASSIGNMENT PAGE
================================ */

.assignment-form-main {
    width: 86%;
    max-width: 950px;
    margin: 0 auto;
    padding: 50px 0 70px;
}

.assignment-page-heading {
    margin-bottom: 30px;
    text-align: center;
}

.assignment-page-heading h2 {
    margin-bottom: 12px;

    color: #30264e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 500;
}

.assignment-page-heading > p:last-child {
    color: #746d7c;
    font-size: 14px;
    line-height: 1.7;
}

.assignment-form {
    padding: 38px;

    border: 1px solid #e8e2f2;
    border-radius: 17px;
    background-color: #ffffff;

    box-shadow: 0 10px 30px rgba(75, 48, 110, 0.08);
}

.assignment-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
}

.assignment-description {
    grid-column: 1 / -1;
}

.optional-label {
    color: #9a929f;
    font-size: 11px;
    font-weight: normal;
}

.assignment-message {
    margin-bottom: 22px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.assignment-message.error-message {
    border: 1px solid #f2b8c0;
    background-color: #fff0f2;
    color: #b42335;
}

.assignment-form-actions {
    margin-top: 8px;

    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
}

.cancel-assignment-btn,
.save-assignment-btn {
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.cancel-assignment-btn {
    border: 1px solid #dcd5e4;
    background-color: #ffffff;
    color: #655d6d;
}

.save-assignment-btn {
    border: none;
    background-color: #7447d8;
    color: #ffffff;
    cursor: pointer;
}

.save-assignment-btn:hover {
    background-color: #5932b8;
}

@media screen and (max-width: 700px) {
    .assignment-form-main {
        width: 90%;
        padding-top: 35px;
    }

    .assignment-form {
        padding: 27px 20px;
    }

    .assignment-form-grid {
        grid-template-columns: 1fr;
    }

    .assignment-description {
        grid-column: auto;
    }

    .assignment-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .cancel-assignment-btn,
    .save-assignment-btn {
        width: 100%;
        text-align: center;
    }
}

/* ================================
   MY ASSIGNMENTS PAGE
================================ */

.assignments-main {
    width: 86%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 50px 0 70px;
}

.assignments-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.assignments-heading h2 {
    margin-bottom: 10px;

    color: #30264e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 500;
}

.assignments-heading > div > p:last-child {
    color: #746d7c;
    font-size: 14px;
    line-height: 1.7;
}

.assignment-success-message {
    margin-top: 25px;
    padding: 13px 16px;

    border: 1px solid #a8dfc1;
    border-radius: 8px;

    background-color: #effcf4;
    color: #197344;

    font-size: 13px;
    text-align: center;
}

/* Status filter */
.assignment-filter {
    margin-top: 30px;

    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.assignment-filter a {
    padding: 9px 17px;

    border: 1px solid #ddd6e7;
    border-radius: 50px;

    background-color: #ffffff;
    color: #665e6e;

    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.assignment-filter a:hover,
.assignment-filter a.active {
    border-color: #7447d8;
    background-color: #7447d8;
    color: #ffffff;
}

/* Assignment table */
.assignment-list-card {
    margin-top: 20px;
    padding: 15px 28px;

    border: 1px solid #e8e2f2;
    border-radius: 16px;

    background-color: #ffffff;
    box-shadow: 0 8px 25px rgba(75, 48, 110, 0.06);
}

.assignment-table-wrapper {
    overflow-x: auto;
}

.assignment-list-table {
    width: 100%;
    border-collapse: collapse;
}

.assignment-list-table th,
.assignment-list-table td {
    padding: 18px 14px;
    border-bottom: 1px solid #eeeaf4;
    text-align: left;
}

.assignment-list-table th {
    color: #837b8c;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.assignment-list-table td {
    color: #514958;
    font-size: 13px;
}

.assignment-list-table td strong {
    color: #332b3e;
}

.assignment-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.assignment-actions a {
    padding: 7px 11px;
    border-radius: 6px;

    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
}

.action-view {
    background-color: #eee7ff;
    color: #7447d8;
}

.action-edit {
    background-color: #e8f3ff;
    color: #3277b8;
}

.action-delete {
    background-color: #fff0f2;
    color: #b42335;
}

@media screen and (max-width: 700px) {
    .assignments-main {
        width: 90%;
        padding-top: 35px;
    }

    .assignments-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .assignment-list-card {
        padding: 10px;
    }

    .assignment-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .assignment-actions a {
        text-align: center;
    }
}

/* ================================
   ASSIGNMENT DETAILS PAGE
================================ */

.assignment-details-main {
    width: 86%;
    max-width: 950px;
    margin: 0 auto;
    padding: 50px 0 70px;
}

.details-heading {
    margin-bottom: 28px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.details-heading h2 {
    margin-bottom: 9px;

    color: #30264e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 500;
}

.details-heading > div > p:last-child {
    color: #746d7c;
    font-size: 14px;
}

.assignment-details-card {
    padding: 40px;

    border: 1px solid #e8e2f2;
    border-radius: 17px;

    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(75, 48, 110, 0.08);
}

.details-title-section {
    padding-bottom: 28px;
    border-bottom: 1px solid #ece7f2;
}

.details-title-section p {
    margin-bottom: 10px;

    color: #8a8193;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

.details-title-section h1 {
    color: #30264e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 500;
}

.details-information-grid {
    padding: 28px 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;

    border-bottom: 1px solid #ece7f2;
}

.detail-information {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.detail-information span,
.details-description > span {
    color: #8a8193;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.detail-information strong {
    color: #453d4d;
    font-size: 14px;
}

.details-description {
    padding: 28px 0;
}

.details-description p {
    margin-top: 12px;

    color: #625a69;
    font-size: 14px;
    line-height: 1.8;
}

.details-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 13px;
}

.details-back-btn,
.details-edit-btn {
    padding: 12px 20px;
    border-radius: 8px;

    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.details-back-btn {
    border: 1px solid #dcd5e4;
    color: #655d6d;
}

.details-edit-btn {
    background-color: #7447d8;
    color: #ffffff;
}

@media screen and (max-width: 650px) {
    .assignment-details-main {
        width: 90%;
        padding-top: 35px;
    }

    .details-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .assignment-details-card {
        padding: 27px 20px;
    }

    .details-information-grid {
        grid-template-columns: 1fr;
    }

    .details-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .details-back-btn,
    .details-edit-btn {
        text-align: center;
    }
}

/* ================================
   DELETE ASSIGNMENT PAGE
================================ */

.delete-assignment-main {
    width: 90%;
    min-height: calc(100vh - 85px);
    margin: 0 auto;
    padding: 65px 0;

    display: flex;
    justify-content: center;
}

.delete-confirmation-card {
    width: 100%;
    max-width: 600px;
    padding: 45px;

    border: 1px solid #f0d3d8;
    border-radius: 18px;

    background-color: #ffffff;
    text-align: center;

    box-shadow: 0 12px 35px rgba(100, 45, 55, 0.1);
}

.delete-warning-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background-color: #fff0f2;
    color: #c52d42;

    font-family: Georgia, serif;
    font-size: 35px;
    font-weight: bold;
}

.delete-confirmation-card h1 {
    margin-bottom: 14px;

    color: #392f3b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 37px;
    font-weight: 500;
}

.delete-warning-text {
    max-width: 450px;
    margin: 0 auto;

    color: #766d78;
    font-size: 14px;
    line-height: 1.7;
}

.delete-assignment-information {
    margin: 30px 0;
    padding: 22px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;

    border-radius: 12px;
    background-color: #f8f6fc;
    text-align: left;
}

.delete-assignment-information div {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.delete-assignment-information span {
    color: #8a8193;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.delete-assignment-information strong {
    color: #453d4d;
    font-size: 14px;
}

.delete-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.delete-cancel-btn,
.delete-confirm-btn {
    padding: 12px 20px;
    border-radius: 8px;

    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.delete-cancel-btn {
    border: 1px solid #dcd5e4;
    color: #655d6d;
}

.delete-confirm-btn {
    border: none;
    background-color: #c52d42;
    color: #ffffff;
    cursor: pointer;
}

.delete-confirm-btn:hover {
    background-color: #a91f33;
}

@media screen and (max-width: 550px) {
    .delete-confirmation-card {
        padding: 35px 22px;
    }

    .delete-assignment-information {
        grid-template-columns: 1fr;
    }

    .delete-form {
        align-items: stretch;
        flex-direction: column;
    }

    .delete-cancel-btn,
    .delete-confirm-btn {
        width: 100%;
        text-align: center;
    }
}

/* ================================
   LOGOUT CONFIRMATION PAGE
================================ */

.logout-confirmation-main {
    width: 90%;
    min-height: calc(100vh - 85px);
    margin: 0 auto;
    padding: 70px 0;

    display: flex;
    justify-content: center;
}

.logout-confirmation-card {
    width: 100%;
    max-width: 520px;
    padding: 45px;

    border: 1px solid #e4ddee;
    border-radius: 18px;

    background-color: #ffffff;
    text-align: center;

    box-shadow: 0 12px 35px rgba(75, 48, 110, 0.1);
}

.logout-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background-color: #eee7ff;
    color: #7447d8;

    font-size: 33px;
    font-weight: bold;
}

.logout-confirmation-card h1 {
    margin-bottom: 14px;

    color: #392f3b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 39px;
    font-weight: 500;
}

.logout-confirmation-text {
    color: #766d78;
    font-size: 14px;
    line-height: 1.7;
}

.logout-user-information {
    margin: 27px 0;
    padding: 18px;

    display: flex;
    flex-direction: column;
    gap: 7px;

    border-radius: 10px;
    background-color: #f7f4fc;
}

.logout-user-information span {
    color: #8a8193;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logout-user-information strong {
    color: #453d4d;
    font-size: 15px;
}

.logout-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.logout-cancel-btn,
.logout-confirm-btn {
    padding: 12px 24px;
    border-radius: 8px;

    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.logout-cancel-btn {
    border: 1px solid #dcd5e4;
    color: #655d6d;
}

.logout-confirm-btn {
    border: none;
    background-color: #c52d42;
    color: #ffffff;
    cursor: pointer;
}

.logout-confirm-btn:hover {
    background-color: #a91f33;
}

@media screen and (max-width: 500px) {
    .logout-confirmation-card {
        padding: 35px 22px;
    }

    .logout-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .logout-cancel-btn,
    .logout-confirm-btn {
        width: 100%;
        text-align: center;
    }
}

/* Contact form feedback */
.contact-message {
    max-width: 1100px;
    margin: 0 auto 22px;
    padding: 13px 16px;

    border-radius: 8px;

    font-size: 13px;
    text-align: center;
}

.contact-success {
    border: 1px solid #a8dfc1;
    background-color: #effcf4;
    color: #197344;
}

.contact-error {
    border: 1px solid #f2b8c0;
    background-color: #fff0f2;
    color: #b42335;
}

/* ================================
   ADMIN DASHBOARD
================================ */

.admin-body {
    min-height: 100vh;
    background-color: #f5f3f9;
}

.admin-navbar {
    width: 100%;
    min-height: 85px;
    padding: 15px 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #e5dfed;
    background-color: #ffffff;
}

.admin-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.admin-links a {
    color: #3b3444;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.admin-links a:hover,
.admin-links .active {
    color: #7447d8;
}

.admin-links .logout-btn {
    padding: 10px 17px;

    border: 1px solid #e2b5bb;
    border-radius: 8px;

    color: #b42335;
}

.admin-main {
    width: 88%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 0 70px;
}

.admin-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.admin-label {
    margin-bottom: 10px;

    color: #8062bf;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
}

.admin-welcome h2 {
    margin-bottom: 10px;

    color: #30264e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    font-weight: 500;
}

.admin-welcome > div > p:last-child {
    color: #746d7c;
    font-size: 14px;
    line-height: 1.7;
}

.admin-role-badge {
    padding: 10px 20px;

    border-radius: 50px;
    background-color: #2b7667;
    color: #ffffff;

    font-size: 13px;
    font-weight: bold;
}

.admin-summary-grid {
    margin-top: 35px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.admin-summary-card {
    min-width: 0;
    padding: 25px;

    display: flex;
    align-items: center;
    gap: 16px;

    border: 1px solid #e5dfed;
    border-radius: 14px;

    background-color: #ffffff;
    text-decoration: none;

    box-shadow: 0 7px 22px rgba(75, 48, 110, 0.06);
    transition: 0.2s ease;
}

.admin-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 27px rgba(75, 48, 110, 0.12);
}

.admin-summary-number {
    width: 52px;
    height: 52px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    font-size: 23px;
    font-weight: bold;
}

.admin-summary-card h3 {
    margin-bottom: 5px;

    color: #342c40;
    font-size: 15px;
}

.admin-summary-card p {
    color: #8b8491;
    font-size: 11px;
    line-height: 1.4;
}

.users-count {
    background-color: #eee6ff;
    color: #7447d8;
}

.assignment-count {
    background-color: #e8f3ff;
    color: #3277b8;
}

.message-count {
    background-color: #e5f8f0;
    color: #25856c;
}

.unread-count {
    background-color: #fff3df;
    color: #c27618;
}

.admin-recent-section {
    margin-top: 35px;
    padding: 30px;

    border: 1px solid #e5dfed;
    border-radius: 16px;

    background-color: #ffffff;
    box-shadow: 0 8px 25px rgba(75, 48, 110, 0.06);
}

.admin-section-heading {
    margin-bottom: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-section-heading h2 {
    color: #30264e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-weight: 500;
}

.admin-section-heading > a {
    color: #7447d8;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 16px 14px;
    border-bottom: 1px solid #eeeaf4;
    text-align: left;
}

.admin-table th {
    color: #837b8c;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-table td {
    color: #514958;
    font-size: 13px;
}

.admin-empty-state {
    padding: 45px 20px;
    text-align: center;
}

.admin-empty-state h3 {
    margin-bottom: 8px;
    color: #3f3747;
}

.admin-empty-state p {
    color: #837b8c;
    font-size: 13px;
}

@media screen and (max-width: 1050px) {
    .admin-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 850px) {
    .admin-navbar,
    .admin-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-links {
        width: 100%;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 600px) {
    .admin-main {
        width: 90%;
        padding-top: 35px;
    }

    .admin-summary-grid {
        grid-template-columns: 1fr;
    }

    .admin-recent-section {
        padding: 22px 15px;
    }
}

/* ================================
   ADMIN MANAGEMENT PAGES
================================ */

.admin-management-main {
    width: 88%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 0 70px;
}

.admin-management-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.admin-management-heading h2 {
    margin-bottom: 9px;

    color: #30264e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    font-weight: 500;
}

.admin-management-heading > div > p:last-child {
    color: #746d7c;
    font-size: 14px;
}

.admin-total-badge {
    padding: 10px 18px;

    border-radius: 50px;
    background-color: #eee6ff;
    color: #7447d8;

    font-size: 13px;
    font-weight: bold;
}

.admin-success-message {
    margin-top: 25px;
    padding: 13px 16px;

    border: 1px solid #a8dfc1;
    border-radius: 8px;

    background-color: #effcf4;
    color: #197344;

    font-size: 13px;
    text-align: center;
}

.admin-management-card {
    margin-top: 30px;
    padding: 15px 28px;

    border: 1px solid #e5dfed;
    border-radius: 16px;

    background-color: #ffffff;
    box-shadow: 0 8px 25px rgba(75, 48, 110, 0.06);
}

.student-name-cell {
    display: flex;
    align-items: center;
    gap: 11px;
}

.student-avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background-color: #eee6ff;
    color: #7447d8;

    font-size: 14px;
    font-weight: bold;
}

.student-name-cell strong {
    color: #3d3547;
}

.assignment-count-badge {
    display: inline-flex;
    min-width: 30px;
    height: 30px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background-color: #e8f3ff;
    color: #3277b8;

    font-size: 12px;
    font-weight: bold;
}

.admin-action-links {
    display: flex;
    align-items: center;
    gap: 9px;
}

.admin-action-links a {
    padding: 7px 12px;
    border-radius: 6px;

    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
}

.admin-edit-action {
    background-color: #e8f3ff;
    color: #3277b8;
}

.admin-delete-action {
    background-color: #fff0f2;
    color: #b42335;
}

@media screen and (max-width: 700px) {
    .admin-management-main {
        width: 90%;
        padding-top: 35px;
    }

    .admin-management-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-management-card {
        padding: 10px;
    }
}

/* ========================================
   ADMIN DELETE STUDENT PAGE
======================================== */

.delete-page {
    min-height: calc(100vh - 108px);
    padding: 80px 24px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #f8f6ff;
}

.delete-card {
    width: 100%;
    max-width: 750px;
    padding: 55px 56px;
    background: #ffffff;
    border: 1px solid #f1cccc;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(54, 38, 91, 0.09);
    text-align: center;
}

.delete-warning-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffebee;
    color: #cc2e45;
    font-size: 42px;
    font-weight: 700;
}

.delete-card .section-label {
    margin-bottom: 14px;
    color: #8054df;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 5px;
}

.delete-card h1 {
    margin: 0 0 16px;
    color: #2d2436;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    font-weight: 500;
}

.delete-description {
    max-width: 620px;
    margin: 0 auto 36px;
    color: #706578;
    font-size: 17px;
    line-height: 1.7;
}

.delete-information {
    margin-bottom: 36px;
    padding: 25px 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: #f8f6fc;
    border-radius: 15px;
    text-align: left;
}

.delete-information div {
    min-width: 0;
}

.delete-information span {
    display: block;
    margin-bottom: 8px;
    color: #8a7e91;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.delete-information strong {
    display: block;
    color: #30283a;
    font-size: 17px;
    overflow-wrap: anywhere;
}

.delete-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.delete-actions .cancel-btn {
    padding: 14px 28px;
    border: 1px solid #ddd5e8;
    border-radius: 10px;
    background: #ffffff;
    color: #5f5567;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.delete-actions .cancel-btn:hover {
    background: #f5f2fa;
}

.confirm-delete-btn {
    padding: 15px 28px;
    border: none;
    border-radius: 10px;
    background: #cd2e46;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.confirm-delete-btn:hover {
    background: #ae2036;
    transform: translateY(-1px);
}

/* Admin logout button */
.navbar .logout-btn {
    padding: 13px 24px;
    border: 1px solid #e6aeb6;
    border-radius: 10px;
    color: #b3182f;
}

.navbar .logout-btn:hover {
    background: #fff1f3;
    color: #b3182f;
}

/* Delete page mobile view */
@media (max-width: 700px) {
    .delete-page {
        padding: 45px 16px;
    }

    .delete-card {
        padding: 40px 22px;
    }

    .delete-card h1 {
        font-size: 37px;
    }

    .delete-information {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .delete-actions {
        flex-direction: column;
    }

    .delete-actions .cancel-btn,
    .confirm-delete-btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   ADMIN MANAGE ASSIGNMENTS
======================================== */

.admin-management-page {
    min-height: calc(100vh - 108px);
    padding: 64px max(7.5%, 24px) 90px;
    background: #f8f6ff;
}

.admin-management-heading {
    margin-bottom: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.admin-management-heading .section-label {
    margin-bottom: 13px;
    color: #8054df;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
}

.admin-management-heading h1 {
    margin: 0 0 10px;
    color: #30273c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 50px;
    font-weight: 500;
}

.admin-management-heading > div > p:last-child {
    margin: 0;
    color: #716779;
    font-size: 17px;
}

.admin-total-badge {
    flex-shrink: 0;
    padding: 13px 24px;
    border-radius: 30px;
    background: #eee5ff;
    color: #7940dc;
    font-size: 16px;
    font-weight: 700;
}

.admin-filter-buttons {
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-filter-buttons a {
    padding: 11px 22px;
    border: 1px solid #ded6e8;
    border-radius: 30px;
    background: #ffffff;
    color: #5f5568;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.admin-filter-buttons a:hover,
.admin-filter-buttons a.active {
    border-color: #7542dc;
    background: #7542dc;
    color: #ffffff;
}

.admin-table-card {
    overflow: hidden;
    border: 1px solid #e4deeb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(63, 43, 102, 0.07);
}

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    padding: 25px 20px;
    border-bottom: 1px solid #e9e3ef;
    color: #81758a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-table td {
    padding: 23px 20px;
    border-bottom: 1px solid #eee9f2;
    color: #403647;
    font-size: 15px;
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background: #fcfaff;
}

.admin-table td > strong {
    color: #27202f;
}

.admin-student-name {
    min-width: 215px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-avatar {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #ede3ff;
    color: #7542dc;
    font-weight: 700;
}

.admin-student-name strong {
    display: block;
    margin-bottom: 4px;
    color: #30273a;
}

.admin-student-name small {
    display: block;
    max-width: 190px;
    color: #81768a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge.pending {
    background: #fff0d8;
    color: #b66a00;
}

.status-badge.in-progress {
    background: #e4f1ff;
    color: #2471b7;
}

.status-badge.completed {
    background: #def6ed;
    color: #168467;
}

.admin-action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-action-buttons a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.admin-action-buttons .view-action {
    background: #eee5ff;
    color: #7542dc;
}

.admin-action-buttons .view-action:hover {
    background: #dfd0ff;
}

.admin-action-buttons .delete-action {
    background: #ffecef;
    color: #c41f39;
}

.admin-action-buttons .delete-action:hover {
    background: #ffdce2;
}

.admin-empty-state {
    padding: 75px 25px;
    text-align: center;
}

.admin-empty-state .empty-state-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #eee5ff;
    color: #7542dc;
    font-size: 34px;
}

.admin-empty-state h2 {
    margin: 0 0 8px;
    color: #30273a;
}

.admin-empty-state p {
    margin: 0;
    color: #81768a;
}

@media (max-width: 800px) {
    .admin-management-page {
        padding: 45px 18px 70px;
    }

    .admin-management-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-management-heading h1 {
        font-size: 40px;
    }

    .admin-table {
        min-width: 1050px;
    }
}

/* ========================================
   ADMIN VIEW ASSIGNMENT
======================================== */

.admin-assignment-view {
    min-height: calc(100vh - 108px);
    padding: 60px max(18%, 24px) 90px;
    background: #f8f6ff;
}

.admin-view-heading {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.admin-view-heading .section-label {
    margin-bottom: 12px;
    color: #8054df;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
}

.admin-view-heading h1 {
    margin: 0 0 10px;
    color: #30273c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 50px;
    font-weight: 500;
}

.admin-view-heading p {
    margin: 0;
    color: #716779;
    font-size: 17px;
}

.admin-assignment-card {
    padding: 45px 50px;
    border: 1px solid #e4deeb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(57, 40, 91, 0.08);
}

.admin-assignment-title {
    padding-bottom: 30px;
    border-bottom: 1px solid #ebe5ef;
}

.admin-assignment-title span,
.admin-student-panel span,
.admin-assignment-details-grid span,
.admin-assignment-description span {
    display: block;
    margin-bottom: 10px;
    color: #86798f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.admin-assignment-title h2 {
    margin: 0;
    color: #302341;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 41px;
    font-weight: 500;
}

.admin-student-panel {
    margin: 30px 0;
    padding: 22px 25px;
    display: flex;
    align-items: center;
    gap: 17px;
    border-radius: 14px;
    background: #f8f5ff;
}

.student-avatar-large {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #e9ddff;
    color: #7542dc;
    font-size: 23px;
    font-weight: 700;
}

.admin-student-panel h3 {
    margin: 0 0 4px;
    color: #30273a;
    font-size: 18px;
}

.admin-student-panel p {
    margin: 0;
    color: #756a7e;
    font-size: 15px;
}

.admin-assignment-details-grid {
    padding: 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 50px;
    border-top: 1px solid #ebe5ef;
    border-bottom: 1px solid #ebe5ef;
}

.admin-assignment-details-grid strong {
    color: #30273a;
    font-size: 16px;
}

.admin-assignment-description {
    padding: 30px 0;
}

.admin-assignment-description p {
    margin: 0;
    color: #554b5e;
    font-size: 16px;
    line-height: 1.8;
}

.admin-view-actions {
    padding-top: 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

.admin-back-btn,
.admin-delete-btn {
    padding: 14px 23px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.admin-back-btn {
    border: 1px solid #ddd5e8;
    background: #ffffff;
    color: #5e5367;
}

.admin-back-btn:hover {
    background: #f5f2fa;
}

.admin-delete-btn {
    background: #cd2e46;
    color: #ffffff;
}

.admin-delete-btn:hover {
    background: #ae2036;
}

@media (max-width: 800px) {
    .admin-assignment-view {
        padding: 45px 18px 70px;
    }

    .admin-view-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-view-heading h1 {
        font-size: 40px;
    }

    .admin-assignment-card {
        padding: 35px 22px;
    }

    .admin-assignment-title h2 {
        font-size: 32px;
    }

    .admin-assignment-details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .admin-view-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-back-btn,
    .admin-delete-btn {
        text-align: center;
    }
}

/* ========================================
   ADMIN MESSAGES PAGE
======================================== */

.admin-message-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-message-summary > div {
    min-width: 95px;
    padding: 13px 20px;
    border-radius: 14px;
    background: #eee5ff;
    text-align: center;
}

.admin-message-summary > div.unread-summary {
    background: #fff0d8;
}

.admin-message-summary strong {
    display: block;
    margin-bottom: 3px;
    color: #7542dc;
    font-size: 23px;
}

.admin-message-summary .unread-summary strong {
    color: #b66a00;
}

.admin-message-summary span {
    color: #716679;
    font-size: 13px;
    font-weight: 700;
}

.message-table {
    min-width: 1150px;
}

.unread-message-row {
    background: #fcf9ff;
}

.unread-message-row td:first-child {
    border-left: 4px solid #7542dc;
}

.message-avatar {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #e5f6f1;
    color: #21816c;
    font-weight: 700;
}

.message-preview {
    width: 230px;
    margin: 0;
    overflow: hidden;
    color: #625768;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message-date {
    white-space: nowrap;
}

.message-date small {
    display: block;
    margin-top: 5px;
    color: #8b8091;
}

.message-status {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

.message-status.unread {
    background: #fff0d8;
    color: #b66a00;
}

.message-status.read {
    background: #def6ed;
    color: #168467;
}

@media (max-width: 800px) {
    .admin-message-summary {
        width: 100%;
    }

    .admin-message-summary > div {
        flex: 1;
    }
}

/* ========================================
   ADMIN VIEW MESSAGE
======================================== */

.admin-message-view-page {
    min-height: calc(100vh - 108px);
    padding: 60px max(16%, 24px) 90px;
    background: #f8f6ff;
}

.message-view-heading {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}

.message-view-heading .section-label {
    margin-bottom: 12px;
    color: #8054df;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
}

.message-view-heading h1 {
    margin: 0 0 10px;
    color: #30273c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 50px;
    font-weight: 500;
}

.message-view-heading p {
    max-width: 700px;
    margin: 0;
    color: #716779;
    font-size: 17px;
    line-height: 1.6;
}

.message-view-card {
    padding: 45px 50px;
    border: 1px solid #e4deeb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(57, 40, 91, 0.08);
}

.message-sender-panel {
    padding: 24px 26px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-radius: 15px;
    background: #f8f5ff;
}

.message-sender-avatar {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #e2f5ef;
    color: #21816c;
    font-size: 24px;
    font-weight: 700;
}

.message-sender-details {
    flex: 1;
}

.message-sender-details span,
.message-sent-date span,
.message-subject-section > span,
.message-content-section > span {
    display: block;
    margin-bottom: 7px;
    color: #897d91;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.message-sender-details h2 {
    margin: 0 0 5px;
    color: #30273a;
    font-size: 21px;
}

.message-sender-details a {
    color: #7542dc;
    font-size: 15px;
    text-decoration: none;
}

.message-sender-details a:hover {
    text-decoration: underline;
}

.message-sent-date {
    text-align: right;
}

.message-sent-date strong {
    display: block;
    margin-bottom: 5px;
    color: #30273a;
}

.message-sent-date small {
    color: #82768a;
}

.message-subject-section {
    margin-top: 32px;
    padding: 27px 0;
    border-top: 1px solid #ebe5ef;
    border-bottom: 1px solid #ebe5ef;
}

.message-subject-section h3 {
    margin: 0;
    color: #302341;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 500;
}

.message-content-section {
    padding: 30px 0;
}

.message-content-box {
    padding: 25px 27px;
    border-left: 4px solid #7542dc;
    border-radius: 0 13px 13px 0;
    background: #faf8ff;
}

.message-content-box p {
    margin: 0;
    color: #504657;
    font-size: 17px;
    line-height: 1.8;
}

.message-view-actions {
    padding-top: 12px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 13px;
}

.reply-message-btn {
    padding: 14px 23px;
    border-radius: 10px;
    background: #7542dc;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.reply-message-btn:hover {
    background: #6432c8;
}

@media (max-width: 800px) {
    .admin-message-view-page {
        padding: 45px 18px 70px;
    }

    .message-view-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .message-view-heading h1 {
        font-size: 40px;
    }

    .message-view-card {
        padding: 32px 22px;
    }

    .message-sender-panel {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .message-sent-date {
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid #e7dfef;
        text-align: left;
    }

    .message-view-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .message-view-actions a {
        text-align: center;
    }
}

/* Success notification */
.success-message {
    width: 100%;
    margin: 0 0 28px;
    padding: 15px 20px;
    border: 1px solid #9fdfbd;
    border-radius: 10px;
    background: #edfbf3;
    color: #147744;
    font-size: 15px;
    text-align: center;
}

/* Role information on logout page */
.logged-in-user small {
    display: block;
    margin-top: 5px;
    color: #82768a;
    font-size: 13px;
    font-weight: 600;
}

.logout-actions form {
    margin: 0;
}

.logout-user-information small {
    display: block;
    margin-top: 5px;
    color: #82768a;
    font-size: 13px;
    font-weight: 600;
}

/* Public website footer */
.site-footer {
    padding: 24px 20px;
    border-top: 1px solid #e8e2ef;
    background-color: #ffffff;
    text-align: center;
}

.site-footer p {
    margin: 0 0 7px;
    color: #8a8091;
    font-size: 13px;
}

.site-footer .administrator-login-link {
    color: #7650d6;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.site-footer .administrator-login-link:hover {
    text-decoration: underline;
}

/* How TaskMate Works section */
.how-it-works-section {
    padding: 80px 8%;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8f5ff 100%
        );
    text-align: center;
}

.how-it-works-heading {
    max-width: 720px;
    margin: 0 auto 45px;
}

.home-section-label {
    margin-bottom: 12px;
    color: #7a4de8;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
}

.how-it-works-heading h2 {
    margin: 0 0 12px;
    color: #30233f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 45px;
    font-weight: 500;
}

.how-it-works-heading > p:last-child {
    margin: 0;
    color: #75697e;
    font-size: 17px;
    line-height: 1.7;
}

/* Steps layout */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual step card */
.step-card {
    position: relative;
    padding: 40px 30px;
    overflow: hidden;
    border: 1px solid #e8e0f2;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 14px 35px rgba(77, 54, 110, 0.08);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 42px rgba(77, 54, 110, 0.14);
}

/* Step icon */
.step-icon {
    display: flex;
    width: 78px;
    height: 78px;
    margin: 0 auto 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #eee6ff;
}

.step-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: #7445de;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Step number */
.step-number {
    position: absolute;
    top: 20px;
    right: 24px;
    color: #ded1fb;
    font-size: 25px;
    font-weight: 700;
}

.step-card h3 {
    margin: 0 0 13px;
    color: #21182c;
    font-size: 20px;
}

.step-card p {
    margin: 0;
    color: #75697e;
    font-size: 15px;
    line-height: 1.7;
}


/* Responsive layout */
@media (max-width: 900px) {
    .steps-container {
        grid-template-columns: 1fr;
        max-width: 550px;
    }

    .how-it-works-heading h2 {
        font-size: 37px;
    }
}

@media (max-width: 600px) {
    .how-it-works-section {
        padding: 60px 20px;
    }

    .how-it-works-heading h2 {
        font-size: 32px;
    }

    .home-section-label {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .step-card {
        padding: 35px 24px;
    }
}

/* Motivational message */
.motivation-card {
    position: relative;
    max-width: 850px;
    margin: 50px auto 0;
    padding: 38px 70px;
    overflow: hidden;
    border: 1px solid #ded0fa;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        #eee6ff 0%,
        #f8f5ff 55%,
        #e7f8f4 100%
    );
    text-align: center;
    box-shadow: 0 14px 35px rgba(87, 58, 128, 0.09);
}

.motivation-quote {
    position: absolute;
    top: 3px;
    left: 28px;
    color: rgba(116, 69, 222, 0.18);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 100px;
    line-height: 1;
}

.motivation-text {
    position: relative;
    margin: 0 auto 13px;
    color: #352545;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-style: italic;
    line-height: 1.5;
}

.motivation-subtext {
    margin: 0;
    color: #786c82;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.motivation-stars {
    margin-top: 17px;
    color: #7445de;
    font-size: 13px;
    letter-spacing: 7px;
}

@media (max-width: 600px) {
    .motivation-card {
        margin-top: 35px;
        padding: 35px 25px;
    }

    .motivation-quote {
        left: 15px;
        font-size: 75px;
    }

    .motivation-text {
        font-size: 20px;
    }
}