﻿/* =========================================================================
   🚀 1. KHUNG KHUNG SƯỜN CHUNG (CORE STRUCTURE)
   ========================================================================= */
.site-header {
    position: relative;
    z-index: 1040; /* Đồng bộ tầng hiển thị với view cshtml */
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.site-header.is-sticky {
    position: sticky !important;
    top: 0;
}
/* 1. Khi Header dính (is-sticky), tước bỏ bệ đỡ thò sâu, đưa logo về dạng phẳng */
.is-sticky .site-header_border_logo {
    /* Ép chiều cao bằng đúng chiều cao thanh inner (ví dụ 60px) để không thò xuống banner */
    height: 100% !important;
    top: 0 !important;
    /* 🎯 CHỐT HẠ: Xóa sạch padding đáy thò sâu, dọn luôn bóng đổ lơ lửng */
    padding: 10px 14px !important;
    border-radius: 0 !important; /* Trả về hình phẳng vuông vức tiệp vào thanh header */
    box-shadow: none !important;
    display: flex !important;
    align-items: center; /* Căn logo nằm chính giữa tâm dọc của thanh Header */
    transition: all 0.2s ease-in-out !important;
}

/* 2. Thu nhỏ ảnh logo bên trong một cách tinh tế khi cuộn trang */
.is-sticky .site-header_border_logo img {
    height: 40px !important; /* Ép độ cao logo thu về 40px siêu gọn */
    width: auto !important;
    margin-top: 0 !important;
    transform: none !important;
    transition: all 0.2s ease-in-out !important;
}

/* 3. Tinh chỉnh lại thanh đệm khi Sticky thu nhỏ chiều cao tổng thể */
.is-sticky .site-header__inner {
    min-height: 60px !important;
    height: 60px !important;
    transition: all 0.3s ease-in-out;
}
.site-header__inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* =========================================================================
   🚀 2. GIAO DIỆN DESKTOP (MÀN HÌNH LỚN >= 992px)
   ========================================================================= */
@media (min-width: 992px) {
    /* 🎯 LONG MẠCH: Đẩy menu lùi sang phải cách lề 180px để không bị khối logo đè khuất chữ */
    .site-header__nav {
        margin-left: 10px !important;
        flex: 1;
        display: flex;
        justify-content: center;
        transition: all 0.3s ease-in-out;
    }

    /* Khống chế độ cao ảnh logo theo chuẩn layout bento trên PC */
    .logo-placeholder img,
    .logo-default img {
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .site-header_border_logo {
        position: absolute !important;
        top: 0 !important;
        left: 80px !important;
        z-index: 1060;
        /* 🎯 LONG MẠCH: Ép màu nền trắng cho cả khối bọc để biến nó thành một dải chữ nhật phẳng */
        background: #ffffff !important;
        /* Padding đỉnh bằng 0 để sát mép, padding 2 bên và đáy rộng ra để tạo form chữ nhật đứng */
        padding: 15px 15px 25px 15px !important;
        /* Chỉ bo tròn nhẹ 2 góc dưới đáy (Kindy City bo cực nhẹ tầm 8px đến 12px) */
        border-radius: 0 0 12px 12px !important;
        /* Đổ bóng nhẹ chuẩn chỉ */
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
        transition: all 0.3s ease !important;
    }

    .logo-placeholder {
        width: 140px;
        flex-shrink: 0;
    }
}

/* =========================================================================
   🚀 3. GIAO DIỆN MOBILE (MÀN HÌNH NHỎ < 992px)
   ========================================================================= */
@media (max-width: 991.98px) {
    .site-header__nav {
        display: none !important;
    }


    /* 1. Triệt tiêu hoàn toàn vị trí lơ lửng, kéo logo về luồng hiển thị tự nhiên */
    .site-header_border_logo,
    .site-header_default_logo {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        z-index: 10 !important;
        /* Dọn sạch bệ nền trắng và bóng đổ của PC để đỡ chiếm diện tích */
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        /* Thiết lập khoảng đệm cực gọn cho mobile */
        padding: 6px 0 !important;
        margin: 0 !important;
        display: inline-block !important;
    }

    /* 2. Ép kích thước ảnh logo căng nét, không bị bóp méo hay thu nhỏ xíu */
    .site-header_border_logo img,
    .site-header_default_logo img {
        height: 42px !important; /* Độ cao lý tưởng vừa vặn thanh Header Mobile */
        width: auto !important; /* Tự động tính chiều rộng theo tỉ lệ thực của ảnh */
        transform: none !important; /* Bỏ hiệu ứng scale thu nhỏ của tầng sticky PC */
        margin-top: 0 !important;
        opacity: 1 !important; /* Đảm bảo logo luôn hiển thị rõ nét 100% */
    }

    /* 3. Khóa chết khung đệm bên trái, không cho phép chiếm không gian chết */
    .logo-placeholder,
    .logo-default {
        width: auto !important; /* Trên Mobile không cần nhường 140px nữa */
        min-width: 0 !important;
        flex-shrink: 0;
    }

    /* 4. Định hình lại cự ly thanh Header Inner trên di động */
    .site-header__inner {
        height: 56px !important;
        min-height: 56px !important;
        padding: 0 15px !important;
    }
}
/* =========================================================================
   🚀 4. ĐIỀU HƯỚNG VÀ DANH SÁCH MENU (MENU NAVIGATION)
   ========================================================================= */
.site-header__menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__menu-item {
    position: relative;
}

.site-header__menu-item > a {
    text-decoration: none;
    font-weight: 500;
    transition: color .2s ease;
}

/* Menu Cấp 2 Dropdown lơ lửng */
.site-header__dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 14px;
    padding: 10px 0;
    box-shadow: 0 14px 36px rgba(0,0,0,0.12);
    list-style: none;
    margin: 0;
    display: none;
    z-index: 1060;
}

.site-header__menu-item:hover .site-header__dropdown {
    display: block;
}

.site-header__dropdown a {
    display: block;
    padding: 10px 16px;
    color: #603913;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.site-header__dropdown a:hover {
    background: #fff7f2;
    color: #f1b282;
}

.site-header__search-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #f7f7f7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.site-header__search-btn:hover {
    background: #eee;
}

