:root {

    --navy: #00008A; 

    --orange: #ee5421; 

    --light-bg: #F0F4F8;

    --white: #ffffff;

    --radius-xl: 40px;

    --radius-lg: 25px;

    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);

}



.kindergarten-page {

    font-family: 'Montserrat', sans-serif;

    color: #2D3748;

    background: #fff;

}



.container { max-width: 1240px; margin: auto; padding: 0 25px; }

.sec-p { padding: 100px 0; }

.text-navy { color: var(--navy); }

.text-orange { color: var(--orange); }



@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&display=swap');

:root {
    --navy: #00008A;
    --orange: #ee5421;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-xl: 35px;
}


.hero-full {
    position: relative;
    width: 100%;
    height: 800px; 
    display: flex;
    align-items: center;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    
    background-image: var(--bg-desktop);
    background-size: cover;
    background-position: center;
}

.hero-full::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 138, 0.9) 0%, rgba(0, 0, 138, 0.5) 25%, rgba(0, 0, 138, 0) 40%);
    z-index: 1;
}

.hero-full .container { 
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px; 
    margin: auto; 
    padding: 0 80px; 
}

.hero-content-full {
    width: 33.33%; 
    min-width: 450px;
    text-align: left;
    animation: fadeInUp 1s var(--transition-smooth);
}

.hero-badge-inline {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.hero-badge-inline i { color: #ffce00; margin-right: 12px; }

.hero-content-full h1 {
    font-size: 52px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.text-orange { color: var(--orange); }

.hero-content-full p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-tis-v3 {
    display: inline-block;
    text-decoration: none;
    background: var(--orange);
    color: #fff;
    padding: 20px 50px;
    border-radius: var(--radius-xl);
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(238, 84, 33, 0.4);
}

@media (max-width: 1024px) {
    .hero-full {
        height: auto;
        min-height: 100vh; 
        aspect-ratio: 1080 / 1920; 
        display: block;
        
        background-image: var(--bg-mobile) !important;
        background-position: center top; 
    }

    .hero-full::before {
        background: linear-gradient(to bottom, 
            rgba(0, 0, 138, 1) 0%, 
            rgba(0, 0, 138, 0.8) 10%, 
            rgba(0, 0, 138, 0) 30%);
        z-index: 1;
    }

    .hero-full .container {
        position: absolute;
        top: 40px; 
        left: 0;
        width: 100%;
        padding: 0 20px;
        z-index: 5;
    }

    .hero-content-full {
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: unset;
        margin-top: 0;
    }

    .hero-content-full h1 { 
        font-size: 26px; 
        margin-bottom: 10px; 
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }
    
    .hero-content-full p { 
        font-size: 14px; 
        margin-bottom: 20px;
        line-height: 1.4;
        max-width: 80%;
        text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    }
    
    .btn-tis-v3 { 
        font-size: 14px; 
        padding: 12px 35px; 
        border-radius: 50px; 
    }
    
    .hero-badge-inline { 
        font-size: 10px; 
        padding: 6px 15px; 
        border-radius: 50px; 
        margin-bottom: 15px; 
        background: rgba(0, 0, 138, 0.5);
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}




.alt-row {

    display: flex;

    align-items: center;

    gap: 80px;

    margin-bottom: 100px;

}

.alt-row:nth-child(even) { flex-direction: row-reverse; }

.alt-img { flex: 1; position: relative; }

.alt-img img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; height: 450px; }

.alt-text { flex: 1.2; }

.alt-text h3 { font-size: 28px; margin-bottom: 20px; position: relative; padding-left: 20px; }

.alt-text h3::before {

    content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 6px; 

    background: var(--orange); border-radius: 10px;

}


.subject-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

    gap: 25px;

}

.subject-card {

    background: var(--white);

    padding: 45px 35px;

    border-radius: var(--radius-lg);

    border: 1px solid #f0f0f0;

    transition: var(--transition);

    position: relative;

    overflow: hidden;

    z-index: 1;

}

.subject-card::before {

    content: ''; position: absolute; top: 0; right: 0; width: 100px; height: 100px;

    background: var(--light-bg); border-radius: 0 0 0 100%; z-index: -1; transition: var(--transition);

}

.subject-card:hover { transform: translateY(-10px); border-color: var(--navy); box-shadow: 0 30px 60px rgba(0,0,138,0.1); }

.subject-card:hover::before { background: var(--orange); width: 100%; height: 5px; border-radius: 0; }

.subject-card h4 { font-size: 20px; margin-bottom: 15px; color: var(--navy); }


.timeline-modern {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    justify-content: center;

}

.time-pill {

    background: #fff;

    padding: 15px 30px;

    border-radius: 50px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.05);

    display: flex;

    align-items: center;

    gap: 15px;

    border: 1.5px solid transparent;

    transition: var(--transition);

}

.time-pill:hover { border-color: var(--orange); transform: scale(1.05); }

.time-pill strong { color: var(--orange); font-size: 18px; }


.care-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));

    gap: 40px;

}

