/* Contact Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #e44d26, #f4a261);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 80px; /* Account for fixed header */
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper .section-header {
    margin-bottom: 2rem;
    text-align: left;
}

.contact-form-wrapper h2 {
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form-wrapper p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e44d26;
    box-shadow: 0 0 0 3px rgba(228, 77, 38, 0.1);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.submit-button {
    background: #e44d26;
    color: white;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-button:hover {
    background: #d63918;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 77, 38, 0.3);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button-arrow {
    width: 14px;
    height: 14px;
}

/* Contact Info */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.contact-info-card > p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e44d26, #f4a261);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.contact-text h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-text a {
    color: #e44d26;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #d63918;
}

.contact-text p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.social-links h4 {
    color: #333;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e44d26, #f4a261);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 77, 38, 0.3);
}

/* Trust Indicators */
.trust-indicators {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.trust-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.trust-item:last-child {
    margin-bottom: 0;
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon img {
    width: 24px;
    height: 24px;
}

.experience-badge {
    background: linear-gradient(135deg, #e44d26, #f4a261);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-text h4 {
    color: #333;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.trust-text p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

/* Form Validation Styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Loading State */
.submit-button.loading {
    opacity: 0.7;
    pointer-events: none;
}

.submit-button.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-wrapper,
    .contact-info-card,
    .trust-indicators {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header-content h1 {
        font-size: 2.5rem;
    }
    
    .page-header-content p {
        font-size: 1rem;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper,
    .contact-info-card,
    .trust-indicators {
        padding: 1.5rem;
    }
    
    .contact-detail {
        flex-direction: column;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .contact-form-wrapper,
    .contact-info-card,
    .trust-indicators {
        padding: 1rem;
    }
    
    .contact-details {
        gap: 1.5rem;
    }
    
    .trust-item {
        margin-bottom: 1.5rem;
    }
}