/* =========================================================================
   🚀 5. HỆ THỐNG MENU DRAWER TRƯỢT TRÊN MOBILE
   ========================================================================= */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -100%; /* Giấu gọn bên lề phải */
    width: 300px;
    max-width: 80%;
    height: 100%;
    background: #fff;
    z-index: 10000;
    transition: all 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu-drawer.active {
    right: 0; /* Kích nổ trượt êm ái ra màn hình */
}

.mobile-menu-drawer__content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 2;
    overflow-y: auto;
}

.btn-close-menu-top {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    z-index: 10001;
    cursor: pointer;
}

.mobile-search-box .form-control {
    border-right: none;
    font-size: 14px;
    padding: 10px;
}

.mobile-search-box .input-group-text {
    border-left: none;
    cursor: pointer;
}

.mobile-nav-item a {
    letter-spacing: 0.5px;
}

.submenu-toggle {
    padding: 0 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.submenu-toggle.active i {
    transform: rotate(180deg);
}

/* Lớp mặt nạ đen mờ phủ nền */
.mobile-menu-drawer__mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 9999;
}

.mobile-menu-drawer.active + .mobile-menu-drawer__mask {
    display: block;
}

body.overflow-hidden {
    overflow: hidden; /* Khóa cứng cuộn trang khi đang mở menu mobile */
}

/* =========================================================================
   🚀 6. CONTAINER NÚT BẤM HAMBURGER MOBILE (STYLE TINY FEET)
   ========================================================================= */
