/* =====================================================
   Bé Ngôi Sao - Kindergarten Website
   Child-friendly, Playful Design
   ===================================================== */

/* CSS Variables - Vibrant & Playful Enhanced */
:root {
    /* Primary Colors - Warm & Cheerful - Orange Theme */
    --primary-orange: #ee6504;
    --primary-yellow: #FFB347;
    --primary-coral: #FF8C42;

    /* Secondary Colors - Cool & Calming */
    --secondary-teal: #5DD5C8;
    --secondary-green: #6BCB77;
    --secondary-blue: #74B9FF;

    /* Accent Colors - Soft Pastels */
    --accent-pink: #FFDAB9;
    --accent-purple: #C4B0FF;
    --accent-mint: #A8E6CF;
    --accent-peach: #FFE4C4;
    --accent-lavender: #E8D5FF;

    /* Backgrounds */
    --bg-cream: #FFF8F0;
    --bg-light-blue: #F0F7FF;
    --bg-light-pink: #FFF5EB;
    --bg-light-yellow: #FFFDE7;
    --bg-light-green: #F0FFF4;
    --white: #ffffff;

    /* Text Colors */
    --text-dark: #505050;
    --text-muted: #636E72;

    /* Legacy compatibility - Updated to Orange */
    --primary-dark: #ee6504;
    --primary-light: #FF9F43;
    --accent-beige: #FFF8F0;
    --secondary-purple: #C4B0FF;
    --primary-green: #6BCB77;

    /* Borders & Effects */
    --border-radius: 20px;
    --border-radius-lg: 30px;
    --border-radius-pill: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Enhanced Shadows - Orange tinted */
    --shadow: 0 10px 40px rgba(238, 101, 4, 0.12);
    --shadow-hover: 0 20px 60px rgba(238, 101, 4, 0.2);
    --shadow-soft: 0 15px 50px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 40px rgba(238, 101, 4, 0.25);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(20px);
}

/* Google Fonts loaded via HTML <link> tag */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--white) 30%, var(--bg-light-pink) 60%, var(--bg-light-blue) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

/* Decorative background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(93, 213, 200, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 224, 102, 0.04) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Coiny', cursive;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 0;
}

/* =====================================================
   HEADER & NAVIGATION - Transparent at top, Glass when scrolled
   ===================================================== */
.header {
    position: fixed;
    top: 12px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding: 12px 0;
    transition: all 0.4s ease;
    border-radius: var(--border-radius-lg);
}

.header.scrolled {
    top: 8px;
    padding: 10px 25px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.18), 0 0 0 1px var(--glass-border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-subtitle {
    font-family: 'Coiny', cursive;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #1E90FF 0%, #00BFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 2;
}

.logo-text {
    font-family: 'Coiny', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    gap: 1px;
}

/* Colorful letters for "Bé Ngôi Sao" */
.logo-text .letter-b {
    color: #2E8B57;
}

/* Green */
.logo-text .letter-e {
    color: #1E90FF;
}

/* Blue */
.logo-text .letter-n {
    color: #FFD700;
    margin-left: 6px;
}

/* Yellow */
.logo-text .letter-g {
    color: #FF8C00;
}

/* Orange */
.logo-text .letter-o {
    color: #FF69B4;
}

/* Pink */
.logo-text .letter-i {
    color: #FF6B6B;
}

/* Coral */
.logo-text .letter-s {
    color: #32CD32;
    margin-left: 6px;
}

/* Lime Green */
.logo-text .letter-a {
    color: #4169E1;
}

/* Royal Blue */
.logo-text .letter-o2 {
    color: #FF4500;
}

/* Orange Red */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu>li {
    position: relative;
    list-style: none;
}

.nav-menu>li>a,
.nav-menu>li>span.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 10px 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    font-size: 18px;
}

.nav-menu>li>a::after,
.nav-menu>li>span.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

.nav-menu>li:hover>a::after,
.nav-menu>li:hover>span.nav-link::after,
.nav-menu>li>a.active::after,
.nav-menu>li>span.nav-link.active::after {
    width: 100%;
}

.nav-menu>li:hover>a,
.nav-menu>li:hover>span.nav-link {
    color: var(--primary-dark);
}

