/* ==========================================================================
           1. BASE VARIABLES & RESET SYSTEM (Phối màu chuẩn theo ảnh thiết kế)
           ========================================================================== */
        :root {
            --primary: #008bc5;      /* Xanh biển ngọc - Từ chữ THANH */
            --secondary: #ff4227;    /* Cam hoàng hôn - Từ chữ LONG */
            --magenta: #e6006f;      /* Hồng cánh sen đậm - Từ chữ Chính Thức Nhận */
            --island-green: #11b24e; /* Xanh lá cây đảo ngọc - Từ chữ ISLAND */
            --dark: #0f1a24;
            --light: #f2f7fa;        /* Nền xanh nhạt giống khối thông tin trong ảnh */
            --text: #333333;
            --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            --gradient-btn: linear-gradient(135deg, #e6006f 0%, #ff4227 50%, #ff7a00 100%); /* Gradient nút Đăng Ký Ngay */
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            color: var(--text);
            line-height: 1.6;
            background-color: #ffffff;
            overflow-x: hidden;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        h1, h2, h3, h4 {
            font-weight: 700;
            line-height: 1.3;
            color: var(--dark);
        }

        .section-title {
            text-align: center;
            font-size: 2.2rem;
            margin-bottom: 20px;
            position: relative;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--dark);
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(to right, var(--primary), var(--island-green));
            border-radius: 2px;
        }

        .section-subtitle {
            text-align: center;
            max-width: 800px;
            margin: 30px auto 50px auto;
            color: #555;
            font-size: 1.05rem;
        }

        /* ==========================================================================
           2. BUTTONS & INTERACTIVE EFFECTS
           ========================================================================== */
        .btn {
            display: inline-block;
            padding: 14px 35px;
            background: var(--gradient-btn);
            color: #fff;
            text-transform: uppercase;
            font-weight: 700;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
            border: none;
            border-radius: 30px; /* Bo tròn sành điệu như nút Đăng ký ngay trong ảnh */
            cursor: pointer;
            text-decoration: none;
            transition: var(--transition);
            box-shadow: 0 4px 15px rgba(230, 0, 111, 0.35);
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(230, 0, 111, 0.5);
            filter: brightness(1.1);
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary) 0%, #00b4db 100%);
            box-shadow: 0 4px 15px rgba(0, 139, 197, 0.3);
        }

        .btn-primary:hover {
            box-shadow: 0 8px 25px rgba(0, 139, 197, 0.45);
        }

        /* Header Navigation */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: 0 2px 20px rgba(0,0,0,0.05);
            z-index: 1000;
            transition: var(--transition);
        }

        header.scrolled {
            padding: 5px 0;
            background: #ffffff;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
        }

        .logo {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
        }

        .logo span {
            color: var(--island-green);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 20px;
        }

        .nav-link {
            text-decoration: none;
            color: var(--dark);
            font-weight: 600;
            font-size: 0.9rem;
            transition: var(--transition);
            position: relative;
            padding: 5px 0;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--magenta);
            transition: var(--transition);
        }

        .nav-link:hover { color: var(--magenta); }
        .nav-link:hover::after { width: 100%; }

        /* Hero Banner Section */
        .hero {
            height: 100vh;
            min-height: 600px;
            background: linear-gradient(rgba(15, 26, 36, 0.55), rgba(15, 26, 36, 0.35)), url('/images/banner.jpg?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
            display: flex;
            align-items: center;
            color: #fff;
            padding-top: 80px;
            text-align: center;
        }

        .hero-content {
            max-width: 900px;
            margin: 0 auto;
            animation: fadeInUp 1s ease;
        }

        .hero h1 {
            font-size: 3.5rem;
            color: #fff;
            margin-bottom: 10px;
            text-transform: uppercase;
            text-shadow: 2px 2px 12px rgba(0,0,0,0.6);
        }

        .hero h1 span.highlight-blue { color: var(--primary); text-shadow: none; }
        .hero h1 span.highlight-green { color: var(--island-green); text-shadow: none; }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 35px;
            text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
        }

        /* Layout Grid Framework */
        .section { padding: 90px 0; }
        .bg-light { background-color: var(--light); }
        
        .grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        @media (max-width: 768px) {
            .grid-2 { grid-template-columns: 1fr; gap: 30px; }
            .hero h1 { font-size: 2.2rem; }
            .nav-menu { display: none; }
        }

        .image-box {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            height: 380px;
        }

        .image-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: var(--transition);
        }

        .image-box:hover img { transform: scale(1.06); }

        /* Khối thông tin ưu đãi (Bo góc, đổ bóng tinh tế giống khối trắng trong ảnh rà soát) */
        .info-table-container {
            background: #ffffff;
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 8px 32px rgba(0, 139, 197, 0.06);
            border: 1px solid rgba(0, 139, 197, 0.1);
        }

        .info-table {
            width: 100%;
            border-collapse: collapse;
        }

        .info-table td {
            padding: 12px 15px;
            border-bottom: 1px solid #eef4f8;
            font-size: 0.95rem;
        }

        .info-table td:first-child {
            font-weight: 600;
            color: var(--primary);
            width: 35%;
        }

        /* Xanh Boutique Highlight Section */
        .highlight-box {
            background: #fff;
            border-radius: 16px;
            padding: 40px;
            box-shadow: 0 10px 40px rgba(0, 139, 197, 0.08);
            border: 1px solid rgba(0, 139, 197, 0.15);
            margin-top: 30px;
        }

        .feature-tag-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 15px;
            margin-top: 25px;
        }

        .feature-tag {
            background: var(--light);
            padding: 15px;
            border-left: 4px solid var(--secondary);
            border-radius: 0 8px 8px 0;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--dark);
        }

        /* Layout Cards */
        .grid-3 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
        }

        .card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.04);
            transition: var(--transition);
            border: 1px solid #eef2f5;
        }

        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        }

        .card-body { padding: 25px; }
        .card-body h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--primary); }
        .card-body p { font-size: 0.95rem; color: #666; margin-bottom: 20px; }

        .product-spec {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
            font-size: 0.85rem;
        }
        .product-spec td { padding: 8px 0; border-bottom: 1px dashed #e1e8ed; }
        .product-spec td:last-child { text-align: right; font-weight: 700; color: var(--secondary); }

        /* Amenities Grid */
        .amenities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }

        .amenity-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            position: relative;
            height: 250px;
            transition: var(--transition);
        }

        .amenity-img-box { width: 100%; height: 100%; position: relative; overflow: hidden; }
        .amenity-img-box img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }

        .amenity-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to top, rgba(15,26,36,0.9) 0%, rgba(15,26,36,0.2) 65%);
            display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; z-index: 2;
        }

        .amenity-overlay h4 { color: #ffffff; font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
        .amenity-overlay p { color: rgba(255,255,255,0.8); font-size: 0.85rem; line-height: 1.4; }

        .amenity-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
        .amenity-card:hover .amenity-img-box img { transform: scale(1.08); }

        /* CTA & Fixed Elements */
        .cta-section {
            background: linear-gradient(rgba(15, 26, 36, 0.8), rgba(15, 26, 36, 0.95)), url('/images/CB_QUANG-TRUONG.jpg?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
            color: #fff; text-align: center; padding: 100px 0;
        }

        .cta-section h2 { color: #fff; font-size: 2.5rem; margin-bottom: 15px; }

        .fixed-actions { position: fixed; bottom: 30px; left: 30px; z-index: 999; display: flex; flex-direction: column; gap: 15px; }
        .action-circle { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-size: 0.8rem; font-weight: bold; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: var(--transition); text-transform: uppercase; text-align: center; }
        .action-circle:hover { transform: scale(1.1) rotate(5deg); }
        .action-hotline { background: var(--secondary); animation: pulse 2s infinite; }
        .action-zalo { background: #0068ff; }

        /* Popup Form Modal */
        .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 2000; opacity: 0; pointer-events: none; transition: all 0.3s ease; }
        .modal.active { opacity: 1; pointer-events: auto; }
        .modal-content { background: #fff; padding: 40px; border-radius: 16px; width: 100%; max-width: 500px; position: relative; transform: translateY(-50px); transition: all 0.3s ease; box-shadow: 0 15px 50px rgba(0,0,0,0.25); border-top: 6px solid var(--magenta); }
        .modal.active .modal-content { transform: translateY(0); }
        .close-modal { position: absolute; top: 15px; right: 20px; font-size: 1.8rem; cursor: pointer; color: #aaa; }
        
        .form-group { margin-bottom: 18px; text-align: left; }
        .form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; color: var(--dark); }
        .form-control { width: 100%; padding: 12px 15px; border: 1px solid #dce4ec; border-radius: 6px; font-family: inherit; font-size: 0.95rem; transition: var(--transition); }
        .form-control:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 8px rgba(0, 139, 197, 0.15); }
        select.form-control { height: 48px; }

        footer { background: var(--dark); color: #fff; padding: 50px 0; text-align: center; font-size: 0.9rem; border-top: 5px solid var(--primary); }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(255, 66, 39, 0.4); }
            70% { box-shadow: 0 0 0 15px rgba(255, 66, 39, 0); }
            100% { box-shadow: 0 0 0 0 rgba(255, 66, 39, 0); }
        }
        
/* ==========================================================================
 5. MOBILE RESPONSIVE OPTIMIZATION (Tối ưu riêng cho màn hình điện thoại)
========================================================================== */
@media (max-width: 768px) {
    /* Thu nhỏ kích thước thanh điều hướng menu trên mobile */
    .nav-container {
        padding: 10px 15px;
        gap: 10px;
    }

    /* Giảm cỡ chữ của Tên Trang / Logo để tránh bị tràn */
    .logo {
        font-size: 1.1rem; /* Giảm từ 1.4rem xuống 1.1rem */
        letter-spacing: -0.5px;
        white-space: nowrap; /* Ép tên trang luôn nằm trên 1 dòng */
    }

    /* Tối ưu lại nút Hotline trên Thanh Menu Mobile cho gọn và vừa vặn */
    header .btn-primary {
        padding: 8px 14px !important; /* Thu nhỏ khoảng cách đệm */
        font-size: 0.75rem !important; /* Giảm cỡ chữ để nút nhỏ lại */
        border-radius: 20px !important;
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(0, 139, 197, 0.2);
    }
    
    /* Thu nhỏ tiêu đề lớn ở phần Banner đầu trang */
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Ẩn bớt hậu tố dài của hotline nếu màn hình điện thoại quá nhỏ (Ví dụ iPhone 5/SE cũ) */
    @media (max-width: 360px) {
        .logo {
            font-size: 1rem;
        }
        header .btn-primary {
            padding: 6px 10px !important;
            font-size: 0.7rem !important;
        }
    }
}
/* ===========================
MODAL PREMIUM STYLE
=========================== */

.modal-content{
border:none;
border-radius:20px;
overflow:hidden;
box-shadow:0 25px 60px rgba(0,0,0,.25);
}

.modal-header{
background:linear-gradient(
135deg,
#1E824C,
#2EA866
);
color:#fff;
border:none;
padding:20px 25px;
}

.modal-header h4,
.modal-header h5{
margin:0;
font-weight:700;
}

.modal-header .btn-close{
filter:brightness(0) invert(1);
}

.modal-body{
padding:30px;
}

/* ===========================
LEAD FORM POPUP
=========================== */

.popup-title{
font-size:28px;
font-weight:700;
color:#1E824C;
margin-bottom:10px;
}

.popup-subtitle{
color:#666;
margin-bottom:25px;
}

.popup-benefits{
margin-bottom:25px;
}

.popup-benefits li{
list-style:none;
margin-bottom:10px;
color:#333;
}

.popup-benefits li::before{
content:"✓";
color:#1E824C;
font-weight:700;
margin-right:10px;
}

/* INPUT */

.modal-body input,
.modal-body select,
.modal-body textarea{

```
height:55px;

border:1px solid #ddd;
border-radius:12px;
padding:0 15px;
transition:.3s;
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus{
border-color:#1E824C;
box-shadow:0 0 0 4px rgba(30,130,76,.15);
}

/* BUTTON */

.popup-btn{
width:100%;
height:55px;
border:none;
border-radius:12px;
background:#C8A84F;
color:#fff;
font-size:17px;
font-weight:700;
transition:.3s;
}

.popup-btn:hover{
background:#b8973d;
transform:translateY(-2px);
}

/* SUCCESS MESSAGE */

#ok{
border:none;
border-radius:12px;
background:#eaf8ef;
color:#1E824C;
font-weight:600;
}

/* ===========================
PRIVACY / TERMS POPUP
=========================== */

.policy-content{
max-height:60vh;
overflow-y:auto;
padding-right:10px;
}

.policy-content h5{
color:#1E824C;
font-weight:700;
margin-top:20px;
}

.policy-content p{
line-height:1.8;
color:#444;
}

.policy-content ul{
padding-left:20px;
}

.policy-content li{
margin-bottom:10px;
}

/* SCROLLBAR */
.policy-content::-webkit-scrollbar{
width:8px;
}
.policy-content::-webkit-scrollbar-thumb{
background:#1E824C;
border-radius:20px;
}

/* ===========================
CONTACT POPUP
=========================== */

.contact-box{
background:#f8f8f8;
padding:20px;
border-radius:15px;
margin-bottom:20px;
}

.contact-box h5{
color:#1E824C;
font-weight:700;
}

.contact-item{
margin-bottom:12px;
}

.contact-item strong{
color:#222;
}

.contact-map{
border-radius:15px;
overflow:hidden;
}

/* ===========================
MOBILE
=========================== */

@media(max-width:768px){
.modal-dialog{
    margin:10px;
}

.modal-body{
    padding:20px;
}

.popup-title{
    font-size:22px;
}
}

/* ==================================
   MOBILE POPUP OPTIMIZATION
================================== */

@media (max-width:768px){

    .modal-content{

        width:95% !important;
        max-width:95% !important;

        margin:15px auto;

        border-radius:20px;

        max-height:85vh;

        overflow-y:auto;

        padding:25px 20px;

    }

    .modal-content h3{

        font-size:1.25rem;

        line-height:1.4;

        text-align:center;

        margin-bottom:15px;

    }

    .modal-content p{

        font-size:0.95rem;

        line-height:1.6;

    }

    .close-modal{

        top:12px;
        right:15px;

        width:36px;
        height:36px;

        display:flex;
        align-items:center;
        justify-content:center;

        font-size:28px;

        background:#f5f5f5;

        border-radius:50%;

        z-index:9999;
    }

    .form-group{

        margin-bottom:15px;

    }

    .form-group label{

        font-size:0.9rem;

        margin-bottom:6px;

    }

    .form-control{

        height:52px;

        font-size:16px;

        border-radius:10px;

        padding:0 15px;

    }

    select.form-control{

        height:52px;

    }

    .modal .btn{

        width:100%;

        height:54px;

        font-size:16px;

        font-weight:700;

        border-radius:30px;

        margin-top:10px;

    }

    .legal-modal-content{

        width:95%;

        max-width:95%;

        max-height:85vh;

        overflow-y:auto;

        border-radius:20px;

        padding:25px 20px;

    }

    .legal-modal-content h3{

        font-size:1.2rem;

        margin-bottom:15px;

    }

    .legal-modal-content p{

        font-size:0.95rem;

        line-height:1.8;

    }
    .modal{

    position:fixed !important;

    inset:0 !important;

    display:none;

    justify-content:center;
    align-items:center;

    background:rgba(0,0,0,.7);

    z-index:999999;

}

.modal.active{

    display:flex;

}

}
.legal-links-a{color:#ffffff;}
.popup-overlay{font-size: 10px;position:fixed;inset:0;display:none;justify-content:center;align-items:center;background:rgba(0,0,0,.7);z-index:99999;padding:15px}.popup-overlay.active{display:flex}.popup-box{background:#fff;width:100%;max-width:700px;border-radius:16px;overflow:hidden}.popup-header{background:#1E824C;color:#fff;padding:16px 20px;display:flex;justify-content:space-between}.popup-close{cursor:pointer;font-size:10px}.popup-body{padding:25px;line-height:1.8}