:root {
    --primary-color: #FF9F43;
    /* Warm Orange */
    --secondary-color: #FF6B6B;
    /* Soft Pink */
    --accent-color: #FEF9E7;
    /* Cream */
    --text-color: #2d3436;
    --navbar-height: 60px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding-bottom: var(--navbar-height);
    /* Space for bottom navbar on mobile */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Navbar */
.navbar-top {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: bold;
    color: var(--secondary-color) !important;
    font-size: 1.5rem;
}

/* Bottom Navbar (Mobile) */
.bottom-navbar {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--accent-color);
    /* Cream background */
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.bottom-nav-item {
    text-align: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: color 0.3s;
}

.bottom-nav-item.active {
    color: var(--secondary-color);
    font-weight: bold;
}

.bottom-nav-item i {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 4px;
}

/* Floating Center Button */
.bottom-nav-item.center-fab {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    background-color: var(--secondary-color);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid white;
    flex: none;
    /* Don't stretch */
}

.bottom-nav-item.center-fab i {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.bottom-nav-item.center-fab span {
    display: none;
    /* Hide text for the FAB */
}

.bottom-nav-item.center-fab.active {
    color: white;
    background-color: #ff5252;
}

/* Spacer for center button */
.nav-spacer {
    flex: 1;
    pointer-events: none;
}

/* Hero Section with Parallax */
.hero-section {
    background-image: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    /* Placeholder warm image */
    height: 60vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn-warm {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    transition: transform 0.2s;
}

.btn-warm:hover {
    background-color: #ff5252;
    color: white;
    transform: scale(1.05);
}

/* Cards */
.child-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    background: white;
    margin-bottom: 20px;
}

.child-card:hover {
    transform: translateY(-5px);
}

.child-card img {
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary-color);
}

/* Custom Cards (New Design) */
.custom-card {
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Pastel Backgrounds */
.bg-pastel-purple {
    background-color: #E0D4FC;
}

.bg-pastel-blue {
    background-color: #D4E6FC;
}

.bg-pastel-yellow {
    background-color: #FCF6D4;
}

.bg-pastel-green {
    background-color: #D4FCE0;
}

.bg-pastel-pink {
    background-color: #FCD4D4;
}

/* Ripple Effect */
.ripple-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.ripple-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.ripple-circle:nth-child(1) {
    width: 120%;
    padding-bottom: 120%;
}

.ripple-circle:nth-child(2) {
    width: 100%;
    padding-bottom: 100%;
}

.ripple-circle:nth-child(3) {
    width: 80%;
    padding-bottom: 80%;
}

.ripple-circle:nth-child(4) {
    width: 60%;
    padding-bottom: 60%;
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.card-img-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
}

.custom-card h6 {
    color: #4a4a4a;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.percentage-badge {
    background: rgba(255, 255, 255, 0.8);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    display: inline-block;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: white;
    padding: 40px 0;
    margin-top: 50px;
    text-align: center;
    color: #636e72;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-top {
        display: block;
        /* Show top navbar */
        padding: 10px 0;
    }

    .navbar-top .navbar-collapse {
        display: none !important;
        /* Hide the menu items */
    }

    .navbar-top .container {
        justify-content: center;
        /* Center the brand */
    }

    .navbar-brand {
        margin-right: 0;
        font-size: 1.2rem;
    }

    .bottom-navbar {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    /* Adjust body padding for both top and bottom navs */
    body {
        padding-top: 60px;
        /* Space for fixed top nav */
        padding-bottom: 70px;
        /* Space for bottom nav */
    }
}