/* Premium Decorative Background Balls */
.bg-balls {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.ball {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: floatBall 15s infinite alternate ease-in-out;
}
.ball-1 { width: 450px; height: 450px; background: rgba(79, 70, 229, 0.2); top: -150px; right: -100px; }
.ball-2 { width: 350px; height: 350px; background: rgba(236, 72, 153, 0.15); bottom: -100px; left: -50px; animation-delay: -4s; }
.ball-3 { width: 200px; height: 200px; background: rgba(79, 70, 229, 0.1); top: 30%; left: 15%; animation-delay: -8s; }
.ball-4 { width: 300px; height: 300px; background: rgba(245, 158, 11, 0.1); top: 10%; right: 20%; animation-delay: -12s; }

@keyframes floatBall {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.1); }
}

:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --card-bg-light: rgba(255, 255, 255, 0.8);
    --card-bg-dark: rgba(30, 41, 59, 0.7);
    --text-light: #1e293b;
    --text-dark: #f1f5f9;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --transition-speed: 0.3s;
    /* Fluid Typography (Viewport based) */
    --fs-sm: clamp(0.8rem, 0.17vw + 0.76rem, 0.89rem);
    --fs-base: clamp(1rem, 0.34vw + 0.91rem, 1.19rem);
    --fs-md: clamp(1.25rem, 0.61vw + 1.1rem, 1.58rem);
    --fs-lg: clamp(1.56rem, 1vw + 1.31rem, 2.11rem);
    --fs-xl: clamp(1.95rem, 1.56vw + 1.56rem, 2.81rem);
    --fs-xxl: clamp(2.44rem, 2.38vw + 1.85rem, 3.75rem);
    --fs-display: clamp(3.05rem, 3.54vw + 2.17rem, 5rem);
}

html, body {
    max-width: 100vw;
    overflow-x: clip;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-light);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#4f46e5 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.05;
    z-index: -2;
    pointer-events: none;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

/* Dark mode overrides moved to end of file */