.mobile-menu-btn {
    border: 2px solid var(--primary-color, #3e1919);
    background: transparent;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.hamburger-icon {
    width: 20px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color, #3e1919);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Biến hình thành dấu X khi kích hoạt trạng thái mở (.is-active) */
.mobile-menu-btn.is-active .hamburger-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-active .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.is-active .hamburger-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================================
   🛡️ TRẬN PHÁP CSS HỢP NHẤT SWIPER VÀ KHÓA TỶ LỆ VÀNG HOÀNG GIA
   ========================================================================= */

/* 1. Ép chết khung Swiper lõi theo đúng tỷ lệ ảnh Sếp muốn chạy trên PC (1920x900 -> 16/9) */
.hero-swiper {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: block;
}

/* 2. Điều phối đồng bộ các Class nội bộ cấu trúc của Swiper.js */
.hero-swiper .swiper-wrapper,
.hero-swiper .swiper-slide {
    height: 100% !important; /* Buộc Swiper phải phục tùng tỷ lệ aspect-ratio của khung cha */
}

/* 3. Đảm bảo item chiếm toàn bộ không gian vật lý */
.hero-slide-item {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

/* 4. Khóa cứng khung bọc ảnh */
.hero-picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* 5. Ép ảnh căng phẳng, sắc nét ôm trọn khung hình */
.hero-img {
    width: 100%;
    height: 100% !important; /* Đổi thành 100% để phủ kín khung aspect-ratio đã khóa ở mục 1 */
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1; /* Nằm dưới đáy cùng thưa Sếp */
}

/* 6. 🛡️ SỬA LỖI LỚP PHỦ: Đẩy lên nằm trên ảnh, dưới chữ để gác cổng tương phản */
.hero-slide-item1::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7)); /* Dùng gradient mờ cho sang chảnh thưa Sếp */
    z-index: 2; /* 🧠 CHỐT CHẶN: Nằm trên ảnh (z-index:1) và dưới chữ (z-index:10) */
}

/* 7. Đưa nội dung vào giữa ảnh tăm tắp */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10; /* Nằm trên cùng hoàng gia */
    width: 100%;
    max-width: 1200px; /* Khống chế khung chữ theo container chuẩn để né chữ tràn biên PC */
    padding: 0 20px;
    pointer-events: none;
}

.hero-inner {
    pointer-events: auto;
}

/* 8. Nút bấm của Sếp nâng cấp hiệu ứng đổ bóng mượt mà */
.hero-btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    transform: translateY(-2px) scale(1.05); /* Giật nhẹ lên trên nhìn tinh tế hơn thưa Sếp! */
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    opacity: 1;
}

/* =========================================================================
   📱 PHÂN KHU ĐIỀU PHỐI ĐÁP ỨNG REPO TRÊN THIẾT BỊ DI ĐỘNG (MOBILE)
   ========================================================================= */
@media (max-width: 768px) {
    .hero-swiper {
        /* Bẻ gãy tỷ lệ PC, ép Swiper chuyển sang khung tỷ lệ vàng Mobile 16/9 hoặc 4/3 tùy Sếp */
    }
}

.news-grid-module .module-title {
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.news-grid-module .module-subtitle {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-grid-module .module-desc {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

.news-grid-module .news-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all .25s ease;
}

.news-grid-module .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}

.news-grid-module .news-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    display: block;
}

.news-grid-module .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.news-grid-module .news-card:hover .news-thumb img {
    transform: scale(1.06);
}

.news-grid-module .news-body {
    padding: 22px;
}

.news-grid-module .news-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
}

.news-grid-module .news-title {
    font-size: 1.1rem;
    line-height: 1.45;
    font-weight: 800;
    margin-bottom: 12px;
}

.news-grid-module .news-title a {
    color: #603913;
    text-decoration: none;
}

.news-grid-module .news-title a:hover {
    color: #f1b282;
}

.news-grid-module .news-desc {
    color: #666;
    font-size: .95rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-grid-module .news-link,
.news-grid-module .module-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: all .25s ease;
}