.nav-menu .dropdown-arrow {
    font-size: 10px;
    transition: var(--transition);
    margin-left: 3px;
}

.nav-menu>li:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown submenu */
.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    display: block !important;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1001;
    list-style: none;
    margin: 0;
    border: none;
}

.nav-menu>li:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    display: block !important;
    transform: translateY(5px);
}

.nav-menu .dropdown-menu li {
    padding: 0;
    list-style: none;
}

.nav-menu .dropdown-menu li a {
    display: block;
    padding: 12px 25px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.nav-menu .dropdown-menu li a::after {
    display: none !important;
}

.nav-menu .dropdown-menu li a:hover {
    background: var(--accent-beige);
    color: var(--primary-dark);
    padding-left: 30px;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FF8585 50%, var(--primary-coral) 100%);
    color: var(--white) !important;
    padding: 14px 32px;
    border-radius: var(--border-radius-pill);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    position: relative;
    overflow: hidden;
    justify-content: center;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta::after {
    display: none !important;
}

.btn-cta:hover {
    background: linear-gradient(135deg, #FF8585 0%, var(--primary-orange) 100%);
    color: var(--white) !important;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5), 0 0 20px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-teal) 0%, var(--secondary-green) 100%);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--border-radius-pill);
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(93, 213, 200, 0.35);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--secondary-teal) 100%);
    color: var(--white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(93, 213, 200, 0.45);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-dark);
}

/* =====================================================
   HERO SLIDER SECTION - Enhanced
   ===================================================== */
.hero-section {
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: calc(100vh - 100px);
}

.hero-slide {
    position: relative;
    width: 100%;
    height: calc(100vh - 100px);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(255, 107, 107, 0.92) 0%,
            rgba(255, 142, 142, 0.5) 30%,
            rgba(93, 213, 200, 0) 60%,
            transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 0 60px;
    color: var(--white);
}

.hero-content .subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: var(--text-dark);
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-pill);
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 22px;
    color: var(--white);
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.7;
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: var(--white);
    opacity: 0.5;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-yellow);
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 224, 102, 0.6);
}

/* =====================================================
   SECTION COMMON STYLES
   ===================================================== */
.section {
    padding: 60px 0;
    position: relative;
}

.section-light {
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--white) 100%);
}

.section-header {
    text-align: center;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* =====================================================
   FEATURES SECTION (6 điểm đặc biệt) - Enhanced
   ===================================================== */
.features-section {
    padding: 50px 0;
    position: relative;
}

.feature-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 245, 0.9) 100%);
    border-radius: var(--border-radius-lg);
    padding: 40px 35px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    transition: var(--transition-bounce);
    height: auto;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-yellow), var(--secondary-teal), var(--accent-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(255, 107, 107, 0.18);
    border-color: var(--accent-pink);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .feature-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.feature-card .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

/* Legacy icon styles (kept for compatibility) */
.feature-card .icon {
    width: 75px;
    height: 75px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
}

.feature-card .icon i {
    font-size: 32px;
    color: var(--white);
}

.feature-card h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #6f6f6f;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

.feature-card .btn-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-coral));
    color: var(--white);
    padding: 12px 22px;
    border-radius: var(--border-radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 20px;
    width: fit-content;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(255, 123, 84, 0.3);
}

.feature-card .btn-feature:hover {
    background: linear-gradient(135deg, var(--primary-coral), var(--primary-orange));
    transform: translateX(5px);
}

/* =====================================================
   A DAY AT ILO SECTION
   ===================================================== */
.day-section {
    padding: 100px 0;
    background: var(--accent-beige);
}

.day-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.day-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.day-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.play-btn i {
    font-size: 30px;
    color: var(--primary-dark);
    margin-left: 5px;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary-light);
}

.play-btn:hover i {
    color: var(--white);
}

.day-text h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.day-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.day-list {
    list-style: none;
}

.day-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.day-list li i {
    width: 30px;
    height: 30px;
    background: #2e8b57;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
}

/* =====================================================
   NEWS SECTION (Bản tin) - Enhanced
   ===================================================== */
.news-section {
    padding: 120px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.news-featured {
    display: flex;
}

.news-featured .news-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.news-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 248, 0.95) 100%);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
    transition: var(--transition-bounce);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 25px 60px rgba(255, 107, 107, 0.15);
}

