/* Ultra-Soft Pastel Palette for Niloo Kids */
:root {
    /* Primary Colors - Gentle Pastel Scheme */
    --primary-color: #FFB6C1;      /* Very Soft Pink - Gentle and calming */
    --secondary-color: #B0E0E6;    /* Powder Blue - Soothing and peaceful */
    --accent-color: #FFFACD;       /* Lemon Chiffon - Warm but very gentle */
    --neutral-color: #D3D3D3;      /* Light Gray - Subtle and soft */
    
    /* Supporting Ultra-Light Shades */
    --primary-light: #FFE4E1;      /* Misty Rose - Almost white pink */
    --secondary-light: #F0F8FF;    /* Alice Blue - Very pale blue */
    --accent-light: #FFFFF0;       /* Ivory - Warm white with hint of yellow */
    --neutral-light: #FAFAFA;      /* Almost white gray for backgrounds */
    
    /* Text Colors - Softer and gentler */
    --text-dark: #4A4A4A;          /* Soft dark gray instead of harsh black */
    --text-medium: #7A7A7A;        /* Medium gray for secondary content */
    --text-light: #FFFFFF;         /* White text for dark backgrounds */
    
    /* Brand Colors for Icons and Elements */
    --brand-pink: #FF6B9D;         /* Vibrant pink for icons and accents */
    --brand-teal: #4ECDC4;         /* Teal for secondary icons */
    --brand-yellow: #FFE66D;       /* Yellow for tertiary icons */
}

/* Universal Box Sizing - Single Definition */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Unified Font System - Consistent Typography */
html, body, * {
    font-family: 'Nunito', sans-serif;
}

body {
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
}

/* ===== CSS CLASSES TO REPLACE INLINE STYLES ===== */

/* Icon Size Classes */
.icon-large {
    font-size: 3rem;
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 0.5rem;
}

.icon-large:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Brand Color Classes for Icons */
.icon-pink {
    color: var(--brand-pink);
}

.icon-teal {
    color: var(--brand-teal);
}

.icon-yellow {
    color: var(--brand-yellow);
}

/* Brand Logo Styling */
.brand-logo {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    color: var(--brand-pink);
    margin: 0;
}

