/* Hero Section Responsive */
@media (max-width: 992px) {
    /* Stack columns on tablet */
    section > div > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Adjust text size */
    h1 {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    /* Mobile adjustments */
    section {
        padding: 2rem 0 !important;
    }
    
    h1 {
        font-size: 1.75rem !important;
    }
    
    /* Reduce padding on mobile */
    div[style*="padding: 2.5rem"] {
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem !important;
    }
    
    /* Stack trust badges */
    div[style*="grid-template-columns: repeat(2"] {
        grid-template-columns: 1fr !important;
    }
}

/* Hide/Remove Extra Red Border in Form */
#_lg_form_ {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#_lg_form_ > div,
#_lg_form_ > div > div {
    border: none !important;
    box-shadow: none !important;
}

/* Remove any nested red boxes */
#_lg_form_ [style*="border"] {
    border: none !important;
}

#_lg_form_ [style*="box-shadow"] {
    box-shadow: none !important;
}

/* Ensure form content fits nicely */
#_lg_form_ * {
    max-width: 100% !important;
}

/* Limit Form Height */
.container > div > div:last-child {
    max-height: 650px;
    overflow-y: auto;
}

/* Compact form elements */
#_lg_form_ input,
#_lg_form_ select,
#_lg_form_ button {
    margin-bottom: 0.75rem !important;
}

/* Reduce form spacing */
#_lg_form_ > div {
    padding: 0.5rem 0 !important;
}
