/* Contact Page Styles */

/* Page Title */
.page-title {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 100px 0 50px;
    margin-top: 70px;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-title p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Contact Info Section */
.contact-info-section {
    padding: 70px 0;
    background-color: #f9f9f9;
}

.contact-info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.contact-info-box {
    background-color: white;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-10px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.contact-info-box h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-info-box p {
    color: #7f8c8d;
    margin-bottom: 5px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 70px 0;
    background-color: white;
}

.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-left h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-form-left p {
    color: #7f8c8d;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3498db;
    outline: none;
}

.submit-btn {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.submit-btn:hover {
    background-color: #c0392b;
}

.contact-form-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.map-container {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.view-on-map {
    margin-top: 15px;
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.view-on-map:hover {
    background-color: #2980b9;
}

.social-connect {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.social-connect h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons .social-icon {
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background-color 0.3s ease;
}

.social-icons .social-icon:hover {
    background-color: #2980b9;
}

/* FAQ Section */
.faq-section {
    padding: 70px 0;
    background-color: #f9f9f9;
}

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

.faq-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

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

.faq-question:hover {
    background-color: #f2f2f2;
}

.faq-question h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.faq-toggle {
    color: #3498db;
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: #7f8c8d;
}

/* Active menu item */
.nav-menu a.active {
    color: #e74c3c;
}

.nav-menu a.active:after {
    width: 100%;
    background-color: #e74c3c;
}

/* Responsive styles */
@media (max-width: 991px) {
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-right {
        order: -1;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 80px 0 40px;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .contact-info-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-form-left h2 {
        font-size: 1.8rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-info-container {
        grid-template-columns: 1fr;
    }
    
    .social-icons .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
    }
    
    .submit-btn {
        width: 100%;
    }
}