﻿@media(max-width:991px) {

    .hero-section {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        margin-top: 40px;
    }

    .hero-title {
        font-size: 42px;
    }
}


@media(max-width:991px) {

    .statistics {
        margin-top: 30px;
    }

    .stat-card {
        height: auto;
    }
}



@media(max-width:991px) {

    .service-card {
        margin-bottom: 20px;
    }
}

@media(max-width:991px) {

    .support-box {
        flex-direction: column;
        text-align: center;
    }

    .support-left {
        margin-bottom: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/*=========================================
MOBILE (991px)
=========================================*/

@media (max-width:991px) {

    /* Header */

    .topbar {
        display: none;
    }

    .navigation {
        padding: 12px 0;
    }

    .nav-wrapper {
        display: block;
        text-align: center;
    }

    .logo-section {
        justify-content: center;
        margin-bottom: 20px;
    }

    .main-menu {
        justify-content: center;
        flex-wrap: wrap;
    }

        .main-menu li {
            margin: 8px;
        }

    .login-area {
        justify-content: center;
        margin-top: 20px;
    }


    /* Hero */

    .hero-section {
        text-align: center;
        padding: 50px 0;
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.2;
    }

    .hero-text {
        font-size: 17px;
        line-height: 30px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

        .hero-buttons .btn-login,
        .hero-buttons .btn-dept {
            width: 100%;
            max-width: 320px;
        }

    .hero-image {
        margin-top: 40px;
    }


    /* Statistics */

    .statistics {
        margin-top: 30px;
    }

        .statistics .col-lg,
        .statistics .col-md,
        .statistics .col-6 {
            flex: 0 0 100%;
            max-width: 100%;
        }

    .stat-card {
        height: auto;
    }


    /* Services */

    .service-card {
        margin-bottom: 20px;
    }


    /* Management */

    .member-card {
        margin-bottom: 25px;
    }

        .member-card img {
            width: 160px;
            height: 180px;
        }

    .member-name {
        min-height: auto;
    }


    /* Announcement */

    .notice-list li {
        display: block;
    }

    .notice-list i {
        margin-bottom: 12px;
    }

    .notice-list label {
        display: inline-block;
        margin-top: 10px;
        margin-left: 0;
    }


    /* Support */

    .support-box {
        display: block;
        text-align: center;
    }

    .support-left {
        display: block;
    }

        .support-left i {
            margin: 0 0 15px;
        }

    .support-btn {
        margin-top: 20px;
        display: inline-block;
    }


    /* Footer */

    .footer {
        text-align: center;
    }

        .footer .row > div {
            margin-bottom: 35px;
        }

    .footer-company {
        text-align: center;
    }

    .footer-logo-box {
        margin: auto auto 20px;
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }

    .footer-bottom {
        display: block;
    }

        .footer-bottom span {
            display: block;
            margin-top: 12px;
        }
}

@media (max-width:991px) {

    .main-menu {
        display: none;
    }

    .login-area {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

.mobile-toggle {
    display: none;
}

@media(max-width:991px) {

    .mobile-toggle {
        display: block;
    }

    .main-menu,
    .login-area {
        display: none;
    }

    .logo-section {
        flex: 1;
    }

    #mobileMenu {
        width: 100%;
        margin-top: 15px;
    }
}

/* Mobile */
@media (max-width:991px) {

    .member-card {
        height: auto !important;
        padding: 20px 15px 25px;
        margin-bottom: 20px;
    }

        .member-card img {
            width: 140px;
            height: 170px;
            object-fit: cover;
            margin-bottom: 18px;
        }

    .member-name {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 10px;
        min-height: auto;
    }

    .member-post {
        font-size: 15px;
        line-height: 24px;
        min-height: auto;
    }
}

@media (max-width:991px) {

    .team-section .col-lg-4 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
}

@media (max-width:991px) {
    .member-card {
        height: auto !important;
        min-height: auto !important;
    }
}

@media (max-width:991px) {

    /* Team & Notice Section */

    .team-notice-section .row {
        display: block;
    }

    .team-notice-section .col-lg-8,
    .team-notice-section .col-lg-4,
    .team-notice-section .col-md-8,
    .team-notice-section .col-md-4 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding-top: 10px;
    }

    /* Space between sections */

    .notice-card {
        margin-top: 30px;
    }

    .team-card {
        margin-bottom: 30px;
    }
    .card-section{
        padding-top:10px
    }
}

@media (max-width:991px) {

    .team-section {
        margin-bottom: 30px;
    }

    .announcement-section {
        margin-top: 30px;
    }
}

@media (max-width:576px) {

    .about-hero h1 {
        font-size: 30px;
    }

    .about-hero p {
        font-size: 15px;
        line-height: 28px;
    }

    .about-intro h2 {
        font-size: 26px;
    }

    .about-list div {
        font-size: 14px;
    }

    .btn-primary2,
    .btn-outline2 {
        font-size: 15px;
    }
}

@media(max-width:991px) {

    .about-hero {
        padding: 40px 0;
    }

        .about-hero img {
            max-width: 260px;
            margin-bottom: 30px;
        }

    #MainLgPage {
        padding: 25px;
    }

        #MainLgPage .btn {
            width: 100%;
        }
}

@media(max-width:768px) {

    .emp-header-gradient {
        flex-direction: column;
        text-align: center;
    }

    .emp-avatar {
        width: 60px;
        height: 60px;
    }

    .emp-table th {
        width: 120px;
        font-size: 13px;
    }

    .emp-table td {
        font-size: 13px;
    }

    .otp-input {
        width: 100%;
    }
}