.news-card .image {
    position: relative;
    overflow: hidden;
}

.news-featured .image {
    height: 406px;
    flex-shrink: 0;
}

.news-small .image {
    width: 100px;
    min-width: 100px;
    height: auto;
    aspect-ratio: 1;
}

.news-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.news-card .category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-coral) 100%);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--border-radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.news-card .content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card .date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-card h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-featured h4 {
    font-size: 1.25rem;
}

.news-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-grow: 1;
    line-height: 1.5;
}

.news-small-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.news-small {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-small .image {
    width: 100%;
    height: 208px;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.news-small .content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-small h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.35;
}

.news-small .date {
    font-size: 0.75rem;
    margin-bottom: 8px;
}

/* =====================================================
   CONSULTATION FORM SECTION - Enhanced with Background Image
   ===================================================== */
.consultation-section {
    padding: 120px 0;
    background:
        linear-gradient(135deg, rgba(255, 107, 107, 0.88) 0%, rgba(93, 213, 200, 0.85) 100%),
        url('https://images.unsplash.com/photo-1587654780291-39c9404d746b?w=1600') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.consultation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

.consultation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.consultation-text {
    color: var(--white);
}

.consultation-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.consultation-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.consultation-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.consultation-features .item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.consultation-features .item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.consultation-form {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 250, 248, 0.95) 100%);
    padding: 45px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.consultation-form h3 {
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 22px;
    border: 2px solid #f0f0f0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-coral) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-pill);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-coral) 0%, var(--primary-orange) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.45);
}

/* =====================================================
   CONTACT & MAP SECTION
   ===================================================== */
.contact-section {
    padding: 100px 0;
    background: var(--accent-beige);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.branch-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.branch-item {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.branch-item:hover,
.branch-item.active {
    border-left-color: var(--primary-light);
    transform: translateX(5px);
}

.branch-item h5 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.branch-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.branch-item p i {
    color: var(--primary-light);
    width: 16px;
}

.contact-map {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 450px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =====================================================
   FOOTER - Enhanced
   ===================================================== */
.footer {
    background: linear-gradient(135deg, #2D3436 0%, #1e2527 100%);
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg,
            var(--primary-orange),
            var(--primary-yellow),
            var(--secondary-teal),
            var(--accent-pink),
            var(--accent-purple),
            var(--secondary-blue));
    background-size: 200% 100%;
    animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo-text {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-about .logo-text span {
    color: var(--primary-light);
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-light);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-contact li i {
    color: var(--primary-light);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 0;
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-light);
    padding: 12px 25px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.back-to-top:hover {
    background: var(--white);
    color: var(--primary-dark);
}

/* =====================================================
   FLOATING ELEMENTS - Enhanced
   ===================================================== */
.chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--secondary-teal) 0%, var(--secondary-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(93, 213, 200, 0.45);
    transition: var(--transition-bounce);
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

.chat-btn:hover {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-coral) 100%);
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.5);
}

/* =====================================================
   PAGE HEADER (for subpages) - Enhanced
   ===================================================== */
.page-header {
    margin-top: 100px;
    padding: 120px 0;
    background: linear-gradient(135deg,
            rgba(255, 107, 107, 0.92) 0%,
            rgba(255, 142, 142, 0.85) 30%,
            rgba(93, 213, 200, 0.8) 70%,
            rgba(116, 185, 255, 0.75) 100%),
        url('https://images.unsplash.com/photo-1587654780291-39c9404d746b?w=1600') center/cover no-repeat;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg-cream), transparent);
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 18px;
    color: var(--white);
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 1rem;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: var(--border-radius-pill);
    display: inline-flex;
    margin: 0 auto;
}

.breadcrumb a {
    color: var(--white);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-yellow);
}

