/* School Buddy Page CSS - Professional */
:root {
    --primary-color: #002147;
    --secondary-color: #F2A900;
    --dark-text: #333333;
    --light-bg: #F8F9FA;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Import a fun font for this child-centric page */
@import url('https://fonts.googleapis.com/css2?family=Bubblegum+Sans&family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: var(--font-body);
    color: var(--dark-text);
}

h1, h2, h3 {
    font-family: var(--font-heading);
}

.sb-hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1577896335477-28d824244606?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center bottom;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 76px;
    border-bottom-left-radius: 50% 50px;
    border-bottom-right-radius: 50% 50px;
}

.sb-hero h1 {
    font-size: 4.5rem;
    text-shadow: 3px 3px 0px var(--primary-color);
}

.sb-section {
    padding: 80px 0;
}

.sb-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    border: 3px solid;
}

.sb-card.teacher { border-color: var(--primary-color); }
.sb-card.student { border-color: var(--secondary-color); }

.sb-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.icon-box.red { background-color: var(--primary-color); }
.icon-box.teal { background-color: var(--secondary-color); }

.program-details {
    background-color: var(--light-bg);
    border-radius: 30px;
    padding: 50px;
    margin-top: 50px;
}

.impact-stat {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.cta-section {
    background: var(--secondary-color);
    text-align: center;
    padding: 80px 0;
    color: white;
}

.btn-buddy {
    background: white;
    color: var(--secondary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 5px 0 rgba(0,0,0,0.1);
    transition: all 0.2s;
}

.btn-buddy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 rgba(0,0,0,0.1);
}
