/* Unique prefix to avoid conflicts: flx- */
:root {
    --brand-teal: #00AF66;
    --brand-bg-soft: #F8FAFC;
    --brand-text-gray: #64748B;
}

.flx-contact-wrapper {
    position: relative;
    padding: 100px 5%;
    background-color: #FFFFFF;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

}
.contact-hero-container {
    background: url('https://plus.unsplash.com/premium_photo-1661299251279-117a49a32548?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.contact-hero-container {
    height: 70vh;
}

.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Gradient overlay for readability (Vignette effect) */
.destination-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

/* Header Styling */
.flx-contact-header {
    margin-top: 2.rem;
    text-align: center;
    margin-bottom: 40px;
    z-index: 3;
}


.flx-contact-header h1 {

    color: white;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.flx-text-teal {
    color: var(--brand-primary);
}

.flx-contact-header p {
    color: white;
    font-size: 0.99rem;
    max-width: 600px;
    margin: 0 auto;
}

/* The Main Card */
.flx-contact-card {
    display: flex;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 15px 30px rgba(0, 26, 114, 0.08);
    overflow: hidden;
    border: 5px solid #F1F5F9;
}

/* Left Panel */
.flx-contact-info {
    flex: 0.8;
    background: var(--brand-secondary);
    padding: 50px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.flx-contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.flx-contact-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.flx-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.flx-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.flx-info-item i {
    font-size: 1.4rem;
    color: var(--brand-teal);
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 12px;
}

.flx-info-item label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
}

.flx-info-item a,
.flx-info-item span {
    color: #FFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
}

/* Abstract Decorative Circle */
.flx-info-circle {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--brand-teal), transparent);
    border-radius: 50%;
    opacity: 0.2;
}

/* Right Panel Form */
.flx-contact-form-area {
    flex: 1.2;
    padding: 50px;
}

.flx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.flx-input-group {
    margin-bottom: 25px;
}

.flx-input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-secondary);
    margin-bottom: 8px;
}

.flx-input-group input,
.flx-input-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-size: 1rem;
    background: #F8FAFC;
    transition: 0.3s;
}

.flx-input-group input:focus,
.flx-input-group textarea:focus {
    border-color: var(--brand-teal);
    background: #FFF;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 175, 102, 0.05);
}

.flx-btn-send {
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.flx-btn-send:hover {
    background: var(--brand-teal);
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .flx-contact-card {
        flex-direction: column-reverse;
    }

    .flx-form-row {
        grid-template-columns: 1fr;
    }

    .flx-contact-header h1 {
        font-size: 2rem;
    }

    .flx-contact-form-area,
    .flx-contact-info {

        padding: 20px;
    }

    .flx-contact-wrapper {
        padding: 50px 0.5rem;
    }
}

@media (max-width: 500px) {
    .flx-contact-header {
        margin-top: 5rem;
    }
}



/* Contact form success modal styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 20, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-card {
    width: 92%;
    max-width: 460px;
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.12);
    text-align: center;
}

.modal-icon i {
    font-size: 3rem;
    color: var(--brand-primary);
}

.modal-card h3 {
    margin: 6px 0 6px;
    color: var(--brand-secondary);
}

.modal-card p {
    color: var(--text-muted);
    margin-bottom: 14px;
}

.modal-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.btn-modal {
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.btn-primary-modal {
    background: var(--brand-teal);
    color: white;
}