/* Contact Section Headers */
.contact-header {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Game Section Headers */
.game-header {
    color: var(--brand-pink);
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

/* Social Media Buttons */
.btn-social-custom {
    border-color: var(--brand-pink);
    color: var(--brand-pink);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-social-custom:hover {
    background-color: var(--brand-pink);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

/* Location/Contact Icons */
.contact-icon {
    color: var(--brand-pink);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Learn Page Button */
.btn-learn-custom {
    background: white;
    color: var(--brand-pink);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-learn-custom:hover {
    background: var(--brand-pink);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

/* Footer Text Styling */
.footer-text {
    font-family: 'Nunito', sans-serif;
}

.footer-link {
    color: var(--brand-pink);
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.footer-link:hover {
    border-bottom-color: var(--brand-pink);
}

/* Chat and Interactive Elements */
.chat-header {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #2C3E50;
    font-size: 2.2rem;
    text-shadow: none;
}

.chat-subtitle {
    font-size: 1.1rem;
    color: #5A6C7D;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    text-shadow: none;
}

.chat-name {
    color: #FFFFFF;
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.chat-role {
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
}

.chat-bubble {
    background: linear-gradient(135deg, #FFB6C1 0%, #FFE4E1 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 15px 15px 15px 5px;
    max-width: 85%;
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    box-shadow: 0 3px 10px rgba(255, 182, 193, 0.2);
}

/* Typing indicator animation */
@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .game-board {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
        max-width: 280px;
    }
    
    .card-face {
        font-size: 0.9rem;
        padding: 3px;
    }
    
    .card-front {
        font-size: 1.8rem;
    }
    
    .card-back.word-card {
        font-size: 0.8rem;
        letter-spacing: 0.3px;
    }
    
    .card-back.emoji-card {
        font-size: 1.8rem;
    }
    50% {
        opacity: 1;
    }
}

.chat-message {
    margin: 0;
    font-size: 0.9rem;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #E9ECEF;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'Nunito', sans-serif;
    outline: none;
}

.chat-send-btn {
    background: #FFB6C1;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    margin-left: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-response-btn {
    border: none;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.quick-response-yellow {
    background: #FFFACD;
    color: #4A4A4A;
}

.quick-response-blue {
    background: #B0E0E6;
    color: #4A4A4A;
}

/* Section Headers */
.section-header {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #2C3E50;
    font-size: 2.2rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #5A6C7D;
    line-height: 1.8;
}

.section-description {
    font-size: 1rem;
    color: #6C7B7F;
    line-height: 1.7;
}

/* Hero Section */
.hero-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: #2C3E50;
    text-shadow: none;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #5A6C7D;
    line-height: 1.6;
    text-shadow: none;
}

.hero-feature {
    font-size: 1rem;
    color: #6C7B7F;
}

.hero-cta-btn {
    background: #FF6B9D;
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

/* YouTube Section */
.youtube-title {
    color: #2C3E50;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: none;
}

.youtube-subtitle {
    color: #5A6C7D;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Nunito', sans-serif;
}

/* Video Cards */
.video-badge {
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 20px;
    font-family: 'Nunito', sans-serif;
}

.video-badge-adventure {
    background: #FFE66D;
    color: #2C3E50;
}

.video-badge-space {
    background: #FFB6C1;
    color: #4A4A4A;
}

.video-badge-geography {
    background: #B0E0E6;
    color: #4A4A4A;
}

.video-badge-science {
    background: #FFFACD;
    color: #4A4A4A;
}

.video-badge-ocean {
    background: #B0E0E6;
    color: #4A4A4A;
}

.video-badge-zoo {
    background: #FFB6C1;
    color: #4A4A4A;
}

.video-title-white {
    color: #FFFFFF;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.video-title-dark {
    color: #2C3E50;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: none;
}

.video-description-white {
    color: #FFFFFF;
    font-size: 0.9rem;
    opacity: 0.9;
    font-family: 'Nunito', sans-serif;
}

.video-description-dark {
    color: #2C3E50;
    font-size: 0.9rem;
    opacity: 0.8;
    font-family: 'Nunito', sans-serif;
}

.video-meta-white {
    color: #FFFFFF;
    font-weight: bold;
    font-family: 'Nunito', sans-serif;
}

.video-meta-dark {
    color: #2C3E50;
    font-weight: bold;
    font-family: 'Nunito', sans-serif;
}

/* Form Elements */
.form-header {
    font-family: 'Nunito', sans-serif;
    color: #2C3E50;
    font-size: 2.2rem;
    font-weight: 700;
}

.form-subtitle {
    color: #5A6C7D;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
}

.form-submit-btn {
    background: linear-gradient(135deg, #FFB6C1 0%, #FFE4E1 100%);
    border: none;
    border-radius: 15px;
    color: #4A4A4A;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(255, 182, 193, 0.2);
    transition: all 0.3s ease;
}

.form-disclaimer {
    color: #6C7B7F;
    font-family: 'Nunito', sans-serif;
}

/* Partner Section */
.partner-section-bg {
    background-color: #F8F9FA;
}

.partner-title {
    color: #2C3E50;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
}

.partner-subtitle {
    color: #5A6C7D;
    font-size: 1.1rem;
    font-family: 'Nunito', sans-serif;
}

.partner-name {
    color: #2C3E50;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Nunito', sans-serif;
}

.partner-description {
    color: #5A6C7D;
    font-size: 0.9rem;
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

/* Contact Icons */
.contact-icon-pink {
    color: #FF6B9D;
}

.contact-icon-teal {
    color: #4ECDC4;
}

.contact-icon-yellow {
    color: #FFE66D;
}

/* Social Media Buttons */
.social-btn-pink {
    border-color: #FF6B9D;
    color: #FF6B9D;
}

.social-btn-teal {
    border-color: #4ECDC4;
    color: #4ECDC4;
}

.social-btn-yellow {
    border-color: #FFE66D;
    color: #FFE66D;
}

/* Learning Page Styles */
.learning-header {
    font-family: 'Bubblegum Sans', cursive;
    color: #4A4A4A;
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.3);
}

.learning-subtitle {
    font-size: 1.1rem;
    color: #4A4A4A;
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.2);
}

.worksheet-title {
    color: #4A4A4A;
    font-family: 'Bubblegum Sans', cursive;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.2);
}

.worksheet-description {
    color: #4A4A4A;
    font-size: 0.9rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.worksheet-btn {
    background: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.worksheet-btn-pink {
    color: #FF6B9D;
}

.worksheet-btn-teal {
    color: #4ECDC4;
}

.worksheet-btn-orange {
    color: #FFA726;
}

.worksheet-btn-purple {
    color: #8E9AAF;
}

/* Stats Section */
.stats-icon {
    font-size: 2rem;
    color: #4A4A4A;
}

.stats-number {
    font-family: 'Fredoka', cursive;
    font-size: 2.2rem;
    color: #4A4A4A;
}

.stats-text {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    opacity: 0.9;
    color: #4A4A4A;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

/* Focus indicators for keyboard navigation */
.btn:focus,
.nav-link:focus,
.client-item:focus {
    outline: 3px solid var(--brand-pink);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.3);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000;
        --text-medium: #333333;
        --brand-pink: #D91A72;
        --brand-teal: #2A9D8F;
        --brand-yellow: #F4A261;
    }
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .client-item {
        animation: none;
    }
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== RESPONSIVE DESIGN ENHANCEMENTS ===== */

/* Mobile-first responsive icons */
.icon-large {
    font-size: clamp(2rem, 5vw, 3rem);
}

/* Responsive brand logo */
.brand-logo {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .btn-social-custom {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .contact-header {
        font-size: 1.1rem;
    }
    
    .icon-large {
        padding: 0.25rem;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .icon-large {
        font-size: 2.5rem;
    }
    
    .brand-logo {
        font-size: 2.4rem;
    }
}

/* ===== ANIMATION VISIBILITY ===== */

/* Ensure animations are visible */
.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}

/* Ensure smooth transitions on all interactive elements */
.client-item,
.btn,
.icon-large,
.btn-social-custom,
.footer-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* All Headings - Consistent Font */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-dark);
}

/* Main title/logo font */
.navbar-brand h1 {
    font-weight: 800;
    color: var(--primary-color);
}

/* Button text */
.btn {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Navigation links */
.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Video titles and descriptions */
.video-item h5 {
    font-weight: 700;
}

/* Game section fonts */
.memory-game h2, .memory-game h3 {
    font-weight: 700;
}

/* Paragraph text */
p {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Smooth scrolling for navigation links */
html {
    scroll-behavior: smooth;
}

/* Meet Wishy Section Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

/* Button hover effect for Meet Wishy section */
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.3) !important;
}

/* Client Section Styles */
.client-item {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
}

.client-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2) !important;
    border-color: var(--primary-color);
}

.client-item img {
    transition: all 0.3s ease;
    border: 3px solid var(--light);
}

.client-item:hover img {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.client-item h6 {
    transition: color 0.3s ease;
    color: var(--text-dark);
}

.client-item:hover h6 {
    color: var(--primary-color);
}

/* Floating animation for client items */
@keyframes clientFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.client-item {
    animation: clientFloat 3s ease-in-out infinite;
}

.client-item:nth-child(2n) {
    animation-delay: 0.5s;
}

.client-item:nth-child(3n) {
    animation-delay: 1s;
}

.client-item:nth-child(4n) {
    animation-delay: 1.5s;
}

.client-item:nth-child(5n) {
    animation-delay: 2s;
}

.client-item:nth-child(6n) {
    animation-delay: 2.5s;
}

/* Sparkle effect */
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

.client-item::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 20px;
    animation: sparkle 2s infinite;
    opacity: 0;
}

.client-item:hover::before {
    opacity: 1;
}

/* End Client Section Styles */

/********** Template CSS **********/
:root {
    /* Harmonious 4-Color Palette */
    --primary: var(--primary-color);     /* #FF6B9D - Soft Pink */
    --secondary: var(--secondary-color); /* #4ECDC4 - Turquoise */
    --accent: var(--accent-color);       /* #FFE66D - Warm Yellow */
    --neutral: var(--neutral-color);     /* #6C7B7F - Soft Gray */
    --light: var(--neutral-light);       /* #F8F9FA - Very light gray */
    --dark: var(--text-dark);            /* #2C3E50 - Dark text */
}

/* Remove all margins and padding for full width */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden;
    background: var(--light) !important;
}

/* Ensure all containers take full width */
.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

.container-xxl {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/* YouTube Video Section Enhancements */
.video-item {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.video-item:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.2) !important;
    z-index: 10;
}

.video-item iframe {
    transition: all 0.3s ease;
}

.video-item:hover iframe {
    transform: scale(1.02);
}

/* Floating animation for badges */
.video-item .badge {
    animation: float 3s ease-in-out infinite;
    background: var(--primary-color) !important;
}

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

/* Pulse animation for new video indicator */
.video-item:first-child .badge {
    animation: pulse 2s infinite;
    background: var(--accent-color) !important;
    color: var(--text-dark) !important;
}

/* Memory Game Styles */
.game-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    perspective: 1000px;
}

.memory-card {
    aspect-ratio: 1;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.15);
    border: 3px solid var(--text-light);
    background: transparent;
}

.memory-card:hover:not(.flipped) {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.25);
}

.memory-card.flipped {
    transform: rotateY(180deg);
}

.memory-card.matched {
    transform: rotateY(180deg) scale(1.05);
    box-shadow: 0 0 30px rgba(78, 205, 196, 0.8);
    border-color: var(--secondary-color);
    animation: matchedPulse 1s ease-in-out;
    pointer-events: none;
}

@keyframes matchedPulse {
    0%, 100% { transform: rotateY(180deg) scale(1.05); }
    50% { transform: rotateY(180deg) scale(1.15); }
}

.card-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.card-front {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transform: rotateY(0deg);
    z-index: 2;
}

.card-back {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--accent-light) 100%);
    color: var(--text-dark);
    transform: rotateY(-180deg);
    font-family: 'Nunito', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.card-back.word-card {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-back.emoji-card {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--primary-light) 100%);
    font-size: 2.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Game disabled state */
.game-board.disabled {
    pointer-events: none;
    opacity: 0.7;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .game-board {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 15px;
        max-width: 350px;
    }
    
    .card-face {
        font-size: 1rem;
        padding: 5px;
    }
    
    .card-front {
        font-size: 2rem;
    }
    
    .card-back.word-card {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .card-back.emoji-card {
        font-size: 2rem;
    }
    
    .card-front {
        font-size: 2rem;
    }
    
    .card-back.emoji-card {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .game-board {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
    }
    
    .card-face {
        font-size: 0.9rem;
    }
    
    .card-front {
        font-size: 1.5rem;
    }
    
    .card-back.emoji-card {
        font-size: 1.8rem;
    }
}

/* Game button animations */
#startGame, #resetGame {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 25px !important;
}

#startGame:hover, #resetGame:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

#startGame:active, #resetGame:active {
    transform: translateY(0);
}

/* Fix for all square elements - Client Items, Contact Info, Statistics, Buttons */

/* Client items in trusted partners section */
.client-item, .client-item img, .client-item .client-text {
    border-radius: 20px !important;
    overflow: hidden;
}

.client-item {
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
    transition: all 0.3s ease;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Contact information sections */
.contact-info, .contact-item, .footer .mb-2 {
    border-radius: 15px !important;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Statistics section styling */
.stat-item, .counter-item, .fact-item {
    border-radius: 25px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    margin: 15px 0;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover, .counter-item:hover, .fact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* Statistics numbers and text */
.stat-number, .counter-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ff6b6b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Bubblegum Sans', cursive;
}

.stat-text, .counter-text {
    font-size: 1.1rem;
    color: #4A4A4A;
    font-weight: 600;
    margin-top: 10px;
    font-family: 'Nunito', sans-serif;
}

/* Join Our Adventure button and Subscribe section */
.subscribe-section, .join-section {
    border-radius: 30px !important;
    background: linear-gradient(145deg, rgba(255, 182, 193, 0.2), rgba(255, 250, 205, 0.2));
    border: 4px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 30px 0;
}

.subscribe-btn, .join-btn, .adventure-btn {
    border-radius: 25px !important;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border: none;
    color: white;
    font-weight: bold;
    padding: 15px 30px;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    font-family: 'Fredoka', cursive;
}

.subscribe-btn:hover, .join-btn:hover, .adventure-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
}

/* Get In Touch section */
.contact-section, .get-in-touch {
    border-radius: 25px !important;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin: 20px 0;
}

/* Location, Call Us, Email Us items */
.location-item, .call-item, .email-item {
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.location-item:hover, .call-item:hover, .email-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Footer contact information */
.footer .mb-2 {
    border-radius: 15px !important;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    margin: 8px 0;
    transition: all 0.3s ease;
}

.footer .mb-2:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

/* Social media buttons */
.btn-social {
    border-radius: 50% !important;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.btn-social:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Newsletter signup */
.newsletter-section {
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.newsletter-section input {
    border-radius: 25px !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-section button {
    border-radius: 20px !important;
}

/* Game section buttons additional styling */
.game-controls button {
    border-radius: 25px !important;
    margin: 10px;
    padding: 15px 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Memory game cards */
.game-card, .memory-card {
    border-radius: 15px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-card:hover, .memory-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Additional rounded elements */
.rounded-element, .card, .alert, .modal-content {
    border-radius: 20px !important;
}

/* Ensure all buttons are rounded */
.btn, button {
    border-radius: 20px !important;
    transition: all 0.3s ease;
}

.btn:hover, button:hover {
    transform: translateY(-2px);
}

/* Form inputs */
input, textarea, select {
    border-radius: 15px !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.3);
}

/* Success animation */
@keyframes celebration {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

#successMessage .alert {
    animation: celebration 0.8s ease-in-out;
    border: 3px solid #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

/* End Memory Game Styles */

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Sparkle effect for section title */
.youtube-title {
    position: relative;
    overflow: hidden;
}

.youtube-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    animation: sparkle 4s linear infinite;
    font-size: 1.5rem;
}

.youtube-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    animation: sparkle 4s linear infinite reverse;
    font-size: 1.2rem;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

/* Bouncing animation for emojis in descriptions */
.video-item p {
    position: relative;
}

/* Add some playful hover effects for the entire section */
.youtube-section {
    position: relative;
    overflow: hidden;
}

.youtube-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    pointer-events: none;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Make the video cards more responsive and kid-friendly */
@media (max-width: 768px) {
    .video-item {
        transform: none !important;
        margin-bottom: 2rem;
    }
    
    .video-item:hover {
        transform: scale(1.02) !important;
    }
}

/* Add some fun loading animation */
.video-item iframe {
    position: relative;
}

.video-item iframe::before {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 107, 107, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-family: 'Fredoka', cursive;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
    border-radius: 25px !important;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
    border-radius: 20px !important;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
    border-radius: 25px !important;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 25px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease !important;
}

/* Back to top button specific styling */
.back-to-top {
    border-radius: 25px !important;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3) !important;
}

/* Comprehensive rounded corners for ALL elements */
.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
    border-radius: 20px !important;
}

.row {
    border-radius: 15px !important;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
.col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 {
    border-radius: 15px !important;
}

/* Background elements */
.bg-primary, .bg-secondary, .bg-success, .bg-danger, .bg-warning, .bg-info, .bg-light, .bg-dark {
    border-radius: 20px !important;
}

/* Padding and margin elements that might create boxes */
.p-1, .p-2, .p-3, .p-4, .p-5, .px-1, .px-2, .px-3, .px-4, .px-5, .py-1, .py-2, .py-3, .py-4, .py-5,
.pt-1, .pt-2, .pt-3, .pt-4, .pt-5, .pb-1, .pb-2, .pb-3, .pb-4, .pb-5, .pl-1, .pl-2, .pl-3, .pl-4, .pl-5, .pr-1, .pr-2, .pr-3, .pr-4, .pr-5,
.m-1, .m-2, .m-3, .m-4, .m-5, .mx-1, .mx-2, .mx-3, .mx-4, .mx-5, .my-1, .my-2, .my-3, .my-4, .my-5,
.mt-1, .mt-2, .mt-3, .mt-4, .mt-5, .mb-1, .mb-2, .mb-3, .mb-4, .mb-5, .ml-1, .ml-2, .ml-3, .ml-4, .ml-5, .mr-1, .mr-2, .mr-3, .mr-4, .mr-5 {
    border-radius: 15px !important;
}

/* Navbar and navigation elements */
.navbar, .nav, .nav-item, .nav-link {
    border-radius: 20px !important;
}

/* Modal and popup elements */
.modal, .modal-dialog, .modal-content, .modal-header, .modal-body, .modal-footer {
    border-radius: 25px !important;
}

/* Alert and notification elements */
.alert, .alert-primary, .alert-secondary, .alert-success, .alert-danger, .alert-warning, .alert-info, .alert-light, .alert-dark {
    border-radius: 20px !important;
}

/* List group elements */
.list-group, .list-group-item {
    border-radius: 15px !important;
}

/* Dropdown elements */
.dropdown, .dropdown-menu, .dropdown-item {
    border-radius: 15px !important;
}

/* Badge elements */
.badge {
    border-radius: 20px !important;
}

/* Progress bars */
.progress, .progress-bar {
    border-radius: 25px !important;
}

/* Carousel elements */
.carousel, .carousel-inner, .carousel-item {
    border-radius: 20px !important;
}

/* Accordion elements */
.accordion, .accordion-item, .accordion-header, .accordion-body {
    border-radius: 15px !important;
}

/* Tab elements */
.nav-tabs, .nav-pills, .tab-content, .tab-pane {
    border-radius: 15px !important;
}



/* Specific overrides for elements that should remain square */
.border-0, .rounded-0 {
    border-radius: 0 !important;
}

/* Ensure images and media are rounded */
img, video, iframe, embed, object {
    border-radius: 15px !important;
}

/* Social media buttons and icons */
.btn-social, .social-btn, .fab, .fas, .far {
    border-radius: 20px !important;
}



/* Specific elements that commonly appear square */
.position-relative, .position-absolute, .position-fixed, .position-sticky {
    border-radius: 15px !important;
}

/* Ensure all Bootstrap utility classes are rounded */
.d-block, .d-inline-block, .d-flex, .d-inline-flex {
    border-radius: 15px !important;
}

/* Text and content containers */
.text-center, .text-left, .text-right, .text-justify {
    border-radius: 10px !important;
}

/* Spacing utilities */
.w-100, .h-100, .mw-100, .mh-100 {
    border-radius: 15px !important;
}

/* Override for elements that should definitely be rounded */
.wow, .fadeIn, .fadeInUp, .fadeInDown, .fadeInLeft, .fadeInRight {
    border-radius: 15px !important;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: 'Lobster Two', cursive;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: 'Lobster Two', cursive;
}


/*** Navbar ***/
/* Enhanced navbar centering */
.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.navbar .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}



.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

/* Learn page specific hero background - Full Screen */
body.learn-page .page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../Public/learn-fullscreen-bg.jpg) center center no-repeat;
    background-size: cover;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Games page full screen hero section */
body.games-page .page-header {
    min-height: 100vh !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center center !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Facility ***/
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .9);
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}


/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Footer header font standardization */
.footer h3 {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 700 !important;
}

/* Flying Wishy Animation */
@keyframes flyAcross {
    0% {
        left: -200px;
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-20px);
    }
    50% {
        transform: translateY(10px);
    }
    75% {
        transform: translateY(-15px);
    }
    100% {
        left: calc(100% + 200px);
        transform: translateY(0px);
    }
}

#flying-wishy, #flying-wishy-home {
    position: absolute;
    width: 180px;
    height: auto;
    top: 20%;
    z-index: 10;
    animation: flyAcross 8s linear infinite;
}

/* Smooth scrolling for entire website */
html {
    scroll-behavior: smooth;
}

body {
    scroll-behavior: smooth;
}

/* Hover effects for facility items */
.facility-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

/* ========== COMPREHENSIVE ICON & IMAGE ROUNDED CORNERS ========== */

/* All Icons - FontAwesome, Bootstrap Icons, etc. */
i, .icon, [class*="fa-"], [class*="bi-"], [class*="icon-"] {
    border-radius: 8px !important;
    padding: 2px;
    transition: all 0.3s ease;
}

/* Icon containers and buttons with icons */
.btn i, .btn [class*="fa-"], .btn [class*="bi-"] {
    border-radius: 6px !important;
    padding: 1px;
}

/* Social media icons */
.btn-social, .btn-social i, .btn-social [class*="fa-"] {
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

.btn-social:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* All Images */
img, .img, .image {
    border-radius: 15px !important;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Specific image types */
.img-fluid {
    border-radius: 15px !important;
}

.img-thumbnail {
    border-radius: 20px !important;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rounded-circle {
    border-radius: 50% !important;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Figure elements */
.figure, figure {
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.figure-img {
    border-radius: 15px !important;
}

.figure-caption {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 15px 15px !important;
    padding: 10px;
    margin: 0;
}

/* Avatar and profile images */
.avatar, .profile-img, .user-img {
    border-radius: 50% !important;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Logo images */
.logo, .navbar-brand img, .brand-img {
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.logo:hover, .navbar-brand img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Video thumbnails and media */
.video-thumbnail, .media-img, .video-item img {
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Card images */
.card-img, .card-img-top, .card-img-bottom {
    border-radius: 15px !important;
    margin: 5px;
}

.card-img-overlay {
    border-radius: 15px !important;
}

/* Gallery and carousel images */
.carousel-item img, .gallery-img, .slider-img {
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Team member images */
.team-img, .member-img, .staff-img {
    border-radius: 50% !important;
    border: 5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.team-img:hover, .member-img:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

/* Testimonial images */
.testimonial-img, .review-img, .client-img {
    border-radius: 50% !important;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Icon backgrounds and containers */
.icon-container, .icon-box, .feature-icon {
    border-radius: 20px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

/* Navbar toggler icon */
.navbar-toggler, .navbar-toggler-icon {
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Back to top button */
.back-to-top {
    border-radius: 50% !important;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3) !important;
    transition: all 0.3s ease !important;
}

.back-to-top:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.4) !important;
}

/* Facility and feature icons */
.facility-icon, .feature-icon, .service-icon {
    border-radius: 20px !important;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.facility-icon:hover, .feature-icon:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Statistics and counter icons */
.stat-icon, .counter-icon, .number-icon {
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.stat-icon:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Hover effects for all images */
img:hover, .img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Ensure rounded corners for any remaining square elements */
.square, .box, .tile, .panel {
    border-radius: 15px !important;
    transition: all 0.3s ease;
}

/* Special handling for small icons */
i.small, .icon.small, .fa-sm {
    border-radius: 4px !important;
    padding: 1px;
}

/* Large icons */
i.large, .icon.large, .fa-lg, .fa-2x, .fa-3x {
    border-radius: 12px !important;
    padding: 4px;
}

/* Ensure all SVG icons are rounded */
svg, .svg-icon {
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

/* ========== SPECIFIC ELEMENT OVERRIDES ========== */

/* Navbar logo specific styling */
.navbar-brand img[src*="NiLOO KiDs_logoo"] {
    border-radius: 20px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand img[src*="NiLOO KiDs_logoo"]:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Wishy character images */
img[src*="wishy"], img[src*="Wishy"] {
    border-radius: 50% !important;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
}

img[src*="wishy"]:hover, img[src*="Wishy"]:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 12px 35px rgba(78, 205, 196, 0.3);
}

/* Flying Wishy images - no circular border */
#flying-wishy, #flying-wishy-home {
    border-radius: 15px !important;
    border: none !important;
    box-shadow: none !important;
}

/* Profile and YouTube images */
img[src*="profile youtube"] {
    border-radius: 50% !important;
    border: 5px solid #FF6B9D;
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.2);
}

/* Background images */
img[src*="background"], img[src*="Background"] {
    border-radius: 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Learning adventure images */
img[src*="Lucid_Realism"] {
    border-radius: 25px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

img[src*="Lucid_Realism"]:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* Class and educational images */
img[src*="classes-"], img[src*="team-"], img[src*="testimonial-"] {
    border-radius: 15px !important;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

img[src*="classes-"]:hover, img[src*="team-"]:hover, img[src*="testimonial-"]:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* User profile images */
img[src*="user.jpg"] {
    border-radius: 50% !important;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}



/* Owl Carousel images */
.owl-carousel .owl-item img {
    border-radius: 15px !important;
    transition: all 0.3s ease;
}

.owl-carousel .owl-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Video play icons and controls */
.owl-video-play-icon {
    border-radius: 50% !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.owl-video-play-icon:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* Bootstrap carousel controls */
.carousel-control-prev-icon, .carousel-control-next-icon {
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Form check and radio inputs */
.form-check-input {
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

.form-check-input[type="radio"] {
    border-radius: 50% !important;
}

/* Accordion buttons */
.accordion-button {
    border-radius: 15px !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    border-radius: 15px 15px 0 0 !important;
}

/* Close buttons */
.btn-close {
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

.btn-close:hover {
    transform: scale(1.1) rotate(90deg);
}

/* Navbar toggler */
.navbar-toggler {
    border-radius: 10px !important;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Ensure all remaining square elements are rounded */
.square, [class*="square"], .box, [class*="box"] {
    border-radius: 15px !important;
    transition: all 0.3s ease;
}

/* Override any remaining border-radius: 0 */
* {
    border-radius: inherit;
}

*[style*="border-radius: 0"] {
    border-radius: 10px !important;
}

/* Final catch-all for any missed elements */
div, section, article, aside, header, footer, main, nav {
    border-radius: inherit;
}



/* ========== END COMPREHENSIVE ICON & IMAGE STYLING ========== */

/* ========== BOLD TEXT STYLING WITH BUBBLEGUM SANS ========== */
/* Bold text styling with Bubblegum Sans font */
b, strong, .fw-bold, .font-weight-bold, h1, h2, h3, h4, h5, h6 {
    font-family: 'Bubblegum Sans', cursive !important;
}

/* Additional bold elements */
.btn, .navbar-brand, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Bubblegum Sans', cursive !important;
}

/* Card titles and important text */
.card-title, .card-header, .modal-title, .alert-heading {
    font-family: 'Bubblegum Sans', cursive !important;
}

/* Navigation and menu items */
.nav-link, .navbar-nav .nav-link, .dropdown-item {
    font-family: 'Bubblegum Sans', cursive !important;
    font-weight: 600 !important;
}

/* Form labels and important form elements */
.form-label, .form-control::placeholder, .form-select {
    font-family: 'Bubblegum Sans', cursive !important;
}

/* Badge and pill elements */
.badge, .pill, .tag {
    font-family: 'Bubblegum Sans', cursive !important;
}

/* Override footer h3 to use Bubblegum Sans instead of Nunito */
.footer h3 {
    font-family: 'Bubblegum Sans', cursive !important;
    font-weight: 700 !important;
}
/* ========== END BOLD TEXT STYLING ========== */

/* ========== FUN FACTS ANIMATIONS ========== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 30px rgba(255, 182, 193, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 40px rgba(255, 182, 193, 0.4);
    }
}

/* Hover effects for fact items */
.fact-item:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
}

.fact-item:hover .fact-icon > div {
    transform: scale(1.1) rotate(5deg);
    animation-duration: 1s;
}

.fact-item:hover h2 {
    transform: scale(1.1);
    text-shadow: 3px 3px 8px rgba(255,255,255,0.6);
}
/* ========== END FUN FACTS ANIMATIONS ========== */

/* ========== CHAT SECTION ANIMATIONS ========== */
@keyframes chatGlow {
    0% {
        box-shadow: 0 20px 50px rgba(30, 144, 255, 0.2);
    }
    100% {
        box-shadow: 0 25px 60px rgba(30, 144, 255, 0.4);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

/* Chat input hover effects */
#chatInput:focus {
    border-color: #4FC3F7 !important;
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.3) !important;
    transform: scale(1.02);
}

/* Chat button hover effects */
#sendButton:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.5) !important;
}

/* Quick response button hover effects */
.quick-responses button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2) !important;
}

/* Chat container responsive animations */
@media (max-width: 768px) {
    .chat-container {
        margin: 0 10px;
    }
    
    #chatInput {
        font-size: 0.9rem !important;
    }
    
    .quick-responses button {
        font-size: 0.8rem !important;
        padding: 8px 12px !important;
    }
}
/* ========== END CHAT SECTION ANIMATIONS ========== */
