/* PREMIUM BLUE & RED MESH THEME */

:root {
    --bg-card: rgba(255, 255, 255, 0.45);
    --bg-card-hover: rgba(255, 255, 255, 0.7);
    
    --accent-glow-blue: rgba(0, 180, 216, 0.4);
    --accent-glow-red: rgba(220, 20, 60, 0.3);
    
    --text-main: #1A1F2C;
    --text-muted: #1a1c1f;
    
    --border-color: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* 
  Global background, variables, and ambient orbs have been moved to theme.css 
  so that the vibrant blue/red theme applies to all pages across the website.
*/

/* Typography */
.text-brand { color: #d90429 !important; } /* Crimson Red */
.text-brand-dark { color: #023e8a !important; } /* Deep Azure Blue */
.text-muted-brand { color: var(--text-muted) !important; line-height: 1.7; }
.tracking-wide { letter-spacing: 0.1em; }
.z-index-2 { z-index: 2; }

/* Backgrounds */
.bg-white { background-color: transparent !important; }

/* HERO SECTION */
.hero-modern {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper {
    position: relative;
    animation: floatImage 6s ease-in-out infinite;
}
.hero-image-wrapper img {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 20px 40px var(--accent-glow-blue));
    border-radius: 30px;
}

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.modern-badge {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid var(--border-color);
    color: #d90429;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.hero-title-modern {
    line-height: 1.15;
    color: #023e8a;
    font-family: 'Philosopher', sans-serif;
    text-shadow: 0 4px 20px rgba(255,255,255,0.4);
}

.hero-subtitle-modern {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* BUTTONS */
.btn-accent-glow {
    background: linear-gradient(135deg, #023e8a, #d90429);
    color: #fff;
    border: none;
    box-shadow: 0 10px 30px var(--accent-glow-red);
    transition: all 0.3s ease;
}

.btn-accent-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(217, 4, 41, 0.4);
    color: #fff;
}

.btn-outline-accent {
    background: rgba(255, 255, 255, 0.5);
    color: #023e8a;
    border: 2px solid #023e8a;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background: #023e8a;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(2, 62, 138, 0.3);
}

/* CARDS & PORTALS - GLASSMORPHISM */
.modern-card, .service-card, .modern-step-card, .about-glass-card, .modern-stat-card, .testimonial-box {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    box-shadow: var(--glass-shadow);
}

.modern-card:hover, .service-card:hover, .modern-step-card:hover, .modern-stat-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Images in Cards */
.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 24px 24px 0 0;
    border-bottom: 1px solid var(--border-color);
}

.about-img-wrapper img {
    width: 100%;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* BENTO FINLOR DASHBOARD IMAGE */
.bento-img-container img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #d90429;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(2, 62, 138, 0.3);
    margin-bottom: 1rem;
    display: inline-block;
}

.modern-step-card:hover .step-number {
    -webkit-text-stroke: 1px #d90429;
}

.service-icon {
    font-size: 2.5rem;
    color: #023e8a;
}

.cta-banner {
    background: linear-gradient(135deg, #023e8a 0%, #d90429 100%);
    color: #ffffff;
    box-shadow: 0 20px 50px var(--accent-glow-red);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.cta-banner .text-brand-dark, .cta-banner .text-muted-brand {
    color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title-modern {
        font-size: 2.5rem;
    }
    .hero-modern {
        min-height: auto;
        padding: 80px 0;
    }
}