.breadcrumb span {
    opacity: 0.8;
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-intro {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.values-section {
    padding: 100px 0;
    background: var(--accent-beige);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.value-card .icon i {
    font-size: 35px;
    color: var(--white);
}

.value-card h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.value-card p {
    color: var(--text-muted);
}

.value-card .feature-image {
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.value-card .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.value-card:hover .feature-image img {
    transform: scale(1.05);
}

/* =====================================================
   PROGRAMS PAGE
   ===================================================== */
.programs-section {
    padding: 100px 0;
}

.program-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    margin-bottom: 30px;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.program-card .image {
    height: 250px;
    overflow: hidden;
}

.program-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}


.program-card .content {
    padding: 30px;
}

.program-card .age-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--white);
    padding: 5px 15px;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.program-card h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.program-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* =====================================================
   FACILITIES PAGE
   ===================================================== */
.facilities-section {
    padding: 100px 0;
}

.facility-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.facility-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
}

.facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}


.facility-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(61, 86, 62, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    transition: var(--transition);
}

.facility-item h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0;
}

.facility-item.large {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
}

/* =====================================================
   SYSTEM PAGE (Branches)
   ===================================================== */
.system-section {
    padding: 100px 0;
}

.branch-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.branch-card .image {
    height: 200px;
    overflow: hidden;
}

.branch-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branch-card .content {
    padding: 25px;
}

.branch-card h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.branch-card .info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.branch-card .info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.branch-card .info i {
    color: var(--primary-light);
    width: 16px;
    margin-top: 4px;
}

/* =====================================================
   NEWS PAGE
   ===================================================== */
.news-page-section {
    padding: 100px 0;
}

.news-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.news-filter button {
    padding: 12px 25px;
    border: 2px solid var(--primary-light);
    background: transparent;
    color: var(--primary-dark);
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.news-filter button:hover,
.news-filter button.active {
    background: var(--primary-light);
    color: var(--white);
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-list .news-card .image {
    height: 200px;
}

/* =====================================================
   ADMISSION PAGE
   ===================================================== */
.admission-section {
    padding: 100px 0;
}

.admission-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--primary-light);
}

.step-card:last-child::after {
    display: none;
}

.step-card .number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.step-card h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.admission-form-section {
    background: var(--accent-beige);
    padding: 60px;
    border-radius: var(--border-radius-lg);
}

