/* ===== NAVBAR GLASS EFFECT ===== */
.navbar-glass {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.navbar-glass:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px) saturate(1.3);
    -webkit-backdrop-filter: blur(15px) saturate(1.3);
}

.navbar-glass .navbar-brand,
.navbar-glass .nav-link {
    color: rgba(0, 0, 0, 0.9) !important;
    font-weight: 500;
}

.navbar-glass .navbar-brand:hover,
.navbar-glass .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Navbar móvil con efecto glass */
@media (max-width: 991.98px) {
    .navbar-glass .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 15px;
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-glass .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        margin-bottom: 0.25rem;
        transition: all 0.3s ease;
    }
    
    .navbar-glass .nav-link:hover {
        background: rgba(13, 110, 253, 0.1);
        transform: translateX(5px);
    }
    
    .navbar-glass .btn-outline-primary {
        margin-top: 1rem;
        width: 100%;
    }
    
    .navbar-glass .navbar-toggler {
        border: 1px solid rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 8px;
        padding: 0.5rem;
    }
    
    .navbar-glass .navbar-toggler:focus {
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }
    
    .navbar-glass .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* ===== VARIABLES CSS IGLESIA VIVA ===== */
:root {
    --primary-blue: #1e40af;
    --primary-blue-dark: #1e3a8a;
    --primary-blue-light: #1d4ed8;
    --success-green: #10b981;
    --warning-yellow: #f59e0b;
    --error-red: #ef4444;
    --neutral-gray: #6b7280;
    --neutral-gray-light: #9ca3af;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --border-color: #e2e8f0;
}

/* ===== ESTILOS GLOBALES ===== */
html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-gray);
    color: #1f2937;
}

/* ===== ENLACES Y BOTONES ===== */
a, .btn-link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, .btn-link:hover {
    color: var(--primary-blue-dark);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(30, 64, 175, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(30, 64, 175, 0.2);
}

.btn-secondary {
    color: var(--neutral-gray);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--light-gray);
    border-color: var(--neutral-gray);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
    border: none;
    color: var(--white);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-yellow) 0%, #d97706 100%);
    border: none;
    color: var(--white);
}

.btn-danger {
    background: linear-gradient(135deg, var(--error-red) 0%, #dc2626 100%);
    border: none;
    color: var(--white);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
    border-color: var(--primary-blue);
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ===== CARDS Y COMPONENTES ===== */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    background-color: var(--white);
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--white);
    border-bottom: none;
    border-radius: 12px 12px 0 0 !important;
    padding: 1.25rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* ===== STATS CARDS ===== */
.stats-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-blue);
}

.stats-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.stats-card .stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stats-card .stats-label {
    color: var(--neutral-gray);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.stats-card.success {
    border-left-color: var(--success-green);
}

.stats-card.success .stats-number {
    color: var(--success-green);
}

.stats-card.warning {
    border-left-color: var(--warning-yellow);
}

.stats-card.warning .stats-number {
    color: var(--warning-yellow);
}

/* ===== FORMULARIOS ===== */
.form-control {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
    background-color: var(--white);
}

.form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* ===== SIDEBAR ===== */
.sidebar {
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    min-height: 100vh;
    width: 280px;
    position: relative;
    flex-shrink: 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    margin: 0.25rem 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar .nav-link:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.sidebar .nav-link.active {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.sidebar .nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex-grow: 1;
    min-height: 100vh;
    background-color: var(--light-gray);
    transition: all 0.3s ease;
}

.main-header {
    background-color: var(--white);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.main-body {
    padding: 2rem;
}

/* ===== TABLAS ===== */
.table {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.table thead th {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: var(--white);
    border: none;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.table tbody td {
    padding: 1rem;
    border-color: var(--border-color);
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: rgba(30, 64, 175, 0.05);
}

/* ===== BADGES ===== */
.badge {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%) !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, var(--warning-yellow) 0%, #d97706 100%) !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, var(--error-red) 0%, #dc2626 100%) !important;
}

/* ===== UTILIDADES ===== */
.text-primary {
    color: var(--primary-blue) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%) !important;
}

.border-primary {
    border-color: var(--primary-blue) !important;
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        z-index: 1000;
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-body {
        padding: 1rem;
    }
}

/* ===== LOADING STATES ===== */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== ALERTS ===== */
.alert {
    border: none;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--success-green);
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    border-left: 4px solid var(--warning-yellow);
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--error-red);
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
    border-left: 4px solid var(--primary-blue);
}

/* ===== LOGIN PAGE STYLES ===== */
.login-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 50%, var(--primary-blue-dark) 100%);
}

.login-brand-panel {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.6s ease-out;
}

.login-form-panel {
    background: var(--white);
}

.login-form-container {
    width: 100%;
    max-width: 450px;
    animation: slideInRight 0.6s ease-out;
}

.login-logo i {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 50%;
    padding: 2rem;
    margin-bottom: 1rem;
}

.login-features .feature-item {
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.login-features .feature-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.login-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -75px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
    }
}

.demo-credentials-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.demo-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.demo-content {
    padding: 1rem;
}

.credential-item {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.credential-item:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(30, 64, 175, 0.2);
}

.credential-item:last-child {
    margin-bottom: 0;
}

.credential-role {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.credential-email {
    font-size: 0.75rem;
    opacity: 0.8;
}

.credential-password {
    font-size: 0.75rem;
    font-family: monospace;
    opacity: 0.7;
}

.demo-footer {
    background: rgba(30, 64, 175, 0.05);
    padding: 0.5rem 1rem;
    text-align: center;
    color: var(--primary-blue);
}

/* Contact Buttons Section */
.contact-buttons-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid rgba(25, 118, 210, 0.2);
}

