/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

/* Contact Form Container */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Contact Info Column */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745 0%, #9C27B0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-content h4 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.contact-info-content p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info-content a {
    color: #28a745;
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-info-content a:hover {
    color: #9C27B0;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eef2f6;
}

.contact-form-wrapper h3 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-size: 1.4rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-full {
    grid-column: 1 / -1;
}

/* Submit Button */
.contact-submit-btn {
    width: 100%;
    padding: 14px 30px;
    background: linear-gradient(135deg, #28a745 0%, #9C27B0 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* Success/Error Messages */
.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Social Links Section */
.contact-social {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #eef2f6;
}

.contact-social h5 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #28a745;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: linear-gradient(135deg, #28a745 0%, #9C27B0 100%);
    color: white;
    transform: translateY(-3px);
}

/* Office Locations */
.office-locations {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eef2f6;
}

.office-locations h3 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.4rem;
}

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

.office-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
    text-align: center;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border-color: #28a745;
}

.office-card h4 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.office-card p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.office-card .office-phone,
.office-card .office-email {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 5px;
}

.office-card a {
    color: #28a745;
    text-decoration: none;
    transition: all 0.2s ease;
}

.office-card a:hover {
    color: #9C27B0;
}

/* FAQ Section */
.contact-faq {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eef2f6;
}

.contact-faq h3 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.4rem;
}

.faq-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
}

.faq-question {
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: #28a745;
}

.faq-toggle-icon {
    width: 24px;
    height: 24px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #28a745;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-answer {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    margin-top: 15px;
}

.faq-item.active .faq-toggle-icon {
    background: linear-gradient(135deg, #28a745 0%, #9C27B0 100%);
    color: white;
    transform: rotate(180deg);
}

/* Response Time Indicator */
.response-time {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.response-time i {
    color: #28a745;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .faq-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 0 15px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

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

    .contact-social {
        text-align: center;
    }

    .offices-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto;
    }
}
