/* ===================================
   Contact Page Specific Styles
   =================================== */

/* --- Page Hero (Taller for Contact Page) --- */
.page-hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover no-repeat fixed;
    padding: 180px 0 150px; /* Extra padding bottom for overlap */
    text-align: center;
    color: var(--white);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(16, 185, 129, 0.8) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* --- Floating Contact Wrapper --- */
.contact-overlap-section {
    position: relative;
    margin-top: -100px; /* Pulls section up over the hero */
    z-index: 10;
    padding-bottom: 5rem;
}

.contact-card-wrapper {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

/* Left Side: Contact Info (Dark) */
.contact-sidebar {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: var(--white);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-sidebar::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.contact-sidebar h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-sidebar p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-method:hover .method-icon {
    background: var(--primary-color);
    color: var(--white);
}

.method-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.method-text span, .method-text a {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    display: block;
}

.social-connect {
    margin-top: 3rem;
}

.social-connect h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
}

.sc-links {
    display: flex;
    gap: 1rem;
}

.sc-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
}

.sc-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Right Side: Form (Light) */
.form-side {
    padding: 3rem;
    background: var(--white);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* --- Map Section --- */
.map-section {
    padding: 0 0 5rem;
}

.map-container {
    height: 450px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 10px solid var(--white);
}

/* --- FAQ Section (Accordion) --- */
.faq-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-question i {
    color: var(--primary-color);
}

.faq-answer {
    color: var(--text-light);
    font-size: 0.95rem;
    padding-left: 2rem; /* Align with text not icon */
    line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .contact-card-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        padding: 2.5rem;
    }

    .form-side {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 100px;
    }

    .contact-overlap-section {
        margin-top: -60px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}