.contact-header {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-buttons {
    gap: 0.75rem !important;
}

.contact-buttons .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.contact-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.contact-buttons .btn-success {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: none;
}

.contact-buttons .btn-success:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
}

.contact-buttons .btn-primary {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    border: none;
}

.contact-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.contact-info {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 1rem;
    text-align: center;
    border: 1px solid rgba(25, 118, 210, 0.1);
}

.contact-info small {
    line-height: 1.4;
}

/* Password Hidden Alert */
.alert-password-hidden {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    max-width: 400px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    border-radius: 12px !important;
}

.alert-password-hidden .btn-close {
    background: none !important;
    border: none !important;
    font-size: 1.2rem !important;
    color: white !important;
    opacity: 0.8 !important;
}

.alert-password-hidden .btn-close:hover {
    opacity: 1 !important;
}

.login-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

.login-links a {
    display: inline-block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.login-links a:hover {
    transform: translateX(4px);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Login Responsive */
@media (max-width: 991.98px) {
    .login-brand-panel {
        display: none;
    }
    
    .login-form-panel {
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    }
    
    .login-form-container {
        background: white;
        border-radius: 20px;
        padding: 2rem;
        margin: 2rem 0;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
}

/* ===== PUBLIC PORTAL STYLES ===== */

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1507692049790-de58290a4334?w=1920&h=1080&fit=crop&crop=center');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85) 0%, rgba(30, 58, 138, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-logo .logo-container {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
}

.hero-logo i {
    font-size: 4rem;
    color: white;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: titleSlide 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: subtitleFade 1.2s ease-out;
}

.hero-actions {
    animation: actionsSlide 1.4s ease-out;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 3rem;
    animation: floatElement 8s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.element-4 {
    top: 30%;
    right: 25%;
    animation-delay: 6s;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-image-container {
    position: relative;
}

.main-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 64, 175, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.main-image:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.floating-stats {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stat-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: statFloat 4s ease-in-out infinite;
}

.stat-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.stat-2 {
    bottom: -20px;
    left: -20px;
    animation-delay: 1s;
}

.stat-3 {
    top: 50%;
    right: -30px;
    animation-delay: 2s;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--neutral-gray);
    text-transform: uppercase;
}

.mission-vision-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.mission-card, .vision-card {
    display: flex;
    align-items: flex-start;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.25rem;
}

.founded-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Church Portal Traditional Design */
.church-portal {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
}

/* Hero Traditional */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1a1a1a;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) contrast(1.1);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.hero-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Georgia', serif;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-stats {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffc107;
}

.hero-stats .stat-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stats .stat-divider {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-hero.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.btn-hero.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.6);
}

.btn-hero.btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.btn-hero.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 3;
}

.church-illustration {
    position: relative;
    text-align: center;
}

.church-icon-container {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 4rem;
    color: white;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: float 4s ease-in-out infinite;
}

.float-element.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.float-element.element-2 {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.float-element.element-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    backdrop-filter: blur(10px);
}

.scroll-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* About Traditional */
.about-section {
    padding: 5rem 0;
    background: #f8f9fa;
    position: relative;
}

.about-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(13, 110, 253, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(25, 135, 84, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
    border-radius: 2px;
    margin: 0 auto;
}

.about-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.about-text {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.mission-card, .vision-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.mission-icon, .vision-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.mission-content h6, .vision-content h6 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.mission-content p, .vision-content p {
    color: #718096;
    margin-bottom: 0;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info-card .card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin: 0 auto 1rem auto;
}

.info-card h6 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #718096;
    margin-bottom: 0;
    font-weight: 500;
}

/* Services Traditional */
.services-section {
    padding: 5rem 0;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.services-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.services-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.services-section .container {
    position: relative;
    z-index: 3;
}

.services-section .section-title {
    color: white;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: white;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-icon.sunday {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.service-icon.prayer {
    background: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%);
}

.service-icon.youth {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
}

.service-icon.children {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
}

.service-title {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
}

.service-day {
    color: #0d6efd;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.service-time {
    font-size: 1.4rem;
    font-weight: 700;
    color: #198754;
    margin-bottom: 1rem;
}

.service-desc {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Values Traditional */
.values-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.value-icon-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.value-title {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 0;
    font-family: 'Georgia', serif;
}

/* Pastor Traditional */
.pastor-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.pastor-image {
    text-align: center;
}

.pastor-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 5px solid white;
}

.pastor-badge {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pastor-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.pastor-content blockquote {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    font-style: italic;
    border-left: 4px solid #0d6efd;
    padding-left: 1rem;
    margin: 2rem 0;
}

.pastor-content .lead {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Contact Traditional */
.contact-section {
    padding: 5rem 0;
    background: #0d6efd;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd 0%, #198754 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.contact-card h5 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Georgia', serif;
}

.contact-card p {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link:hover {
    color: #198754;
    text-decoration: underline;
}

/* Social Section */
.social-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-title {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.social-link.youtube {
    background: #ff0000;
}

.social-link:hover {
    transform: translateY(-2px) scale(1.1);
}

/* Footer Traditional */
.footer {
    background: #212529;
    color: white;
    padding: 3rem 0;
}

.footer-brand h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
}

.footer-info .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Loading */
.loading-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.loading-spinner {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(102, 126, 234, 0.3);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-stats {
        justify-content: center;
    }
    
    .hero-stats .stat-divider {
        display: none;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}

/* Ministries Section */
.ministries-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ministries-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) brightness(0.8);
}

.ministries-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
    z-index: 2;
}

/* Hero Section */
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px) brightness(0.6);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

/* Hero Content Styling */
.hero-badge .badge {
    font-size: 0.9rem !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px !important;
    font-weight: 500;
}

.hero-icon {
    animation: float 3s ease-in-out infinite;
}

.icon-circle {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Stats */
.hero-stats .stat-item {
    text-align: center;
    padding: 1rem;
}

.hero-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffc107;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stats .stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 1rem;
}

/* Hero Actions */
.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border: 2px solid transparent;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.6);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-btn {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: bounce 2s infinite;
}

.scroll-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Decorative Elements */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.decoration {
    position: absolute;
    opacity: 0.1;
}

.decoration-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.8) 0%, rgba(255, 193, 7, 0.2) 100%);
    animation: float 6s ease-in-out infinite;
}

