/*==================================================
    REMUNERX WEBSITE V2
    HERO SECTION
==================================================*/

/*=========================================
    HERO SECTION
==========================================*/

.hero{

    position:relative;

    overflow:hidden;

    padding:150px 0 120px;

    background:
        radial-gradient(circle at top left,#DBEAFE 0%,transparent 35%),
        radial-gradient(circle at bottom right,#E0F2FE 0%,transparent 35%),
        linear-gradient(180deg,#FFFFFF 0%,#F8FAFC 100%);

}

/*=========================================
    HERO BACKGROUND
==========================================*/

.hero::before{

    content:"";

    position:absolute;

    top:-220px;

    right:-180px;

    width:650px;

    height:650px;

    border-radius:50%;

    background:rgba(37,99,235,.06);

    filter:blur(70px);

}

.hero::after{

    content:"";

    position:absolute;

    left:-220px;

    bottom:-220px;

    width:520px;

    height:520px;

    border-radius:50%;

    background:rgba(6,182,212,.08);

    filter:blur(60px);

}

/*=========================================
    HERO GRID
==========================================*/

.hero-grid{

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:1.05fr .95fr;

    align-items:center;

    gap:70px;

}

/*=========================================
    LEFT CONTENT
==========================================*/

.hero-left{

    position:relative;
    

}

.hero-tag{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 20px;

    border-radius:999px;

    background:#EFF6FF;

    color:var(--primary);

    font-weight:600;

    font-size:15px;

    margin-bottom:28px;

    border:1px solid #BFDBFE;

}

.hero-tag i{

    color:#2563EB;

}

.hero-left h1{

    margin-bottom:28px;

    max-width:720px;

}

.hero-left h1 span{

    display:block;

    color:var(--primary);

    background:linear-gradient(
        90deg,
        #2563EB,
        #0EA5E9
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

.hero-left p{

    max-width:620px;

    font-size:20px;

    line-height:1.9;

    margin-bottom:40px;

}

/*=========================================
    HERO BUTTONS
==========================================*/

.hero-buttons{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:55px;

}

.hero-buttons .btn{

    min-width:180px;

}

.hero-buttons .btn-outline{

    background:#fff;

    box-shadow:var(--shadow-sm);

}

/*=========================================
    HERO STATS
==========================================*/

.hero-stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:22px;

    padding-bottom: 50px;

}

.stat-box{

    background:#fff;

    padding:26px;

    border-radius:22px;

    border:1px solid var(--border);

    box-shadow:var(--shadow-sm);

    transition:.35s ease;

}

.stat-box:hover{

    transform:translateY(-8px);

    /*box-shadow:var(--shadow);*/

}

.stat-box h2{

    font-size:36px;

    color:var(--primary);

    margin-bottom:8px;

}

.stat-box span{

    color:var(--muted);

    font-size:15px;

}

/*=========================================
    HERO RIGHT
==========================================*/

.hero-right{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}

/*=========================================
    DASHBOARD WINDOW
==========================================*/

.dashboard-window{

    position:relative;

    width:100%;

    max-width:940px;

    background:#fff;

    border-radius:28px;

    overflow:hidden;

    border:1px solid var(--border);

    box-shadow:0 35px 80px rgba(15,23,42,.12);

    animation:float 6s ease-in-out infinite;

}

/*=========================================
    WINDOW HEADER
==========================================*/

.window-header{

    height:64px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 22px;

    background:#F8FAFC;

    border-bottom:1px solid var(--border);

}

.window-left{

    display:flex;

    align-items:center;

    gap:8px;

}

.dot{

    width:12px;

    height:12px;

    border-radius:50%;

}

.dot.red{

    background:#EF4444;

}

.dot.yellow{

    background:#F59E0B;

}

.dot.green{

    background:#22C55E;

}

.window-title{

    font-size:15px;

    font-weight:600;

    color:var(--dark);

}

.window-right{

    display:flex;

    align-items:center;

    gap:18px;

}

.window-right i{

    font-size:18px;

    color:var(--muted);

    cursor:pointer;

    transition:.3s;

}

.window-right i:hover{

    color:var(--primary);

}

.window-right img{

    width:40px;

    height:40px;

    border-radius:50%;

    object-fit:cover;

}

/*=========================================
    DASHBOARD BODY
==========================================*/

.dashboard-body{

    display:grid;

    grid-template-columns:90px 1fr;

    min-height:520px;

}

/*=========================================
    SIDEBAR
==========================================*/

.sidebar{

    background:#F8FAFC;

    border-right:1px solid var(--border);

    padding:24px 14px;

    display:flex;

    flex-direction:column;

    gap:14px;

}

.sidebar-item{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:14px 10px;

    border-radius:18px;

    color:var(--muted);

    cursor:pointer;

    transition:.3s;

}

.sidebar-item:hover{

    background:#EFF6FF;

    color:var(--primary);

}

.sidebar-item.active{

    background:linear-gradient(
        180deg,
        var(--primary),
        #3B82F6
    );

    color:#fff;

    box-shadow:0 15px 30px rgba(37,99,235,.25);

}

.sidebar-item i{

    font-size:20px;

}

.sidebar-item span{

    font-size:12px;

    font-weight:600;

    text-align:center;

}

/*=========================================
    DASHBOARD CONTENT
==========================================*/

.dashboard-content{

    padding:26px;

    background:#FCFDFF;

}

/*=========================================
    KPI GRID
==========================================*/

.kpi-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-bottom:22px;

}

.kpi-card{

    background:#fff;

    border:1px solid var(--border);

    border-radius:20px;

    padding:22px;

    transition:.35s;

}

.kpi-card:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow);

}

.kpi-card span{

    display:block;

    color:var(--muted);

    font-size:14px;

    margin-bottom:10px;

}

.kpi-card h3{

    font-size:30px;

    margin-bottom:8px;

}

.kpi-card small{

    display:flex;

    align-items:center;

    gap:6px;

    font-weight:600;

}

.kpi-card small.success{

    color:var(--success);

}

.kpi-card small.warning{

    color:var(--warning);

}

.kpi-card small.primary{

    color:var(--primary);

}

/*=========================================
    CHART CARD
==========================================*/

.chart-card{

    margin-top:10px;

    background:#fff;

    border-radius:22px;

    border:1px solid var(--border);

    padding:24px;

    margin-bottom:22px;

}

/*=========================================
    ATTENDANCE CHART
==========================================*/

.attendance-chart{

    display:flex;

    align-items:flex-end;

    justify-content:space-between;

    gap:12px;

    height:180px;

    margin-top:25px;

}

.chart-bar{

    flex:1;

    border-radius:14px 14px 6px 6px;

    background:linear-gradient(
        to top,
        var(--primary),
        #60A5FA
    );

    transition:.35s ease;

    cursor:pointer;

}

.chart-bar:hover{

    transform:translateY(-8px);

    filter:brightness(1.05);

}

.h65{height:65%;}
.h75{height:75%;}
.h80{height:80%;}
.h85{height:85%;}
.h90{height:90%;}
.h95{height:95%;}
.h100{height:100%;}

/*=========================================
    ACTIVITY CARD
==========================================*/

.activity-card{

    background:#fff;

    border:1px solid var(--border);

    border-radius:22px;

    padding:22px;

}

.activity-list{

    display:flex;

    flex-direction:column;

    gap:16px;

}

.activity-item{

    display:flex;

    align-items:center;

    gap:16px;

    padding:14px;

    border-radius:16px;

    transition:.3s ease;

}

.activity-item:hover{

    background:#F8FAFC;

}

.activity-icon{

    width:50px;

    height:50px;

    border-radius:14px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:18px;

}

.activity-icon.primary{

    background:var(--primary);

}

.activity-icon.success{

    background:var(--success);

}

.activity-icon.warning{

    background:var(--warning);

}

.activity-item strong{

    display:block;

    color:var(--dark);

    margin-bottom:4px;

}

.activity-item p{

    font-size:13px;

    color:var(--muted);

    line-height:1.5;

}

/*=========================================
    FLOATING CARDS
==========================================*/

.floating-card{

    position:absolute;

    display:flex;

    align-items:center;

    gap:14px;

    background:rgba(255,255,255,.95);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.6);

    border-radius:20px;

    padding:18px;

    box-shadow:0 25px 55px rgba(15,23,42,.12);

    z-index:10;

    animation:float 5s ease-in-out infinite;

}

