/* Contact Page Specific Styles */

/* Contact Cards */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
}

/* Contact Form */
.contact-form {
    transition: all 0.3s ease;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 0 3px rgba(2, 153, 180, 0.1);
    transform: translateY(-2px);
}

/* Form Validation Styles */
.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.contact-form input.success,
.contact-form select.success,
.contact-form textarea.success {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: right;
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f9fafb;
    color: #0299b4;
}

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #f9fafb;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    line-height: 1.7;
}

/* Interactive Map Styles */
.map-container {
    height: 400px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-placeholder {
    background: linear-gradient(135deg, #e5e7eb, #f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #6b7280;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #6b7280;
}

.social-icon:hover {
    background: #0299b4;
    color: white;
    transform: translateY(-2px);
}

/* Contact Info Item Animation */
.contact-info-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.contact-info-item:nth-child(1) { animation-delay: 0.1s; }
.contact-info-item:nth-child(2) { animation-delay: 0.2s; }
.contact-info-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Loading State */
.form-loading {
    position: relative;
    overflow: hidden;
}

.form-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Success Message */
.success-message {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: none;
}

/* Error Message */
.error-message {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-card {
        margin-bottom: 2rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 1rem;
    }
    
    .map-container {
        height: 300px;
    }
}

/* Validation Styles */
.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.field-success {
    color: #22c55e;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Submit Button Loading */
.submit-loading {
    position: relative;
    color: transparent;
}

.submit-loading::after {
    content: '';
    position: absolute;
    top: 50;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Accessibility Improvements */
.faq-question:focus {
    outline: 2px solid #0299b4;
    outline-offset: 2px;
}

.contact-form button:focus {
    outline: 2px solid #025479;
    outline-offset: 2px;
}

/* Contact Method Highlight */
.contact-method-highlight {
    position: relative;
    overflow: hidden;
}

.contact-method-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(2, 153, 180, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-method-highlight:hover::before {
    left: 100%;
}

