/* ✅ Hero Section with Video Overlay */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Darkens video so text is readable */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* ✅ Phase Cards (Learning Hub) */
.phase-card {
    border: none;
    border-radius: 20px;
    padding: 40px 20px;
    transition: 0.3s;
    height: 100%;
}

.phase-card:hover {
    transform: translateY(-10px);
}

.phase-yellow { background-color: var(--phase-yellow); }
.phase-blue { background-color: var(--phase-blue); }
.phase-purple { background-color: var(--phase-purple); }

/* ✅ Horizontal Gallery Slider */
.gallery-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
}

.art-card {
    flex: 0 0 280px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.art-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.art-card h3 {
    padding: 15px;
    font-size: 1.1rem;
    text-align: center;
}

/* ✅ Parents' Corner */
.parents-section {
    background: white;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}