/* =========================================================
   MẦM NON — Main stylesheet (merged: site.css + home.css)
   Font: "Baloo 2" (tiêu đề, bo tròn, thân thiện trẻ em)
          "Nunito" (nội dung, dễ đọc, hỗ trợ tiếng Việt)
   ========================================================= */

/* =========================================================
   BIẾN CSS TOÀN CỤC
   ========================================================= */
:root {
    --pink: #ff8fab;
    --pink-dark: #ff5c8a;
    --orange: #ffb347;
    --yellow: #ffd166;
    --blue-soft: #042231;
    --cream: #f7f1e4;
    --cream-2: #f3ead9;
    --text-dark: #3a3a3a;
    --radius-lg: 24px;
    --radius-md: 16px;
    --shadow-soft: 0 10px 30px rgba(255, 140, 148, 0.15);
    --bg-secondary: #ccc;
    --brown: #6b4a35;
    --brown-dark: #4d3222;
    --gold: #c9a25a;
    --gold-light: #d9bd85;
    --navy: #1c2f6b;
    --slider-card-shadow: 0 12px 30px rgba(31, 42, 74, 0.08);
    --slider-nav-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    --slider-scrollbar-thumb: rgba(170, 120, 145, 0.7);
    --slider-scrollbar-dark: rgba(104, 101, 102, 0.7);
}

/* =========================================================
   BASE
   ========================================================= */
body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-secondary);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.brand-font {
    font-family: 'Baloo 2', 'Nunito', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
}

section {
    scroll-margin-top: 90px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .navbar-brand {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 800;
    color: var(--pink-dark) !important;
    font-size: 1.4rem;
}

.site-header .nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    position: relative;
    margin: 0 .4rem;
    transition: color .25s ease;
}

.site-header .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--pink-dark);
    transition: width .25s ease;
}

.site-header .nav-link:hover {
    color: var(--pink-dark) !important;
}

.site-header .nav-link:hover::after {
    width: 100%;
}

.lang-switch a {
    font-weight: 700;
    color: #888;
    padding: 2px 8px;
    border-radius: 20px;
    transition: all .2s ease;
}

.lang-switch a.active,
.lang-switch a:hover {
    background: var(--pink);
    color: #fff;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn-primary-soft {
    background: var(--pink-dark);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: .6rem 1.6rem;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary-soft:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(255, 92, 138, .28);
    color: #fff;
}

.btn-outline-soft {
    border: 2px solid var(--pink-dark);
    color: var(--pink-dark);
    border-radius: 50px;
    padding: .55rem 1.5rem;
    font-weight: 700;
    background: transparent;
    transition: all .2s ease;
}

.btn-outline-soft:hover {
    background: var(--pink-dark);
    color: #fff;
}

/* =========================================================
   HERO / BANNER
   ========================================================= */
.hero-section {
    background: linear-gradient(135deg, #fff0f3 0%, #fff8f0 55%, #eaf6ff 100%);
    padding: 45px 0 40px;
    position: relative;
}

.hero-tag {
    display: inline-block;
    background: var(--yellow);
    color: #7a4a00;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: 18px;
    animation: floatY 3s ease-in-out infinite;
}

.hero-title {
    font-size: 2.6rem;
    line-height: 1.2;
}

.hero-title span {
    color: var(--pink-dark);
}

.hero-desc {
    font-size: 1.05rem;
    color: #666;
    max-width: 480px;
}

/* Hero Visual (blob shape) */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 6px solid #ffffff;
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: border-radius 0.5s ease;
}

.hero-visual img:hover {
    border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
}

.hero-blob {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

.blob-1 {
    top: -10%;
    left: -10%;
    background: rgba(255, 182, 193, 0.5);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    background: rgba(220, 235, 252, 0.6);
}

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
    background: linear-gradient(90deg, var(--pink-dark), var(--orange));
    padding: 26px 0;
}

.stats-bar .stat-number {
    font-family: 'Baloo 2', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}

.stats-bar .stat-label {
    color: rgba(255, 255, 255, .9);
    font-weight: 600;
    font-size: .9rem;
}

/* =========================================================
   SECTION TITLES
   ========================================================= */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 222, 85, .24), rgba(255, 140, 148, .12));
    color: var(--blue-soft);
    padding: 10px 18px 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(4, 34, 49, .12);
    box-shadow: 0 12px 24px rgba(4, 34, 49, .08);
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 16px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.section-eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink-dark), var(--orange));
    box-shadow: 0 0 0 6px rgba(255, 92, 138, .12);
}

.section-eyebrow:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(4, 34, 49, .12);
}

.about-eyebrow-row {
    margin-bottom: 8px;
}

