@media(max-width:768px) {

    .sidebar {
        display: none !important;
    }

    .main-content {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 15px 14px 90px !important;
    }

}

.mobile-quick-links {
    display: none;
}

.bottom-mobile-nav {
    display: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.stat-icon {
    font-size: 36px;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-info h3 {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.stat-info p {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.progress-section {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.progress-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 22px;
}

.progress-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.progress-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.progress-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
}

.progress-title h4 {
    margin: 0;
    color: #333;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.account-menu {
    display: none;
    list-style: none;
    padding-left: 20px;
    margin: 0;
}

.account-menu li a {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-logout {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
}

@media(max-width:768px) {

    body {
        background: #f5f7fb;
    }

    .main-content {
        padding: 15px 14px 90px !important;
    }

    .mobile-quick-links {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-bottom: 22px;
    }

    .quick-link-card {
        background: linear-gradient(135deg, #ffffff, #f7f8ff);
        border-radius: 20px;
        padding: 22px 12px;
        text-align: center;
        text-decoration: none;
        color: #222;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(102, 126, 234, 0.12);
        transition: 0.25s ease;
    }

    .quick-link-card:active {
        transform: scale(0.96);
    }

    .quick-link-card i {
        width: 52px;
        height: 52px;
        margin: 0 auto 10px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        color: #fff;
        background: linear-gradient(135deg, #667eea, #764ba2);
        box-shadow: 0 8px 18px rgba(102, 126, 234, 0.35);
    }

    .quick-link-card span {
        font-size: 14px;
        font-weight: 700;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 15px;
    }

    .progress-section {
        padding: 18px;
        border-radius: 22px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    .progress-section h2 {
        font-size: 20px;
    }

    .progress-title {
        flex-direction: column;
    }

    .bottom-mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 68px;
        background: #fff;
        box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.12);
        border-radius: 22px 22px 0 0;
        z-index: 9999;
        justify-content: space-around;
        align-items: center;
        padding-bottom: 4px;
    }

    .bottom-mobile-nav a {
        text-decoration: none;
        color: #999;
        font-size: 11px;
        font-weight: 600;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .bottom-mobile-nav a i {
        font-size: 19px;
    }

    .bottom-mobile-nav a.active {
        color: #667eea;
    }
}

.slider-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    text-decoration: none;
    color: inherit;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s;
}

.slide-image,
.section-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 12px;
    text-align: center;
}

.slide-content h3,
.slide-content p {
    margin: 0;
}

.slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.slider-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 6px;
}

.section-card {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-content {
    padding: 15px;
    text-align: center;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.section-description {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 100;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    padding: 5px 10px;
    flex: 1;
}

.nav-item.active {
    color: #4CAF50;
}

.nav-icon {
    font-size: 24px;
}

main {
    padding-bottom: 80px !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 20px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
}

.close {
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}

.modal-body {
    padding: 25px;
}

.modal-body .form-group {
    margin-bottom: 20px;
}

.modal-body label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.modal-body input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
}

.modal-body .btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: #4CAF50;
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media(max-width: 768px) {
    .modal-content {
        max-width: 90%;
    }
}

body {
    background: #fff;
}

.container {
    padding: 12px;
    padding-bottom: 90px !important;
}

.slider-container,
.full-banner-slider {
    position: relative;
    width: 100%;
    height: 165px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 22px;
}

.slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.slide.active {
    display: block;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 5;
}

.slider-dot {
    width: 9px;
    height: 9px;
    background: #ddd;
    border-radius: 50%;
}

.slider-dot.active {
    width: 25px;
    border-radius: 20px;
    background: #4d8cff;
}

.welcome-box {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
}

.welcome-box h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
}

.welcome-box h3 {
    color: #123c7c;
    margin: 3px 0 10px;
    font-size: 17px;
}

.welcome-small-img {
    width: 130px;
}

.demo-box img {
    width: 215px;
    height: 206px;
}

.category-row,
.students-row,
.partners-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.category-row::-webkit-scrollbar,
.students-row::-webkit-scrollbar,
.partners-row::-webkit-scrollbar {
    display: none;
}

.category-card {
    min-width: 135px;
    height: 135px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
}

.category-overlay h4,
.category-overlay p {
    margin: 0;
    font-size: 14px;
}

.profile-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #fff7d5, #ff7a1a);
    padding: 18px;
    border-radius: 16px;
    margin-bottom: 26px;
}

.profile-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.profile-card p {
    margin: 0 0 12px;
    font-size: 14px;
    max-width: 240px;
}

.progress-line {
    width: 210px;
    height: 5px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}

.progress-line span {
    display: block;
    height: 100%;
    background: #123cce;
}

.profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #ff5b00;
    color: white;
    font-size: 48px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.today-exam {
    height: 150px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
}

.today-exam img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.today-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    padding: 25px;
}

.today-overlay h2 {
    margin: 0 0 18px;
    font-size: 26px;
}

.today-overlay h3 {
    margin: 0;
    font-size: 22px;
}

.today-exam .arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 35px;
}

