/* =================== CONTACT PAGE STYLES =================== */

/* --- Contact Grid Layout --- */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* --- Contact Information --- */
.contact-info__title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact-info__subtitle {
    color: var(--text-color-light);
    margin-bottom: 30px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.contact-info-card__icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    background-color: var(--bg-color-light);
    padding: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-card__details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.contact-info-card__details p {
    color: var(--text-color-light);
    font-size: 0.95rem;
}

/* --- Contact Form --- */
.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form__title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact-form__subtitle {
    color: var(--text-color-light);
    margin-bottom: 30px;
}

.form .form__group {
    margin-bottom: 25px;
}

.form .form__label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form .form__input,
.form .form__select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--bg-color-light);
    transition: var(--transition);
}

.form .form__input:focus,
.form .form__select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
}

.form .form__input::placeholder {
    color: #aaa;
}

/* --- Map Section --- */
.map-section {
    padding: 0;
}

.map-container {
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FAQ Section --- */
.faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-color-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* A large enough value to fit content */
    transition: max-height 0.5s ease-in;
}

/* --- Responsive Design for Contact Page --- */
@media (max-width: 992px) {
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .contact-info-card {
        flex-direction: column;
        text-align: center;
    }
    .contact-form {
        padding: 20px;
    }
}