.section-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about-section {
    padding: 70px 0;
}

.about-img img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    width: 100%;
}

.about-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #333;
}

.about-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 0;
    color: #000;
    font-weight: normal;
    font-size: 1.2rem;
    line-height: 1;
}

/* =========================================================
   QUOTE CARD (banner tĩnh)
   ========================================================= */
.card-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.quote-card {
    position: relative;
    aspect-ratio: 1.3 / 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.deco-top-right {
    top: -10px;
    right: -10px;
    width: 42%;
}

.deco-bottom-left {
    bottom: -10px;
    left: -15px;
    width: 46%;
}

.brand {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 6%;
}

.brand img,
.brand svg {
    width: 78px;
    height: auto;
}

.brand-name {
    color: var(--navy);
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    margin-top: 8px;
}

.brand-tag {
    color: var(--navy);
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 0.55rem;
    margin-top: 2px;
}

.content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 9%;
    text-align: center;
    max-height: 370px;
}

.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: bold;
    color: var(--brown);
    line-height: 0.5;
    text-align: left;
    margin-bottom: -6px;
}

.headline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: bold;
    color: var(--brown-dark);
    font-size: clamp(1.5rem, 4.6vw, 2.15rem);
    text-align: left;
    margin-bottom: 2%;
}

.subline {
    font-family: 'Playfair Display', serif;
    color: var(--brown-dark);
    font-size: clamp(0.95rem, 2.6vw, 1.15rem);
    line-height: 1.5;
    text-align: right;
}

.author {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--brown-dark);
    font-size: clamp(0.9rem, 2.4vw, 1.05rem);
    text-align: right;
    margin-bottom: 4%;
}

.vn-text {
    font-family: 'Playfair Display', serif;
    color: var(--brown-dark);
    font-size: clamp(0.95rem, 2.6vw, 1.15rem);
    line-height: 1.55;
    text-align: center;
}

.footer-info {
    position: relative;
    z-index: 2;
    text-align: right;
    padding: 0 3% 8%;
}

.footer-info .fname {
    font-family: 'Playfair Display', serif;
    color: var(--brown-dark);
    font-weight: 700;
    font-size: clamp(1rem, 2.8vw, 1.3rem);
}

.footer-info .fphone {
    color: var(--brown);
    font-weight: 700;
    font-size: clamp(0.9rem, 2.4vw, 1.1rem);
    margin-top: 2px;
}

.footer-info .faddr {
    color: var(--brown);
    font-size: clamp(0.85rem, 2.2vw, 1rem);
    line-height: 1.4;
}

/* Banner image (cột phải quote card) */
.banner-img {
    border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.banner-img:hover {
    filter: blur(4px) brightness(0.85);
    transform: scale(1.03);
}

/* =========================================================
   SLIDER — KHUNG BỌC & TRACK (dùng chung)
   ========================================================= */
.program-slider-wrap,
.gallery-slider-wrap,
.teacher-slider-wrap,
.testimonial-slider-wrap,
.news-slider-wrap {
    position: relative;
    padding: 0 52px;
}

.program-track,
.gallery-track,
.teacher-track,
.testimonial-track,
.news-track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    padding: 0.5rem 0 1rem;
}

.gallery-track {
    gap: 0.5rem;
    scrollbar-color: rgba(0, 0, 0, 0.7) transparent;
}

.program-track,
.teacher-track,
.testimonial-track,
.news-track {
    gap: 1rem;
    scrollbar-color: var(--slider-card-shadow) transparent;
}

.program-track::-webkit-scrollbar,
.gallery-track::-webkit-scrollbar,
.teacher-track::-webkit-scrollbar,
.testimonial-track::-webkit-scrollbar,
.news-track::-webkit-scrollbar {
    height: 8px;
}

.program-track::-webkit-scrollbar-thumb,
.gallery-track::-webkit-scrollbar-thumb,
.teacher-track::-webkit-scrollbar-thumb,
.testimonial-track::-webkit-scrollbar-thumb,
.news-track::-webkit-scrollbar-thumb {
    background: var(--slider-card-shadow);
    border-radius: 999px;
}

/* Kích thước từng slide */
.program-slide,
.gallery-slide,
.teacher-slide,
.news-slide {
    flex: 0 0 calc((100% - 3rem) / 4);
    scroll-snap-align: start;
}

.program-slide { min-width: 260px; }
.gallery-slide  { min-width: 260px; }
.teacher-slide  { min-width: 220px; }
.news-slide     { min-width: 260px; }

.testimonial-slide {
    flex: 0 0 calc((100% - 2rem) / 3);
    min-width: 260px;
    scroll-snap-align: start;
}