.news-grid-module .news-link {
    color: #603913;
    padding-left: 0;
}

.news-grid-module .news-link:hover {
    color: #f1b282;
}

.news-grid-module .module-main-btn {
    background: #603913;
    color: #fff;
}

.news-grid-module .module-main-btn:hover {
    background: #f1b282;
    color: #fff;
}
.news-grid-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding: 10px 0 30px 0;
    scrollbar-width: none;
}
.news-grid-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
}
@media (min-width: 992px) {
    .news-grid-item {
        flex: none;
    }
}
/* Container chính cho Intro Parallax */
.intro-parallax-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px; /* Độ cao tối thiểu */
    background-position: center;
    background-repeat: no-repeat;
    /* Hiệu ứng mượt khi cuộn nếu IsParallax = true */
    transition: background 0.3s ease;
}

/* Icon trái tim ở giữa */
.intro-icon .heart-icon {
    font-size: 24px;
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(5px); /* Làm mờ nhẹ nền icon cho sang */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Typography */
.intro-parallax-section h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: -0.5px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.intro-parallax-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Xử lý Button */
.intro-buttons .btn {
    transition: all 0.3s transform;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Hiệu ứng khi hover vào nút */
.intro-buttons .btn:hover {
    transform: translateY(-3px); /* Nhích nhẹ lên trên */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Nút trắng (Đăng ký ngay) */
.btn-light {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #a38b75 !important; /* Màu nâu theo tone ảnh */
}

/* Nút viền (Liên hệ tư vấn) */
.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #a38b75 !important;
}

/* Responsive cho Mobile */
@media (max-width: 768px) {
    .intro-parallax-section {
        padding: 60px 20px !important;
    }

        .intro-parallax-section h2 {
            font-size: 1.8rem !important;
        }

    .intro-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0 !important;
    }
}

.gallery-grid-module .module-title {
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.gallery-grid-module .module-subtitle {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery-grid-module .module-desc {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

.gallery-grid-module .gallery-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
}

.gallery-grid-module .gallery-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.gallery-grid-module .gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-grid-module .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(96, 57, 19, 0.35);
    opacity: 0;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 16px;
    text-align: center;
}

.gallery-grid-module .gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-grid-module .gallery-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.gallery-grid-module .gallery-title {
    font-size: .95rem;
    font-weight: 700;
}

.gallery-grid-module .module-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 22px;
    border-radius: 999px;
    background: #603913;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: all .25s ease;
}

.gallery-grid-module .module-main-btn:hover {
    background: #f1b282;
    color: #fff;
}

/* Container chính cho Intro Parallax */
.intro-parallax-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px; /* Độ cao tối thiểu */
    background-position: center;
    background-repeat: no-repeat;
    /* Hiệu ứng mượt khi cuộn nếu IsParallax = true */
    transition: background 0.3s ease;
}

/* Icon trái tim ở giữa */
.intro-icon .heart-icon {
    font-size: 24px;
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(5px); /* Làm mờ nhẹ nền icon cho sang */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Typography */
.intro-parallax-section h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: -0.5px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.intro-parallax-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Nút trắng (Đăng ký ngay) */
.btn-light {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #a38b75 !important; /* Màu nâu theo tone ảnh */
}

/* Nút viền (Liên hệ tư vấn) */
.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #a38b75 !important;
}

/* Responsive cho Mobile */
@media (max-width: 768px) {
    .intro-parallax-section {
        padding: 60px 20px !important;
    }

    .intro-parallax-section h2 {
        font-size: 1.8rem !important;
    }
}

.intro-media-text .main-image-frame {
    border-radius: 30px 80px 30px 80px; /* Bo góc kiểu nghệ thuật */
    overflow: hidden;
    border: 8px solid #fff;
    position: relative;
    z-index: 2;
}

.intro-media-text .play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5b68a;
    font-size: 24px;
    transition: 0.3s;
}

.intro-media-text .play-btn-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
}

