/* Kid-friendly Contact 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);
}

.contact-kids-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: linear-gradient(135deg, #f9f9ff 0%, #eef7ff 100%);
}

.contact-header-kids {
    background: linear-gradient(135deg, #2c1f55 0%, #C7CEEA 100%);
    padding: 40px 0 40px;
    position: relative;
    overflow: hidden;
}

.contact-header-kids .container {
    position: relative;
    z-index: 2;
}

.contact-header-kids h1 {
    color: #fdab04;
    font-size: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.contact-header-kids .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.contact-header-kids .breadcrumb-item {
    color: #fff;
    font-size: 16px;
}

.contact-header-kids .breadcrumb-item a {
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.contact-header-kids .breadcrumb-item a:hover {
    opacity: 1;
    text-decoration: none;
}

.contact-header-kids .breadcrumb-item.active {
    color: #ffaa01;
}

.contact-header-kids .breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
    opacity: 0.8;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.cloud-1 {
    width: 200px;
    height: 100px;
    top: -30px;
    left: 10%;
    animation: cloud-move 20s linear infinite;
}

.cloud-2 {
    width: 300px;
    height: 150px;
    bottom: -50px;
    right: 15%;
    animation: cloud-move 25s linear infinite reverse;
}

.cloud-3 {
    width: 150px;
    height: 75px;
    top: 40%;
    left: 30%;
    animation: cloud-move 18s linear infinite;
}

@keyframes cloud-move {
    0% {
        transform: translateX(-100px);
    }
    100% {
        transform: translateX(calc(100vw + 100px));
    }
}

.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: #2c1f54;
}

.section-title-kids h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--tertiary-color), var(--quaternary-color), var(--quinary-color));
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    background: #ffaa01;
}

.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);
}

/* Contact Form Section */
.contact-form-section {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.contact-form-title {
    margin-bottom: 30px;
}

.contact-form-title h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

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

.contact-form-title p {
    font-size: 16px;
    color: var(--light-text);
    margin-top: 15px;
}

.contact-form .form-control {
    height: 55px;
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 0 20px;
    font-size: 15px;
    color: var(--text-color);
    box-shadow: none;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 154, 162, 0.1);
}

.contact-form textarea.form-control {
    height: 150px;
    padding: 15px 20px;
    resize: none;
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    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;
    background: #ffaa01;
}

.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%;
    transition: all 0.4s ease;
    z-index: -1;
    background: linear-gradient(45deg, #9275db, #2c1f55);
}

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

/* Contact Info Section */
.contact-info-box {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    height: 100%;
}

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

.contact-info-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

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

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

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

.contact-info-content {
    text-align: center;
}

.contact-info-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-info-content p {
    font-size: 15px;
    color: var(--light-text);
    margin-bottom: 0;
    text-align: center;
}

.contact-info-content a {
    color: var(--light-text);
    transition: all 0.3s ease;
}

.contact-info-content a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Locations Section */
.locations-section {
    background: #fff;
    padding: 0;
    padding: 60px 0;
}

.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 {
    border: none;
    background: #f5f5f5;
    color: var(--text-color);
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

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

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

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

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

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

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

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

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

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

.location-card-content {
    padding: 30px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.location-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;
}

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

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

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

/* Responsive styles */
@media (max-width: 991px) {
    .contact-header-kids h1 {
        font-size: 36px;
    }
    
    .section-title-kids h2,
    .contact-form-title h3 {
        font-size: 30px;
    }
    
    .contact-form-section {
        margin-bottom: 30px;
    }
    
    .contact-info-box {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .contact-header-kids h1 {
        font-size: 30px;
    }
    
    .section-title-kids h2,
    .contact-form-title h3 {
        font-size: 26px;
    }
    
    .contact-form-section {
        padding: 30px;
    }
    
    .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;
    }
}