/* =========================================================
   SLIDER — NÚT ĐIỀU HƯỚNG (dùng chung)
   ========================================================= */
.program-nav,
.gallery-nav,
.teacher-nav,
.testimonial-nav,
.news-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--pink-dark);
    box-shadow: var(--slider-nav-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 2;
    transition: transform 0.2s ease, background 0.2s ease;
}

.program-nav:hover,
.gallery-nav:hover,
.teacher-nav:hover,
.testimonial-nav:hover,
.news-nav:hover {
    background: var(--pink-dark);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.program-prev,
.gallery-prev,
.teacher-prev,
.testimonial-prev,
.news-prev {
    left: 0;
}

.program-next,
.gallery-next,
.teacher-next,
.testimonial-next,
.news-next {
    right: 0;
}

/* =========================================================
   PROGRAMS (cards ngang)
   ========================================================= */
.programs-section {
    padding: 70px 0;
    background: #fffaf3;
}

/* Card dạng icon tròn (kiểu cũ) */
.program-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px 22px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
}

.program-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px;
}

.program-card h5 {
    margin-bottom: 6px;
}

.program-card .age {
    color: var(--pink-dark);
    font-weight: 700;
    font-size: .85rem;
}

/* Card dạng ngang (kiểu mới) */
.program-card-horizontal {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    text-align: left;
    height: 100%;
    min-height: 130px;
}

.program-card-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.program-card-avatar i {
    font-size: 1.75rem;
    color: var(--primary-color, #f4a261);
}

.program-card-info h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
}

.program-card-info .age {
    font-size: 0.875rem;
    color: #888;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-section {
    padding: 70px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--slider-card-shadow);
    height: 100%;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: saturate(1.08);
}

.gallery-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.9rem 1rem;
    background: linear-gradient(180deg, rgba(19, 27, 44, 0), rgba(19, 27, 44, 0.78));
    color: #fff;
    font-weight: 600;
    text-align: left;
}

/* =========================================================
   TEACHERS
   ========================================================= */
.teachers-section {
    padding: 70px 0;
    background: #fff6ef;
}

.teacher-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--slider-card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.teacher-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(31, 42, 74, 0.12);
}

.teacher-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.teacher-card .info {
    padding: 1rem 1rem 1.2rem;
    text-align: center;
}

.teacher-card .info h6 {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
    font-family: 'Baloo 2', sans-serif;
    color: var(--navy);
}

.teacher-card .info small {
    color: var(--pink-dark);
    font-weight: 600;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-section {
    padding: 70px 0;
}

.testimonial-card {
    background: #fff;
    border: 1px solid rgba(217, 190, 197, 0.5);
    border-radius: 24px;
    padding: 1.3rem;
    box-shadow: var(--slider-card-shadow);
    height: 100%;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.9rem;
    min-height: 60px;
}

.testimonial-card .author img {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-card .author .fw-bold {
    color: var(--navy);
}

.testimonial-card .stars {
    color: #f4b740;
    letter-spacing: 0.1rem;
    margin-bottom: 0.8rem;
    min-height: 28px;
    display: flex;
    align-items: center;
}

.testimonial-card p {
    margin: 0;
    color: var(--navy);
    line-height: 1.7;
}

/* =========================================================
   NEWS
   ========================================================= */
.news-section {
    padding: 70px 0;
    background: #fffaf3;
}

.news-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
    transition: transform .25s ease;
}

.news-card:hover {
    transform: translateY(-6px);
}

.news-card img {
    width: 100%;
    height: 300px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.news-card .body {
    padding: 18px;
}

/* =========================================================
   CONTACT / ĐĂNG KÝ
   ========================================================= */
.contact-section {
    padding: 45px 0;
    background: #f5f7fb;
}

.contact-card {
    display: flex;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(20, 40, 90, 0.1);
}

/* Cột trái (banner xanh) */
.contact-card-left {
    position: relative;
    flex: 1 1 42%;
    min-width: 260px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 32px 30px;
    background: linear-gradient(135deg, #1c4fa0 0%, #2f6fe0 100%);
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.cta-shape-1 {
    width: 220px;
    height: 220px;
    top: -70px;
    left: -70px;
}

.cta-shape-2 {
    width: 140px;
    height: 140px;
    bottom: -50px;
    left: 40px;
    background: rgba(255, 255, 255, 0.12);
}

.cta-shape-3 {
    width: 90px;
    height: 90px;
    bottom: 20px;
    right: -25px;
    background: rgba(255, 255, 255, 0.1);
}

.contact-left-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.cta-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    font-size: 0.68rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.cta-headline {
    font-weight: 800;
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    line-height: 1.25;
    margin-bottom: 10px;
}

.cta-sub {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.9;
    max-width: 340px;
    margin-bottom: 18px;
}

.cta-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cta-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    opacity: 0.95;
}

.cta-info-list i {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

/* Cột phải (form) */
.contact-card-right {
    flex: 1 1 58%;
    min-width: 280px;
    padding: 30px 34px;
}

.cta-form-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: #1c1c1c;
    margin-bottom: 2px;
}

.cta-form-sub {
    color: #8a8f98;
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.cta-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f2f4f7;
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 10px;
    transition: box-shadow 0.2s ease;
}

.cta-input-group:focus-within {
    box-shadow: 0 0 0 2px rgba(47, 111, 224, 0.35);
}

.cta-input-group i {
    color: #8a8f98;
    font-size: 0.85rem;
}

.cta-input-group input,
.cta-input-group textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 0.84rem;
    color: #1c1c1c;
}

.cta-textarea-group {
    align-items: flex-start;
    padding-top: 10px;
}

.cta-textarea-group textarea {
    resize: none;
}

.cta-submit-btn {
    width: 100%;
    border: 0;
    margin-top: 4px;
    padding: 10px;
    border-radius: 24px;
    background: linear-gradient(135deg, #1c4fa0 0%, #2f6fe0 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.4px;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.cta-submit-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.cta-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    color: #a8adb5;
    font-size: 0.75rem;
}

.cta-divider::before,
.cta-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e6e8ec;
}

.cta-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 9px;
    border-radius: 24px;
    border: 2px solid #1c4fa0;
    color: #1c4fa0;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.cta-call-btn:hover {
    background: #1c4fa0;
    color: #fff;
}

/* Map embed (dự phòng nếu dùng iframe) */
.map-embed {
    min-height: 260px;
    background: #eee;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: #2c2320;
    color: #ddd;
    padding: 50px 0 20px;
}

.site-footer h6 {
    color: #fff;
    font-family: 'Baloo 2', sans-serif;
    margin-bottom: 16px;
}

.site-footer a {
    color: #bbb;
}

.site-footer a:hover {
    color: var(--pink);
}

.site-footer .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    margin-right: 8px;
    transition: background .2s ease;
}