.decoration-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.decoration-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.decoration-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Service Cards - Ensure they are above overlays */
.service-card {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    height: 100%;
}

/* Ministry Cards - Ensure they are above overlays */
.ministry-card {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* Value Cards - Ensure they are above overlays */
.value-card {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* About Section */
.about-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(13, 110, 253, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 2px;
}

/* Info Cards */
.info-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card .card-icon {
    width: 50px;
    height: 50px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.info-card .card-content h6 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Founded Card */
.founded-card {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 110, 253, 0.1) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(13, 110, 253, 0.2);
    margin-top: 2rem;
}

.founded-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* About Visual */
.about-visual {
    position: relative;
}

.main-visual-container {
    position: relative;
    margin-bottom: 3rem;
}

.visual-circle {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
    position: relative;
    z-index: 2;
}

.visual-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    min-width: 200px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stats-grid .stat-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid .stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stats-grid .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem auto;
}

.stats-grid .stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.stats-grid .stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Service Cards - Ensure they are above overlays (keeping existing styles) */
.service-card {
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    z-index: 3;
}

.service-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.service-day {
    color: var(--neutral-gray);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.service-time {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.service-desc {
    font-size: 0.875rem;
    color: var(--neutral-gray);
    margin-bottom: 0;
}

.service-image {
    height: 120px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

/* Ministry Cards */
.ministry-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: 100%;
}

.ministry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ministry-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.ministry-title {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ministry-desc {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Value Cards */
.value-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-icon-large {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.value-title {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Church Icon Large */
.church-icon-large {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8) 0%, rgba(30, 58, 138, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
}

.gallery-content h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Values Section */
.values-section {
    background: linear-gradient(135deg, #f8fafc 0%, white 100%);
}

.values-image {
    position: relative;
}

.values-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.values-list {
    display: grid;
    gap: 1rem;
}

.value-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.value-icon {
    margin-right: 1rem;
    font-size: 1.25rem;
}

.value-text {
    font-weight: 600;
    color: var(--primary-blue);
}

.values-quote {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2);
}

/* Animations */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes actionsSlide {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes floatElement {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
        opacity: 0.2;
    }
}

@keyframes statFloat {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-15px); 
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section spacing */
section {
    scroll-margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-background {
        background-attachment: scroll;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-stats {
        display: none;
    }
}

/* ===== HOME PAGE STYLES ===== */

/* Home Hero Section */
.home-hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.home-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1507692049790-de58290a4334?w=1920&h=1080&fit=crop&crop=center');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(30, 58, 138, 0.85) 50%, rgba(30, 64, 175, 0.9) 100%);
    z-index: 2;
}

.home-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.9);
    color: #1f2937;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: badgeSlide 1s ease-out;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.home-hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: titleSlideUp 1.2s ease-out;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.02em;
}

.text-gradient {
    color: #fbbf24;
    font-weight: 900;
    text-shadow:
        0 0 20px rgba(251, 191, 36, 0.8),
        0 0 40px rgba(251, 191, 36, 0.6),
        0 0 60px rgba(251, 191, 36, 0.4),
        2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: glowPulse 3s ease-in-out infinite;
    position: relative;
}

.text-gradient::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(251, 191, 36, 0.3);
    z-index: -1;
    transform: scale(1.05);
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow:
            0 0 20px rgba(251, 191, 36, 0.8),
            0 0 40px rgba(251, 191, 36, 0.6),
            0 0 60px rgba(251, 191, 36, 0.4),
            2px 2px 8px rgba(0, 0, 0, 0.5);
    }
    50% {
        text-shadow:
            0 0 30px rgba(251, 191, 36, 1),
            0 0 50px rgba(251, 191, 36, 0.8),
            0 0 80px rgba(251, 191, 36, 0.6),
            2px 2px 8px rgba(0, 0, 0, 0.5);
    }
}

/* Clase específica para "viva y digital" en página de inicio */
.text-gradient-home {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: none;
}

.text-gradient-cta {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.home-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: subtitleSlideUp 1.4s ease-out;
    margin-bottom: 2rem !important;
    color: rgba(255, 255, 255, 0.95);
    max-width: 90%;
}

.hero-benefits {
    animation: benefitsSlideUp 1.6s ease-out;
}

.benefit-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(8px);
}

.hero-actions {
    animation: actionsSlideUp 1.8s ease-out;
    margin-top: 2rem;
}

.hero-actions .btn {
    min-width: 200px;
    font-weight: 600;
    border-radius: 12px;
    font-size: 1.1rem;
}

.trust-indicators {
    animation: trustSlideUp 2s ease-out;
}

.trust-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.home-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 4;
}

/* Dashboard Preview */
.hero-demo-container {
    position: relative;
    animation: demoSlideUp 2.2s ease-out;
}

.dashboard-preview {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: perspective(1000px) rotateY(-8deg) rotateX(8deg);
    transition: all 0.4s ease;
    max-width: 500px;
    margin: 0 auto;
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35);
}