.intro-media-text .media-subtext span {
    background-color: #fff;
    color: #4eb4c1;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Decor Elements (Tùy biến thêm tùy theo ngành nghề) */
.decor-sun {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: url('/assets/icons/sun.png') no-repeat center;
    background-size: contain;
    z-index: 1;
}


.cta-admission .form-control:focus, .cta-admission .form-select:focus {
    box-shadow: none;
    border-color: #ff7e21;
}

.btn-orange:hover {
    background: #e66d10 !important;
    transform: translateY(-2px);
    transition: 0.3s;
}
/* Container bao quanh các nút */
.age-group-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Chia 2 cột đều nhau */
    gap: 12px; /* Tạo khoảng cách giữa các nút */
    margin-bottom: 20px;
}

/* Style nút cơ bản */
.btn-age-select {
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px; /* Bo góc nhẹ nhìn hiện đại hơn */
    padding: 12px 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: #555;
    transition: all 0.25s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    user-select: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-color: #eee !important;
    cursor: pointer;
}

/* Hiệu ứng Hover */
.btn-age-select:hover {
    border-color: #ff7a00 !important; /* Đổi sang màu cam tone-sur-tone với nút Đăng ký */
    color: #ff7a00;
    background-color: #fffaf5;
    }

/* Khi được chọn (Active) */
.btn-age-select.active {
    background-color: #8cc63f !important; /* Giữ màu xanh lá đặc trưng mầm non */
    color: #fff !important;
    border-color: #8cc63f !important;
    box-shadow: 0 4px 12px rgba(140, 198, 63, 0.25);
    transform: scale(1.02); /* Nhấn nhẹ khi chọn */
}
.cta-admission .form-control:focus {
    box-shadow: none;
    border-bottom: 2px solid #ff7e21 !important; /* Màu cam sếp đang dùng */
    background-color: transparent;
}

.site-footer {
    padding: 70px 0 36px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 30px;
}

.site-footer__logo img {
    max-height: 72px;
    width: auto;
    display: block;
    margin-bottom: 18px;
}

.site-footer__title {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.site-footer__desc,
.site-footer__contact-item {
    line-height: 1.8;
    font-size: 14px;
}

.site-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__menu li + li {
    margin-top: 10px;
}

.site-footer__menu a,
.site-footer__contact-item a {
    color: inherit;
    text-decoration: none;
}

.site-footer__menu a:hover,
.site-footer__contact-item a:hover {
    color: #4fb2c2;
}

.site-footer__newsletter {
    position: relative;
}

.site-footer__newsletter input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 0 110px 0 16px;
    outline: none;
}

.site-footer__newsletter button {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 90px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #4fb2c2;
    color: #fff;
    font-weight: 700;
}
.site-footer .social-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white !important;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.site-footer .social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    color: white;
}

/* Đổ màu đặc trưng cho từng nút */
.site-footer .facebook {
    background: #3b5998;
}

.site-footer .instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.site-footer .youtube {
    background: #ff0000;
}

.site-footer .pinterest {
    background: #bd081c;
}

.site-footer .twitter {
    background: #1da1f2;
}

.site-footer .tumblr {
    background: #35465c;
}

/* Riêng nút Zalo dùng ảnh nên cần chỉnh lại */
.site-footer .zalo {
    background: #0088ff;
    padding: 6px;
}

.site-footer .zalo img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}
/* Fix cho icon FontAwesome căn giữa */
.social-btn i {
    line-height: 1;
}
@media (max-width: 991.98px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}
.fab-wrapper {
    position: fixed;
    right: 20px;
    bottom: 80px; /* Cách đáy một khoảng để tránh đè Bottom Nav mobile */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    z-index: 9999;
}

