/* Kid-friendly Home page styling */

/* General styles */
:root {
    --primary-color: #FF9AA2;
    --secondary-color: #FFDAC1;
    --tertiary-color: #E2F0CB;
    --quaternary-color: #B5EAD7;
    --quinary-color: #C7CEEA;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.home-kids-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.section-title-kids {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-kids h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 15px;
    font-size: 36px;
    color: #2c1f55;
}

.section-title-kids h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 2px;
    background: #ffaa01;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title-kids p {
    font-size: 18px;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.05;
    pointer-events: none;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    top: 20%;
    right: 10%;
    width: 150px;
    height: 150px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--secondary-color);
    animation: float 10s ease-in-out infinite;
}

.shape-3 {
    bottom: 15%;
    left: 15%;
    width: 80px;
    height: 80px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--tertiary-color);
    animation: float 7s ease-in-out infinite;
}

.shape-4 {
    bottom: 10%;
    right: 5%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--quaternary-color);
    animation: float 9s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-element.show {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero-kids-section {
    position: relative;
    background: linear-gradient(135deg, #f9f9ff 0%, #eef7ff 100%);
    padding: 0;
    overflow: hidden;
}

.hero-carousel-item {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);    */
    background: linear-gradient(90deg, #2c1f54, transparent);
    z-index: 1;
}

.hero-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.hero-carousel-text {
    max-width: 600px;
}

.hero-carousel-text h1 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-carousel-text p {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 30px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ffaa01;
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 154, 162, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 154, 162, 0.4);
    color: var(--white);
    text-decoration: none;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;

    transition: all 0.4s ease;
    z-index: -1;
    background: linear-gradient(45deg, #9275db, #2c1f55);
}

.hero-btn:hover::before {
    left: 0;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators li.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* About Section */
.about-kids-section {
    background: var(--white);
    position: relative;
}

.about-kids-content {
    position: relative;
    z-index: 2;
}

.about-kids-title {
    margin-bottom: 25px;
}

.about-kids-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.about-kids-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.about-kids-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 30px;
}

.about-kids-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.about-kids-image:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.about-kids-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-kids-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services-kids-section {
    background: linear-gradient(135deg, #f9f9ff 0%, #eef7ff 100%);
    position: relative;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.service-card-header {
    height: 10px;
    width: 100%;
}

.service-card-1 .service-card-header {
    background: var(--primary-color);
}

.service-card-2 .service-card-header {
    background: var(--secondary-color);
}

.service-card-3 .service-card-header {
    background: var(--tertiary-color);
}

.service-card-4 .service-card-header {
    background: var(--quaternary-color);
}

.service-card-5 .service-card-header {
    background: var(--quinary-color);
}

.service-card-6 .service-card-header {
    background: var(--primary-color);
}

.service-image {
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 0 25px 0px;
    text-align: center;
}

.service-title {
    margin-bottom: 10px;
}

.service-title h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.service-description {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    padding: 8px 20px;
    /* background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); */
    background: #ffaa02;
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 154, 162, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 12px;
}

.service-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 154, 162, 0.4);
    color: var(--white);
    text-decoration: none;
}

.service-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #9275db, #2c1f55);
    transition: all 0.4s ease;
    z-index: -1;
}

.service-link:hover::before {
    left: 0;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card-1 .service-icon {
    background: var(--primary-color);
}

.service-card-2 .service-icon {
    background: var(--secondary-color);
}

.service-card-3 .service-icon {
    background: var(--tertiary-color);
}

.service-card-4 .service-icon {
    background: var(--quaternary-color);
}

.service-card-5 .service-icon {
    background: var(--quinary-color);
}

.service-card-6 .service-icon {
    background: var(--primary-color);
}

.service-icon i {
    font-size: 24px;
    color: var(--white);
}

/* Team Section */
.team-kids-section {
    background: var(--white);
    position: relative;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.team-card-header {
    height: 10px;
    width: 100%;
}

.team-card-1 .team-card-header {
    background: var(--primary-color);
}

.team-card-2 .team-card-header {
    background: var(--secondary-color);
}

.team-card-3 .team-card-header {
    background: var(--tertiary-color);
}

.team-card-4 .team-card-header {
    background: var(--quaternary-color);
}

.team-image {
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.team-image img {
    width: 100%;
    height: 275px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s ease;
    object-position: top;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-content {
    padding: 0 25px 0;
    text-align: center;
}

.team-name {
    margin-bottom: 5px;
}

.team-name h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.team-specialty {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 15px;
}

.team-view-profile {
    display: inline-block;
    padding: 8px 20px;
    background: #ffaa02;
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 154, 162, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 12px;
}

.team-view-profile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 154, 162, 0.4);
    color: var(--white);
    text-decoration: none;
}

.team-view-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #9275db, #2c1f55);
    transition: all 0.4s ease;
    z-index: -1;
}

.team-view-profile:hover::before {
    left: 0;
}

/* Testimonials Section */
.testimonials-kids-section {
    background: linear-gradient(135deg, #f9f9ff 0%, #eef7ff 100%);
    position: relative;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    padding: 30px;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.testimonial-content {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--light-text);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px;
    color: var(--text-color);
}

.testimonial-author-info p {
    font-size: 14px;
    color: var(--light-text);
    margin: 0;
}

/* Contact Section */
.contact-kids-section {
    background: var(--white);
    position: relative;
    background: linear-gradient(135deg, #f9f9ff 0%, #eef7ff 100%);
}

.contact-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    padding: 30px;
    padding-bottom:0 ;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.contact-card-header {
    height: 10px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.contact-card-1 .contact-card-header {
    background: var(--primary-color);
}

.contact-card-2 .contact-card-header {
    background: var(--secondary-color);
}

.contact-card-3 .contact-card-header {
    background: var(--tertiary-color);
}

.contact-card-4 .contact-card-header {
    background: var(--quaternary-color);
}

.contact-title {
    margin-bottom: 20px;
    padding-top: 10px;
}

.contact-title h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-card-1 .contact-info-icon {
    background: var(--primary-color);
}

.contact-card-2 .contact-info-icon {
    background: var(--secondary-color);
}

.contact-card-3 .contact-info-icon {
    background: var(--tertiary-color);
}

.contact-card-4 .contact-info-icon {
    background: var(--quaternary-color);
}

.contact-info-icon i {
    font-size: 18px;
    color: #000;
}

.contact-info-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px;
    color: var(--text-color);
}

.contact-info-text p {
    font-size: 14px;
    color: var(--light-text);
    margin: 0;
    text-align: left;
}

.contact-map {
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #ffaa02;
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255, 154, 162, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 14px;
    margin-top: 15px;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 154, 162, 0.4);
    color: var(--white);
    text-decoration: none;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #9275db, #2c1f55);
    transition: all 0.4s ease;
    z-index: -1;
}

.contact-btn:hover::before {
    left: 0;
}

/* Locations Tabs */
.locations-tabs {
    margin-bottom: 30px;
}

.locations-tabs .nav-tabs {
    border: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.locations-tabs .nav-tabs .nav-item {
    margin: 5px;
}

.locations-tabs .nav-tabs .nav-link {
    background: #ffffff;
    color: var(--text-color);
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.locations-tabs .nav-tabs .nav-link:hover {
    background: #e9e9e9;
}

.locations-tabs .nav-tabs .nav-link.active {
    background: linear-gradient(45deg, #9275db, #2c1f55);
    color: var(--white) !important;
    box-shadow: 0 5px 15px rgba(255, 154, 162, 0.3);
}

/* Responsive styles */
@media (max-width: 991px) {
    .hero-carousel-item {
        height: 500px;
    }
    
    .hero-carousel-text h1 {
        font-size: 36px;
    }
    
    .section-title-kids h2,
    .about-kids-title h2 {
        font-size: 30px;
    }
    
    .service-image img {
        height: 180px;
    }

    .team-image img{
        height: auto;
    }

}

@media (max-width: 767px) {
    .hero-carousel-item {
        height: 400px;
    }
    
    .hero-carousel-text h1 {
        font-size: 28px;
    }
    
    .hero-carousel-text p {
        font-size: 16px;
    }
    
    .section-title-kids h2,
    .about-kids-title h2 {
        font-size: 26px;
    }
    
    .about-kids-image {
        margin-top: 30px;
    }
    
    .service-card,
    .team-card,
    .testimonial-card,
    .contact-card {
        margin-bottom: 20px;
    }
    
    .locations-tabs .nav-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    
    .locations-tabs .nav-tabs .nav-item {
        flex-shrink: 0;
    }
}
