/* ============================================
   ARISE BY GRACE - CONTACT PAGE STYLES
   ============================================ */

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* ----- PAGE BANNER ----- */
.page-banner {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
}

/* Contact page banner with image - SAME AS PARTNER PAGE */
.contact-banner {
    background: 
        linear-gradient(135deg, rgba(27, 94, 32, 0.35), rgba(13, 71, 161, 0.25)),
        url('images/image16.jpeg') center/cover no-repeat;
    background-attachment: fixed;
}

/* Banner overlay - SAME AS PARTNER PAGE */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.45), rgba(13, 71, 161, 0.35));
}

.banner-content {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
    padding: 40px 20px;
}

.banner-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.banner-content h1 {
    font-family: 'Merriweather', serif;
    font-size: 3.5rem;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.banner-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
/* ----- CONTACT INFO CARDS ----- */
.contact-info-cards {
    padding: 60px 0 30px 0;
    background: #FFFFFF;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-card {
    background: #FFFFFF;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(27, 94, 32, 0.05);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: #1B5E20;
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.1), rgba(13, 71, 161, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon i {
    font-size: 1.6rem;
    color: #1B5E20;
}

.contact-card h4 {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    color: #0D47A1;
    margin-bottom: 8px;
}

.contact-card p {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-card .address-detail {
    font-size: 0.85rem;
    color: #777;
    margin-top: 4px;
}

/* ----- CONTACT MAIN ----- */
.contact-main {
    padding: 60px 0 80px 0;
    background: #F8FAF8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ----- CONTACT FORM ----- */
.contact-form-wrapper .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.contact-form-wrapper .section-header p {
    margin: 0;
}

.contact-form-wrapper .section-header h2 br {
    display: none;
}

.contact-form {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 6px;
}

.form-group label i {
    color: #1B5E20;
    margin-right: 6px;
}

.required {
    color: #E53935;
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #FFFFFF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1B5E20;
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #E53935;
}

.submit-contact {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 16px;
    background: linear-gradient(135deg, #1B5E20, #2E7D32) !important;
}

.submit-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 94, 32, 0.4);
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    margin-top: 12px;
}

.form-note i {
    color: #1B5E20;
    margin-right: 6px;
}

/* ----- MAP ----- */
.map-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 500px;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.map-overlay-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-overlay-info h4 {
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    color: #1B5E20;
    margin-bottom: 8px;
}

.map-overlay-info h4 i {
    color: #1B5E20;
    margin-right: 8px;
}

.map-overlay-info p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.map-overlay-info p i {
    color: #1B5E20;
    width: 20px;
    margin-right: 6px;
}

.map-overlay-info .btn {
    margin-top: 12px;
    padding: 10px 24px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, #1B5E20, #2E7D32) !important;
}

/* ----- FAQ SECTION ----- */
.faq-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid rgba(27, 94, 32, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: #1B5E20;
    box-shadow: 0 5px 20px rgba(27, 94, 32, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #F8FAF8;
}

.faq-question i {
    color: #1B5E20;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px 20px;
}

.faq-answer p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   CONTACT PAGE RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-wrapper {
        min-height: 400px;
    }

    .map-container {
        min-height: 400px;
    }

    .map-container iframe {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 20px 16px;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-wrapper .section-header h2 br {
        display: block;
    }

    .map-wrapper {
        min-height: 350px;
    }

    .map-container {
        min-height: 350px;
    }

    .map-container iframe {
        min-height: 350px;
    }

    .map-overlay-info {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 20px;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 0.9rem;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-info-cards {
        padding: 40px 0 20px 0;
        margin-top: -40px;
    }

    .contact-form {
        padding: 20px 15px;
    }

    .contact-form-wrapper .section-header h2 {
        font-size: 1.8rem;
    }

    .map-wrapper {
        min-height: 300px;
    }

    .map-container {
        min-height: 300px;
    }

    .map-container iframe {
        min-height: 300px;
    }

    .map-overlay-info {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 16px;
    }

    .map-overlay-info h4 {
        font-size: 1rem;
    }

    .map-overlay-info p {
        font-size: 0.85rem;
    }

    .faq-question {
        font-size: 0.9rem;
        padding: 12px 14px;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }
}