/* ===== RESET & BASE ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1e293b; line-height: 1.6;
    overflow-x: hidden;
}
/* ===== GLOBAL SPACING INCREASE (Pori Site ke liye) ===== */

/* 1. Mobile Screens (Thora sa space) */
section .container-fluid,
footer .container-fluid,
.navbar .container-fluid {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

/* 2. Tablet & Desktop (Zayada space) */
@media (min-width: 768px) {
    section .container-fluid,
    footer .container-fluid,
    .navbar .container-fluid {
        padding-left: 4rem !important; /* Increased Spacing */
        padding-right: 4rem !important;
    }
}

/* 3. Large Screens / Wide Monitors (Boht zyada space) */
@media (min-width: 1200px) {
    section .container-fluid,
    footer .container-fluid,
    .navbar .container-fluid {
        padding-left: 6rem !important; /* Extra Wide Spacing */
        padding-right: 6rem !important;
    }
}
/* ===== VARIABLES ===== */
:root {
    --primary: #2563eb; --primary-dark: #1d4ed8; --secondary: #0891b2;
    --accent: #f59e0b; --dark: #1e293b; --light: #f8fafc;
    --gradient: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
    --gradient-ai: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    --shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 50px -12px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== ANIMATIONS ===== */
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-gradient { background-size: 200% 200%; animation: gradientShift 3s ease infinite; }

/* ===== NAVBAR ===== */
.navbar { padding: 0.75rem 0 !important; background: rgba(255, 255, 255, 0.98) !important; backdrop-filter: blur(20px); z-index: 1000; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06); }
.navbar-nav .nav-link { font-weight: 500; color: #0f172a !important; position: relative; padding: 0.5rem 0.75rem; font-size: 0.95rem; transition: color 0.3s ease; }
.navbar-nav .nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--gradient); transition: width 0.3s ease, left 0.3s ease; transform: translateX(-50%); }
.navbar-nav .nav-link:hover::after { width: 70%; }
.cta-btn { background: var(--gradient); color: white; padding: 0.6rem 1.5rem; border: none; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); white-space: nowrap; font-size: 0.9rem; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5); }
.cta-btn.secondary { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.cta-btn.secondary:hover { border-color: var(--primary); background: #f8fafc; }

/* ===== HERO SECTION ===== */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 8rem 2rem 5rem; background: radial-gradient(ellipse at top center, rgba(37,99,235,0.08) 0%, transparent 50%), radial-gradient(ellipse at bottom right, rgba(8,145,178,0.06) 0%, transparent 50%); position: relative; overflow: hidden; }
.hero h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 1.5rem; color: #111827; }
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 1.15rem; color: #6b7280; line-height: 1.7; }
.hero-dashboard-wrapper { position: relative; margin-top: 3rem; }
/* ===== HERO CARD (Updated Darker Shadow) ===== */
.hero-card {
    background: white;
    border-radius: 20px;

    /* Updated: Darker & Deeper Shadow (2 Layers) */
    box-shadow: 0 15px 35px rgba(0,0,0,0.08),
    0 5px 15px rgba(0,0,0,0.25);

    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hover Effect (Darker on Hover) */
.hero-card:hover {
    transform: translateY(-5px);

    /* Updated: Even Darker Shadow on Hover */
    box-shadow: 0 25px 50px rgba(0,0,0,0.12),
    0 10px 25px rgba(0,0,0,0.3);
}.hero-card:hover { transform: translateY(-5px); }
.hero-card img { width: 100%; height: auto; display: block; border-radius: 12px; }
.floating-stat-card { animation: floatCard 4s ease-in-out infinite; z-index: 10; min-width: 180px; }
.stat-card-left { top: 30%; left: -30px; animation-delay: 0s; }
.stat-card-right { top: 40%; right: -30px; animation-delay: 2s; }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
/* ===== HERO BACKGROUND DECORATIONS ===== */
.hero-bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Taake click na ho */
    z-index: 0;
    overflow: hidden;
}

/* Left Side SVG */
.hero-svg-left {
    position: absolute;
    top: 8%;
    left: 2%;
    width: 350px;
    height: 350px;
    opacity: 0.6;
    animation: floatHeroLeft 8s ease-in-out infinite;
}

/* Right Side SVG */
.hero-svg-right {
    position: absolute;
    top: 5%;
    right: 2%;
    width: 350px;
    height: 350px;
    opacity: 0.6;
    animation: floatHeroRight 10s ease-in-out infinite;
}
/* ===== STATS ROW ===== */
.stats-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-top: 3rem; }
.stat-item { display: flex; flex-direction: column; align-items: center; min-width: 110px; }
.stat-icon-wrapper { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(8,145,178,0.1)); margin-bottom: 0.5rem; }
.stat-icon-wrapper i { font-size: 1.1rem; color: #2563eb; }
.stat-number { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 0.25rem; background: linear-gradient(135deg, #2563eb, #0891b2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; }
.stat-item .small { font-size: 0.85rem; color: #6b7280; font-weight: 500; }

@media (min-width: 992px) { .stats-row { gap: 3.5rem; } .stat-number { font-size: 2.75rem; } }
@media (max-width: 768px) { .stats-row { gap: 1.5rem; } .stat-number { font-size: 1.75rem; } .stat-icon-wrapper { width: 38px; height: 38px; } }
/* ===== STATS SECTION STYLISH ===== */
.stats-section-stylish {
    /* Stylish Dark Blue Gradient Background */
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

/* Optional: Subtle Grid Pattern Overlay */
.stats-section-stylish::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Stats Grid Wrapper */
.stats-grid-stylish {
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

/* Individual Stat Card */
.stat-card-stylish {
    text-align: center;
    min-width: 120px;
    transition: transform 0.3s ease;
}

.stat-card-stylish:hover {
    transform: translateY(-5px);
}

/* Icon Box */
.stat-icon-box {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15); /* Glass effect */
    backdrop-filter: blur(5px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon-box i {
    font-size: 1.4rem;
    color: white;
}

/* Numbers (White Color) */
.stat-count {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    display: block;
}

/* Label (White Color) */
.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stats-grid-stylish { gap: 1.5rem; }
    .stat-count { font-size: 2rem; }
    .stat-card-stylish { min-width: 45%; } /* 2 items per row on mobile */
}

/* ===== SECTIONS & HEADERS ===== */
section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1rem; }
.section-header p { color: #64748b; font-size: 1.1rem; }
.module-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(37,99,235,0.1); color: var(--primary); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 500; margin-bottom: 1rem; }
.bg-gradient-dark { background: linear-gradient(135deg, #1e293b 0%, #334155 100%); color: white; }
.bg-gradient-dark .section-header h2 { color: white; }
.bg-gradient-dark .section-header p { color: #cbd5e1; }
.bg-gradient-dark .feature-card { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.bg-gradient-dark .feature-card h5 { color: white; }
.bg-gradient-dark .feature-card p { color: #cbd5e1; }
.bg-gradient-dark .feature-icon { background: var(--gradient-ai); }

/* ===== INDUSTRY & STATS CARDS ===== */
.industry-card { background: white; border-radius: 16px; padding: 1.5rem; text-align: center; transition: var(--transition); border: 2px solid transparent; cursor: pointer; height: 100%; }
.industry-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.industry-icon { font-size: 2rem; margin-bottom: 1rem; color: var(--primary); }
.stat-card { text-align: center; padding: 2rem; }
.stat-card .count { font-size: 3rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: block; margin-bottom: 0.5rem; }
.stat-card .label { color: #64748b; font-size: 1rem; }

/* ===== ANALYTICS MODULES ===== */
.analytics-section { background-color: #ffffff; }
/* ===== HERO CARD (Updated Darker Shadow) ===== */
.analytics-card-white {
    background: white;
    border-radius: 20px;

    /* Updated: Darker & Deeper Shadow (2 Layers) */
    box-shadow: 0 15px 35px rgba(0,0,0,0.08),
    0 5px 15px rgba(0,0,0,0.25);

    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Hover Effect (Darker on Hover) */
.analytics-card-white:hover {
    transform: translateY(-5px);

    /* Updated: Even Darker Shadow on Hover */
    box-shadow: 0 25px 50px rgba(0,0,0,0.12),
    0 10px 25px rgba(0,0,0,0.3);
}
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.bg-green { background: linear-gradient(135deg, #10b981, #059669); }
.bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.bg-orange { background: linear-gradient(135deg, #ef9f27, #d97706); }
.bg-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.badge-custom { display: inline-block; padding: 0.35rem 0.75rem; border-radius: 50px; font-size: 0.7rem; font-weight: 600; margin-right: 0.4rem; margin-bottom: 0.4rem; }
.bg-green-light { background: rgba(16, 185, 129, 0.12); color: #059669; }
.bg-blue-light { background: rgba(59, 130, 246, 0.12); color: #2563eb; }
.bg-orange-light { background: rgba(239, 159, 39, 0.12); color: #b45309; }
.bg-purple-light { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.metrics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.metric-box { background: #f8fafc; padding: 0.85rem 0.75rem; border-radius: 10px; border: 1px solid #e2e8f0; text-align: center; }
.metric-box h4 { font-size: 1.35rem; margin-bottom: 0.15rem; }
.metric-box small { font-size: 0.75rem; }
.progress { background: #f1f5f9; border-radius: 10px; overflow: hidden; }
.progress-bar { border-radius: 10px; transition: width 0.6s ease; }
.chart-container { background: #f8fafc; border-radius: 12px; padding: 0.75rem; border: 1px solid #e2e8f0; }

/* ===== ORGANIZATION MODULE ===== */
.org-card { height: 100%; }
.card-inner { background: #fafbff; border-radius: 32px; padding: 2.8rem 2rem; height: 100%; min-height: 285px; border: 1px solid #e6ebfc; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06); }
.org-card:hover .card-inner { background: #f5f8ff; transform: translateY(-22px); box-shadow: 0 35px 75px rgba(59, 130, 246, 0.12); border-color: #c3d2ff; }
.feature-icon { width: 85px; height: 85px; border-radius: 26px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: white; margin-bottom: 1.9rem; transition: all 0.5s ease; box-shadow: 0 15px 35px rgba(0,0,0,0.18); }
.icon-1 { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.icon-2 { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.icon-3 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.icon-4 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.icon-5 { background: linear-gradient(135deg, #10b981, #34d399); }
.icon-6 { background: linear-gradient(135deg, #ec4899, #f472b6); }
.icon-7 { background: linear-gradient(135deg, #6366f1, #818cf8); }
.icon-8 { background: linear-gradient(135deg, #14b8a6, #5eead4); }
.org-card:hover .feature-icon { transform: scale(1.22) rotate(15deg); box-shadow: 0 25px 50px rgba(0,0,0,0.25); }
.org-card h5 { font-size: 1.38rem; font-weight: 700; margin-bottom: 1.1rem; color: #1e2937; }
.org-card p { color: #64748b; line-height: 1.75; font-size: 1.02rem; }
/* Card Inner Wrapper Fix */
.card-inner {
    position: relative;
    overflow: hidden; /* Keeps the background icon inside the card */
}

/* Ensure text sits above the background icon */
.card-inner > .feature-icon,
.card-inner > h5,
.card-inner > p {
    position: relative;
    z-index: 2;
}

/* Background Icon Styling */
.card-bg-icon {
    position: absolute;
    right: -20px;
    top: 20%;
    transform: translateY(-50%);
    font-size: 150px;
    opacity: 0.06;
    color: #1e293b;
    z-index: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

/*.org-card:hover .card-bg-icon {
    transform: translateY(-50%) scale(1.1) rotate(10deg);
    opacity: 0.1;
}*/

/* ===== CORE HR (FORMATS) ===== */
#formats { background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); }
.min-vh-200 { min-height: 200px; }
.fs-7 { font-size: 0.875rem; }
.lh-tight { line-height: 1.4; }
/* Updated: 3D Layered Shadow */
.triangle-card, .triangle-card-bottom {
    position: relative;
    background: white;
    border-radius: 18px;

    /* New Shadow: Ek halki (depth ke liye) aur ek dark (definition ke liye) */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08),
    0 5px 15px rgba(0, 0, 0, 0.25);

    padding: 20px 4px 10px;
    width: 100%;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid #f1f5f9;
    margin-top: 35px;
    cursor: pointer;
}

/* Hover par Shadow aur bhi Dark aur Deep */
.triangle-card:hover, .triangle-card-bottom:hover {
    animation: bounceUpDown 0.8s ease-in-out;

    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12),
    0 10px 25px rgba(0, 0, 0, 0.35);
}
.triangle-card::before { content: ''; position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 20px solid white; }
.triangle-card-bottom::after { content: ''; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 20px solid white; }
@keyframes bounceUpDown { 0% { transform: translateY(0); } 25% { transform: translateY(-10px); } 50% { transform: translateY(-3px); } 75% { transform: translateY(-7px); } 100% { transform: translateY(0); } }
.triangle-card:hover, .triangle-card-bottom:hover { animation: bounceUpDown 0.8s ease-in-out; box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25); }
.icon-wrapper { position: absolute; top: -45px; left: 50%; transform: translateX(-50%); z-index: 10; }
.icon-wrapper-bottom { position: absolute; bottom: -45px; left: 50%; transform: translateX(-50%); z-index: 10; }
.icon-container { width: 68px; height: 68px; background: linear-gradient(135deg, #3b82f6, #6366f1); border-radius: 50px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4); transition: all 0.4s ease; }
.icon-container i { font-size: 2rem; color: white; }
.triangle-card:hover .icon-container, .triangle-card-bottom:hover .icon-container { transform: scale(1.12) rotate(-8deg); box-shadow: 0 15px 40px rgba(59, 130, 246, 0.55); }
@keyframes iconPopWiggle { 0% { transform: scale(1) rotate(0deg); } 30% { transform: scale(1.35) rotate(20deg); } 60% { transform: scale(0.9) rotate(-10deg); } 100% { transform: scale(1.1) rotate(0deg); } }
.triangle-card:hover .icon-container i, .triangle-card-bottom:hover .icon-container i { animation: iconPopWiggle 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* Hexagons */
.hexagon { width: 50px; height: 29px; background: var(--hex-color); position: relative; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.hexagon::before, .hexagon::after { content: ''; position: absolute; width: 0; border-left: 25px solid transparent; border-right: 25px solid transparent; }
.hexagon::before { bottom: 100%; border-bottom: 14px solid var(--hex-color); }
.hexagon::after { top: 100%; border-top: 14px solid var(--hex-color); }
.hexagon:hover { transform: scale(1.2); filter: brightness(1.15); }
.hex-blue { --hex-color: #3b82f6; } .hex-purple { --hex-color: #8b5cf6; } .hex-orange { --hex-color: #f59e0b; } .hex-green { --hex-color: #10b981; } .hex-pink { --hex-color: #ec4899; } .hex-cyan { --hex-color: #06b6d4; }

/* Dotted Line */
.dotted-gradient-line { background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 20%, #f59e0b 40%, #10b981 60%, #ec4899 80%, #06b6d4 100%); -webkit-mask-image: radial-gradient(circle, #000 2px, transparent 2px); mask-image: radial-gradient(circle, #000 2px, transparent 2px); -webkit-mask-size: 8px 100%; mask-size: 8px 100%; -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x; height: 3px; }

/* Mobile Timeline */
@media (max-width: 991px) {
    .mobile-timeline-wrapper { position: relative; min-height: 1200px; padding: 40px 0; }
    .mobile-center-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 18%, #f59e0b 35%, #10b981 52%, #ec4899 70%, #06b6d4 100%); -webkit-mask-image: radial-gradient(circle, #000 2px, transparent 2px); mask-image: radial-gradient(circle, #000 2px, transparent 2px); -webkit-mask-size: 100% 8px; mask-size: 100% 8px; -webkit-mask-repeat: repeat-y; mask-repeat: repeat-y; z-index: 1; }
    .mobile-hexagons-timeline { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 10; pointer-events: none; }
    .mobile-hex-point { position: absolute; left: 50%; transform: translateX(-50%); z-index: 10; }
    .mobile-hex-point .hexagon { width: 36px; height: 21px; }
    .mobile-hex-point .hexagon::before, .mobile-hex-point .hexagon::after { border-left: 18px solid transparent; border-right: 18px solid transparent; }
    .mobile-hex-point .hexagon::before { border-bottom: 11px solid var(--hex-color, #3c82f5); }
    .mobile-hex-point .hexagon::after { border-top: 11px solid var(--hex-color, #3c82f5); }
    .mobile-cards-container { position: relative; z-index: 5; }
    .mobile-card-item { position: relative; width: 100%; margin-bottom: 40px; display: flex; align-items: center; }
    .mobile-card-item:last-child { margin-bottom: 0; }
    .mobile-card-left { justify-content: flex-start; padding-right: 50%; }
    .mobile-card-right { justify-content: flex-end; padding-left: 50%; }
    .mobile-card-box { background: white; border-radius: 16px; padding: 60px 20px 20px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); position: relative; width: 100%; max-width: 140px; border: 1px solid #f1f5f9; flex-shrink: 0; }
    .mobile-card-icon { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); width: 60px; height: 60px; background: linear-gradient(135deg, #3b82f6, #6366f1); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 15px rgba(59, 130, 246, 0.35); border: 3px solid white; z-index: 10; }
    .mobile-card-icon i { font-size: 1.4rem; color: white; }
    .mobile-card-content { text-align: center; }
    .mobile-card-title { font-size: 0.95rem; font-weight: 600; color: #1a1a2e; margin: 0; line-height: 1.3; }
    .mobile-card-desc, .mobile-card-desc-right { font-size: 14px; color: #64748b; line-height: 1.5; margin: 15px 0 0; position: absolute; width: 100%; max-width: 160px; top: 100%; }
    .mobile-card-desc-right { text-align: right; }
    .mobile-arrow { width: 0; height: 0; z-index: 5; position: absolute; top: 35px; }
    .mobile-arrow-right { right: calc(50% - 10px); border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 10px solid white; }
    .mobile-arrow-left { left: calc(50% - 10px); border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-right: 10px solid white; }
}
/* ===== CORE HR ANALYTICS ===== */
#core-hr-analytics {
    background: #ffffff;
    position: relative;
    padding: 5rem 0;
}

/* Subtle Background Accent */
.analytics-bg-accent {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* Module Badge */
.module-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #2563eb, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Cards (New Style) */
.analytics-feature-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.analytics-feature-card:hover {
    background: #ffffff !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.1);
}

.analytics-check-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.analytics-feature-card:hover .analytics-check-icon {
    transform: scale(1.1);
}

.analytics-check-icon.bg-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.analytics-check-icon.bg-green { background: linear-gradient(135deg, #10b981, #059669); }
.analytics-check-icon.bg-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.analytics-check-icon.bg-red { background: linear-gradient(135deg, #ef4444, #dc2626); }

/* CTA Button */
.cta-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.cta-btn i {
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(4px);
}


/* ===== HERO CARD (Updated Darker Shadow) ===== */
.analytics-image-wrapper {
    position: relative;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08),
    0 5px 15px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Hover Effect (Darker on Hover) */
.analytics-image-wrapper :hover {
    transform: translateY(-5px);

    /* Updated: Even Darker Shadow on Hover */
    box-shadow: 0 25px 50px rgba(0,0,0,0.12),
    0 10px 25px rgba(0,0,0,0.3);
}
/* Image Styling inside the Card */
.dashboard-preview-img {
    width: 100%;
    height: auto;
    border-radius: 16px;       /* Inner Image Rounded Corners */
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

/* Optional: Slight zoom on image hover */
.analytics-image-wrapper:hover .dashboard-preview-img {
    transform: scale(1.02);
}

.dashboard-preview-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.analytics-image-wrapper:hover .dashboard-preview-img {
    transform: scale(1.01) translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

/* Floating Cards */
.analytics-float-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 3;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    animation: floatCard 4s ease-in-out infinite;
}

.analytics-float-card i {
    color: #3b82f6;
    font-size: 1.2rem;
}

.float-card-11 {
    top: 15%;
    right: -1%;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 1.5s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Stats Section */
.border-top {
    border-top: 1px solid #e2e8f0 !important;
}

/* Color Utilities */
.text-purple { color: #8b5cf6; }
.text-orange { color: #f59e0b; }

/* Responsive */
@media (max-width: 991px) {
    .analytics-float-card { display: none; }
    .cta-btn { width: 100%; justify-content: center; }
}

@media (max-width: 576px) {
    #core-hr-analytics { padding: 3rem 0; }
    .dashboard-preview-img { border-radius: 16px; }
    .analytics-check-icon { width: 48px; height: 48px; font-size: 1rem; }
    .analytics-feature-card { text-align: center !important; }
    .analytics-check-icon { margin: 0 auto !important; }
}
/* ===== RECRUITMENT ===== */

#recruitment {
    /* Soft Indigo Gradient (Professional & Trustworthy for Hiring) */
    background: radial-gradient(ellipse at top left, #e0e7ff 0%, #f8fafc 70%);
    position: relative;
    overflow: hidden;
}

/* Optional: Subtle Dot Pattern (Represents Candidate Network/Connections) */
#recruitment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dots pattern to symbolize network */
    background-image: radial-gradient(#4f46e5 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    opacity: 0.06; /* Bohot halka pattern */
    pointer-events: none;
    z-index: 0;
}

/* Ensure content stays above background */
#recruitment .container-fluid {
    position: relative;
    z-index: 1;
}
.hero-section { text-align: center; margin-bottom: 3rem; padding: 2rem 0; }
.tag { display: inline-flex; align-items: center; gap: 0.5rem; background: #dbeafe; color: #1d4ed8; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem; border: 1px solid rgba(59, 130, 246, 0.2); }
.hero-title { font-size: 3rem; font-weight: 700; color: #1a1a2e; margin-bottom: 1rem; letter-spacing: -0.02em; line-height: 1.2; }
.hero-title span { background: linear-gradient(135deg, #3b82f6, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.125rem; color: #64748b; max-width: 600px; margin: 0 auto; line-height: 1.7; }
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 3rem; background: #ffffff; padding: 1.5rem; border-radius: 16px; box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); border: 1px solid #e2e8f0; }
.stat-item { display: flex; align-items: center; gap: 1rem; padding: 0.5rem; }
.stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.stat-icon.blue { background: #dbeafe; } .stat-icon.green { background: rgba(16, 185, 129, 0.1); color: #10b981; } .stat-icon.orange { background: #ffedd5; color: #f97316; } .stat-icon.purple { background: #ede9fe; color: #8b5cf6; }
.stat-content h4 { font-size: 1.5rem; font-weight: 700; color: #1a1a2e; margin-bottom: 0.25rem;}
.stat-content p { font-size: 0.875rem; color: #64748b; font-weight: 500; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.recruitment-card { background: #ffffff; border-radius: 20px; padding: 2rem; border: 1px solid #e2e8f0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; cursor: pointer; }
.recruitment-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--color-primary), var(--color-dark)); opacity: 0; transition: opacity 0.3s; }
.recruitment-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1); border-color: transparent; }
.recruitment-card:hover::before { opacity: 1; }
.recruitment-card.job-posts { --color-primary: #3b82f6; --color-light: #dbeafe; --color-dark: #1d4ed8; }
.recruitment-card.candidate-mgmt { --color-primary: #8b5cf6; --color-light: #ede9fe; --color-dark: #6d28d9; }
.recruitment-card.employer-portal { --color-primary: #f97316; --color-light: #ffedd5; --color-dark: #ea580c; }
.recruitment-card.career-pages { --color-primary: #14b8a6; --color-light: #ccfbf1; --color-dark: #0d9488; }
.recruitment-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); }
.feature-content h3 { font-size: 1.25rem; font-weight: 600; color: #1a1a2e; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.feature-badge { background: var(--color-light); color: var(--color-dark); padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.feature-content p { color: #64748b; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }
.feature-stats { display: flex; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid #e2e8f0; }
.feature-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.feature-stat-value { font-size: 1.25rem; font-weight: 700; color: #1a1a2e; }
.feature-stat-label { font-size: 0.875rem; color: #94a3b8; font-weight: 500; }
.feature-arrow { position: absolute; top: 2rem; right: 2rem; width: 40px; height: 40px; border-radius: 10px; background: #f0f2f5; display: flex; align-items: center; justify-content: center; color: #94a3b8; transition: all 0.3s; }
.recruitment-card:hover .feature-arrow {
    background: var(--color-primary);
    color: white;
    transform: translateX(4px);
}
/* ===== EMPLOYEE MANAGEMENT - NEW LAYOUT ===== */
#employees {
    background: #ffffff;
    padding: 5rem 0;
}

/* Feature Grid Layout */
.emp-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* Feature Card Styling */
.emp-feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.emp-feature-card:hover {
    background: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Circular Icon Box */
.emp-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.emp-feature-card:hover .emp-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.emp-icon-box.bg-blue   { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3); }
.emp-icon-box.bg-pink   { background: linear-gradient(135deg, #ec4899, #db2777); box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3); }
.emp-icon-box.bg-orange { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3); }
.emp-icon-box.bg-green  { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3); }
.emp-icon-box.bg-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3); }
.emp-icon-box.bg-teal   { background: linear-gradient(135deg, #14b8a6, #0d9488); box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3); }

.emp-feature-card h5 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.emp-feature-card p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* Image Wrapper (Centered & Responsive) */
.employee-image-wrapper {
    position: relative;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08),
    0 5px 15px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    /* FULL WIDTH FIX */
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.employee-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
    border-color: rgba(37, 99, 235, 0.3);
}

.employee-main-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
    object-fit: contain; /* Image ko stretch hote se rokne ke liye */
}

.employee-image-wrapper:hover .employee-main-img {
    transform: scale(1.02);
}

/* Glow Effects */
.employee-image-glow-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.employee-image-glow-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 991px) {
    .employee-image-wrapper {
        padding: 1rem;
        border-radius: 20px;
    }
}

@media (max-width: 576px) {
    .employee-image-wrapper {
        padding: 0.75rem;
        border-radius: 16px;
    }
    .employee-main-img {
        border-radius: 12px;
    }
}

/* Decorative Glow Effects */
.employee-image-glow-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.employee-image-glow-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 991px) {
    .emp-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .emp-features-grid { grid-template-columns: 1fr; }
    .employee-image-wrapper { padding: 1rem; border-radius: 20px; }
    .employee-main-img { border-radius: 12px; }
    .emp-feature-card { padding: 1.5rem 1rem; }
}
/* ===== GLOBAL SCROLL FIX ===== */
html, body { max-width: 100%; overflow-x: hidden; }

/* ===== PAYROLL SECTION - ENHANCED ===== */
.payroll-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    /* Modern Gradient Background */
    background: linear-gradient(135deg, #f8fafc 0%, #e8f0fe 50%, #f0f7ff 100%);
}

/* Decorative Background Shapes */
.payroll-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(60px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    top: -100px;
    right: -100px;
    animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    bottom: -80px;
    left: -80px;
    animation: floatShape 10s ease-in-out infinite;
    animation-delay: -3s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #10b981, #059669);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatShape 6s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.1); }
}

/* Content stays above background */
.payroll-section .container-fluid {
    position: relative;
    z-index: 2;
}

/* Badge & Heading */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-heading .text-primary {
    color: #2563eb !important;
}

.section-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 520px;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #475569;
}

.section-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== IMAGE CARD (Enhanced) ===== */
.payroll-image-card {
    position: relative;
    padding: 20px;
}

/* Image Wrapper with Glass Effect */
.section-image-wrapper {
    position: relative;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08),
    0 5px 15px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.section-image-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

.section-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.section-image-wrapper:hover img {
    transform: scale(1.03);
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* ===== FLOATING STATS CARDS ===== */
.float-stat {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 3;
    animation: floatCard 4s ease-in-out infinite;
}

.float-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.float-stat-icon.bg-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.float-stat-icon.bg-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.float-stat-icon.bg-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.float-stat-info {
    display: flex;
    flex-direction: column;
}

.float-stat-num {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.float-stat-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

/* Floating Card Positions */
.float-stat-1 {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}

.float-stat-2 {
    bottom: 25%;
    left: -20px;
    animation-delay: 1s;
}

.float-stat-3 {
    bottom: 5%;
    right: 20px;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .section-heading { font-size: 2rem; }
    .payroll-image-card { margin-top: 2rem; }
    .float-stat { display: none; } /* Hide floating cards on mobile */
}

@media (max-width: 576px) {
    .section-heading { font-size: 1.75rem; }
    .section-actions { flex-direction: column; }
    .section-actions .cta-btn { width: 100%; justify-content: center; }
}
/* Loan Management Styles */
.loan-features-list .feature-icon-box {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon-box {
    transform: scale(1.1);
}

.bg-blue-light { background: rgba(59, 130, 246, 0.12); }
.bg-green-light { background: rgba(16, 185, 129, 0.12); }
.bg-purple-light { background: rgba(139, 92, 246, 0.12); }
.bg-orange-light { background: rgba(245, 158, 11, 0.12); }

.text-purple { color: #8b5cf6; }

.loan-image-card {
    position: relative;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08),
    0 5px 15px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.loan-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.loan-main-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    position: relative;
    z-index: 2;
}

.image-glow-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.image-glow-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.loan-feature-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.loan-feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: #3b82f6;
}

.loan-feature-box .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Styled Button */
.loan-cta-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.loan-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.loan-cta-btn i {
    transition: transform 0.3s ease;
}

.loan-cta-btn:hover i {
    transform: translateX(4px);
}

/* Loan Types Cards */
.loan-type-card {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0 !important;
}

.loan-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #3b82f6 !important;
}

.loan-type-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.loan-type-card:hover .loan-type-icon {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .loan-image-card { padding: 1rem; }
    .loan-main-img { border-radius: 12px; }
}
/* =====                        TIMESHEET                       ===== */

.timesheet-image-wrapper {
    position: relative;
    padding: 20px;
    transition: transform 0.3s ease;
}

/* Card Wrapper for Image */
.timesheet-card-wrapper {
    position: relative;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08),
    0 5px 15px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.timesheet-card-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

.timesheet-card-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}
/* Decorative Background Circles */
.timesheet-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.timesheet-deco.deco-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    animation: pulseDeco 6s ease-in-out infinite;
}

.timesheet-deco.deco-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    bottom: -30px;
    left: -30px;
    animation: pulseDeco 8s ease-in-out infinite;
    animation-delay: -2s;
}

.timesheet-deco.deco-3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    animation: pulseDeco 5s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes pulseDeco {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Floating Stat Cards */
.timesheet-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timesheet-float-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
}

.float-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.float-card-icon.bg-green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.float-card-icon.bg-blue {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.float-card-icon.bg-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.float-card-info {
    display: flex;
    flex-direction: column;
}

.float-card-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.float-card-label {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
}

/* Card Positions */
.float-card-1 {
    top: 15%;
    left: -15px;
}

.float-card-2 {
    bottom: 20%;
    left: -10px;
}

.float-card-3 {
    top: 8%;
    right: -10px;
}

/* Floating Animations */
.animate-float-slow {
    animation: floatCardSlow 5s ease-in-out infinite;
}

.animate-float-medium {
    animation: floatCardMedium 4s ease-in-out infinite;
    animation-delay: -1.5s;
}

.animate-float-fast {
    animation: floatCardFast 3.5s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes floatCardSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(2deg); }
}

@keyframes floatCardMedium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-1.5deg); }
}

@keyframes floatCardFast {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .timesheet-float-card { display: none !important; }
    .timesheet-deco { display: none; }
    .timesheet-image-wrapper {
        margin-top: 2rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== LEAVE MANAGEMENT - Side by Side ===== */
.leave-image-wrapper {
    position: relative;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08),
    0 5px 15px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image: Full fit without crop */
.leave-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    /* Removed max-height & object-fit so image shows fully */
}

/* Feature Grid */
.leave-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px 16px;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: #3b82f6;
}

.leave-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.icon-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.icon-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.icon-green { background: linear-gradient(135deg, #10b981, #059669); }
.icon-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.icon-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.icon-red  { background: linear-gradient(135deg, #ef4444, #dc2626); }


/* Responsive */
@media (max-width: 991px) {
    .leave-image-wrapper { margin-top: 2rem; }
    .leave-feature-grid { grid-template-columns: 1fr; }
}

/* ===== MODERN HRM SECTION ===== */
.modern-hrm-section { background: #f5f5f2; font-family: 'Inter', system-ui, -apple-system, sans-serif; }
.text-gradient { background: linear-gradient(45deg, #0d6efd, #6610f2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.badge-modern { display: inline-flex; align-items: center; padding: 0.5rem 1.25rem; border-radius: 50rem; font-weight: 600; font-size: 0.875rem; }
.bg-primary-soft { background-color: rgba(13, 110, 253, 0.1); }
.bg-info-soft { background-color: rgba(13, 202, 240, 0.1); }
.interactive-feature-list { list-style: none; padding: 0; margin: 0; }
.interactive-feature-list li { display: flex; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); transition: all 0.3s ease; cursor: default; }
.interactive-feature-list li:hover { transform: translateX(10px); }
.interactive-feature-list li:last-child { border-bottom: none; }
.icon-box { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: white; font-size: 1.25rem; margin-right: 1rem; flex-shrink: 0; }
.bg-gradient-blue { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.bg-gradient-purple { background: linear-gradient(135deg, #c471f5 0%, #fa71cd 100%); }
.bg-gradient-green { background: linear-gradient(135deg, #2af598 0%, #009efd 100%); }
.bg-gradient-orange { background: linear-gradient(135deg, #f83600 0%, #f9d423 100%); }
.accent-block { padding: 0.5rem 0 0.5rem 1rem; border-left: 4px solid; transition: opacity 0.3s ease; }
.accent-block:hover { opacity: 0.8; }
/* ===== CRM IMAGE WRAPPER ===== */
.crm-image-wrapper {
    position: relative;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08),
    0 5px 15px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.crm-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.crm-dashboard-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    display: block;
    transition: transform 0.4s ease;
}

.crm-image-wrapper:hover .crm-dashboard-img {
    transform: scale(1.02);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .crm-image-wrapper {
        padding: 1rem;
        border-radius: 1rem;
    }
    .crm-dashboard-img {
        border-radius: 0.75rem;
    }
}

/* ===== APP & FAQ ===== */
.phone-mockup { width: 260px; height: 520px; background: var(--dark); border-radius: 40px; border: 8px solid #334155; margin: 0 auto; position: relative; overflow: hidden; animation: float 4s ease-in-out infinite; }
.phone-screen { width: calc(100% - 16px); height: calc(100% - 16px); margin: 8px; background: white; border-radius: 32px; display: flex; align-items: center; justify-content: center; color: #64748b; }
.app-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.5rem; background: var(--dark); color: white; border-radius: 12px; text-decoration: none; font-weight: 500; transition: var(--transition); margin-right: 0.5rem; }
.app-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.faq-item { border-bottom: 1px solid #e2e8f0; padding: 1.2rem 0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq-question:hover { color: var(--primary); }
.faq-question i { transition: var(--transition); }
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; color: #64748b; padding-top: 0; }
.faq-item.active .faq-answer { max-height: 500px; padding-top: 1rem; }

/* ===== FOOTER ===== */
footer { padding-top: 4rem; padding-bottom: 2rem; }
.footer-content { padding-top: 2rem; padding-bottom: 1rem; }
.footer-bg-decoration { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.footer-glow-1, .footer-glow-2 { position: absolute; width: 400px; height: 400px; border-radius: 50%; filter: blur(80px); opacity: 0.12; animation: float 8s ease-in-out infinite; z-index: 1; }
.footer-glow-1 { background: linear-gradient(135deg, #2563eb, #0891b2); top: -80px; right: -80px; }
.footer-glow-2 { background: linear-gradient(135deg, #7c3aed, #db2777); bottom: -120px; left: -30px; animation-delay: -4s; }
.footer-grid-pattern { position: absolute; inset: 0; background-image: linear-gradient(rgba(148,163,184,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,0.03) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%); z-index: 1; }
.logo-badge { width: 44px; height: 44px; background: linear-gradient(135deg, #2563eb, #0891b2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: white; box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4); }
.social-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(148,163,184,0.1); display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: all 0.3s ease; border: 1px solid rgba(148,163,184,0.2); }
.social-icon:hover { background: linear-gradient(135deg, #2563eb, #0891b2); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5); border-color: transparent; }
.form-control:focus { background-color: #0f172a !important; border-color: #2563eb !important; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important; }
.btn-gradient { background: linear-gradient(135deg, #2563eb, #0891b2); border: none; color: white; font-weight: 500; transition: all 0.3s ease; }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5); }
.footer-heading { font-size: 0.95rem; font-weight: 600; color: white; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; transition: all 0.2s ease; padding: 0.2rem 0; }
.footer-links a i { font-size: 0.65rem; color: #64748b; transition: transform 0.2s ease; }
.footer-links a:hover { color: white; padding-left: 4px; }
.footer-links a:hover i { transform: translateX(3px); color: #2563eb; }
.badge-new { background: linear-gradient(135deg, #f59e0b, #ea580c); color: white; font-size: 0.65rem; font-weight: 500; padding: 0.15rem 0.5rem; border-radius: 20px; margin-left: 0.5rem; animation: pulse 2s infinite; }
.hover-white:hover { color: white !important; }
.trust-badge { filter: grayscale(100%) opacity(0.7); transition: all 0.3s ease; border-radius: 6px; }
.trust-badge:hover { filter: grayscale(0%) opacity(1); transform: translateY(-2px); }
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #0891b2); color: white; border: none; display: flex; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4); z-index: 100; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(37, 99, 235, 0.6); }
.dashboard-img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-hover); background: linear-gradient(135deg, #f1f5f9, #e2e8f0); display: flex; align-items: center; justify-content: center; min-height: 280px; color: var(--primary); font-size: 3rem; }

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 991px) {
    .hero { padding: 7rem 1.5rem 3rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero .row { text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .footer-glow-1, .footer-glow-2 { width: 300px; height: 300px; }
    .col-lg-5 { text-align: center; }
    .col-lg-5 .d-flex { justify-content: center; }
    .col-lg-5 p { text-align: center; }
    .col-lg-4.offset-lg-1 { text-align: center; margin-top: 2rem; }
    .col-lg-4.offset-lg-1 form { justify-content: center; }
    .col-lg-6.text-lg-end { text-align: center !important; }
    .col-lg-6.text-lg-end .d-flex { justify-content: center !important; }
    .floating-stat-card { display: none !important; }
    .timesheet-mockup-card { max-width: 500px; margin: 3rem auto 0; }
    .col-lg-6 { text-align: center; }
    .feature-list { text-align: left; display: inline-block; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .section-header h2 { font-size: 1.8rem; }
    .stat-card .count { font-size: 2.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 2rem; }
    .col-lg-3 { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 576px) {
    .footer-glow-1, .footer-glow-2 { width: 200px; height: 200px; opacity: 0.08; }
    .social-icon { width: 32px; height: 32px; font-size: 0.9rem; }
    .back-to-top { width: 40px; height: 40px; bottom: 1rem; right: 1rem; }
    .hero h1 { font-size: 2rem; }
    .hero p.lead { font-size: 1rem; }
    .cta-btn { width: 100%; justify-content: center; }
    .stats-bar { grid-template-columns: 1fr; }
    .header-nav { display: none; }
    .col-lg-3 { flex: 0 0 100%; max-width: 100%; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== CALENDAR SECTION ===== */
#calendar .calendar-wrapper { background: #fff; border-radius: 16px; border: 1px solid #e2e8f0; box-shadow: 0 4px 20px rgba(0,0,0,0.04); overflow: hidden; }
#calendar .calendar-header { background: #fff; }
#calendar .calendar-filters { background: #f8fafc; }
#calendar .calendar-stats { background: #fff; }
#calendar .stat-item { min-width: 120px; }
#calendar .stat-value { font-size: 1.5rem; line-height: 1; }
#calendar .calendar-legend { background: #f8fafc; }
#calendar .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); background: #fff; }
#calendar .weekday-header { padding: 12px 8px; text-align: center; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #64748b; background: #f8fafc; border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
#calendar .weekday-header:last-child { border-right: none; }
#calendar .calendar-day { min-height: 100px; padding: 6px; border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; cursor: pointer; transition: background 0.15s; position: relative; }
#calendar .calendar-day:hover { background: #f8fafc; }
#calendar .calendar-day.other-month { background: #f8fafc; }
#calendar .calendar-day.today { background: #eff6ff; }
#calendar .calendar-day.weekend { background: #fafafa; }
#calendar .day-number { font-size: 0.85rem; font-weight: 600; color: #334155; margin-bottom: 4px; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; }
#calendar .calendar-day.today .day-number { background: #2563eb; color: white; }
#calendar .calendar-day.other-month .day-number { color: #cbd5e1; }
#calendar .event-item { padding: 3px 6px; border-radius: 4px; font-size: 0.7rem; font-weight: 500; margin-bottom: 3px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: all 0.15s; display: flex; align-items: center; gap: 3px; }
#calendar .event-item:hover { opacity: 0.85; transform: translateX(2px); }
#calendar .event-pending { background: #fff7ed; color: #c2410c; border-left: 2px solid #f97316; }
#calendar .event-approved { background: #f0fdf4; color: #15803d; border-left: 2px solid #16a34a; }
#calendar .event-task { background: #eff6ff; color: #1d4ed8; border-left: 2px solid #2563eb; }
#calendar .event-hr { background: #faf5ff; color: #6d28d9; border-left: 2px solid #7c3aed; }
#calendar .event-overdue { background: #fef2f2; color: #b91c1c; border-left: 2px solid #dc2626; }
#calendar .event-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
#calendar .event-count { font-size: 0.65rem; color: #94a3b8; text-align: right; margin-top: 2px; }
#calendar .filter-tag { cursor: pointer; transition: all 0.2s; border: 1px solid transparent; }
#calendar .filter-tag:hover { border-color: #2563eb; color: #2563eb; }
#calendar .filter-tag.active { background: #2563eb !important; color: white !important; border-color: #2563eb !important; }
#leaveModal .modal-content { border-radius: 16px; border: none; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
#leaveModal .task-item { transition: transform 0.2s; }
#leaveModal .task-item:hover { transform: translateX(4px); background: #f1f5f9 !important; }
@media (max-width: 991px) { #calendar .calendar-grid { grid-template-columns: repeat(7, 1fr); font-size: 0.85rem; } #calendar .calendar-day { min-height: 80px; padding: 4px; } #calendar .event-item { font-size: 0.65rem; padding: 2px 4px; } }
@media (max-width: 768px) { #calendar .calendar-header { flex-direction: column; align-items: stretch !important; gap: 12px !important; } #calendar .calendar-filters .row > div { width: 100%; } #calendar .calendar-stats { flex-direction: column; align-items: flex-start; gap: 12px; } #calendar .calendar-grid { font-size: 0.8rem; } #calendar .calendar-day { min-height: 70px; } #calendar .weekday-header { padding: 8px 4px; font-size: 0.7rem; } }
@media (max-width: 576px) { #calendar .calendar-grid { grid-template-columns: repeat(7, 1fr); font-size: 0.75rem; } #calendar .calendar-day { min-height: 60px; padding: 3px; } #calendar .day-number { width: 20px; height: 20px; font-size: 0.75rem; } #calendar .event-item { display: none; } #calendar .event-count { display: block; font-size: 0.6rem; } }


