/* Hero section */
.hero {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 10px 0;
    text-align: center;
}

.hero-content {
    width: 100%;
}

.hero-content h1 {
    font-size: 36px;
    font-weight: 100;
    line-height: 1.2;
}

.hero p {
    font-size: 16px;
    color: #4A332F;
    line-height: 1.6;
    margin-bottom: 30px;
}


.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.kid-image {
    height: auto;
    max-width: 70%;
    object-fit: contain;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* FAQ section */
.faq-section {
    padding: 60px 0;
    text-align: center;
    background-color: #FDF7F7;
}

.faq-section details {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(75, 44, 36, 0.08);
    margin-bottom: 16px;
    text-align: left;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-section details:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 44, 36, 0.12);
}

.faq-section summary {
    padding: 18px 36px;
    font-weight: 600;
    color: #4B2C24;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    outline: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

.faq-section summary::-webkit-details-marker {
    display: none;
}

.faq-section summary::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
    color: #E8A798;
    transition: transform 0.3s ease;
}

.faq-section details[open] summary::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.faq-section details[open] summary {
    background-color: rgba(232, 167, 152, 0.05);
    border-bottom: 1px solid rgba(232, 167, 152, 0.2);
}

.faq-section p {
    color: #4A332F;
    font-size: 16px;
    line-height: 1.8;
    padding: 20px 24px;
    margin: 0;
}

/* Contact section */
.contact-section {
    padding: 60px 0;
    text-align: center;
    background-color: #FDF7F7;
}

.contact-text {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    max-width: 640px;
}

.contact-info {
    font-style: normal;
}

.contact-phone,
.contact-email,
.contact-address {
    font-weight: 500;
    color: #4B2C24;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: #4B2C24;
}

.contact-phone a,
.contact-email a,
.contact-address a {
    font-weight: 500;
    color: #4B2C24;
    text-decoration: none;
    font-style: italic;
}

.contact-hours {
    margin-top: 16px;
    color: #4B2C24;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.contact-section p {
    color: #4A332F;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Section heading scale */
#services-highlight-heading,
.testimonials-section .section-heading {
    font-size: clamp(2rem, 2.5vw + 0.9rem, 2.5rem);
    font-weight: 700;
}

/* Testimonials section */
.testimonials-section .section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial {
    background-color: white;
    border-radius: 10px;
    padding: 30px 70px;
    box-shadow: 0 3px 10px rgba(75, 44, 36, 0.08);
    width: 100%;
    min-height: 250px;
    flex-shrink: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-stars {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    color: #4A332F;
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial-author {
    text-align: right;
    font-weight: 600;
    color: #4B2C24;
    margin: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #4B2C24;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: #E8A798;
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #D4B196;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background-color: #4B2C24;
}

@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 160px 0;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 54px;
    }

    .cta-group {
        flex-direction: row;
        gap: 20px;
        justify-content: flex-start;
    }

    .cta-button-primary,
    .cta-button-secondary {
        width: auto;
    }

    .hero-image {
        width: 51%;
    }

    .kid-image {
        height: 400px;
        max-width: 100%;
    }

    .contact-text {
        text-align: left;
    }

    .testimonials-section {
        padding: 0 80px;
    }

    .carousel-container {
        max-width: 1000px;
    }

    .carousel-btn-prev {
        left: 20px;
    }

    .carousel-btn-next {
        right: 20px;
    }

    .testimonial {
        padding: 40px 90px;
        min-height: 280px;
    }

}


/* Services highlight section */
.services-highlight {
    padding: 60px 0;
}

.services-highlight .section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, var(--card-bg-start) 0%, var(--card-bg-end) 100%);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    min-height: 400px;
}

/* Individual card pastel color schemes */
.service-card:nth-child(1) {
    --card-bg-start: #FFE8E0;
    --card-bg-end: #FFF4F0;
}

.service-card:nth-child(2) {
    --card-bg-start: #E8F5F1;
    --card-bg-end: #F0FAF7;
}

.service-card:nth-child(3) {
    --card-bg-start: #F0E8F5;
    --card-bg-end: #F8F4FA;
}

.service-card:nth-child(4) {
    --card-bg-start: #FFF8E0;
    --card-bg-end: #FFFCF0;
}

.service-card:nth-child(5) {
    --card-bg-start: #E0F0FF;
    --card-bg-end: #F0F7FF;
}

.service-card:nth-child(6) {
    --card-bg-start: #FFF0D9;
    --card-bg-end: #FFF8EA;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.service-image-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.service-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    color: #000;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-card p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .service-card h3 {
        font-size: 19px;
    }

    .service-card p {
        font-size: 15px;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .services-grid .service-card {
        flex: 0 1 320px;
    }

    .service-image-circle {
        width: 250px;
        height: 250px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .service-card p {
        font-size: 15px;
    }
}
