/* Nursery Hero Section */
.nursery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/esiteri2.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 72px;
}

.nursery-hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.nursery-hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Teacher Section */
.teacher {
    padding: 4rem 2rem;
    background-color: white;
}

.teacher-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.teacher-photo {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.teacher-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.teacher-info h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.teacher-info h3 {
    font-size: 1.3rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.teacher-contact {
    margin-top: 2rem;
}

.teacher-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.teacher-contact i {
    margin-right: 10px;
    color: #3498db;
}

/* Features Section */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
}

/* Statistics Section */
.stats {
    padding: 4rem 2rem;
    background-color: white;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 0.5rem;
}

.stat-card h4 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.stat-card p {
    font-size: 1.1rem;
    color: #555;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    color: #3498db;
    opacity: 0.1;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
}

.author-info h4 {
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: #777;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nursery-hero-content h2 {
        font-size: 2rem;
    }

    .nursery-hero-content p {
        font-size: 1rem;
    }

    .teacher-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .teacher-contact {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nursery-hero {
        height: 50vh;
    }

    .nursery-hero-content h2 {
        font-size: 1.8rem;
    }
}