/* KIDS FRIENDLY THEME OVERHAUL */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&display=swap');

:root {
    /* Arabic typography — match professional_style.css */
    --arabic-font: 'Scheherazade New', 'Amiri', 'Traditional Arabic', serif;
    /* Fun Vibrant Palette */
    --color-blue: #4CC9F0;
    --color-purple: #7209B7;
    --color-pink: #F72585;
    --color-yellow: #FFD60A;
    /* Use sparingly as accent */
    --color-orange: #FB5607;

    --bg-clouds: #F0F7FF;

    --card-radius: 24px;
    --btn-radius: 50px;
}

body {
    background-color: var(--bg-clouds);
    font-family: 'Fredoka', 'Outfit', sans-serif;
    /* Soft rounded font */
    color: #2B2D42;
    /* Dotted background pattern */
    background-image: radial-gradient(#4CC9F0 1.5px, transparent 1.5px), radial-gradient(#4CC9F0 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

/* Kids Cards */
.card-kids {
    border: none;
    border-radius: var(--card-radius);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bounce effect */
    box-shadow: 0 10px 0px rgba(0, 0, 0, 0.05);
    /* chunky shadow */
    cursor: pointer;
    overflow: hidden;
    position: relative;
    color: white;
}

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

.card-kids:active {
    transform: translateY(2px);
    box-shadow: 0 5px 0px rgba(0, 0, 0, 0.1);
}

/* Card Colors */
.card-blue {
    background: linear-gradient(135deg, #4CC9F0, #4895EF);
}

.card-purple {
    background: linear-gradient(135deg, #B5179E, #7209B7);
}

.card-pink {
    background: linear-gradient(135deg, #F72585, #B5179E);
}

.card-gray {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    color: #6c757d;
}

.kids-icon-bg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-purple {
    color: var(--color-purple);
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.font-arabic {
    font-family: var(--arabic-font);
}

/* Bubbly Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 4px solid rgba(0, 0, 0, 0.05);
    /* Chunky border */
    padding: 1rem 0;
}

.nav-link {
    font-weight: 600;
    color: #2B2D42 !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 50px;
    transition: all 0.2s;
}

.nav-link:hover {
    background-color: var(--color-blue);
    color: white !important;
    transform: scale(1.05);
}

/* Bubble Buttons */
.btn-primary {
    background-color: var(--color-blue);
    border: none;
    border-bottom: 4px solid #3A9BC0;
    /* 3D effect */
    border-radius: 50px;
    font-weight: 700;
    padding: 0.8rem 2rem;
    transition: all 0.1s;
}

.btn-primary:hover {
    background-color: #4895EF;
    border-bottom: 4px solid #3f80d1;
    transform: translateY(-2px);
}

.btn-primary:active {
    border-bottom: 0px solid transparent;
    transform: translateY(4px);
}



/* Animations */
@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.bounce-in {
    animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Form Styles Override for Kids */
.form-control {
    border-radius: 50px;
    border: 3px solid #e9ecef;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

.form-control:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 0.25rem rgba(76, 201, 240, 0.25);
}