/* Contact Page Styles */

/* Contact Header */
.contact-header {
    background-color: #0a2540;
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0.85) 100%);
    z-index: 1;
}

.contact-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 800px;
    padding: 0;
}

.contact-header h1 {
    font-size: 3.2rem;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: white;
    text-align: center;
}

.contact-header p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 700px;
    color: white;
    text-align: center;
}

/* Removed contact-header-image section as it's no longer needed */

.response-promise-large {
    display: flex;
    align-items: center;
    background-color: rgba(221, 0, 0, 0.2);
    padding: 18px 30px;
    border-radius: 10px;
    margin-top: 30px;
    border: 2px solid rgba(221, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 500px;
}

.response-promise-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.response-icon {
    font-size: 2rem;
    margin-right: 18px;
    color: #d00;
}

.response-promise-large p {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    text-align: center;
}

/* Contact Options */
.contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-option-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-option-card h3 {
    color: #0a2540;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.contact-option-card p {
    color: #4a5568;
    margin-bottom: 15px;
}

.contact-link {
    display: block;
    color: #0a2540;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #d00;
}

.hours {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 10px;
}

/* Contact Form Section */
.contact-form-section {
    background-color: #f8f9fa;
    padding: 50px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.contact-form-section h2 {
    color: #0a2540;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.form-intro {
    text-align: center;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ms-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 20px;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
}

.faq-section h2 {
    color: #0a2540;
    text-align: center;
    margin-bottom: 40px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #0a2540;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #d00;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-answer {
    background-color: #f8f9fa;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    color: #4a5568;
    line-height: 1.6;
    padding: 20px 0;
    margin: 0;
}

/* Office Locations */
.office-locations {
    margin-bottom: 60px;
}

.office-locations h2 {
    color: #0a2540;
    text-align: center;
    margin-bottom: 40px;
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.office-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.office-image {
    height: 200px;
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.office-details {
    padding: 25px;
}

.office-details h3 {
    color: #0a2540;
    margin-top: 0;
    margin-bottom: 15px;
}

.office-details p {
    color: #4a5568;
    margin-bottom: 10px;
    line-height: 1.6;
}

.office-details .address {
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-header {
        flex-direction: column;
        text-align: center;
        padding: 60px 30px;
    }
    
    .contact-header-content {
        padding-right: 0;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .contact-header p {
        max-width: 700px;
    }
    
    .response-promise-large {
        max-width: 500px;
    }
    
    .contact-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2.4rem;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        padding: 30px;
    }
    
    .offices-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-header {
        padding: 50px 20px;
    }
    
    .contact-header h1 {
        font-size: 2.2rem;
    }
    
    .contact-header p {
        font-size: 1.1rem;
    }
    
    .response-promise-large {
        padding: 15px 20px;
    }
    
    .response-promise-large p {
        font-size: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

/* Placeholder styles */
img[src*="placeholder.png"] {
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 14px;
}