.fab-item,
.fab-item1 {
    display: flex;
    align-items: center;
    background: #2b366a; /* Màu xanh đậm của sếp */
    border-radius: 50px;
    color: white !important;
    text-decoration: none !important;
    width: 50px; /* Ban đầu là hình tròn */
    height: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Hiệu ứng Bung ra khi Hover */
.fab-item:hover {
    width: 220px; /* Bung rộng ra đủ chứa text */
    background: #3f4d8c;
}

/* Icon luôn cố định */
.fab-icon {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.fab-wrapper .zalo img {
    width: 24px;
    height: 24px;
}
/* Text ẩn lúc đầu */
.fab-text {
    white-space: nowrap;
    padding-right: 20px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.fab-item:hover .fab-text {
    opacity: 1;
    transform: translateX(0);
}

/* Màu sắc riêng biệt nếu sếp muốn */
.hotline:hover {
    background: #ce1126;
}
/* Màu đỏ cho hotline */
.register:hover {
    background: #009999;
}
/* Màu teal cho đăng ký */

/* Zalo & Messenger (Giữ nguyên tròn hoặc bung tùy ý sếp) */
.fab-zalo {
    background: #0088ff;
}
/* --- SIDEBAR PC --- */
.sticky-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
    background: rgba(43, 54, 106, 0.9); /* Màu xanh đậm như ảnh */
    padding: 15px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.sticky-sidebar .sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.15); /* Màu lờ mờ bên trong */
    border-radius: 40px;
    transition: 0.3s;
    font-weight: 500;
    white-space: nowrap;
}

.sticky-sidebar .sidebar-item:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateX(-5px);
}

.sticky-sidebar .sidebar-item i {
    font-size: 20px;
}

/* --- BOTTOM NAV MOBILE --- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 9999;
}
.mobile-bottom-nav--hidden {
    transform: translateY(100%) !important;
}
.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #555;
    font-size: 12px;
    flex: 1;
}

.mobile-bottom-nav .nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
    color: #2b366a;
}

.mobile-bottom-nav .nav-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.mobile-bottom-nav .nav-item span {
    font-weight: 500;
}
.footer-map-container {
    position: relative;
    width: 100%;
    height: 200px; /* Sếp có thể chỉnh độ cao tùy ý */
    background: #eee;
}

/* Ép iframe của Google phải chiếm 100% khung hình */
.footer-map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* Hiệu ứng bo góc cho mượt */
.rounded-xl {
    border-radius: 1rem !important;
}
.pro-footer-map {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 50px;
}

/* Hiệu ứng cho bản đồ nền */
.map-bg {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) contrast(0.8) opacity(0.8); /* Làm mờ và xám map */
    transition: all 0.5s ease;
}

.pro-footer-map:hover .map-bg {
    filter: grayscale(0%) contrast(1) opacity(1); /* Hiện màu khi hover */
}

/* Thẻ liên hệ nổi lên trên */
.contact-floating-card {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    width: 320px;
    backdrop-filter: blur(10px); /* Hiệu ứng kính mờ */
    border: 1px solid rgba(255,255,255,0.3);
}

.contact-floating-card h3 {
    color: #8b5e3c;
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: 1px;
}

.card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #555;
    font-size: 14px;
}

.card-item i {
    color: #56b2c2; /* Màu xanh Teal thương hiệu */
    width: 20px;
}

.btn-direction {
    display: block;
    text-align: center;
    background: #56b2c2;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-direction:hover {
    background: #3d8f9d;
    box-shadow: 0 5px 15px rgba(86, 178, 194, 0.4);
}

/* Responsive cho điện thoại */
@media (max-width: 768px) {
    .contact-floating-card {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
    }

    .pro-footer-map {
        height: auto;
    }
}
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* 🌟 FILE STATIC CSS: CẤU HÌNH TRƯỢT NGANG CÓ NÚT NEXT/BACK */

.testimonial-section-wrapper {
    background-color: var(--testimonial-bg);
    font-family: var(--testimonial-font, inherit);
    position: relative;
    overflow: hidden;
}

    .testimonial-section-wrapper .testimonial-heading-tag {
        color: var(--testimonial-accent);
        letter-spacing: 2px;
    }

    .testimonial-section-wrapper .testimonial-main-title {
        color: var(--testimonial-title-color);
        line-height: 1.3;
    }

