/* ========================================
   SOCIOPLUS® - LOGIN STYLES v5.0
   Formulario izquierda + Features derecha
   Con Toast Flotante
   
   DEPENDENCIAS:
   <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
   <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
======================================== */

:root {
    --primary: #2ecc71;
    --primary-dark: #27ae60;
    --primary-light: #58d68d;
    --primary-bg: rgba(46, 204, 113, 0.1);
    
    --accent-orange: #f39c12;
    --accent-blue: #3498db;
    --accent-pink: #e91e63;
    --accent-purple: #9b59b6;
    --accent-red: #e74c3c;
    --accent-teal: #1abc9c;
    
    --bg-main: #f5f7fa;
    --bg-card: #ffffff;
    --bg-sidebar: #1a252f;
    
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-muted: #95a5a6;
    --text-light: #bdc3c7;
    
    --border-color: #e8ecef;
    --border-light: #f0f3f5;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 4px 15px rgba(46, 204, 113, 0.3);
    
    --transition-fast: 0.15s ease;
    --transition-smooth: 0.3s ease;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* ========================================
   RESET & BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   LAYOUT PRINCIPAL
======================================== */
.login-container,
.container-fluid > .row > .right-column.sisu > .row {
    min-height: 100vh;
    display: flex;
}

.container-fluid {
    padding: 0;
}

.container-fluid > .row {
    margin: 0;
    width: 100%;
}

.right-column.sisu {
    width: 100%;
}

.right-column.sisu > .row {
    width: 100%;
    margin: 0 !important;
}

/* ========================================
   COLUMNA IZQUIERDA - FORMULARIO
======================================== */
.signin-left-column,
.login-form-column {
    width: 42%;
    flex: 0 0 42%;
    max-width: 42%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 60px !important;
    background: var(--bg-main) !important;
    order: 1 !important;
}

.login-form-wrapper {
    width: 100%;
    max-width: 380px;
}

/* Logo */
.signin-logo,
.login-logo {
    text-align: center;
    margin-bottom: 36px;
    display: block;
}

.signin-logo img,
.login-logo img {
    max-width: 170px;
    height: auto;
}

.login-logo-text {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.login-logo-text span {
    color: var(--primary);
}

/* Card del formulario */
.login-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.login-card-header {
    margin-bottom: 24px;
}

.login-card-header h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.login-card-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========================================
   FORM GROUPS
======================================== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ========================================
   INPUTS
======================================== */
.input-wrapper {
    position: relative;
}

.input-wrapper .input-icon,
.input-wrapper .material-icons:first-of-type {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-muted);
    transition: var(--transition-fast);
    pointer-events: none;
}

.form-control,
.input-wrapper input {
    width: 100%;
    padding: 13px 14px 13px 44px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-smooth);
}

.form-control::placeholder,
.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.form-control:hover,
.input-wrapper input:hover {
    border-color: var(--text-light);
}

.form-control:focus,
.input-wrapper input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

.input-wrapper:focus-within .input-icon,
.input-wrapper:focus-within .material-icons:first-of-type {
    color: var(--primary);
}

/* Sin wrapper */
.form-group > .form-control {
    padding: 13px 16px;
}

/* Toggle password */
.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0;
    display: flex;
}

.toggle-password:hover {
    color: var(--text-secondary);
}

.toggle-password .material-icons {
    position: static !important;
    transform: none !important;
}

/* ========================================
   INPUT ERROR STATE
======================================== */
.form-control.input-error,
.input-wrapper input.input-error {
    border-color: #e53e3e !important;
    background: #fff5f5 !important;
}

.input-wrapper:has(.input-error) .input-icon,
.input-wrapper:has(.input-error) .material-icons:first-of-type {
    color: #e53e3e !important;
}

/* ========================================
   SHAKE ANIMATION
======================================== */
.shake-animation {
    animation: shakeElement 0.5s ease-in-out;
}