h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}
h1 { font-size: var(--fs-xxl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
h5 { font-size: var(--fs-base); }
h6 { font-size: var(--fs-sm); }
.display-4 { font-size: var(--fs-display) !important; }
.display-5 { font-size: var(--fs-xxl) !important; }
.display-6 { font-size: var(--fs-xl) !important; }
.lead { font-size: var(--fs-md); }


/* Floating Particles (Particulars) */
.particles {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; pointer-events: none;
}
.particle {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: moveParticle 10s infinite linear;
}
@keyframes moveParticle {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* Card Glow Effects */
.glass-card {
    background: var(--card-bg-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease-out;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.glass-card:hover::after { opacity: 1; }

.glass-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

.dark-mode .glass-card {
    background: var(--card-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.dark-mode .glass-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .step-card h4 {
    color: var(--text-dark) !important;
}

/* Advanced Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

.dark-mode #preloader {
    background: var(--bg-dark);
}

.preloader-inner {
    text-align: center;
    width: 300px;
}

.heart-pulse {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    animation: heartThrob 1s infinite;
}

@keyframes heartThrob {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.dark-mode .loading-bar {
    background: rgba(255,255,255,0.05);
}

.bar-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.load-percent {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.load-text {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dark-mode #preloader {
    background: var(--bg-dark);
}

.preloader-content {
    text-align: center;
}

.heart-container {
    font-size: 4rem;
    color: var(--secondary-color);
    position: relative;
    animation: heartBeat 1.2s infinite;
}

.heart-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.3;
    animation: heartPulse 1.2s infinite;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

@keyframes heartPulse {
    0% { width: 50px; height: 50px; opacity: 0.5; }
    100% { width: 150px; height: 150px; opacity: 0; }
}

.brand-load-text {
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInOut 1.5s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.loader-progress {
    width: 200px;
    height: 3px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.dark-mode .loader-progress {
    background: rgba(255,255,255,0.05);
}

.loader-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: progress-load 2s ease-in-out infinite;
}

/* Logo & Branding */
.brand-logo {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.navbar-brand:hover .brand-logo {
    transform: scale(1.1) rotate(-5deg);
}
.brand-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-icon {
    font-size: 1.8rem;
    animation: heartThrob 2s infinite;
}

/* Navigation Hover Effects */
.nav-link {
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 0;
    background: var(--primary-color);
    transition: all 0.3s ease;
}
.nav-link:not(.no-underline):hover::after, .nav-link:not(.no-underline).active::after {
    width: 100%;
}
.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Footer & General Link Hover */
.footer-links a, .text-primary {
    transition: all 0.3s ease;
    position: relative;
}
.footer-links a:hover {
    padding-left: 10px;
    color: white !important;
}

.text-decoration-none.text-primary:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline !important;
}

/* Navbar */
.main-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.dark-mode .main-nav {
    background: rgba(15, 23, 42, 0.8);
}

.nav-link {
    font-weight: 500;
    color: var(--text-light) !important;
    margin: 0 10px;
    position: relative;
}

.dark-mode .nav-link {
    color: var(--text-dark) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-donate, .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    border: none;
    font-weight: 600;
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-donate::after, .btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
}

.btn-donate:hover::after, .btn-primary:hover::after {
    left: 150%;
}

.btn-donate:hover, .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px -5px rgba(236, 72, 153, 0.5);
}

/* Theme Toggle */
.theme-toggle {
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.dark-mode .theme-toggle {
    background: rgba(255,255,255,0.1);
}

/* Stats Section */
.stat-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    background: var(--secondary-color);
    transform: rotate(10deg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 5px;
}

.dark-mode .stat-number {
    color: var(--text-dark);
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(79, 70, 229, 0.1), transparent 50%),
                radial-gradient(circle at 10% 70%, rgba(236, 72, 153, 0.1), transparent 50%);
    z-index: -1;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--text-light), #64748b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dark-mode .hero-title {
    background: linear-gradient(135deg, var(--text-dark), #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Campaign Cards */
.campaign-card {
    overflow: hidden;
}

.campaign-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.campaign-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.campaign-card:hover .campaign-img-wrapper img {
    transform: scale(1.1);
}

.campaign-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.progress-container {
    height: 10px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

.dark-mode .progress-container {
    background: rgba(255,255,255,0.05);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

/* Stats Counter */
.stat-card {
    text-align: center;
    padding: 40px 20px;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Floating Elements */
.floating-donate-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-donate-btn:hover {
    transform: scale(1.05) translateY(-5px);
    color: white;
}

/* Premium Form Styling */
.form-control, .form-select {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background-color: var(--bg-light);
}

.dark-mode .form-control, .dark-mode .form-select {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-dark);
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
    border-color: var(--primary-color);
    background-color: transparent;
}

.dark-mode .form-control:focus, .dark-mode .form-select:focus {
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.2);
    border-color: #818cf8;
}

.whatsapp-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
    color: white;
}

/* Footer */
footer {
    background: #0f172a; /* Solid dark blue for footer */
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.05);
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

footer h5 {
    color: white;
    letter-spacing: 1px;
}

footer p, .text-muted {
    color: #94a3b8 !important; /* Force visibility for muted text in footer */
}

footer .text-white-50 {
    color: rgba(255,255,255,0.6) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 25px 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content .d-flex {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 50px;
    }

    .main-nav .navbar-nav {
        padding: 20px;
        background: white;
        border-radius: 20px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        align-items: flex-start !important;
    }
    
    .main-nav .nav-link {
        width: 100%;
        margin: 5px 0;
        text-align: left;
    }
    
    .main-nav .btn-donate {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .theme-toggle {
        margin: 10px 0;
    }
    
    .dark-mode .main-nav .navbar-nav {
        background: var(--bg-dark);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-content .d-flex {
        flex-direction: column;
        gap: 12px !important;
        padding: 0 10px;
    }
    
    .hero-content .btn {
        width: 100%;
        margin: 0 !important;
    }

    .hero-image {
        margin-top: 30px;
    }

    .brand-text {
        font-size: 1.2rem;
    }
    
    .glass-card.p-5 {
        padding: 1.5rem !important;
    }
}

/* Floating Actions */
.floating-donate {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: white;
}

.btn-float-donate {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-float-donate:hover {
    transform: translateY(-5px);
    color: white;
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
}

@media (max-width: 768px) {
    .floating-donate {
        bottom: 20px;
        right: 20px;
    }
    .btn-float-donate span {
        display: none;
    }
    .btn-float-donate {
        padding: 15px;
        border-radius: 50%;
    }
    .stat-card {
        padding: 15px 10px;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Video Play Button */
.video-play-btn {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-play-btn::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: pulse-white 2s infinite;
}

@keyframes pulse-white {
    0% { transform: scale(0.95); opacity: 1; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    color: white;
}

/* Swiper Customization */
.testimonial-swiper {
    padding-bottom: 50px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.grayscale { filter: grayscale(100%); transition: all 0.3s ease; }
.grayscale:hover { filter: grayscale(0%); opacity: 1 !important; }

/* Timeline for About Page */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    opacity: 0.1;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -17px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Step Cards */
.step-card {
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.step-card:hover .step-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
    background: var(--primary-color) !important;
    color: white !important;
}

@media screen and (max-width: 600px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 15px; }
    .right { left: 0%; }
}

/* ==========================================================================
   Dark Mode Comprehensive Overrides (Final Priority)
   ========================================================================== */

body.dark-mode .bg-white,
body.dark-mode .bg-light,
body.dark-mode .bg-white-50,
body.dark-mode .bg-light-50,
body.dark-mode section.bg-white,
body.dark-mode section.bg-light,
body.dark-mode .theme-section-bg {
    background-color: #0f172a !important;
    color: #f1f5f9 !important;
}

body.dark-mode .bg-white-50,
body.dark-mode .bg-light-50,
body.dark-mode .theme-section-alt-bg {
    background-color: #1e293b !important;
}

.theme-section-bg {
    background-color: #ffffff;
}

.theme-section-alt-bg {
    background-color: #f8fafc;
}

body.dark-mode .text-dark,
body.dark-mode .text-secondary-emphasis,
body.dark-mode .text-muted:not(footer *) {
    color: #94a3b8 !important;
}

body.dark-mode h1, 
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5, 
body.dark-mode h6 {
    color: #f1f5f9 !important;
}

body.dark-mode .card,
body.dark-mode .glass-card {
    background-color: rgba(30, 41, 59, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

body.dark-mode .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .navbar-toggler-icon {
    filter: invert(1) brightness(100);
}

body.dark-mode .text-primary {
    color: #818cf8 !important;
}

body.dark-mode .bg-primary-subtle {
    background-color: rgba(79, 70, 229, 0.2) !important;
}

body.dark-mode .bg-secondary-subtle {
    background-color: rgba(236, 72, 153, 0.2) !important;
}

body.dark-mode .bg-success-subtle {
    background-color: rgba(16, 185, 129, 0.2) !important;
}

body.dark-mode .btn-outline-primary {
    color: #818cf8 !important;
    border-color: #818cf8 !important;
}

body.dark-mode .btn-outline-primary:hover {
    background-color: #818cf8 !important;
    color: #fff !important;
}

body.dark-mode .btn-light {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
    border: none;
}

body.dark-mode .badge.bg-light {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #818cf8 !important;
}

body.dark-mode .step-card h4 {
    color: #f1f5f9 !important;
}

body.dark-mode .accordion-button {
    color: #f1f5f9 !important;
    background-color: transparent !important;
}

body.dark-mode .accordion-button:not(.collapsed) {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #818cf8 !important;
}

body.dark-mode .accordion-button::after {
    filter: invert(1);
}

body.dark-mode .accordion-item {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 992px) {
    .admin-content {
        padding: 20px !important;
    }
}
