/* ========================================
   Contact Page Specific Styles
======================================== */

.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e7f1ff 100%);
}

/* Contact Info Cards */
.info-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.info-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.info-card:hover .info-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.info-card:hover .info-icon i {
    color: white;
}

.contact-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.invalid-feedback {
    font-size: 0.875rem;
}

/* Map */
.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Working Hours Card */
.working-hours-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.day {
    font-weight: 500;
    color: var(--text-dark);
}

.time {
    color: var(--primary-color);
    font-weight: 600;
}

/* Quick Contact Card */
.quick-contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* FAQ Section */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-button {
    background: white;
    color: var(--text-dark);
    font-weight: 500;
    padding: 1.25rem 1.5rem;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%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: 1.5rem;
    color: var(--text-muted);
}

/* Success Message */
#successMessage {
    border-radius: 12px;
    border: none;
    background: #d1e7dd;
    color: #0f5132;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-form-wrapper {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .info-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .hours-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Animation for form submission */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.was-validated .form-control:invalid {
    animation: shake 0.5s;
}