/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Dashboard Layout */
.dashboard {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    min-width: 260px;
    background: #ffffff;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
    z-index: 100;
    transition: all 0.3s ease;
}

.sidebar-header {
    padding: 0 1.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1rem;
}

.sidebar-header img {
    max-width: 140px;
    height: auto;
    transition: transform 0.3s ease;
}

.sidebar-header img:hover {
    transform: scale(1.05);
}

.menu {
    padding: 0 0.75rem;
    margin-top: 1rem;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    margin: 0.25rem 0;
    border-radius: 8px;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease;
}

.menu-item i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.menu-item:hover {
    background-color: #f8fafc;
    color: #1e40af;
}

.menu-item.active {
    background-color: #eff6ff;
    color: #1e40af;
    font-weight: 500;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    background-color: #f8fafc;
    transition: margin 0.3s ease;
}

.content-header {
    background: #ffffff;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

@media (max-width: 1024px) {
    /* Only apply transform to sidebar on non-dashboard pages */
    body:not(.dashboard-page) .sidebar {
        transform: translateX(-100%);
        z-index: 1000;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .dashboard-page .sidebar {
        transform: translateX(0);
        position: relative;
        width: 100%;
        height: auto;
        box-shadow: none;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* Hide menu toggle on dashboard page */
    .dashboard-page .menu-toggle {
        display: none !important;
    }
    
    /* Adjust dashboard layout on mobile */
    .dashboard-page .dashboard {
        flex-direction: column;
    }
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.menu-toggle:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.menu-toggle:active {
    transform: translateY(0);
}

.menu-toggle i {
    font-size: 1.25rem;
    color: #4b5563;
}

/* Overlay for mobile menu */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Ensure content is properly padded on mobile */
@media (max-width: 768px) {
    .content-header {
        padding: 1rem;
    }
    
    .main-content {
        padding-top: 60px;
    }
}

:root {
    /* Kid-friendly bright colors */
    --primary-color: #FF6B6B; /* Bright coral */
    --secondary-color: #4ECDC4; /* Teal */
    --accent-color: #FFE66D; /* Sunny yellow */
    --accent2-color: #7BC950; /* Lime green */
    --accent3-color: #6A4C93; /* Purple */
    
    --text-color: #333;
    --text-light: #4a5568;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    
    --primary: #FF6B6B;
    --primary-hover: #FF5252;
    --secondary: #f0f4ff;
    --therapy-600: #4ECDC4;
    --therapy-700: #3DBEB6;
    --muted: #64748b;
    --border: #e2e8f0;
    --background: #ffffff;
    --error: #ef4444;
    --success: #7BC950;
    --border-radius: 1rem;
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    font-family: var(--font-family);
    background-color: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Styles */
.navbar {
    background: white;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 6px solid var(--accent-color);
    border-radius: 0 0 20px 20px;
    background-image: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.95)), 
                      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="20" cy="20" r="3" fill="%23FFE66D" opacity="0.3"/><circle cx="60" cy="30" r="3" fill="%234ECDC4" opacity="0.3"/><circle cx="80" cy="70" r="3" fill="%23FF6B6B" opacity="0.3"/></svg>');
}

.logo img {
    height: 55px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.login-btn {
    background: linear-gradient(to right, var(--primary-color), #ff8c8c);
    color: white !important;
    padding: 0.5rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 5px 5px 0 var(--accent-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -0.5rem;
    margin-bottom: -0.5rem;
    vertical-align: middle;
    font-size: 1.05rem;
    min-width: 100px;
}

@keyframes gentle-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-5px) rotate(2deg);
    box-shadow: 5px 8px 0 var(--accent-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 107, 107, 0.4), rgba(78, 205, 196, 0.4)), url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,213.3C1248,235,1344,213,1392,202.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Hero content styles */

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1.2s ease-in-out;
}

.colorful {
    background: linear-gradient(90deg, var(--primary-color), var(--accent2-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
    animation: fadeIn 1.2s ease-in-out;
    letter-spacing: 0.5px;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 2rem;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 5px 5px 0 var(--accent-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-5px) rotate(2deg);
    box-shadow: 5px 8px 0 var(--accent-color);
}

/* About Section */
.about {
    padding: 7rem 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    position: relative;
}

.title-underline {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-bottom: 20px;
}

.title-underline span {
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

.section-description {
    margin-top: 25px;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    position: relative;
}

.about-tagline {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.4;
    position: relative;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.2rem;
    color: white;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Removed gradient line at the top as requested */
.stat-item::before {
    display: none;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    border-radius: 50%;
    margin-bottom: 1rem;
}

.stat-icon i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-content {
    width: 100%;
}

.stat-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Stat number styling for animation */
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #67b8c7;
    margin: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff9a9e, #67b8c7);
    transition: width 2s ease;
}

.stat-item:hover .stat-number::after {
    width: 100%;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-tagline {
        font-size: 1.5rem;
    }
    
    .stat-item {
        padding: 1.25rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Services Section */
.services {
    padding: 7rem 0;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent2-color) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.services-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid var(--border);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover, 
.category-btn.active {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    height: 350px; /* Fixed height for all cards */
    width: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    border-radius: 20px;
    margin: 3.5rem auto 1.5rem; /* Increased top margin to push content down */
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(78, 205, 196, 0.2));
}

.service-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.service-content {
    padding: 0 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center; /* Center content vertically */
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 700;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sub-service-text {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: auto;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Services Slider Styles */
.services-slider {
    padding: 20px 0 60px;
    position: relative;
    overflow: visible;
    z-index: 1;
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
    opacity: 1;
    top: calc(50% - 10px);
}

.swiper-button-next {
    right: -15px;
}

.swiper-button-prev {
    left: -15px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-disabled {
    opacity: 0.3 !important;
    cursor: not-allowed;
}

.swiper-slide {
    height: auto;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.swiper-slide-hidden {
    opacity: 0.4;
    transform: scale(0.85);
    pointer-events: none;
}

.swiper-pagination {
    bottom: 0;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 30px;
    border-radius: 5px;
}

/* Responsive adjustments for services slider */
@media (max-width: 1200px) {
    .swiper-button-next {
        right: 10px;
    }
    
    .swiper-button-prev {
        left: 10px;
    }
}

@media (max-width: 992px) {
    .services {
        padding: 5rem 0;
    }
    
    .services-categories {
        margin-bottom: 2rem;
    }
    
    .category-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 2.2rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 4rem 0;
    }
    
    .services-slider {
        padding: 10px 0 50px;
    }
    
    .services-categories {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .service-link {
        font-size: 0.85rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        display: none;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .services {
        padding: 3rem 0;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .services-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .services-categories::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Edge */
    }
    
    .category-btn {
        white-space: nowrap;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--light-bg);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background-image: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="1" d="M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,106.7C672,117,768,171,864,165.3C960,160,1056,96,1152,74.7C1248,53,1344,75,1392,85.3L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item:hover {
    transform: translateX(5px);
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    transform: rotate(5deg) scale(1.05);
}

.info-icon i {
    font-size: 1.2rem;
    color: white;
}

.info-text {
    flex: 1;
}

.info-text h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--text-color);
    font-weight: 600;
}

.info-text p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
    color: var(--text-light);
}

.info-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.info-text a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.map-container {
    background: white;
    padding: 0.75rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.map-container iframe {
    border-radius: 15px;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Responsive adjustments for contact section */
@media (max-width: 1200px) {
    .contact-content {
        gap: 2rem;
    }
    
    .info-item {
        padding: 0.75rem;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }
}

@media (max-width: 992px) {
    .contact {
        padding: 5rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    .map-container iframe {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 4rem 0;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .info-item {
        margin-bottom: 1rem;
    }
    
    .info-text h4 {
        font-size: 0.95rem;
    }
    
    .info-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 3rem 0;
    }
    
    .contact-content {
        gap: 1.5rem;
    }
    
    .contact-info {
        padding: 1.25rem;
    }
    
    .info-item {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        flex-direction: row;
        align-items: center;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin-right: 0.75rem;
    }
    
    .info-icon i {
        font-size: 1rem;
    }
    
    .map-container {
        padding: 0.5rem;
    }
    
    .map-container iframe {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .info-text h4 {
        font-size: 0.9rem;
    }
    
    .info-text p {
        font-size: 0.85rem;
    }
}

/* Footer */
footer {
    background: #3a3a3a;
    color: white;
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--accent2-color), var(--accent3-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 10px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 12px;
    text-align: center;
    line-height: 45px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
}

.social-links a::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
}

.social-links a:hover::before {
    top: 0;
    left: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .burger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

/* Animations */
/* Kid-friendly animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(15px) rotate(-5deg);
    }
}

@keyframes sway {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(15px);
    }
}

/* Colorful text */
.colorful {
    background: linear-gradient(90deg, var(--primary-color), var(--accent2-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    font-weight: 700;
}

/* Floating elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.balloon {
    position: absolute;
    width: 60px;
    height: 70px;
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.balloon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.7);
}

.balloon-1 {
    top: 20%;
    left: 10%;
    background-color: var(--primary-color);
    opacity: 0.7;
    animation-delay: 0s;
}

.balloon-2 {
    top: 15%;
    right: 15%;
    background-color: var(--accent-color);
    opacity: 0.7;
    animation-delay: 2s;
}

.balloon-3 {
    top: 30%;
    left: 30%;
    background-color: var(--accent2-color);
    opacity: 0.7;
    animation-delay: 4s;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    animation: sway 15s infinite ease-in-out;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.cloud-1 {
    top: 15%;
    right: 20%;
    width: 100px;
    height: 40px;
}

.cloud-1::before {
    width: 50px;
    height: 50px;
    top: -20px;
    left: 15px;
}

.cloud-1::after {
    width: 40px;
    height: 40px;
    top: -15px;
    right: 15px;
}

.cloud-2 {
    top: 40%;
    left: 15%;
    width: 80px;
    height: 30px;
    animation-delay: 3s;
}

.cloud-2::before {
    width: 40px;
    height: 40px;
    top: -15px;
    left: 10px;
}

.cloud-2::after {
    width: 30px;
    height: 30px;
    top: -10px;
    right: 10px;
}

/* Kid features */
.kid-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.kid-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 15px;
    border-radius: 30px;
    box-shadow: 3px 3px 0 var(--accent-color);
    transition: all 0.3s ease;
}

.kid-feature:hover {
    transform: translateY(-5px) rotate(3deg);
    box-shadow: 5px 5px 0 var(--accent-color);
}

.kid-feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.kid-feature span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Admin Dashboard Styles */
.dashboard {
    display: flex;
    min-height: 100vh;
    background: #f8f9fa;
}

.sidebar {
    width: 250px;
    background: #2c3e50;
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    padding: 0 20px;
    margin-bottom: 20px;
}

.sidebar-header img {
    max-width: 150px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    white-space: nowrap;
}

.menu-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.menu-item span {
    flex: 1;
}

.menu-item:hover {
    background: #34495e;
    border-left-color: var(--primary-color);
}

.menu-item.active {
    background: #34495e;
    border-left-color: var(--primary-color);
}

.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Responsive Sidebar */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    
    .main-content {
        margin-left: 200px;
    }
}

@media (max-width: 576px) {
    .dashboard {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .main-content {
        margin-left: 0;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

/* Layouts */
.min-h-screen {
    min-height: 100vh;
}

.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--secondary), var(--background));
}

/* Components */
/* Card */
.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-content {
    padding: 1.5rem;
}

/* Step indicator */
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-item:not(:last-child):after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--border);
    top: 15px;
    left: 50%;
}

.step-item.active .step {
    background-color: var(--primary);
    color: white;
}

.step-item.complete .step {
    background-color: var(--success);
    color: white;
}

.step-item.complete:after {
    background-color: var(--success);
}

.step-item.active:after {
    background-color: var(--border);
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--border);
    color: var(--muted);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    position: relative;
    z-index: 10;
}

/* Form elements */
.form-row {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    font-size: 1rem;
    transition: border-color 0.15s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.form-textarea {
    min-height: 80px;
    resize: vertical;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    border: none;
}

/* Pink button styling for "Book New Appointment" */
.no-appointments .action-link.book-new,
.no-appointments .btn,
.no-appointments a.btn {
    background-color: #FF6B6B;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.no-appointments .action-link.book-new:hover,
.no-appointments .btn:hover,
.no-appointments a.btn:hover {
    transform: translateY(-3px);
    background-color: #ff5252;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
}

.btn-outline:hover {
    background-color: var(--secondary);
}

.btn-full {
    width: 100%;
}

.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .form-buttons {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .form-buttons button {
        flex: 1;
    }
}

/* Header and footer */
header {
    padding-top: 2rem;
    padding-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background-color: white;
}

footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid var(--border);
}

/* Utility classes */
.text-muted {
    color: var(--muted);
}

.text-center {
    text-align: center;
}

.text-therapy-700 {
    color: var(--therapy-700);
}

.font-bold {
    font-weight: 700;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

/* Responsive utilities */
@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    animation: pulse 2s infinite;
}

.chatbot-toggle i {
    color: white;
    font-size: 24px;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
    transition: all 0.3s ease;
    max-height: 500px;
    opacity: 0;
    transform: translateY(20px);
}

.chatbot-box.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.chatbot-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-header h3 i {
    font-size: 20px;
    animation: robotPulse 2s infinite;
}

@keyframes robotPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1); }
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    max-height: 300px;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.user-message {
    align-items: flex-end;
}

.bot-message {
    align-items: flex-start;
}

.message-content {
    padding: 12px 15px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
}

.user-message .message-content {
    background: #f1f0f0;
    color: #333;
}

.bot-message .message-content {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
    color: #333;
}

.message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}

.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    outline: none;
    font-size: 14px;
}

.chatbot-input input:focus {
    border-color: var(--primary-color);
}

#send-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#send-btn:hover {
    transform: scale(1.1);
}

.quick-info {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.quick-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 5px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 60px;
}

.quick-info-item i {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.quick-info-item span {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.quick-info-item:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

@media (max-width: 576px) {
    .chatbot-box {
        width: 300px;
        right: 0;
        bottom: 70px;
    }
    
    .chatbot-toggle {
        width: 50px;
        height: 50px;
    }
    
    .quick-info {
        padding: 10px;
    }
    
    .quick-info-item {
        width: 50px;
        padding: 5px;
    }
    
    .quick-info-item i {
        font-size: 16px;
    }
    
    .quick-info-item span {
        font-size: 10px;
    }
}
