/*====================================================
  MAGIS HIS SOFTWARE
  Premium SaaS Design
====================================================*/

/*=============================
    GOOGLE FONTS
==============================*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/*=============================
    VARIABLES
==============================*/

:root{

    --primary:#2563EB;
    --primary-dark:#1D4ED8;
    --secondary:#0F172A;

    --accent:#38BDF8;

    --success:#10B981;

    --background:#F8FAFC;

    --card:#FFFFFF;

    --text:#1E293B;

    --muted:#64748B;

    --border:#E2E8F0;

    --shadow:0 20px 45px rgba(0,0,0,.08);

    --radius:22px;

    --transition:.35s ease;

}

/*=============================
    GLOBAL
==============================*/

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;

    background:var(--background);

    color:var(--text);

    overflow-x:hidden;

}

section{

    padding:110px 0;

}

.container{

    max-width:1250px;

}

/*=============================
    TYPOGRAPHY
==============================*/

h1{

    font-size:64px;

    font-weight:800;

    line-height:1.1;

}

h2{

    font-size:46px;

    font-weight:700;

}

h3{

    font-weight:700;

}

p{

    color:var(--muted);

    font-size:18px;

    line-height:1.9;

}

/*=============================
    SECTION TAG
==============================*/

.section-tag{

    display:inline-block;

    padding:10px 18px;

    border-radius:50px;

    background:#E0F2FE;

    color:var(--primary);

    font-weight:700;

    letter-spacing:1px;

    margin-bottom:20px;

}

/*=============================
    HERO
==============================*/

.heros-section{

    position:relative;
    
    height:600px;

    overflow:hidden;

    background:linear-gradient(135deg,#eff6ff,#ffffff);

}

.heros-bg{

    position:absolute;

    width:900px;

    background:radial-gradient(circle,#60A5FA22,transparent 70%);

    top:-300px;

    right:-250px;

    border-radius:50%;

    animation:floatBackground 10s ease-in-out infinite;

}

.badge-product{

    display:inline-block;

    padding:10px 18px;

    background:#DBEAFE;

    color:#2563EB;

    border-radius:30px;

    font-weight:700;

    margin-bottom:25px;

}

.heros-section h1{

    margin-bottom:25px;

}

.heros-buttons{

    margin-top:40px;

}

.heros-rating{

    font-size:15px;

    color:#F59E0B;

    font-weight:600;

}

/*=============================
    BUTTONS
==============================*/

.btn{

    border-radius:50px;

    padding:15px 35px;

    transition:var(--transition);

    font-weight:700;

}

.btn-primary{

    background:linear-gradient(135deg,#2563EB,#3B82F6);

    border:none;

    box-shadow:0 15px 30px rgba(37,99,235,.25);

}

.btn-primary:hover{

    transform:translateY(-4px);

    box-shadow:0 25px 45px rgba(37,99,235,.35);

}

.btn-light{

    border:1px solid var(--border);

    background:#fff;

}

.btn-light:hover{

    transform:translateY(-4px);

}

/*=============================
    FLOATING DASHBOARD
==============================*/

.dashboard-mockup{

    text-align:center;

}

.floating-dashboard{

    width:100%;

    max-width:560px;

    border-radius:24px;

    box-shadow:0 35px 60px rgba(0,0,0,.15);

    animation:floating 5s ease-in-out infinite;

}

/*=============================
    STATS
==============================*/

.stats-section{
    margin-top:0;
    padding:20px 0;
    position:relative;
    z-index:1;
}

.stat-card{

    background:#fff;

    border-radius:22px;

    text-align:center;

    padding:45px 25px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.stat-card:hover{

    transform:translateY(-12px);

}

.stat-card h2{

    color:var(--primary);

    font-size:54px;

    margin-bottom:5px;

}

.stat-card p{

    margin:0;

}

/*=============================
    OVERVIEW
==============================*/

.overview-card{

    background:white;

    border-radius:25px;

    padding:45px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

    height:100%;

}

.overview-card:hover{

    transform:translateY(-12px);

}

.overview-card i{

    font-size:60px;

    color:var(--primary);

    margin-bottom:25px;

}

/*=============================
    DASHBOARD
==============================*/

.dashboard-showcase{

    background:#f8fafc;

}

.dashboard-image{

    border-radius:24px;

    box-shadow:0 35px 80px rgba(0,0,0,.15);

    transition:.5s;

}

.dashboard-image:hover{

    transform:scale(1.02);

}

.carousel-inner{

    padding:20px;

}

.carousel-caption{

    position:relative;

    left:auto;

    right:auto;

    bottom:auto;

    margin-top:25px;

    color:#111827;

}

.carousel-caption h4{

    font-weight:700;
    color:#DBEAFE;

}
.carousel-caption p{

    font-weight:700;
    color:#DBEAFE;

}

.carousel-indicators{

    bottom:-50px;

}

.carousel-indicators button{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#2563EB;

}

.carousel-control-prev-icon,
.carousel-control-next-icon{

    background-color:#2563EB;

    border-radius:50%;

    padding:20px;

}

.dashboard-list{

    margin-top:35px;

    padding:0;

    list-style:none;

}

.dashboard-list li{

    margin-bottom:18px;

    font-size:18px;

    color:var(--text);

}

/*=============================
    ANIMATIONS
==============================*/

@keyframes floating{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-20px);

    }

    100%{

        transform:translateY(0px);

    }

}

@keyframes floatBackground{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(40px);

    }

    100%{

        transform:translateY(0);

    }

}

/*=============================
    RESPONSIVE
==============================*/

@media(max-width:992px){

    section{

        padding:80px 0;

    }

    h1{

        font-size:46px;

    }

    h2{

        font-size:34px;

    }

    .hero-section{

        text-align:center;

    }

    .hero-buttons{

        display:flex;

        flex-direction:column;

        gap:15px;

    }

    .stats-section{

        margin-top:0;

    }

    .dashboard-image{

        margin-bottom:40px;

    }

}

@media(max-width:576px){

    h1{

        font-size:38px;

    }

    h2{

        font-size:28px;

    }

    p{

        font-size:16px;

    }

    .overview-card{

        padding:30px;

    }

    .stat-card{

        margin-bottom:20px;

    }

}

.section-divider{
    display:flex;
    align-items:center;
    justify-content:center;
    margin:20px 0;
}

.section-divider::before,
.section-divider::after{

    content:'';

    flex:1;

    height:1px;

    background:linear-gradient(
        to right,
        transparent,
        #d1d5db
    );

}

.section-divider::after{

    background:linear-gradient(
        to left,
        transparent,
        #d1d5db
    );

}

.section-divider span{

    margin:0 25px;

    font-weight:600;

    color:#6b7280;

    letter-spacing:2px;

    text-transform:uppercase;

    font-size:.85rem;

}

.browser-body img{

    height: 400px;
    width: 350px;
    margin-left: 100px;

}
.emr-body{
    height: 400px;
    width: 400px;
    margin-left: 100px;
}