/* Unique prefix to avoid conflicts: flx- */
:root {
    --brand-navy: #001A72;
    --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;
}

/* Background Pattern matching your footer */
.flx-contact-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70vh;
    /* Soft Blue Overlay + Customer Service Image */
    background: linear-gradient(
        rgba(0, 26, 114, 0.8), 
        rgba(0, 26, 114, 0.6)
    ), 
    url('/Assets/customer-rep.jpg');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1; /* Ensures it stays behind the contact form */
}

.flx-contact-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
}

/* Header Styling */
.flx-contact-header {
    margin-top: 2rem;
    text-align: center;
    margin-bottom: 40px;
}


.flx-contact-header h1 {
    font-size: 2.8rem;
    color: white;
    font-weight: 600;
    margin-bottom: 10px;
}

.flx-text-teal {
    color: var(--brand-navy);
}

.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-navy);
    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-navy);
    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-navy);
    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;
}
}