/* ==========================================================================
   INDEX / HOME PAGE SPECIFIC STYLES
   ========================================================================== */

/* ── Client Logos Carousel ─────────────────────────────────── */
.client_logo img {
    height: 75px;
    width: auto;
}

/* ── Spinner Loader ────────────────────────────────────────── */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── Form Validation & Field Errors ───────────────────────── */
.field-error {
    display: none;
    color: #dc3545;
    font-size: .8rem;
    margin-top: 4px;
    font-weight: 500;
    animation: errIn .2s ease;
}

@keyframes errIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-control.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .15) !important;
}

/* ── Toast Notifications ───────────────────────────────────── */
.form-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
    z-index: 99999;
    max-width: 380px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .35s ease, transform .35s ease;
}

.form-toast--show {
    opacity: 1;
    transform: translateY(0);
}

.form-toast--success {
    background: #1a7f4b;
}

.form-toast--error {
    background: #c0392b;
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ── reCAPTCHA Badge Positioning ────────────────────────────── */
#captcha-wrap {
    position: fixed;
    left: 0;
    bottom: 14px;
    width: 70px;
    height: 60px;
    overflow: hidden;
    z-index: 9999;
    transition: width .3s ease;
}

#captcha-wrap:hover {
    width: 256px;
}

#captcha-wrap .grecaptcha-badge {
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    margin: 0 !important;
}
