﻿/* --- Premium Inquiry Card Improvisation --- */

.inquiry-card {
    background: #ffffff;
    padding: 45px;
    border-radius: 20px;
    /* Soft, multi-layered shadow for depth */
    box-shadow: 0 10px 30px rgba(2, 12, 27, 0.04), 0 20px 60px rgba(2, 12, 27, 0.08);
    border: 1px solid rgba(179, 147, 89, 0.1); /* Subtle gold tint border */
    position: relative;
    transition: var(--transition);
}

    .inquiry-card:hover {
        border-color: rgba(179, 147, 89, 0.3);
    }

.form-group {
    margin-bottom: 24px;
    position: relative;
}

    .form-group label {
        display: block;
        font-weight: 700;
        font-size: 0.8rem;
        margin-bottom: 8px;
        color: var(--primary);
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: var(--transition);
    }

/* Enhancing the Inputs */
.form-input {
    width: 100%;
    padding: 14px 18px;
    background-color: #f9fafc;
    border: 2px solid transparent; /* Hidden border until focus/error */
    border-radius: 10px;
    color: var(--primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

    .form-input::placeholder {
        color: #a0aec0;
        font-size: 0.9rem;
    }

    .form-input:focus {
        outline: none;
        background-color: #ffffff;
        border-color: var(--gold);
        box-shadow: 0 0 0 4px rgba(179, 147, 89, 0.15);
    }

/* Error States */
.input-validation-error {
    border: 2px solid #e53e3e !important;
    background-color: #fffafb !important;
}

.field-validation-error {
    color: #e53e3e;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Success/Feedback Messages */
.form-feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    animation: slideUp 0.4s ease forwards;
}

/* Button Refinement */
.btn-full {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s ease;
}

    .btn-full:hover {
        background: var(--gold);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(179, 147, 89, 0.3);
    }

    .btn-full:active {
        transform: translateY(0);
    }

/* Animation for Feedback */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.phone-input-group {
    display: flex;
    gap: 10px;
}

.country-select {
    flex: 0 0 130px; /* Fixed width for the dropdown */
    padding-right: 5px;
    cursor: pointer;
    background-color: #f0f2f5; /* Slightly different shade to distinguish it */
}

@media (max-width: 480px) {
    .phone-input-group {
        flex-direction: column;
        gap: 5px;
    }

    .country-select {
        flex: 1;
    }
}
/* --- Inquiry Info Improvised --- */
.inquiry-info {
    padding-right: 50px;
}

    .inquiry-info .section-title {
        font-size: 3rem;
        line-height: 1.1;
        margin: 15px 0 25px;
        font-weight: 800;
    }

.lead-text {
    font-size: 1.1rem;
    color: var(--text-slate);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 90%;
}

/* Trust Items Layout */
.trust-points {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.trust-icon {
    width: 45px;
    height: 45px;
    background: rgba(179, 147, 89, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: 0.3s ease;
}

.trust-item:hover .trust-icon {
    background: var(--gold);
    color: white;
    transform: scale(1.1);
}

.trust-text {
    display: flex;
    flex-direction: column;
}

    .trust-text strong {
        color: var(--primary);
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .trust-text span {
        color: var(--text-slate);
        font-size: 0.9rem;
        line-height: 1.5;
    }

/* Footer Note */
.inquiry-footer-note {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 25px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .inquiry-info {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }

    .trust-item {
        justify-content: center;
        text-align: left;
    }

    .lead-text {
        margin: 0 auto 40px;
    }
}
/* Styling for Categorized Dropdown */
select.form-input optgroup {
    font-weight: 700;
    color: var(--gold);
    background: #fff;
    font-size: 0.85rem;
    padding: 10px;
    text-transform: uppercase;
}

select.form-input option {
    color: var(--primary);
    padding: 10px;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
}

/* When a field becomes valid, hide the error message and change border */
.form-input.valid {
    border-color: #28a745 !important;
    background-color: #f6fff8 !important;
    box-shadow: none !important;
}

/* Hide the validation span when the input is valid */
.field-validation-valid {
    display: none !important;
}

/* Ensure error messages have a block display so they push content correctly */
.field-validation-error {
    display: block;
    color: #e53e3e;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 5px;
}