.top-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.top-heading h3,
.partners h3 {
    margin: 0;
    font-size: 18px;
}

.top-heading a {
    color: #333;
    font-size: 14px;
}

.student-card {
    min-width: 120px;
    height: 105px;
    border-radius: 14px;
    padding: 10px;
    background: linear-gradient(135deg, #fff176, #ff9800);
    color: #333;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.student-card.purple {
    background: linear-gradient(135deg, #ff9ecb, #673ab7);
    color: white;
}

.student-card.red {
    background: linear-gradient(135deg, #ffb3b3, #ff1744);
    color: white;
}

.student-card span {
    background: rgba(255, 255, 255, 0.4);
    padding: 3px 12px;
    border-radius: 10px;
    font-size: 12px;
}

.student-card b {
    position: absolute;
    right: 14px;
    top: 10px;
    background: #4da3ff;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.student-card p {
    position: absolute;
    bottom: 10px;
    margin: 0;
    font-weight: bold;
    font-size: 13px;
}

.office-banner {
    height: 120px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 25px;
}

.office-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partners {
    margin-bottom: 30px;
}

.partners-row {
    align-items: center;
    margin-top: 15px;
}

.partners-row img {
    height: 42px;
    min-width: 105px;
    object-fit: contain;
}


/* ===== CLEAN PROFESSIONAL DESKTOP UI ===== */
@media (min-width: 1024px) {

    body {
        background: #f4f6f9;
        font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    }

    .container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 25px 20px;
    }

    /* HEADER CLEAN */
    .header {
        background: white;
        border-bottom: 1px solid #eee;
    }

    .header-container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 12px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* LOGO TEXT CLEAN */
    .title {
        font-size: 20px;
        letter-spacing: 1px;
        font-weight: 700;
    }

    /* SLIDER PREMIUM BUT SIMPLE */
    .slider-container {
        height: 380px;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

    .slide-content {
        font-size: 16px;
        padding: 18px;
        background: rgba(0, 0, 0, 0.45);
    }

    /* SECTIONS CLEAN GRID */
    .sections-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
        margin-top: 25px;
    }

    .section-card {
        background: #fff;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
        transition: 0.25s ease;
    }

    .section-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

    .section-image {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }

    .section-content {
        padding: 14px;
        text-align: left;
    }

    .section-title {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 6px;
        color: #222;
    }

    .section-description {
        font-size: 13px;
        color: #666;
        line-height: 1.5;
    }

    /* BOTTOM NAV CENTER FLOAT STYLE */
    .bottom-nav {
        width: 420px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 18px;
        bottom: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    /* MODAL CLEAN */
    .modal-content {
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    }

    .modal-header {
        background: #f9f9f9;
    }

    .modal-body .btn {
        border-radius: 8px;
    }
}

/* student */
.students-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
}

.student-card {
    min-width: 180px;
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

.student-card img {
    width: 50px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin: -38px -15px;
    display: block;
    border: 3px solid #f1f1f1;
}

.student-card span {
    color: #777;
    font-size: 13px;
}

.student-card p {
    margin-top: 10px;
    font-weight: 600;
}

.student-card.purple {
    border-top: 5px solid #7c3aed;
}

.student-card.red {
    border-top: 5px solid #ef4444;
}

.student-card.green {
    border-top: 5px solid #10b981;
}

.student-card.orange {
    border-top: 5px solid #f59e0b;
}

.student-card.blue {
    border-top: 5px solid #3b82f6;
}