.site-footer .social a:hover {
    background: var(--pink-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 30px;
    padding-top: 16px;
    font-size: .85rem;
    color: #999;
}

/* =========================================================
   SCROLL-REVEAL ANIMATION
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
    .program-slide,
    .gallery-slide,
    .teacher-slide,
    .testimonial-slide,
    .news-slide {
        flex-basis: calc((100% - 1rem) / 2);
    }

    .contact-card-left,
    .contact-card-right {
        padding: 26px 24px;
    }
}

@media (max-width: 968px) {
    .site-header {
        position: relative;
    }

    #mainNavbar {
        border: 1px solid #ccc;
        background-color: #fff;
        padding: 6px 12px;
        border-radius: 8px;
        width: 220px;
        max-width: 80%;
        position: absolute;
        right: 15px;
        top: 100%;
        z-index: 9999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .nav-item {
        border-bottom: 1px dotted #ccc;
    }

    .nav-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 992px) {
    .site-header .navbar {
        min-height: 76px;
        padding-top: .5rem;
        padding-bottom: .5rem;
    }

    .site-header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
    }

    .site-header .navbar-brand {
        display: inline-flex;
        align-items: center;
        width: 110px;
        min-width: 110px;
        max-width: 110px;
        flex-shrink: 0;
        margin-right: 0;
    }

    .site-header .navbar-brand img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 58px;
        object-fit: contain;
    }

    .site-header .navbar-collapse {
        width: 100%;
    }

    .site-header .navbar-nav {
        width: 100%;
        justify-content: center;
        gap: .25rem;
    }

    .site-header .nav-link {
        margin: 0 .2rem;
        white-space: nowrap;
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-visual {
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 40px 0 30px;
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto;
    }

    .stats-bar .stat-number {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-section,
    .programs-section,
    .gallery-section,
    .teachers-section,
    .testimonial-section,
    .news-section,
    .contact-section {
        padding: 45px 0;
    }
}

@media (max-width: 575px) {
    .program-slider-wrap,
    .gallery-slider-wrap,
    .teacher-slider-wrap,
    .testimonial-slider-wrap,
    .news-slider-wrap {
        padding: 0 30px;
    }

    .program-slide,
    .gallery-slide,
    .testimonial-slide,
    .news-slide {
        flex-basis: 82%;
        min-width: 240px;
    }

    .teacher-slide {
        flex-basis: 82%;
        min-width: 200px;
    }
}

@media (max-width: 420px) {
    .quote-mark {
        font-size: 3rem;
    }
}