/* Contact Page Specific Styles */

/* Hero Section */
/* Contact page hero section now uses the global 20vh height */

/* Contact page specific hero content styles */

/* Page-specific responsive styles are now handled in styles.css */

/* Contact Section */
.contact-section {
    padding: 2rem 0;
    background-color: #f8fafc;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 0.5rem;
}

.contact-section .section-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.contact-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Form Styles */
.contact-form-wrapper {
    padding: 0;
}

.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.contact-form {
    margin-top: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #334155;
    font-size: 0.95rem;
}

.required {
    color: #e11d48;
    margin-left: 2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background-color: white;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

/* Form Message Styles */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.form-message.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message.error {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.form-message.info {
    background-color: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Info Styles */
.contact-info-wrapper {
    padding: 0;
}

.contact-info-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-info-container h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.contact-intro-text {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    margin-bottom: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details {
    max-width: 100%;
}

.contact-details h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details p {
    color: #64748b;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.social-connect-mini {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.social-connect-mini h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.social-icons-contact {
    display: flex;
    gap: 0.75rem;
}

.social-icons-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons-contact a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Google Maps Section */
.google-maps-section {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.map-header {
    text-align: center;
    padding: 2rem 0;
    background-color: #f8fafc;
}

.map-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.map-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.google-maps-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    line-height: 0;
}

.google-maps-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(37, 99, 235, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

/* Connect Section */
.connect-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../assets/images/contact/connect-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.connect-content {
    max-width: 700px;
    margin: 0 auto;
}

.connect-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.connect-content p {
    margin-bottom: 2rem;
}

.social-connect {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    transition: var(--transition);
}

.social-btn i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.linkedin {
    background-color: #0077b5;
}

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        padding: 0;
    }

    .contact-info-container {
        height: auto;
        margin-bottom: 1rem;
    }

    .contact-form-container {
        height: 100%;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .contact-form-container,
    .contact-info-container {
        padding: 1.5rem;
    }

    .contact-form-container h3,
    .contact-info-container h3 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .social-connect {
        flex-direction: column;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }

    .map-header {
        padding: 1.5rem 0;
    }

    .map-header h2 {
        font-size: 1.8rem;
    }

    .map-header p {
        font-size: 1rem;
    }

    .google-maps-container {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .contact-form-container,
    .contact-info-container {
        padding: 1.25rem;
        border-radius: 6px;
    }

    .contact-form-container h3,
    .contact-info-container h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-details h4 {
        font-size: 1rem;
    }

    .contact-details p {
        font-size: 0.9rem;
    }

    .social-icons-contact a {
        width: 35px;
        height: 35px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .map-header {
        padding: 1rem 0;
    }

    .map-header h2 {
        font-size: 1.5rem;
    }

    .map-header p {
        font-size: 0.9rem;
    }

    .google-maps-container {
        height: 300px;
    }
}