.care-card {

    background: var(--light-bg);

    padding: 50px;

    border-radius: var(--radius-xl);

    transition: var(--transition);

}

.care-card:hover { background: var(--navy); color: #fff; }

.care-card:hover h3 { color: var(--orange); }



@media (max-width: 991px) {

    .hero-wrapper, .alt-row { grid-template-columns: 1fr; flex-direction: column !important; gap: 40px; }

    .alt-img img { height: 300px; }

}



        .intro-text-block { max-width: 900px; margin: 0 auto 60px; text-align: center; }

        .intro-text-block p { font-size: 18px; line-height: 1.8; color: #4a5568; }


        .value-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 60px; }

        .value-item { 

            background: #fff; border-radius: var(--radius-lg); overflow: hidden; 

            box-shadow: 0 15px 45px rgba(0,0,0,0.05); display: flex; flex-direction: column;

            border: 1px solid #f0f0f0; transition: var(--transition);

        }

        .value-item:hover { transform: translateY(-10px); border-color: var(--navy); }

        .value-img-sm { height: 220px; overflow: hidden; }

        .value-img-sm img { width: 100%; height: 100%; object-fit: cover; }

        .value-body { padding: 30px; }

        .value-body h3 { font-size: 22px; color: var(--navy); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }

        .value-body h3::before { content: ''; width: 10px; height: 10px; background: var(--orange); border-radius: 50%; }


        .support-values { 

            display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; 

            background: var(--navy); padding: 50px; border-radius: var(--radius-xl); color: #fff;

        }

        .support-item { display: flex; gap: 20px; align-items: flex-start; }

        .support-icon { 

            flex: 0 0 50px; height: 50px; background: rgba(255,255,255,0.1); 

            border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px;

        }

        .support-info h4 { color: var(--orange); margin-bottom: 8px; font-size: 19px; }

        .support-info p { font-size: 15px; opacity: 0.9; margin: 0; line-height: 1.5; }



        @media (max-width: 768px) {

            .value-showcase, .support-values { grid-template-columns: 1fr; }

            .support-values { padding: 30px 20px; }

        }

      .expanding-wrapper {

            display: flex;

            width: 100%;

            height: 600px;

            gap: 15px;

            margin-top: 50px;

        }



        .expanding-card {

            position: relative;

            overflow: hidden;

            border-radius: 30px;

            cursor: pointer;

            transition: all 0.7s cubic-bezier(0.25, 1, 0.35, 1);

            box-shadow: 0 10px 30px rgba(0,0,138,0.1);

        }


        .expanding-card:hover {

            flex: 5; 

        }



        .expanding-card img {

            width: 100%;

            height: 100%;

            object-fit: cover;

            transition: transform 0.7s ease;

        }



        .expanding-card:hover img {

            transform: scale(1.1);

        }



        .card-overlay {

            position: absolute;

            bottom: 0;

            left: 0;

            right: 0;

            height: 100%;

            background: linear-gradient(to top, rgba(0,0,138,0.9) 10%, rgba(0,0,138,0.4) 40%, transparent 100%);

            display: flex;

            flex-direction: column;

            justify-content: flex-end;

            padding: 40px 30px;

            color: #fff;

            transition: opacity 0.5s ease;

        }


        .card-title {

            font-size: 20px;

            font-weight: 800;

            margin-bottom: 15px;

            white-space: nowrap;

            color: var(--orange);

        }


        .card-detail {

            opacity: 0;

            max-height: 0;

            overflow: hidden;

            transition: all 0.5s ease;

            font-size: 15px;

            line-height: 1.6;

        }



        .expanding-card:hover .card-detail {

            opacity: 1;

            max-height: 300px;

            margin-top: 10px;

        }


        @media (max-width: 1024px) {

            .expanding-wrapper { height: auto; flex-direction: column; }

            .expanding-card { flex: none; height: 200px; margin-bottom: 15px; }

            .expanding-card:hover { flex: none; }

            .card-detail { opacity: 1; max-height: none; }

        }

   .journey-container {

            position: relative;

            padding: 60px 0;

            overflow: hidden;

        }


        .journey-path {

            position: absolute;

            top: 0; left: 50%;

            width: 4px; height: 100%;

            background: rgba(0, 0, 138, 0.1);

            transform: translateX(-50%);

            z-index: 1;

        }



        .step-item {

            display: flex;

            justify-content: center;

            align-items: center;

            margin-bottom: 80px;

            position: relative;

            z-index: 2;

            width: 100%;

        }


        .step-item:nth-child(even) { flex-direction: row-reverse; }



        .step-img {

            flex: 1;

            max-width: 400px;

            padding: 0 40px;

        }



        .step-img img {

            width: 100%;

            height: 250px;

            object-fit: cover;

            border-radius: 50% 20% 50% 20%; 

            border: 8px solid #fff;

            box-shadow: 0 15px 35px rgba(0,0,0,0.1);

            transition: var(--transition);

        }



        .step-content {

            flex: 1;

            max-width: 400px;

            padding: 0 40px;

            text-align: left;

        }

        .step-item:nth-child(even) .step-content { text-align: right; }



        .step-time {

            display: inline-block;

            background: var(--orange);

            color: #fff;

            padding: 5px 20px;

            border-radius: 30px;

            font-weight: 900;

            font-size: 20px;

            margin-bottom: 15px;

            box-shadow: 5px 5px 0 var(--navy);

        }



        .step-title {

            font-size: 24px;

            font-weight: 800;

            color: var(--navy);

            margin-bottom: 10px;

        }


        .step-dot {

            position: absolute;

            left: 50%;

            top: 50%;

            transform: translate(-50%, -50%);

            width: 24px;

            height: 24px;

            background: #fff;

            border: 5px solid var(--orange);

            border-radius: 50%;

            z-index: 3;

        }



        .step-item:hover .step-img img {

            transform: scale(1.05) rotate(3deg);

            border-color: var(--orange);

        }



        @media (max-width: 768px) {

            .journey-path { left: 20px; }

            .step-item, .step-item:nth-child(even) { flex-direction: column; align-items: flex-start; padding-left: 50px; }

            .step-dot { left: 20px; }

            .step-img { padding: 0; max-width: 100%; margin-bottom: 20px; }

            .step-content { padding: 0; text-align: left !important; }

        }

      .bento-grid {

            display: grid;

            grid-template-columns: repeat(12, 1fr);

            grid-template-rows: repeat(2, 200px);

            gap: 25px;

            margin-top: 50px;

        }



        .bento-item {

            position: relative;

            background: #fff;

            border-radius: var(--radius-xl);

            padding: 40px;

            overflow: hidden;

            border: 1px solid #edf2f7;

            transition: var(--transition);

            display: flex;

            flex-direction: column;

            justify-content: flex-end;

        }



        .bento-item:hover {

            transform: translateY(-8px);

            box-shadow: 0 20px 40px rgba(0, 0, 138, 0.08);

            border-color: var(--navy);

        }


        .item-medical { grid-column: span 7; background: #f0f4ff; }

        .item-nutrition { grid-column: span 5; background: #fff5f2; }

        .item-security { grid-column: span 5; background: #fefaf0; }

        .item-contact { grid-column: span 7; background: #f5f5ff; }



        .bento-icon {

            position: absolute;

            top: 40px;

            right: 40px;

            font-size: 50px;

            opacity: 0.2;

            transition: var(--transition);

        }



        .bento-item:hover .bento-icon {

            opacity: 1;

            transform: scale(1.2) rotate(-10deg);

        }



        .bento-item h3 {

            font-size: 24px;

            color: var(--navy);

            margin-bottom: 15px;

            font-weight: 800;

        }



        .bento-item p {

            font-size: 16px;

            color: #4a5568;

            margin: 0;

            line-height: 1.6;

            max-width: 90%;

        }


        .bento-tag {

            position: absolute;

            top: 40px;

            left: 40px;

            background: var(--navy);

            color: #fff;

            padding: 5px 15px;

            border-radius: 20px;

            font-size: 12px;

            font-weight: 700;

            text-transform: uppercase;

        }



        @media (max-width: 1024px) {

            .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; }

            .item-medical, .item-nutrition, .item-security, .item-contact { grid-column: span 1; }

            .bento-item { height: auto; padding: 60px 30px 30px; }

        }

      .facilities-rebuild { padding-bottom: 120px; overflow: hidden; }


        .fac-header { 

            display: flex; justify-content: space-between; align-items: flex-end; 

            margin-bottom: 50px; 

        }


        .fac-carousel {

            display: flex;

            gap: 20px;

            cursor: grab;

            padding: 20px 0;

            overflow-x: auto;

            scrollbar-width: none;

        }

        .fac-carousel::-webkit-scrollbar { display: none; }


        .fac-slide {

            flex: 0 0 450px;

            height: 350px;

            position: relative;

            border-radius: var(--radius-lg);

            overflow: hidden;

            transition: var(--transition);

            transform: scale(0.95);

            opacity: 0.7;

        }


        .fac-slide:hover {

            transform: scale(1.05);

            opacity: 1;

            z-index: 10;

            box-shadow: 0 20px 50px rgba(0,0,138,0.2);

        }



        .fac-slide img { width: 100%; height: 100%; object-fit: cover; }



        .fac-info-overlay {

            position: absolute; bottom: 0; left: 0; right: 0;

            padding: 30px;

            background: linear-gradient(to top, rgba(0,0,138,0.8), transparent);

            color: #fff;

            transform: translateY(20px);

            opacity: 0;

            transition: var(--transition);

        }

        .fac-slide:hover .fac-info-overlay { transform: translateY(0); opacity: 1; }



        @media (max-width: 768px) {

            .fac-header { flex-direction: column; align-items: flex-start; gap: 20px; }

            .fac-slide { flex: 0 0 300px; height: 250px; }

        }

:root { --navy: #00008A; --orange: #ee5421; --soft-bg: #f8faff; }



.tis-form-section { padding: 100px 0; background: var(--soft-bg); font-family: 'Plus Jakarta Sans', sans-serif; position: relative; }



.tis-form-section::before { 

    content: ""; position: absolute; top: 10%; left: 5%; font-size: 100px; color: rgba(238, 84, 33, 0.05); transform: rotate(-15deg);

}



.tis-form-section .container { max-width: 1200px; margin: auto; padding: 0 20px; position: relative; z-index: 2; }



.tis-form-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }



.tis-form-content .tag { 

    background: var(--navy); color: #fff; padding: 6px 15px; 

    font-size: 12px; font-weight: 700; display: inline-block; margin-bottom: 25px; border-radius: 4px;

}

.tis-form-content h2 { font-size: 42px; font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 25px; }

.tis-form-content h2 span { color: var(--orange); }

.tis-form-content p { font-size: 17px; color: #475569; line-height: 1.8; margin-bottom: 40px; }



.tis-points { display: grid; grid-template-columns: 1fr; gap: 15px; }

.point { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--navy); }

.point .icon { 

    width: 28px; height: 28px; background: rgba(0, 0, 138, 0.1); color: var(--navy); 

    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; 

}


.tis-form-card { background: #fff; padding: 50px; box-shadow: 0 40px 80px rgba(0,0,138,0.06); border-radius: 20px; border: 1px solid #edf2f7; }

.tis-form-card form { display: grid; gap: 20px; }



.field-group { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field { display: flex; flex-direction: column; gap: 8px; }

.field label { font-size: 12px; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px; }



.field input, .field select, .field textarea { 

    padding: 14px 18px; border: 1.5px solid #eef2f6; border-radius: 12px; 

    font-family: inherit; font-size: 15px; transition: 0.3s; background: #fcfdfe;

}

.field input:focus, .field select:focus, .field textarea:focus { 

    outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 10px 20px rgba(0,0,138,0.04);

}



.tis-submit { 

    background: var(--navy); color: #fff; padding: 18px; border: none; 

    font-weight: 800; font-size: 16px; cursor: pointer; transition: 0.4s; 

    border-radius: 12px; text-transform: uppercase; letter-spacing: 1px; margin-top: 10px;

}

.tis-submit:hover { background: var(--orange); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(238, 84, 33, 0.25); }



.consent-box { font-size: 13px; color: #64748b; line-height: 1.5; margin-top: 10px; display: flex; gap: 10px; }

.consent-box input { width: 18px; height: 18px; accent-color: var(--navy); margin-top: 2px; flex-shrink: 0; }



@media (max-width: 991px) {

    .tis-form-grid { grid-template-columns: 1fr; gap: 50px; }

    .tis-form-content { text-align: center; }

    .tis-points { justify-content: center; }

    .tis-form-card { padding: 30px; }

}

  .nav-btn {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    border: 1.5px solid var(--navy);

    background: transparent;

    color: var(--navy);

    font-size: 20px;

    cursor: pointer;

    transition: 0.3s;

    display: flex;

    align-items: center;

    justify-content: center;

}



.nav-btn:hover {

    background: var(--navy);

    color: #fff;

}


.fac-carousel {

    scroll-behavior: smooth;

}


.bento-header h2.text-navy::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--orange);
    margin: 20px auto 0;
    border-radius: 2px;
}
 
.tag-sub { color:#ee5421; font-weight:700; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.text-navy { font-weight:900; font-size: 36px; color: #00008A; }
.header-line { width: 60px; height: 3px; background: #ee5421; margin: 20px auto; }

/* Container bao quanh các thẻ */
.expanding-wrapper {
    display: flex;
    width: 100%;
    gap: 15px;
    height: 450px; /* Chiều cao cố định của section */
    margin-bottom: 30px;
}

/* Cấu hình mặc định của mỗi thẻ ảnh */
.expanding-card {
    position: relative;
    flex: 1; /* Tất cả các thẻ chia đều không gian */
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.25, 0.4, 0.45, 1.4); /* Hiệu ứng bung ra mượt mà */
}

.expanding-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

/* HIỆU ỨNG QUAN TRỌNG NHẤT: Khi trỏ chuột vào */
.expanding-card:hover {
    flex: 4; /* Thẻ được hover sẽ chiếm không gian gấp 4 lần thẻ khác */
}

.expanding-card:hover img {
    transform: scale(1.05); /* Ảnh phóng to nhẹ khi mở rộng */
}

/* Overlay nội dung */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hiện thông tin khi thẻ được mở rộng */
.expanding-card:hover .card-overlay {
    opacity: 1;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-detail {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive cho Mobile: Chuyển về dạng trượt hoặc dọc vì không đủ chỗ mở rộng ngang */
@media (max-width: 768px) {
    .expanding-wrapper {
        flex-direction: column;
        height: auto;
    }
    .expanding-card {
        flex: none;
        height: 200px;
        margin-bottom: 15px;
    }
    .card-overlay {
        opacity: 1; /* Hiện sẵn thông tin trên mobile */
    }
}