/* 🌟 KHUNG CHỨA REVIEW: ĐÓNG VAI TRÒ GÁC CỔNG CUỘN (ĐÃ VÁ MƯỢT) */
.testimonial-carousel-container {
    display: block; /* 🟢 Sửa từ flex thành block để kích hoạt luồng cuộn ngang chuẩn */
    width: 100%;
    overflow-x: auto; /* Cho phép cuộn ngang */
    scroll-behavior: smooth; /* Tạo hiệu ứng trượt lướt mượt mà */
    /* 🟢 BẺ LÁI PRO: Đổi từ 'mandatory' sang 'proximity' (hút gần) 
       để Javascript đẩy băng trượt đi được mà không bị trình duyệt giật ngược lại */
    scroll-snap-type: x proximity;
    position: relative;
    padding: 20px 0;
    scrollbar-width: none; /* Giấu thanh cuộn xấu xí trên Firefox */
    -webkit-overflow-scrolling: touch; /* Bật vuốt mượt nam châm bằng tay trên iPhone */
}

    .testimonial-carousel-container::-webkit-scrollbar {
        display: none; /* Giấu thanh cuộn trên Chrome, Safari, Edge */
    }

/* TRACK CHỨA CÁC THẺ CARD (DÀN HÀNG NGANG KHÔNG XUỐNG DÒNG) */
.testimonial-carousel-track {
    display: flex;
    flex-wrap: nowrap !important; /* 🟢 ÉP TUYỆT ĐỐI: Không cho các card tự ý xuống hàng */
    gap: 1.5rem; /* 24px - Khớp khít khịt với khoảng cách gap trong hàm getScrollAmount ngoài JS */
    padding: 0 1rem;
    width: max-content; /* Ép khung track tự nở rộng theo tổng chiều rộng của tất cả các card */
}

/* THIẾT KẾ CARD CHI TIẾT (KHÓA CHẶT BIÊN ĐỘ CỰ LY) */
.testimonial-section-wrapper .review-card {
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.25rem;
    padding: 2rem;
    /* 🟢 VÁ TRONG TRẬN: Khóa cứng cự ly 380px, không cho flexbox tự ý co móp card khi vượt màn hình */
    flex: 0 0 380px !important;
    width: 380px;
    scroll-snap-align: start; /* 🟢 Đổi từ center sang start để khớp mượt với hướng trượt tuyến tính từ trái sang phải */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: normal; /* 🟢 Giúp văn bản nội dung review bên trong card vẫn tự động ngắt dòng xuống hàng bình thường */
}

/* 📱 RESPONSIVE: CO GỌN CARD TRÊN MÀN HÌNH MOBILE THƯA SẾP */
@media (max-width: 576px) {
    .testimonial-section-wrapper .review-card {
        flex: 0 0 290px !important; /* 🟢 Ép chết cự ly 290px trên thiết bị di động */
        width: 290px;
        padding: 1.5rem;
    }
}

.testimonial-section-wrapper .review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(15, 23, 42, 0.1) !important;
}

.testimonial-section-wrapper .avatar-circle {
    width: 48px;
    height: 48px;
    background-color: var(--testimonial-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-section-wrapper .quote-mark {
    color: var(--testimonial-accent);
    font-family: serif;
    font-size: 2rem;
    line-height: 1;
    margin-right: 4px;
}

/* 🌟 KHỐI ĐIỀU HƯỚNG NÚT BẤM HOÀNG GIA */
.testimonial-nav-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.testimonial-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background-color: #ffffff;
    color: var(--testimonial-title-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

    .testimonial-nav-btn:hover {
        background-color: var(--testimonial-accent);
        color: #ffffff;
        border-color: var(--testimonial-accent);
        transform: scale(1.05);
    }