@keyframes shakeElement {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-6px); }
    30% { transform: translateX(6px); }
    45% { transform: translateX(-5px); }
    60% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
    90% { transform: translateX(3px); }
}

/* ========================================
   CHECKBOX
======================================== */
.form-check {
    margin-bottom: 22px;
}

.custom-control,
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.custom-control-input,
.custom-checkbox input {
    position: absolute;
    opacity: 0;
}

.custom-control-indicator,
.checkbox-box {
    width: 18px;
    height: 18px;
    background: var(--bg-main);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.custom-control-indicator::after,
.checkbox-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 8px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: translate(-50%, -60%) rotate(45deg) scale(0);
    transition: var(--transition-fast);
}

.custom-control-input:checked + .custom-control-indicator,
.custom-checkbox input:checked + .checkbox-box {
    background: var(--primary);
    border-color: var(--primary);
}

.custom-control-input:checked + .custom-control-indicator::after,
.custom-checkbox input:checked + .checkbox-box::after {
    transform: translate(-50%, -60%) rotate(45deg) scale(1);
}

.custom-control:hover .custom-control-indicator,
.custom-checkbox:hover .checkbox-box {
    border-color: var(--primary);
}

.custom-control-description,
.checkbox-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Checkbox Error */
.checkbox-box.checkbox-error {
    border-color: #e53e3e !important;
    background: #fff5f5 !important;
}

/* ========================================
   BOTÓN PRINCIPAL
======================================== */
.btn-primary.btn-gradient,
.btn-login {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: white !important;
    background: var(--primary) !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-primary);
}

.btn-primary.btn-gradient:hover,
.btn-login:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.35);
}

.btn-primary.btn-gradient:active,
.btn-login:active {
    transform: translateY(0);
}

.btn-primary.btn-gradient .material-icons,
.btn-primary.btn-gradient .batch-icon,
.btn-login .material-icons {
    font-size: 18px;
}

/* Botón Loading */
.btn-login.loading {
    pointer-events: none;
    opacity: 0.9;
}

.btn-login .spinning {
    animation: spin 1s linear infinite;
}

.btn-login.success {
    background: #38a169 !important;
    pointer-events: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   SEPARADOR Y LINK
======================================== */
hr {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.text-center,
.forgot-link {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.signin-left-column p a,
.forgot-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.signin-left-column p a:hover,
.forgot-link a:hover {
    text-decoration: underline;
}

/* ========================================
   OCULTAR ALERTLOGIN LEGACY
======================================== */
.alertlogin {
    display: none !important;
}

/* ========================================
   COLUMNA DERECHA - FEATURES
======================================== */
.signin-right-column,
.features-column {
    width: 58%;
    flex: 0 0 58%;
    max-width: 58%;
    background: var(--bg-sidebar) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 60px !important;
    position: relative;
    overflow: hidden;
    order: 2 !important;
}

.signin-right-column::before,
.features-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(46, 204, 113, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(26, 188, 156, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.signin-right-column::after,
.features-column::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--accent-teal));
}

/* ========================================
   FEATURES CONTENT
======================================== */
.features-content,
.features-showcase {
    position: relative;
    z-index: 1;
    max-width: 480px;
    width: 100%;
}

.features-header {
    margin-bottom: 36px;
}

.features-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(46, 204, 113, 0.15);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.features-eyebrow .material-icons {
    font-size: 14px;
}

.features-title {
    font-size: 30px;
    font-weight: 700;
    color: white;
    line-height: 1.25;
    margin-bottom: 10px;
}

.features-title span,
.features-headline span {
    color: var(--primary);
}

.features-headline {
    font-size: 28px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin-bottom: 10px;
}

.features-subtitle {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   FEATURE CARDS
======================================== */
.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-card,
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.feature-card:hover,
.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(46, 204, 113, 0.2);
    transform: translateX(6px);
}

.feature-icon,
.feature-card-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    background: var(--primary-bg);
}

.feature-icon.green { background: var(--primary-bg); }
.feature-icon.green .material-icons { color: var(--primary); }

.feature-icon.orange { background: rgba(243, 156, 18, 0.15); }
.feature-icon.orange .material-icons { color: var(--accent-orange); }

.feature-icon.blue { background: rgba(52, 152, 219, 0.15); }
.feature-icon.blue .material-icons { color: var(--accent-blue); }

.feature-icon .material-icons,
.feature-card-icon .material-icons {
    font-size: 22px;
    color: var(--primary);
}

.feature-content,
.feature-card-content {
    flex: 1;
}

.feature-content h4,
.feature-card-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 3px;
}