.admission-form-section h2 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 40px;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-content>div:last-child {
        grid-column: span 3;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-slide {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .day-content,
    .about-grid,
    .consultation-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-small-grid {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .admission-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-card::after {
        display: none;
    }

    .facility-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .facility-item.large {
        grid-column: span 2;
        grid-row: span 1;
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content>div:last-child {
        grid-column: span 2;
    }

    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {


    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-slider {
        height: calc(100vh - 80px);
    }

    .hero-slide {
        height: calc(100vh - 80px);
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-content .subtitle {
        font-size: 0.7rem;
        letter-spacing: 1px;
        padding: 6px 12px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .consultation-features {
        grid-template-columns: 1fr;
    }

    .consultation-form {
        padding: 30px 20px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content>div:last-child {
        grid-column: auto;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .values-grid,
    .admission-steps {
        grid-template-columns: 1fr;
    }

    .facility-gallery {
        grid-template-columns: 1fr;
    }

    .facility-item.large {
        grid-column: auto;
        height: 280px;
    }

    .news-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .btn-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-slide {}

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .news-small {
        flex-direction: column;
    }

    .news-small .image {
        width: 100%;
        height: 150px;
    }

    .chat-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* =====================================================
   REDESIGN 2026 - MODERN STYLES
   ===================================================== */

/* Modern Section Layout */
.section-modern {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

/* Modern Program Card */
.program-card-modern {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.program-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.2);
}

.program-card-modern .program-image {
    height: 260px;
    position: relative;
    overflow: hidden;
}

.program-card-modern .program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card-modern:hover .program-image img {
    transform: scale(1.1);
}

.program-card-modern .program-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.program-card-modern:hover .program-overlay {
    opacity: 1;
}

.program-card-modern .program-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-card-modern h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
    font-weight: 500;
    line-height: 1.2;
}

.program-card-modern p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.program-card-modern .card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: transparent;
}

.program-card-modern .age-badge {
    background: var(--bg-light-blue);
    color: var(--secondary-blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.program-card-modern .btn-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.program-card-modern:hover .btn-arrow {
    background: var(--primary-orange);
    color: var(--white);
    transform: rotate(-45deg);
}

/* Modern News Card */
.news-card-modern {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.news-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.news-card-modern .news-image {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.news-card-modern .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card-modern:hover .news-image img {
    transform: scale(1.08);
}

.news-card-modern .news-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: 800;
    color: var(--primary-dark);
    backdrop-filter: blur(5px);
    min-width: 60px;
}

.news-card-modern .news-date-badge .day {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
}

.news-card-modern .news-date-badge .month {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.news-card-modern .news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.news-card-modern h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 500;
}

.news-card-modern h4 a {
    color: #6b6b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-modern h4 a:hover {
    color: var(--primary-orange);
}

.news-card-modern p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-card-modern .read-more {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.news-card-modern .read-more:hover {
    color: var(--primary-orange);
    gap: 10px;
}

/* Enhanced Consultation Section */
.consultation-section-modern {
    margin: 80px 0;
    border-radius: 40px;
    background: linear-gradient(120deg, var(--primary-orange), #ff6b6b, var(--primary-coral));
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--white);
    box-shadow: 0 30px 60px rgba(255, 107, 107, 0.25);
}

.consultation-section-modern .bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.consultation-section-modern .bg-shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.consultation-section-modern .bg-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
}

.consultation-modern-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.consultation-modern-content h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.consultation-modern-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 500;
}

.consultation-modern-content .btn-cta-white {
    background: var(--white);
    color: var(--primary-orange) !important;
    padding: 18px 45px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.consultation-modern-content .btn-cta-white:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    background: var(--white);
    color: var(--primary-coral) !important;
}

@media (max-width: 768px) {
    .consultation-section-modern {
        padding: 50px 20px;
        border-radius: 20px;
    }

    .consultation-modern-content h2 {
        font-size: 2.2rem;
    }

    .program-card-modern .program-image {
        height: 200px;
    }
}

/* =====================================================
   CONSULTATION FORM SECTION
   ===================================================== */
.consultation-form-wrapper .form-control {
    transition: all 0.3s ease;
}

.consultation-form-wrapper .form-control:focus {
    border-color: var(--primary-light) !important;
    box-shadow: 0 0 0 4px rgba(251, 187, 2, 0.15) !important;
    outline: none;
}

.consultation-form-wrapper .form-control:hover {
    border-color: #ccc;
}

.consultation-form-wrapper select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.consultation-form-wrapper .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.consultation-form-wrapper .form-label i {
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    #dang-ky-tham-quan {
        padding: 60px 0;
    }

    .consultation-form-wrapper {
        padding: 30px !important;
    }

    .consultation-info h2 {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .consultation-form-wrapper {
        padding: 25px 20px !important;
    }

    .consultation-info h2 {
        font-size: 1.8rem !important;
    }
}

/* Header responsive for medium screens (1280px - 1400px) */
@media (max-width: 1400px) and (min-width: 992px) {
    .nav-menu {
        gap: 12px;
    }

    .nav-menu>li>a,
    .nav-menu>li>span.nav-link {
        font-size: 16px;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.3rem;
    }
}

/* =====================================================
   MODERN FOOTER
   ===================================================== */
.footer-modern {
    background: linear-gradient(135deg, #2D3436 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    position: relative;
    padding-top: 60px;
    margin-top: 60px;
    border-radius: 40px 40px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 40px 0 50px;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-light);
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffc107 100%);
    border-radius: 3px;
}

.footer-about-new h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.footer-about-new p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social-new {
    display: flex;
    gap: 12px;
}

.footer-social-new a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-social-new a:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(251, 187, 2, 0.3);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a i {
    font-size: 0.75rem;
    color: var(--primary-light);
    transition: transform 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-col ul li a:hover i {
    transform: translateX(3px);
}

.footer-contact-new li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 18px !important;
}

.footer-contact-new .contact-icon {
    width: 38px;
    height: 38px;
    background: rgba(251, 187, 2, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-new .contact-icon i {
    color: var(--primary-light);
    font-size: 0.9rem;
}

.footer-contact-new li>div:last-child {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.footer-contact-new li a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    display: inline !important;
    gap: 0 !important;
}

.footer-contact-new li a:hover {
    color: var(--primary-light) !important;
    transform: none !important;
}

.footer-bottom-new {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-new p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.95rem;
}

.back-to-top-new {
    width: 45px;
    height: 45px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(251, 187, 2, 0.3);
}

.back-to-top-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(251, 187, 2, 0.5);
    background: #ffc107;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-new {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* =====================================================
   PLAYFUL FOOTER - Cheerful & Kid-friendly
   ===================================================== */
.footer-playful {
    background: linear-gradient(135deg, #fff5f8 0%, #fff9e6 50%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0 30px;
}

.footer-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.decor-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.decor-circle.c1 {
    width: 200px;
    height: 200px;
    background: var(--primary-coral);
    top: -50px;
    left: -50px;
}

.decor-circle.c2 {
    width: 150px;
    height: 150px;
    background: var(--secondary-teal);
    top: 20%;
    right: -30px;
}

.decor-circle.c3 {
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    bottom: 20%;
    left: 10%;
}

.decor-circle.c4 {
    width: 180px;
    height: 180px;
    background: var(--accent-purple);
    bottom: -60px;
    right: 20%;
}

.footer-top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.1);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-brand>div {
    padding-left: 150px;
}

.footer-logo-img {
    height: 200px;
    width: auto;
    position: absolute;
    left: 0;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 5px 0 0;
    font-size: 0.95rem;
}

.footer-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-cta span {
    color: var(--text-muted);
    font-weight: 500;
}

.btn-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #ff8e8e 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-footer-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
    color: white;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-info-card {
    background: white;
    padding: 25px 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    min-height: 100px;
}

.footer-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.footer-info-card .info-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffc107 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-info-card .info-icon i {
    color: white;
    font-size: 1.3rem;
}

.footer-info-card h5 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 5px;
}

.footer-info-card p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
}

.footer-info-card p a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info-card p a:hover {
    color: var(--primary-dark);
}

.footer-links-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.footer-quick-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-quick-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-quick-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

.footer-quick-links a:hover {
    color: var(--primary-dark);
}

.footer-quick-links a:hover::after {
    width: 100%;
}

.footer-social-playful {
    display: flex;
    gap: 12px;
}

.footer-social-playful a {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.footer-social-playful a:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px) rotate(10deg);
}

.footer-copyright {
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-copyright p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-top-section {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-cta {
        flex-direction: column;
        gap: 15px;
    }

    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links-row {
        flex-direction: column;
        gap: 20px;
    }

    .footer-quick-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
    }

    .footer-quick-links {
        gap: 15px;
    }
}

/* Commitment Cards - Equal Height */
.commitment-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.commitment-card h4 {
    min-height: 50px;
    display: flex;
    align-items: center;
}

.commitment-card p {
    flex: 1;
}

/* Program Card - Equal Height */
.program-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.program-card .image {
    height: 200px;
    overflow: hidden;
}

.program-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .image img {
    transform: scale(1.05);
}

.program-card .content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.program-card .content h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.program-card .content p {
    color: var(--text-muted);
    flex: 1;
}

.program-card .day-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.program-card .day-list li {
    padding: 5px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.program-card .day-list li i {
    color: var(--secondary-teal);
    margin-right: 8px;
}

.program-card .age-tag {
    display: inline-block;
    background: var(--bg-light-pink);
    color: var(--primary-coral);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Menu Table */
.menu-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    background: white;
}

.menu-table th,
.menu-table td {
    padding: 15px 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    vertical-align: middle;
}

.menu-table thead th {
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.menu-table tbody td {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.menu-table .meal-label {
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}

.menu-table .meal-label i {
    margin-right: 8px;
}

.menu-table .sub-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.menu-table tbody tr:hover td {
    background: rgba(255, 107, 107, 0.05);
}

.menu-table tbody tr:nth-child(even) td:not(.meal-label):not(.sub-label) {
    background: rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
    .menu-table {
        font-size: 0.8rem;
    }

    .menu-table th,
    .menu-table td {
        padding: 10px 8px;
    }
}

/* Day List - Fix icon stretch */
.program-card .day-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-card .day-list li {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.program-card .day-list li i {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--secondary-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-right: 12px;
    margin-top: 2px;
}

/* Feature Card Day List - Fix icon stretch */
.feature-card .day-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card .day-list li {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.feature-card .day-list li i {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: var(--secondary-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-right: 12px;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .footer-logo-img {
        height: 200px;
        width: auto;
        position: relative;
        left: 0;
    }

    .footer-brand>div {
        padding-left: 0 !important;
    }
}