.preview-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.preview-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.preview-dots {
    display: flex;
    gap: 0.5rem;
    z-index: 2;
    position: relative;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

.dot.red { 
    background: #ef4444; 
    animation-delay: 0s;
}
.dot.yellow { 
    background: #f59e0b; 
    animation-delay: 0.3s;
}
.dot.green { 
    background: #10b981; 
    animation-delay: 0.6s;
}

.preview-title {
    font-weight: 700;
    font-size: 1rem;
    z-index: 2;
    position: relative;
}

.preview-user {
    z-index: 2;
    position: relative;
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.preview-content {
    padding: 1.5rem;
    background: linear-gradient(135deg, #fafbff 0%, #f1f5f9 100%);
}

/* Stats Grid */
.preview-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mini-stat-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-blue);
}

.mini-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mini-stat-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
}

.mini-stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.mini-stat-label {
    font-size: 0.7rem;
    color: var(--neutral-gray);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Chart Section */
.preview-chart-section {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.chart-period {
    font-size: 0.75rem;
    color: var(--neutral-gray);
    background: var(--light-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.preview-chart {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 60px;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
}

.chart-bar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 4px 4px 0 0;
    flex: 1;
    position: relative;
    animation: chartGrowUp 2.5s ease-out;
    animation-fill-mode: both;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
    transform: scaleY(1.1);
}

.chart-bar::after {
    content: attr(data-value);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chart-bar:hover::after {
    opacity: 1;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    font-size: 0.7rem;
    color: var(--neutral-gray);
    font-weight: 500;
}

/* Quick Actions */
.preview-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.action-btn {
    background: white;
    border-radius: 8px;
    padding: 0.75rem 0.5rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
    border-left: 3px solid var(--primary-blue);
}

.action-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 64, 175, 0.3);
}

.action-btn i {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.action-btn:hover i {
    color: white;
}

.action-btn span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.action-btn:hover span {
    color: white;
}

/* Enhanced Animations */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes dotPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.5; 
        transform: scale(1.2);
    }
}

@keyframes chartGrowUp {
    from {
        height: 0%;
        opacity: 0;
    }
    to {
        height: var(--final-height);
        opacity: 1;
    }
}

.chart-bar:nth-child(1) { animation-delay: 0.2s; }
.chart-bar:nth-child(2) { animation-delay: 0.4s; }
.chart-bar:nth-child(3) { animation-delay: 0.6s; }
.chart-bar:nth-child(4) { animation-delay: 0.8s; }
.chart-bar:nth-child(5) { animation-delay: 1s; }

.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    animation: iconFloat 4s ease-in-out infinite;
}

.icon-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 60%;
    right: -15%;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 20%;
    left: -5%;
    animation-delay: 2s;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #f8fafc 0%, white 100%);
}

.features-stats {
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stars {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

.testimonial-text {
    font-style: italic;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-blue);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    color: var(--primary-blue);
}

.author-church {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
}

.author-location {
    color: var(--neutral-gray);
    font-size: 0.75rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-item .stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
    animation: statIconFloat 3s ease-in-out infinite;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.stat-item .stat-description {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Animations */
@keyframes badgeSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes benefitsSlideUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes actionsSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes trustSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes demoSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) rotateY(-15deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateY(-5deg);
    }
}

@keyframes chartGrow {
    from {
        height: 0%;
    }
    to {
        height: var(--final-height);
    }
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 0.8;
    }
}

@keyframes statIconFloat {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

/* Home Responsive */
@media (max-width: 768px) {
    .home-hero-title {
        font-size: 2.5rem;
    }
    
    .home-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .home-hero-background {
        background-attachment: scroll;
    }
    
    .dashboard-preview {
        transform: none;
    }
    
    .dashboard-preview:hover {
        transform: none;
    }
    
    .hero-floating-elements {
        display: none;
    }
    
    .trust-indicators .d-flex {
        flex-direction: column;
        gap: 1rem !important;
    }
}

/* CTA Section */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    opacity: 0.8;
    z-index: 1;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.7) 0%, rgba(25, 135, 84, 0.6) 100%);
    z-index: 2;
}

.cta-section .container {
    position: relative;
    z-index: 3;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8) 0%, rgba(30, 58, 138, 0.75) 100%);
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.9);
    color: #1f2937;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.urgency-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    white-space: nowrap;
}

.btn-cta {
    padding: 1.25rem 2.5rem;
    border-radius: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn-cta small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.social-proof {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.proof-item {
    text-align: center;
}

.proof-stars {
    margin-bottom: 0.25rem;
}

.proof-text {
    font-size: 0.875rem;
    font-weight: 600;
}

.proof-separator {
    opacity: 0.5;
    font-size: 1.5rem;
}

.cta-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.decoration-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 4rem;
    animation: decorationFloat 10s ease-in-out infinite;
}

.decoration-element.element-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.decoration-element.element-2 {
    top: 70%;
    right: 10%;
    animation-delay: 3s;
}

.decoration-element.element-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 6s;
}

