﻿.center-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: #fff;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px #fff7e7;
}
.bg-overlay {
    position: relative;
    background-image: url('/img/TRANG CHỦ.png');
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    overflow: hidden;
}

    .bg-overlay::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.6); /* chỉnh độ mờ (0.4 = 40%) */
        z-index: 0;
    }

    .bg-overlay > * {
        position: relative;
        z-index: 1;
    }
.edu-major-divider-left {
    border-left: 3px solid #173977;
    padding-left: 15px;
}

.intro-icon-left {
    left: -18px;
    top: 20px;
}
.intro-icon-right {
    bottom: 20px;
    right: -20px;
}
.icon-title-wrap {
    padding-left:0;
}

.goog-logo-link, .goog-te-gadget span, .goog-te-banner-frame {
    display: none !important;
}

.goog-te-gadget {
    font-size: 0 !important;
    color: transparent !important;
}

#google_translate_element {
    display: none;
}

a {
    text-decoration: none;
}
.quick-content-wrap {
    position: relative;
}

.quick-content-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
    min-height: 500px;
}
.training-link, .program-ths-link {
    width: 100%;
    padding: 5px;
    white-space: normal;
    word-wrap: break-word;
}
@media only screen and (max-width: 820px) {

    .unit-intro-content-content {
        font-size: clamp(14px, 2.5vw, 25px);
        -webkit-line-clamp: none;
        -webkit-box-orient: horizontal;
    }
    .center-logo {
        width: 80px;
        height: 80px;
    }
    .lead-sub-text {
        font-size: clamp(10px, 2vw, 14px);
    }
}
@media only screen and (max-width: 540px) {
    /* CSS riêng cho iPhone SE */
    .unit-intro-img {
        max-width: 70px;
        min-height: 70px;
    }
    .unit-intro-content-title {
        font-size: clamp(14px, 2.5vw, 25px);
        width: 100%;
        white-space: normal;
        word-wrap: break-word;
        -webkit-line-clamp: none;
        -webkit-box-orient: horizontal;
    }
    .unit-intro-content-content {
     
        font-size: 12px;
        -webkit-line-clamp: none;
        -webkit-box-orient: horizontal;
    }
    .edu-major-link {
        width: 100%;
        white-space: normal;
        word-wrap: break-word;
    }
    .department-member-image img {
        width: 100%!important;
        height: 100%;
        object-fit: cover;
    }

}
.menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.navbar-nav, .dropdown-menu {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.dropdown-menu-mobile {
    display: none;
    padding-left: 15px;
}

    .dropdown-menu-mobile.show {
        display: block;
    }

.dropdown-toggle-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

    .dropdown-toggle-btn i {
        font-size: 13px;
        transition: transform 0.3s ease;
        color: #ffa851;
    }

    .dropdown-toggle-btn.active i {
        transform: rotate(180deg);
    }

.dropdown-item {
    display: block;
    padding: 6px 10px;
    text-decoration: none;
}
ul.dropdown-menu-mobile a {
    color: #ffa851;
}
.dropdown-item:hover {
    background-color: #f0f0f0;
    color: #000;
}
@media (max-width: 576px) {
    .no-dot{
        margin-top:85px !important;
    }

}
@media (min-width: 577px) and (max-width: 820px) {
    .footer-sis .row {
        display: flex;
        flex-wrap: wrap;
    }

        /* Hai div đầu chung dòng */
    .footer-sis .row > div:nth-child(1),
    .footer-sis .row > div:nth-child(2) {
        flex: 0 0 auto;
    }
    .footer-sis .row > div:nth-child(2) {
        flex: 0 0 auto;
        width: 40.666667%;
    }
        /* div thứ 3 và 4 xuống dòng */

    .footer-sis .row > div:nth-child(4) {
        width: 60%;
    }
    .footer-sis .row > div:nth-child(3) {
        width: 40%;
    }
}
/* =======================================
   FOOTER SIS – FULL CSS 
   Tối ưu bố cục 4 cột đứng gần nhau hơn
   ======================================= */

/* Nền footer */
.footer-wrapper {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Giảm khoảng cách giữa các cột (gutter) */
.footer-row {
    --bs-gutter-x: 10px; /* giảm khoảng cách ngang */
    --bs-gutter-y: 10px; /* giảm khoảng cách dọc */
}

.footer-col {
    margin-bottom: 10px !important;
}

/* =======================
   CỘT 1 – Logo + Thông tin
   ======================= */

.footer-sis-logo {
    width: 90px;
    height: auto;
}

.footer-sis-text {
    font-size: clamp(13px, 1vw, 16px);
    font-family: 'Quicksand', sans-serif;
    line-height: 1.55rem;
}

/* Icon mạng xã hội */
.footer-social-icon i {
    font-size: 22px;
    color: #fff;
}

.footer-social-icon img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: #fff;
}

.footer-sis-social {
    margin-top: 5px;
}

/* Làm cột 1 nhỏ lại để các cột gần nhau hơn */
.footer-col-1 {
    padding-right: 10px;
}

/* =======================
   FACEBOOK EMBED
   ======================= */

.fb-embed {
    width: 100% !important;
    max-width: 280px; /* thu nhỏ cho sát các cột khác */
    height: 60px;
    border: none;
    overflow: hidden;
    margin-bottom: 8px;
}

/* =======================
   CỘT DANH SÁCH BẢN ĐỒ
   ======================= */

#dsBando {
    padding-left: 10px;
    padding-right: 10px;
}

    #dsBando ul {
        list-style-type: square;
        padding-left: 20px;
        margin: 0;
    }

        #dsBando ul li {
            margin-bottom: 6px;
            font-size: 15px;
            font-family: 'Quicksand', sans-serif;
        }

/* =======================
   Google Map
   ======================= */

.map-embed {
    width: 100%;
    max-width: 330px; /* thu nhỏ cho sát FB */
    height: 230px;
    border: 0;
    border-radius: 5px;
    margin-top: 10px;
}

/* =======================
   RESPONSIVE
   ======================= */

/* Laptop <1200px → 2 cột × 2 hàng */
@media (max-width: 1199px) {
    .footer-row {
        --bs-gutter-x: 8px;
        --bs-gutter-y: 8px;
    }

    #dsBando {
        padding-left: 0 !important;
    }
}

/* Tablet/Mobile <992px */
@media (max-width: 992px) {
    .fb-embed {
        max-width: 100%;
    }

    .map-embed {
        max-width: 100%;
        height: 260px;
    }
}

/* Mobile <768px */
@media (max-width: 767px) {

    .footer-sis-logo {
        width: 75px;
        margin-bottom: 10px;
    }

    .footer-row {
        --bs-gutter-x: 10px;
        --bs-gutter-y: 15px;
    }

    #dsBando {
        padding-left: 0 !important;
    }
}
