/* Main Content Wrapper */
.contact-wrapper {
    padding: 2rem 0;
    /* More vertical padding */
}

/* Left Column */
.contact-card {
    background-color: #E6EBEF;
    ;
    padding: 14px 20px;
    border-radius: 6px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-card .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #053862;
}

.contact-card h6 {
    font-family: Inter Tight;
    font-size: 15px;
    font-weight: 600;
    color: #053862;
    line-height: 120%;
    letter-spacing: 0px;
    margin-bottom: 0;
}

.contact-card a {
    font-family: Inter Tight;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0px;
    color: #053862;
    text-decoration: none;
    margin-bottom: 0;
}

.contact-image {
    width: 100%;
    border-radius: 16px;
    /* Slightly larger radius */
    object-fit: cover;
}

/* Right Column: Form */
.contact-form-section h1 {
    font-family: Inter Tight;
    font-weight: 700;
    font-size: 48px;
    letter-spacing: 0px;
    line-height: 120%;
    color: var(--fly-text-primary);
    margin-bottom: 1rem;
}

.contact-form-section p {
    font-family: Inter Tight;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0px;
    color: #565656;
}

.form-label {
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    font-family: Inter Tight;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    letter-spacing: 0px;
    border-radius: 8px;
    border: 2px solid #d0d5dd;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    /* Subtle shadow */
    color: #565656;
    transition: border-color 0.3s ease;
}

.form-control::placeholder {
    color: #ABABAB;
    /* Lighter placeholder text */
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

textarea.form-control {
    min-height: 130px;
}

.phone-input-group .btn {
    border: 2px solid #d0d5dd;
    background-color: #fff;
    border-right: none;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    border-radius: 8px 0 0 8px;
}

/* New Phone Input with Country Selector */
.phone-input-wrapper-new {
    display: flex;
    align-items: stretch;
    border: 2px solid #d0d5dd;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    overflow: visible; /* Allow dropdown to show */
}

.phone-input-wrapper-new:focus-within {
    border-color: #053862;
    box-shadow: 0 0 0 4px rgba(5, 56, 98, 0.1);
}

.phone-input-field {
    flex: 1;
    border: none !important;
    border-left: 1px solid #d0d5dd !important;
    border-radius: 0 !important;
    padding: 0.75rem 1rem;
    box-shadow: none !important;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #2d2d2d;
    background: transparent;
}

.phone-input-field:focus {
    outline: none;
}

/* Responsive: Stack on mobile */
@media (max-width: 576px) {
    .phone-input-wrapper-new {
        gap: 0.5rem;
    }
}

.phone-input-group .form-control {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

.submit-btn {
    background-color: #0056b3;
    border-color: var(--fly-dark-blue);
    padding: 0.85rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
    width: 100%;
}

@media (max-width: 1200px) {
    .contact-form-section h1 {
        font-size: 36px !important;
    }

    .contact-card {
        gap: 0.5rem !important;
    }

    .contact-card a {
        font-size: 12px !important;
    }
}

@media (max-width: 576px) {
    .contact-card {
        margin-bottom: 10px;
    }

    .contact-form-section h1 {
        text-align: center !important;
        font-size: 28px !important;
    }

    .contact-form-section p {
        font-size: 12px !important;
    }

    .g-5,
    .gx-5 {
        --bs-gutter-x: 1rem;
        /* Reduce gutter on mobile */
    }
}