@keyframes decorationFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.05;
    }
    50% { 
        transform: translateY(-40px) rotate(180deg); 
        opacity: 0.15;
    }
}

/* CTA Responsive */
@media (max-width: 768px) {
    .cta-section .display-3 {
        font-size: 2.5rem;
    }
    
    .urgency-elements .row {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== REGISTER PAGE STYLES ===== */

.register-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.register-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    z-index: 1;
}

.register-hero .container {
    z-index: 3;
    position: relative;
}

.register-hero h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 900;
}

.register-hero p {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    font-weight: 400;
}

/* Floating Elements for Register Hero */
.register-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.register-floating-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.15);
    font-size: 3rem;
    animation: registerFloat 8s ease-in-out infinite;
}

.register-floating-element.element-1 {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.register-floating-element.element-2 {
    top: 25%;
    right: 12%;
    animation-delay: 1.5s;
}

.register-floating-element.element-3 {
    bottom: 30%;
    left: 15%;
    animation-delay: 3s;
}

.register-floating-element.element-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: 4.5s;
}

.register-floating-element.element-5 {
    top: 45%;
    left: 5%;
    animation-delay: 6s;
}

@keyframes registerFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.1;
    }
    50% { 
        transform: translateY(-25px) rotate(180deg); 
        opacity: 0.2;
    }
}

.register-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1438232992991-995b7058bbb3?w=1920&h=600&fit=crop&crop=center');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.register-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(30, 58, 138, 0.98) 50%, rgba(15, 32, 90, 0.95) 100%);
    z-index: 2;
}

.register-hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="registerPattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23registerPattern)"/></svg>');
    z-index: 1;
}

.register-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.text-gradient-light {
    background: linear-gradient(135deg, #fde047 0%, #facc15 50%, #eab308 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 900;
    /* Fallback para navegadores que no soportan text-fill-color */
    color: #fde047;
}

/* Plans Section */
.plans-section {
    background: white;
}

.plan-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.plan-card.selected {
    border-color: var(--primary-blue);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
}

.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.plan-badge.popular {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.plan-badge.enterprise {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.plan-header {
    text-align: center;
    padding: 2rem 1.5rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, white 100%);
}

.plan-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.plan-subtitle {
    font-size: 0.875rem;
    color: var(--neutral-gray);
    font-weight: 500;
    margin-bottom: 1rem;
    font-style: italic;
}

.plan-description {
    font-size: 0.8rem;
    color: var(--neutral-gray-light);
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
    line-height: 1.4;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-blue);
}

.price-period {
    font-size: 1rem;
    color: var(--neutral-gray);
}

.plan-features {
    padding: 1.5rem;
}

.plan-features .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.plan-features .feature-item:last-child {
    margin-bottom: 0;
}

.plan-cta {
    padding: 1.5rem;
    background: #f8fafc;
}

.btn-plan {
    border-radius: 12px;
    font-weight: 600;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2.5rem;
}

.contact-method {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.contact-method.whatsapp:hover {
    border-color: #25D366;
}

.contact-method.email:hover {
    border-color: var(--primary-blue);
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.contact-method.whatsapp .method-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contact-method.email .method-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
}

.method-content h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-info {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.developer-badge {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid var(--border-color);
}

/* Registration Form */
.registration-form-section {
    background: linear-gradient(135deg, #f8fafc 0%, white 100%);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%) !important;
}

/* ===== PLANS PAGE STYLES ===== */
.plans-page {
    background-color: #f8f9fa;
}

/* Hero Section - Similar to Home Page */
.plans-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

/* Imagen específica para página de PLANES */
.plans-page .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/FondoPlanes.jpg?v=2024122701');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 1;
}

/* Imagen para PORTAL WEB (página pública de iglesia) */
.public-portal-page .hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1519491050282-cf00c82424b4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.75) 0%, rgba(25, 135, 84, 0.65) 100%);
    backdrop-filter: blur(3px) saturate(1.0);
    -webkit-backdrop-filter: blur(3px) saturate(1.0);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 120px 0 80px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.95);
    color: var(--dark-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.4), 0 0 5px rgba(0, 0, 0, 0.8);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.plans-section {
    margin-top: -150px;
    position: relative;
    z-index: 10;
    background: #f8f9fa;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.plan-card {
    background: white;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
    border-color: var(--primary-color);
}

/* Asegurar que los botones de WhatsApp tengan eventos habilitados */
.plan-footer .btn {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.plan-footer .btn:hover {
    transform: scale(1.05);
}

.plan-card.plan-semilla:hover {
    border-color: #28a745;
    box-shadow: 0 25px 50px rgba(40, 167, 69, 0.2) !important;
}

.plan-card.plan-crecimiento:hover {
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px rgba(13, 110, 253, 0.2) !important;
}

.plan-card.plan-mision:hover {
    border-color: #ffc107;
    box-shadow: 0 25px 50px rgba(255, 193, 7, 0.2) !important;
}

.plan-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 8px 40px;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 10;
}

.plan-header {
    border-bottom: 1px solid #eee;
}

