/* ===================================
   Contact Page Specific Styles
   =================================== */

/* Contact Section */
.contact-section {
    background-color: var(--light);
    transition: background-color 0.3s ease;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    justify-items: center;
    margin: 0 auto;
}

/* Contact Information */
.contact-information {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 3rem;
    border-radius: 16px;
    color: var(--white);
    height: fit-content;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
}

.info-header h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.info-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.info-items {
    margin: 3rem 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    margin: 2rem 0;
}

.info-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 250px;
    align-items: center;
    text-align: center;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.info-content h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.info-content a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--white);
}

.social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.social-section .social-links {
    margin-top: 1rem;
}

.social-section .social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-section .social-link:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem 2.75rem 2.75rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray);
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.checkbox-group {
    flex-direction: row;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label span {
    color: var(--gray);
    font-size: 0.95rem;
}

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.form-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Map Section */
.map-section {
    position: relative;
}

.map-container {
    position: relative;
    height: 450px;
}

.map-overlay {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
}

.map-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    max-width: 350px;
}

.map-info h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.map-info h3 i {
    color: var(--primary-color);
}

.map-info p {
    margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.25rem;
    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;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: 2;
    }

    .contact-form-wrapper {
        order: 1;
    }

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

    .map-overlay {
        position: static;
        padding: 2rem;
        background: var(--light);
    }

    .map-info {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-info {
        padding: 2rem;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.25rem;
    }
}
