/* Contact Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/contact-header.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 1rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 2.5rem;
}


/* Contact Info Section */
.contact-info-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.contact-info p {
    color: var(--text);
    line-height: 1.6;
}

.contact-methods {
    margin-top: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.icon-circle i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.method-details h3 {
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.method-details p {
    margin-bottom: 0.25rem;
    color: var(--text);
}

.method-details p a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.method-details p a:hover {
    color: var(--secondary);
}

.method-details .note {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.social-links {
    margin-top: 2.5rem;
}

.social-links h3 {
    margin-bottom: 1rem;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light);
    border-radius: 50%;
    color: var(--primary);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 2.5rem;
}

.contact-form h2 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-form > p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(22, 160, 133, 0.2);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
}

.form-response {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-response.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid #27ae60;
}

.form-response.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

/* Map Section */
.map-section {
    padding: 3rem 0 5rem;
    background-color: var(--light);
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

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

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

.faq-question {
    padding: 1.25rem;
    background-color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--light);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--primary);
}

.toggle-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 1000px;
}

.faq-item.active .faq-question {
    background-color: var(--light);
}

.faq-item.active .toggle-icon i {
    transform: rotate(45deg);
}

/* Testimonials Section (override) */
.testimonials {
    background-color: var(--white);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .contact-grid {
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .page-header {
        padding: 3rem 0;
    }
    
    .contact-method {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .icon-circle {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .form-checkbox input {
        margin-top: 3px;
    }
}

/* Ensure footer contact info uses light color */
footer .contact-info p {
    color: var(--light);
    opacity: 0.9;
}

footer .contact-info p i {
    color: var(--secondary);
} 