.plan-icon {
    font-size: 3rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.plan-card:hover .plan-icon {
    transform: scale(1.2) rotate(5deg);
}

.plan-title {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.plan-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.plan-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.plan-features li i {
    margin-right: 0.75rem;
    font-size: 1rem;
}

.plan-footer {
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.faq-section .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-section .accordion-button {
    background: white;
    border: none;
    font-weight: 600;
    color: var(--dark-color);
    padding: 1.25rem 1.5rem;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
}

.faq-section .accordion-body {
    padding: 1.5rem;
    color: #6c757d;
    line-height: 1.6;
}

.contact-section {
    background: white;
}

.contact-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 15px;
    background: #f8f9fa;
    height: 100%;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-item i {
    display: block;
    margin: 0 auto;
}

.contact-item h5 {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .plans-hero-section {
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 10px 20px;
    }
    
    .plans-section {
        margin-top: -80px;
        border-radius: 20px 20px 0 0;
    }
    
    .plan-card {
        margin-bottom: 2rem;
    }
    
    .plan-card.featured {
        transform: none;
        border: 2px solid var(--primary-color);
    }
    
    .plan-badge {
        font-size: 0.7rem;
        padding: 6px 35px;
    }
    
    .contact-options .row {
        flex-direction: column;
    }
    
    .contact-method {
        margin-bottom: 1rem;
    }
    
    .contact-item {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .plans-section {
        padding: 80px 0 40px !important;
        margin-top: -60px;
    }
}

/* ===== BLAZOR ERROR UI - HIDDEN BY DEFAULT ===== */
#blazor-error-ui {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #dc3545;
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 9999;
}

#blazor-error-ui.show {
    display: block !important;
}

#blazor-error-ui .reload {
    color: white;
    text-decoration: underline;
    margin-right: 1rem;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    font-weight: bold;
    margin-left: 1rem;
}

/* ===== SIDEBAR COLLAPSIBLE FUNCTIONALITY ===== */
.sidebar.collapsed {
    width: 70px;
}

.sidebar.collapsed .nav-link {
    padding: 0.75rem 1rem;
    text-align: center;
    position: relative;
}

.sidebar.collapsed .nav-link span,
.sidebar.collapsed h5,
.sidebar.collapsed small,
.sidebar.collapsed hr,
.sidebar.collapsed .text-white,
.sidebar.collapsed .text-white-50,
.sidebar.collapsed .border-top {
    display: none;
}

.sidebar.collapsed .nav-link i {
    font-size: 1.2rem;
    margin: 0;
}

.sidebar.collapsed .d-flex.align-items-center.mb-4 {
    justify-content: center;
    margin-bottom: 2rem !important;
}

.sidebar.collapsed .d-flex.align-items-center.mb-4 div {
    display: none;
}

.sidebar.collapsed .mt-auto {
    display: none;
}

/* Tooltip para iconos cuando el sidebar está colapsado */
.sidebar.collapsed .nav-link {
    position: relative;
}

.sidebar.collapsed .nav-link:hover::after {
    content: attr(title);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 1000;
    margin-left: 10px;
    font-size: 0.875rem;
}

.sidebar.collapsed .nav-link:hover::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: rgba(0, 0, 0, 0.8);
    margin-left: 5px;
    z-index: 1000;
}

/* ===== LAYOUT AUTENTICADO RESPONSIVE ===== */

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
    z-index: 1050;
    transition: all 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar.collapsed .nav-link span,
.sidebar.collapsed .text-white-50 {
    display: none;
}

.sidebar.collapsed .sidebar-header {
    justify-content: center;
}

.sidebar.collapsed .sidebar-header h5,
.sidebar.collapsed .sidebar-header small {
    display: none;
}

/* Main Content Area */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
    background: var(--light-gray);
}

.main-content.sidebar-collapsed {
    margin-left: 60px;
}

/* Header Styles */
.main-header {
    background: white;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-header h4 {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb .breadcrumb-item a {
    color: var(--neutral-gray);
    text-decoration: none;
}

.breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-blue);
}

.breadcrumb .breadcrumb-item.active {
    color: var(--primary-blue);
    font-weight: 500;
}

/* Main Body */
.main-body {
    padding: 2rem;
    min-height: calc(100vh - 80px);
}

