/* =========================
   PAGE HERO
========================= */

.page-hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 140px 0 100px;
    text-align: center;
}

.page-hero h1 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
}

/* =========================
   CONTACT SECTION
========================= */

.contact-section {
    background-color: var(--background-light);
}

/* CONTACT GRID */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: start;
}

/* =========================
   CONTACT INFO
========================= */

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 20px;
}

/* CONTACT DETAILS */

.contact-details {
    margin-top: 40px;
}

/* CONTACT ITEM */

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* =========================
   SOCIAL LINKS
========================= */

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 30px;
}

.social-links a {
    background-color: var(--background-gray);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* =========================
   CONTACT FORM
========================= */

.contact-form-wrapper {
    background-color: var(--background-gray);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

/* CONTACT FORM */

.contact-form {
    width: 100%;
}

/* =========================
   FORM ALERT
========================= */

.form-alert {
    display: none;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

/* SUCCESS ALERT */

.form-alert.success {
    display: block;
    background-color: rgba(0, 168, 107, 0.12);
    color: #008753;
    border: 1px solid rgba(0, 168, 107, 0.2);
}

/* ERROR ALERT */

.form-alert.error {
    display: block;
    background-color: rgba(220, 38, 38, 0.08);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.15);
}

/* ALERT ANIMATION */

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* FORM GROUP */

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

/* LABELS */

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

/* INPUTS */

.form-group input,
.form-group textarea {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

/* INPUT FOCUS */

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 168, 107, 0.08);
}

/* TEXTAREA */

textarea {
    resize: vertical;
}

/* BUTTON */

.contact-form button {
    width: 100%;
}

/* BUTTON DISABLED */

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* =========================
   MAP SECTION
========================= */

.map-section {
    background-color: var(--background-gray);
}

/* MAP PLACEHOLDER */

.map-placeholder {
    background-color: var(--background-light);
    padding: 5rem 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.map-placeholder h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* =========================
   FAQ SECTION
========================= */

.faq-section {
    background-color: var(--background-light);
}

/* FAQ GRID */

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* FAQ CARD */

.faq-card {
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.faq-card:hover {
    transform: translateY(-5px);
}

.faq-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* =========================
   CONTACT CTA
========================= */

.contact-cta {
    background: var(--primary-gradient);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

/* CTA CONTENT */

.cta-content h2 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 992px) {

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

}

@media (max-width: 768px) {

    .page-hero {
        padding: 120px 0 80px;
    }

    .page-hero h1 {
        font-size: 3rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .social-links {
        flex-direction: column;
    }

}