:root {
    --primary-sage: #8A9A5B;
    --soft-cream: #F9F7F2;
    --dark-earth: #4A4A4A;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--soft-cream);
    color: var(--dark-earth);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
}

.navbar {
    background-color: rgba(249, 247, 242, 0.95);
}

/* UPDATED HERO SECTION */
#hero-section {
    position: relative;
    min-height: 90vh; /* Full screen feel */
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 70% 50%, #eef1e6 0%, #F9F7F2 60%);
}

.hero-text {
    z-index: 2;
}

/* This container holds the animation */
.animation-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.teacher-frame {
    position: relative;
    display: inline-block;
    margin-top: -60px;
    z-index: 2;
}

.teacher-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 6px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.teacher-photo:hover {
    transform: scale(1.05);
}

.class-card {
    border: none;
    border-radius: 15px;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(138, 154, 91, 0.2);
}

.btn-sage {
    background-color: var(--primary-sage);
    color: white;
    border-radius: 30px;
    padding: 12px 35px;
    border: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-sage:hover {
    background-color: #728248;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 154, 91, 0.3);
    color: white;
}

.text-sage { color: var(--primary-sage); }
