
body {
    font-family: 'Nunito', sans-serif;
    background-color: #F0F4FF;
    color: #2D3748;
}
.hero {
    background: url("/image/crib.png") center/cover no-repeat transparent;
    position: relative;
    padding: 50px 0;
    text-align: center;
    color: white;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.hero h1, .hero p {
    position: relative;
    z-index: 2;
}
.hero form {
    position: relative;
    z-index: 3; /* Ensures the form (and search box) is above the overlay */
}
.logo {
    width: 350px;
    margin-bottom: 20px;
}
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
}
.btn-primary {
    background-color: #FFD1DC;
    border-color: #FFD1DC;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
}
.btn-primary:hover {
    background-color: #FFB6C1;
    border-color: #FFB6C1;
}
.input-group input {
    border-radius: 25px 0 0 25px;
}
.input-group button {
    border-radius: 0 25px 25px 0;
}
.ad-space {
    background: #ddd;
    height: 90px;
    width: 728px;
    margin: 0 auto;
    text-align: center;
    line-height: 90px;
}
.hidden {
    display: none;
}
#footer{
    background-color: #C0C7CB;
    padding: 20px;
    text-align: center;
}
#boysCard .card {
    background-color: #ADD8E6; /* Light blue for boys */
    color: #2D3748;           /* Dark gray text for readability */
}

#girlsCard .card {
    background-color: #FFB6C1; /* Light pink for girls */
    color: #2D3748;           /* Dark gray text for readability */
}

#boysCard .badge {
    background-color: #3498DB; /* Medium blue for boys' badge */
    color: white;             /* White text for contrast */
}

#girlsCard .badge {
    background-color: #FF69B4; /* Hot pink for girls' badge */
    color: white;             /* White text for contrast */
}

@media (max-width: 768px) {
    .ad-space {
        width: 100%;
        height: 60px;
    }
}