.feature-content p,
.feature-card-desc {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.nps-badge,
.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(46, 204, 113, 0.15);
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 6px;
}

.nps-badge .material-icons,
.feature-badge .material-icons {
    font-size: 11px;
}

/* ========================================
   FOOTER - STATS + APP DOWNLOAD
======================================== */
.features-footer {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* App Download */
.app-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.app-download-label {
    font-size: 12px;
    color: var(--text-light);
    margin-right: 8px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.store-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.store-button svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.store-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-button-text small {
    font-size: 9px;
    color: var(--text-light);
    line-height: 1;
}

.store-button-text strong {
    font-size: 12px;
    color: white;
    font-weight: 600;
    line-height: 1.2;
}

/* ========================================
   TOAST CONTAINER - FLOTANTE
======================================== */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

/* ========================================
   TOAST BASE
======================================== */
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    min-width: 320px;
    max-width: 420px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    
    /* Animación entrada */
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Sombra elegante */
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 2px 10px rgba(0, 0, 0, 0.1);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   TOAST ICON WRAPPER
======================================== */
.toast-icon-wrapper {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.toast-icon-wrapper .material-icons {
    font-size: 22px;
}

/* ========================================
   TOAST MESSAGE
======================================== */
.toast-message {
    flex: 1;
    line-height: 1.4;
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   TOAST CLOSE BUTTON
======================================== */
.toast-close {
    background: rgba(0, 0, 0, 0.08);
    border: none;
    cursor: pointer;
    padding: 6px;
    opacity: 0.7;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    width: 32px;
    height: 32px;
}

.toast-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.12);
}

.toast-close .material-icons {
    font-size: 18px;
}

/* ========================================
   TOAST PROGRESS BAR
======================================== */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    transform-origin: left;
    animation: toastProgress linear forwards;
    border-radius: 0 0 12px 12px;
}

@keyframes toastProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* ========================================
   TOAST ERROR - Rojo elegante
======================================== */
.toast.toast-error {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    border: 1px solid #feb2b2;
    color: #c53030;
}

.toast.toast-error .toast-icon-wrapper {
    background: #fed7d7;
}

.toast.toast-error .toast-icon-wrapper .material-icons {
    color: #e53e3e;
}

.toast.toast-error .toast-close {
    color: #c53030;
}

.toast.toast-error .toast-progress {
    background: linear-gradient(90deg, #fc8181, #e53e3e);
}

/* ========================================
   TOAST WARNING - Amarillo/Naranja
======================================== */
.toast.toast-warning {
    background: linear-gradient(135deg, #ffffff 0%, #fffaf0 100%);
    border: 1px solid #fbd38d;
    color: #c05621;
}

.toast.toast-warning .toast-icon-wrapper {
    background: #feebc8;
}

.toast.toast-warning .toast-icon-wrapper .material-icons {
    color: #ed8936;
}

.toast.toast-warning .toast-close {
    color: #c05621;
}

.toast.toast-warning .toast-progress {
    background: linear-gradient(90deg, #f6ad55, #ed8936);
}

/* ========================================
   TOAST SUCCESS - Verde
======================================== */
.toast.toast-success {
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
    border: 1px solid #9ae6b4;
    color: #276749;
}

.toast.toast-success .toast-icon-wrapper {
    background: #c6f6d5;
}

.toast.toast-success .toast-icon-wrapper .material-icons {
    color: #48bb78;
}

.toast.toast-success .toast-close {
    color: #276749;
}

.toast.toast-success .toast-progress {
    background: linear-gradient(90deg, #68d391, #48bb78);
}

/* ========================================
   TOAST INFO - Azul
======================================== */
.toast.toast-info {
    background: linear-gradient(135deg, #ffffff 0%, #ebf8ff 100%);
    border: 1px solid #90cdf4;
    color: #2b6cb0;
}

.toast.toast-info .toast-icon-wrapper {
    background: #bee3f8;
}

.toast.toast-info .toast-icon-wrapper .material-icons {
    color: #4299e1;
}

.toast.toast-info .toast-close {
    color: #2b6cb0;
}

.toast.toast-info .toast-progress {
    background: linear-gradient(90deg, #63b3ed, #4299e1);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1100px) {
    .signin-left-column,
    .login-form-column {
        padding: 40px !important;
    }
    
    .signin-right-column,
    .features-column {
        padding: 40px !important;
    }
    
    .features-title,
    .features-headline {
        font-size: 26px;
    }
}

@media (max-width: 900px) {
    .container-fluid > .row > .right-column.sisu > .row,
    .login-container {
        flex-direction: column;
    }
    
    .signin-left-column,
    .login-form-column {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 40px 30px !important;
        order: 1 !important;
    }
    
    .signin-right-column,
    .features-column {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 40px 30px !important;
        order: 2 !important;
    }
    
    .signin-right-column::after,
    .features-column::after {
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: 4px;
    }
    
    .feature-cards {
        display: none;
    }
    
    .features-header {
        text-align: center;
        margin-bottom: 24px;
    }
    
    .features-footer {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
    
    .stats-row {
        justify-content: space-around;
    }
    
    .app-download {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .app-download-label {
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 8px;
    }
}

@media (max-width: 576px) {
    .signin-left-column,
    .login-form-column {
        padding: 30px 20px !important;
    }
    
    .login-card {
        padding: 24px 20px;
    }
    
    .login-logo-text {
        font-size: 26px;
    }
    
    .signin-logo img {
        max-width: 150px;
    }
    
    .features-title,
    .features-headline {
        font-size: 22px;
    }
    
    .stats-row {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        flex: 0 0 33%;
    }
    
    .stat-value {
        font-size: 22px;
    }
    
    .store-button {
        padding: 8px 12px;
    }
    
    /* Toast responsive */
    .toast-container {
        top: 16px;
        right: 16px;
        left: 16px;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
        padding: 14px 16px;
        font-size: 13px;
    }
    
    .toast-icon-wrapper {
        width: 32px;
        height: 32px;
    }
    
    .toast-icon-wrapper .material-icons {
        font-size: 20px;
    }
}

/* ========================================
   ANIMACIONES
======================================== */
.signin-left-column,
.login-form-column {
    animation: fadeIn 0.5s ease-out;
}

.features-content,
.features-showcase {
    animation: slideInRight 0.6s ease-out;
}

.feature-card,
.feature-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.feature-card:nth-child(1),
.feature-item:nth-child(1) { animation-delay: 0.2s; }

.feature-card:nth-child(2),
.feature-item:nth-child(2) { animation-delay: 0.35s; }

.feature-card:nth-child(3),
.feature-item:nth-child(3) { animation-delay: 0.5s; }

.features-footer {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out 0.6s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   OVERRIDES BOOTSTRAP/MDB
======================================== */
.bg-white,
.bg-dark {
    background: transparent !important;
}

.mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.px-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.col-md-5.order-md-1 {
    order: 1 !important;
}

.col-md-7.order-md-2 {
    order: 2 !important;
}