.floating-checkin{

    top:40px;

    left:-60px;

}

.floating-payroll{

    right:-70px;

    top:220px;

    animation-delay:1.5s;

}

.floating-approval{

    bottom:25px;

    left:-40px;

    animation-delay:3s;

}

.floating-icon{

    width:52px;

    height:52px;

    border-radius:16px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:20px;

}

.floating-content h5{

    font-size:15px;

    color:var(--dark);

    margin-bottom:4px;

}

.floating-content p{

    font-size:13px;

    line-height:1.4;

}

/*=========================================
    HERO DECORATION
==========================================*/

.hero-shape{

    position:absolute;

    border-radius:50%;

    pointer-events:none;

    z-index:0;

}

.hero-shape-1{

    width:260px;

    height:260px;

    background:rgba(37,99,235,.08);

    top:90px;

    right:-90px;

    filter:blur(20px);

}

.hero-shape-2{

    width:180px;

    height:180px;

    background:rgba(6,182,212,.08);

    left:-70px;

    bottom:100px;

    filter:blur(16px);

}

.hero-shape-3{

    width:120px;

    height:120px;

    background:rgba(124,58,237,.08);

    top:45%;

    left:48%;

    filter:blur(12px);

}

/*=========================================
    RESPONSIVE
==========================================*/

@media(max-width:1200px){

    .hero-grid{

        gap:50px;

    }

}

@media(max-width:992px){

    .hero{

        padding:150px 0 80px;

    }

    .hero-grid{

        grid-template-columns:1fr;

        text-align:center;

    }

    .hero-left p{

        margin-left:auto;

        margin-right:auto;

    }

    .hero-buttons{

        justify-content:center;

    }

    .hero-stats{

        width: 45%;
        margin:auto;

    }

    .dashboard-window{

        margin-top:60px;

    }

    .floating-card{

        display:none;

    }

}

@media(max-width:768px){

    .hero{

        padding:130px 0 70px;

    }

    .hero-stats{

        grid-template-columns:1fr;

    }

    .dashboard-body{

        grid-template-columns:70px 1fr;

    }

    .sidebar-item span{

        display:none;

    }

    .dashboard-content{

        padding:18px;

    }

    .kpi-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:576px){

    .hero-buttons{

        flex-direction:column;

    }

    .hero-buttons .btn{

        width:100%;

    }

    .window-title{

        display:none;

    }

    .dashboard-window{

        border-radius:20px;

    }

    .chart-card,

    .activity-card{

        padding:18px;

    }

}

/*=========================================
    END OF HERO.CSS
==========================================*/