/* Navigation Links */
.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    margin: 0.25rem 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.sidebar .nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.sidebar .nav-link i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* User Info Section */
.sidebar .user-info {
    background: rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets and small desktops */
@media (max-width: 1024px) {
    .sidebar {
        width: 250px;
    }

    .main-content {
        margin-left: 250px;
    }

    .main-content.sidebar-collapsed {
        margin-left: 60px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    /* Sidebar hidden by default on mobile */
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }

    .sidebar.mobile-open {
        transform: translateX(0);
    }

    /* Main content full width on mobile */
    .main-content {
        margin-left: 0;
    }

    .main-content.sidebar-collapsed {
        margin-left: 0;
    }

    /* Header adjustments for mobile */
    .main-header {
        padding: 1rem;
    }

    .main-header .d-flex {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .main-header h4 {
        font-size: 1.25rem;
    }

    /* Mobile menu button */
    .mobile-menu-btn {
        display: block !important;
    }

    /* Main body padding for mobile */
    .main-body {
        padding: 1rem;
    }

    /* Navigation links mobile */
    .sidebar .nav-link {
        padding: 1rem;
        margin: 0.5rem 0;
        border-radius: 10px;
    }

    .sidebar .nav-link span {
        font-size: 1.1rem;
        font-weight: 500;
    }

    /* User info mobile */
    .sidebar .user-info {
        padding: 1.5rem;
    }

    /* Backdrop for mobile menu */
    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none;
    }

    .sidebar-backdrop.show {
        display: block;
    }

    /* Cards and components mobile responsive */
    .card {
        margin-bottom: 1rem;
    }

    /* Tables mobile responsive */
    .table-responsive {
        border: none;
    }

    .table-responsive .table {
        min-width: 800px;
    }

    /* Form controls mobile */
    .form-control, .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Button sizes mobile */
    .btn {
        min-height: 44px; /* Touch-friendly */
    }

    /* Modal mobile responsive */
    .modal-dialog {
        margin: 1rem;
        max-width: none;
        width: auto;
    }

    .modal-content {
        border-radius: 15px;
    }

    /* Dashboard cards mobile */
    .dashboard-card {
        margin-bottom: 1rem;
    }

    /* Hero sections mobile */
    .hero-section {
        min-height: 70vh;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Very small devices */
@media (max-width: 480px) {
    .main-body {
        padding: 0.75rem;
    }

    .main-header {
        padding: 0.75rem;
    }

    .main-header h4 {
        font-size: 1.1rem;
    }

    .sidebar .nav-link {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Compact breadcrumb */
    .breadcrumb {
        font-size: 0.8rem;
    }

    /* Smaller cards */
    .card-body {
        padding: 1rem;
    }
}

/* ===== MOBILE MENU FUNCTIONALITY ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    padding: 0.5rem;
    border-radius: 5px;
}

.mobile-menu-btn:hover {
    background: rgba(30, 64, 175, 0.1);
}

/* ===== UTILITY CLASSES FOR RESPONSIVE ===== */
.text-responsive {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.fs-responsive {
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.mobile-hidden {
    display: block;
}

@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

.mobile-only {
    display: none;
}

/* ===== SIDEBAR OVERLAY FOR MOBILE ===== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}

/* ===== ANIMATIONS ===== */
.sidebar {
    animation: slideInLeft 0.3s ease-out;
}

.main-content {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== ACCESSIBILITY ===== */
.sidebar .nav-link:focus,
.mobile-menu-btn:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .sidebar {
        background: #000;
        border-right: 2px solid #fff;
    }

    .main-content {
        background: #fff;
        color: #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .sidebar,
    .main-content,
    .sidebar .nav-link {
        transition: none;
        animation: none;
    }
}

/* ===== RESPONSIVE TABLES ===== */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }

    .table-responsive .table th,
    .table-responsive .table td {
        padding: 0.5rem;
        white-space: nowrap;
    }

    .table-responsive .table th {
        font-weight: 600;
        background-color: var(--light-gray);
    }

    /* Stack table cells on very small screens */
    .table-responsive-stack tr {
        display: block;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        margin-bottom: 1rem;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .table-responsive-stack td {
        display: block;
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: left;
    }

    .table-responsive-stack td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        color: var(--neutral-gray);
    }

    .table-responsive-stack td:last-child {
        border-bottom: 0;
    }
}

/* ===== RESPONSIVE FORMS ===== */
@media (max-width: 768px) {
    .form-row {
        display: block;
    }

    .form-row .col-md-6,
    .form-row .col-md-4,
    .form-row .col-md-3 {
        margin-bottom: 1rem;
    }

    /* Form labels mobile */
    .form-label {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    /* Input groups mobile */
    .input-group-text {
        font-size: 0.875rem;
    }

    /* Form validation mobile */
    .invalid-feedback {
        font-size: 0.8rem;
    }

    /* Checkbox and radio mobile */
    .form-check {
        padding-left: 1.5em;
    }

    .form-check-input {
        width: 1.2em;
        height: 1.2em;
        margin-left: -1.5em;
    }

    .form-check-label {
        font-size: 0.9rem;
    }
}

/* ===== RESPONSIVE CARDS ===== */
@media (max-width: 768px) {
    .card {
        border-radius: 12px;
        margin-bottom: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .card-header {
        border-radius: 12px 12px 0 0 !important;
        padding: 1rem 1.25rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .card-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* ===== RESPONSIVE MODALS ===== */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: none;
        width: auto;
    }

    .modal-content {
        border-radius: 16px;
        border: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

    .modal-header {
        border-radius: 16px 16px 0 0;
        padding: 1.5rem;
        border-bottom: 1px solid #eee;
    }

    .modal-title {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .modal-body {
        padding: 1.5rem;
        max-height: 60vh;
        overflow-y: auto;
    }

    .modal-footer {
        padding: 1.5rem;
        border-top: 1px solid #eee;
        gap: 0.5rem;
    }

    .modal-footer .btn {
        flex: 1;
        min-height: 48px;
    }
}

/* ===== RESPONSIVE DASHBOARD ===== */
@media (max-width: 768px) {
    .dashboard-stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .dashboard-stats .stat-card {
        text-align: center;
        padding: 1.5rem;
        border-radius: 12px;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .dashboard-stats .stat-number {
        font-size: 2rem;
        font-weight: bold;
        color: var(--primary-blue);
        margin-bottom: 0.5rem;
    }

    .dashboard-stats .stat-label {
        font-size: 0.9rem;
        color: var(--neutral-gray);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Quick actions mobile */
    .quick-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .quick-actions .btn {
        justify-content: flex-start;
        padding: 1rem;
        border-radius: 10px;
        font-size: 0.9rem;
    }

    .quick-actions .btn i {
        margin-right: 0.75rem;
        font-size: 1.1rem;
    }
}

/* ===== RESPONSIVE BUTTONS ===== */
@media (max-width: 768px) {
    .btn-group {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .btn-group .btn {
        border-radius: 0;
        margin-bottom: 0.25rem;
    }

    .btn-group .btn:first-child {
        border-radius: 8px 8px 0 0;
    }

    .btn-group .btn:last-child {
        border-radius: 0 0 8px 8px;
    }

    .btn-group .btn:only-child {
        border-radius: 8px;
    }

    /* Button sizes for mobile */
    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* ===== RESPONSIVE ALERTS ===== */
@media (max-width: 768px) {
    .alert {
        border-radius: 10px;
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .alert .btn-close {
        padding: 1rem;
    }

    .alert-dismissible .btn-close {
        top: 0;
        right: 0;
    }
}

/* ===== RESPONSIVE PAGINATION ===== */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination .page-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        min-width: 44px;
        text-align: center;
    }

    .pagination .page-item {
        margin: 0 0.125rem;
    }
}

/* ===== RESPONSIVE DROPDOWNS ===== */
@media (max-width: 768px) {
    .dropdown-menu {
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        border: none;
        padding: 0.5rem 0;
    }

    .dropdown-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .dropdown-item:hover {
        background-color: rgba(30, 64, 175, 0.1);
    }
}

/* ===== RESPONSIVE TOOLTIPS ===== */
@media (max-width: 768px) {
    .tooltip {
        font-size: 0.8rem;
    }

    .bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow,
    .bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow {
        margin-left: -0.5rem;
    }
}

/* ===== RESPONSIVE BADGES ===== */
@media (max-width: 768px) {
    .badge {
        font-size: 0.75rem;
        padding: 0.35em 0.65em;
    }
}

/* ===== RESPONSIVE IMAGES ===== */
@media (max-width: 768px) {
    .img-fluid {
        max-width: 100%;
        height: auto;
    }

    .img-thumbnail {
        max-width: 150px;
        margin-bottom: 1rem;
    }
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 768px) {
    .d-mobile-none {
        display: none !important;
    }

    .d-mobile-block {
        display: block !important;
    }

    .text-mobile-center {
        text-align: center !important;
    }

    .text-mobile-left {
        text-align: left !important;
    }

    .text-mobile-right {
        text-align: right !important;
    }

    .w-mobile-100 {
        width: 100% !important;
    }

    .mx-mobile-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ===== FOCUS STYLES FOR ACCESSIBILITY ===== */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .sidebar,
    .mobile-menu-btn,
    .btn,
    .alert {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
    }

    .main-header {
        box-shadow: none;
        border-bottom: 2px solid #000;
    }

    .card {
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* ===== DYNAMIC PRICING ANIMATIONS ===== */
/* Animation for price updates */
.price-amount.updated {
    animation: priceUpdate 0.5s ease;
}

@keyframes priceUpdate {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); color: #28a745; }
    100% { transform: scale(1); }
}

/* ===== CUSTOM CHURCH-SHAPED THUMB FOR MEMBER SELECTOR ===== */
.form-range::-webkit-slider-thumb {
    appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: #007bff;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0,123,255,0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.form-range::-webkit-slider-thumb::before {
    content: '⛪';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,123,255,0.4);
    background: #0056b3;
}

.form-range::-webkit-slider-thumb:active {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0,123,255,0.5);
}

.form-range::-moz-range-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: #007bff;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0,123,255,0.3);
    cursor: pointer;
    position: relative;
}

.form-range::-moz-range-thumb::before {
    content: '⛪';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.form-range::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,123,255,0.4);
    background: #0056b3;
}

/* Responsive Design for Member Selector */
@media (max-width: 768px) {
    .member-selector-card {
        padding: 25px 20px;
    }

    .member-count-badge {
        font-size: 1rem;
        padding: 12px 20px;
    }

    .price-preview {
        font-size: 1rem;
        padding: 12px 20px;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .range-labels {
        font-size: 0.8rem;
    }

    .range-current {
        font-size: 1rem;
    }
}

/* ===== PASTOR SECTION ENHANCED STYLES ===== */
.pastor-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.pastor-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 110, 253, 0.1) 100%);
    z-index: 1;
}

.pastor-section .container {
    position: relative;
    z-index: 2;
}

.pastor-image {
    position: relative;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.pastor-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.pastor-image img:hover {
    transform: scale(1.05);
}

.pastor-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 5px solid white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.pastor-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 110, 253, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.3);
    backdrop-filter: blur(10px);
}

.pastor-content {
    padding: 2rem;
}

.pastor-content .section-badge {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.2);
    margin-bottom: 1.5rem;
}

.pastor-content .display-5 {
    background: linear-gradient(135deg, #2d3748 0%, #495057 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.pastor-content blockquote {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid #0d6efd;
    border-radius: 0 15px 15px 0;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-style: italic;
    color: #495057;
    line-height: 1.7;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pastor-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(13, 110, 253, 0.1);
    font-family: serif;
}

.pastor-content .lead {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    font-weight: 500;
}

/* Pastor section responsive */
@media (max-width: 768px) {
    .pastor-section {
        padding: 3rem 0;
    }

    .pastor-image {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .pastor-image img,
    .pastor-placeholder {
        width: 150px;
        height: 150px;
    }

    .pastor-content {
        padding: 1rem;
    }

    .pastor-content .display-5 {
        font-size: 2rem;
    }

    .pastor-content blockquote {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .pastor-image img,
    .pastor-placeholder {
        width: 120px;
        height: 120px;
    }

    .pastor-content .display-5 {
        font-size: 1.75rem;
    }
}