/* Hero Section */
.contact-hero {
    background: var(--sofirm-gradient);
    color: var(--sofirm-white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.contact-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    max-width: 700px;
}

/* Contact Info Cards */
.contact-info-section {
    padding: 5rem 0;
    background: var(--sofirm-white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-info-card {
    background: var(--sofirm-white);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--sofirm-accent);
}

.contact-info-icon {
    font-size: 2.5rem;
    color: var(--sofirm-primary);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1);
}

.contact-info-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--sofirm-dark);
    margin-bottom: 1rem;
}

.contact-info-detail {
    color: var(--sofirm-text);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.contact-info-detail strong {
    color: var(--sofirm-dark);
}

.contact-info-link {
    color: var(--sofirm-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info-link:hover {
    color: var(--sofirm-secondary);
    text-decoration: underline;
}

/* Contact Form & Map Section */
.contact-form-section {
    padding: 5rem 0;
    background: var(--sofirm-light);
}

.contact-form-wrapper {
    background: var(--sofirm-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    height: 100%;
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sofirm-dark);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--sofirm-gradient);
    border-radius: 2px;
}

.form-label {
    font-weight: 600;
    color: var(--sofirm-dark);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: var(--sofirm-white);
}

.form-control:focus, .form-select:focus {
    border-color: var(--sofirm-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background: var(--sofirm-gradient);
    color: var(--sofirm-white);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    width: 100%;
    font-size: 1rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-submit i {
    margin-right: 0.5rem;
}

/* Map Placeholder */
.map-wrapper {
    background: var(--sofirm-white);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    background: #f1f5f9;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--sofirm-text);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--sofirm-primary);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.map-placeholder p {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-placeholder small {
    color: var(--sofirm-text);
    opacity: 0.8;
}

/* Business Hours */
.hours-section {
    padding: 4rem 0;
    background: var(--sofirm-white);
}

.hours-card {
    background: var(--sofirm-light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hours-icon {
    font-size: 2.5rem;
    color: var(--sofirm-primary);
    margin-bottom: 1rem;
}

.hours-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sofirm-dark);
    margin-bottom: 1.5rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--sofirm-white);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.hours-day {
    font-weight: 600;
    color: var(--sofirm-dark);
}

.hours-time {
    color: var(--sofirm-primary);
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--sofirm-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--sofirm-white);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--sofirm-accent);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--sofirm-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-question i {
    color: var(--sofirm-primary);
    font-size: 1.25rem;
}

.faq-answer {
    color: var(--sofirm-text);
    line-height: 1.6;
    margin-left: 1.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.25rem;
    }
    
    .contact-form-wrapper {
        padding: 1.75rem;
    }
    
    .map-container {
        min-height: 350px;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-card, .faq-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.contact-info-card:nth-child(1) { animation-delay: 0.1s; }
.contact-info-card:nth-child(2) { animation-delay: 0.2s; }
.contact-info-card:nth-child(3) { animation-delay: 0.3s; }
.contact-info-card:nth-child(4) { animation-delay: 0.4s; }