/* Contact Page Styles */

/* CSS Variables */
:root {
    --light-sky-blue: #87CEEB;
    --pale-pastel-pink: #F8BBD9;
    --soft-mint-green: #B8E6B8;
    --light-peach-orange: #FFCBA4;
    --gentle-lavender-purple: #DDA0DD;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #6c757d;
    --text-dark: #2c3e50;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--light-sky-blue) 0%, var(--pale-pastel-pink) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: slideInDown 0.8s ease-out;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.9;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Information Cards */

.contact-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--light-sky-blue), var(--pale-pastel-pink));
}

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

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-sky-blue), var(--pale-pastel-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.contact-card h4 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-card p {
    color: var(--dark-gray);
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-card small {
    color: var(--light-sky-blue);
    font-weight: 600;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.contact-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    height: 100%;
}

.form-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--light-sky-blue), var(--pale-pastel-pink));
    border-radius: 2px;
}

.form-subtitle {
    color: var(--dark-gray);
    font-size: 16px;
    margin-bottom: 30px;
}

/* Form Styling */
.contact-form .form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--light-sky-blue);
    box-shadow: 0 0 0 0.2rem rgba(135, 206, 235, 0.25);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--light-sky-blue), var(--pale-pastel-pink));
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(135, 206, 235, 0.4);
}

/* Map Card */
.map-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.map-card h4 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* Business Hours Card */
.business-hours-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.business-hours-card h4 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--light-gray);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.hour-item:hover {
    background: rgba(135, 206, 235, 0.1);
    border-color: var(--light-sky-blue);
}

.hour-item span:first-child {
    color: var(--text-dark);
    font-weight: 600;
}

.hour-item span:last-child {
    color: var(--light-sky-blue);
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.section-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--light-sky-blue), var(--pale-pastel-pink));
    border-radius: 2px;
}

/* Accordion Styling */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 15px !important;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.accordion-button {
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 18px;
    padding: 20px 25px;
    border: none;
    border-radius: 15px !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1), rgba(248, 187, 217, 0.05));
    color: var(--text-dark);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(135, 206, 235, 0.25);
    border-color: var(--light-sky-blue);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2387CEEB'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 25px;
    background: var(--white);
    color: var(--dark-gray);
    font-size: 16px;
    line-height: 1.6;
    border-top: 1px solid var(--border-color);
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .contact-info {
        padding: 60px 0;
    }

    .contact-form-section {
        padding: 60px 0;
    }

    .faq-section {
        padding: 60px 0;
    }

    .contact-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

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

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .contact-info {
        padding: 40px 0;
    }

    .contact-form-section {
        padding: 40px 0;
    }

    .faq-section {
        padding: 40px 0;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .contact-form-card {
        padding: 25px;
    }

    .map-card,
    .business-hours-card {
        padding: 25px;
    }

    .form-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .hour-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .accordion-button {
        font-size: 16px;
        padding: 15px 20px;
    }

    .accordion-body {
        padding: 20px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 24px;
    }

    .contact-card {
        padding: 20px 15px;
    }

    .contact-form-card {
        padding: 20px;
    }

    .map-card,
    .business-hours-card {
        padding: 20px;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .form-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading States */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

/* Success States */
.form-success {
    border-color: var(--soft-mint-green) !important;
    background: rgba(184, 230, 184, 0.1) !important;
}

.form-error {
    border-color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.1) !important;
}