/* =========================================================
   JENT MedTech - Enterprise Style CSS
   Clean premium website stylesheet
   ========================================================= */

/* =========================
   01. Root Variables
========================= */
:root{
    --navy:#02162d;
    --navy-2:#05264a;
    --navy-3:#073763;
    --blue:#0878ff;
    --blue-2:#0b5ed7;
    --cyan:#18b8ff;
    --text:#06172f;
    --muted:#53657d;
    --soft:#eef7ff;
    --soft-2:#f7fbff;
    --line:#dce8f6;
    --white:#ffffff;
    --shadow:0 20px 50px rgba(8,43,85,.13);
    --shadow-soft:0 12px 35px rgba(8,43,85,.08);
    --radius:18px;
}

/* =========================
   02. Global Reset
========================= */
*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Inter,Arial,Helvetica,sans-serif;
    color:var(--text);
    background:#f4fbff;
}

a{
    color:inherit;
    text-decoration:none;
}

img{
    max-width:100%;
}

.container{
    width:min(1240px,92%);
    margin:0 auto;
}

/* =========================
   03. Top Bar
========================= */
.topbar{
    background:var(--navy);
    color:white;
    font-size:14px;
}

.topbar-inner{
    height:42px;
    display:flex;
    align-items:center;
    gap:30px;
}

.topbar a{
    margin-left:auto;
    color:white;
}

/* =========================
   04. Header / Navigation
========================= */
.site-header{
    height:88px;
    background:white;
    box-shadow:0 4px 18px rgba(0,0,0,.05);
    position:sticky;
    top:0;
    z-index:50;
}

.nav-wrap{
    height:88px;
    display:flex;
    align-items:center;
    gap:30px;
}

.brand{
    display:flex;
    align-items:center;
}

.brand img{
    width:260px;
    height:auto;
}

nav{
    display:flex;
    align-items:center;
    gap:30px;
    margin-left:auto;
    font-weight:800;
    color:#06152b;
}

nav a{
    position:relative;
    padding:34px 0;
}

nav a.active,
nav a:hover{
    color:var(--blue-2);
}

nav a.active::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:12px;
    height:3px;
    background:var(--blue);
    border-radius:4px;
}

.nav-cta,
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border-radius:9px;
    font-weight:900;
    letter-spacing:.1px;
}

.nav-cta{
    background:var(--blue);
    color:white;
    padding:17px 28px;
    box-shadow:0 14px 28px rgba(8,120,255,.24);
}

.menu-btn{
    display:none;
    background:white;
    border:0;
    font-size:28px;
    cursor:pointer;
}

/* =========================
   05. Hero Section
========================= */
.hero{
    background:
        radial-gradient(circle at 55% 35%,rgba(24,184,255,.14),transparent 28%),
        linear-gradient(115deg,#051b36 0%,#08284d 56%,#0b3d68 100%);
    color:white;
    padding:54px 0 86px;
    position:relative;
    overflow:visible;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
    background-size:42px 42px;
    pointer-events:none;
}

.hero-grid{
    position:relative;
    display:grid;
    grid-template-columns:.92fr 1.08fr;
    gap:54px;
    align-items:center;
}

.hero-copy h1{
    font-size:56px;
    line-height:1.08;
    margin:0 0 24px;
    font-weight:950;
    letter-spacing:-2px;
}

.hero-copy h1 span{
    color:#12a8ff;
}

.hero-copy p{
    font-size:17px;
    line-height:1.7;
    max-width:560px;
    color:#eaf6ff;
    margin:0 0 30px;
}

.hero-actions{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    min-height:52px;
    padding:0 26px;
}

.btn.primary{
    background:linear-gradient(135deg,var(--blue),#04baff);
    color:white;
    box-shadow:0 16px 30px rgba(8,120,255,.25);
}

.btn.outline{
    border:1px solid rgba(255,255,255,.72);
    color:white;
}

.btn.light{
    border:1px solid #0d6bea;
    color:#064ebf;
    background:white;
}

.hero-card{
    border-radius:24px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.22);
    box-shadow:var(--shadow);
    height:405px;
}

.hero-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* =========================
   06. Stats
========================= */
.stats-wrap{
    position:relative;
    margin-top:-58px;
    z-index:3;
}

.stats-card{
    background:white;
    border-radius:18px;
    box-shadow:var(--shadow);
    display:grid;
    grid-template-columns:repeat(4,1fr);
    overflow:hidden;
}

.stat{
    min-height:118px;
    display:grid;
    grid-template-columns:64px auto;
    align-items:center;
    gap:12px;
    padding:24px 36px;
    border-right:1px solid var(--line);
}

.stat:last-child{
    border-right:0;
}

.stat .icon{
    font-size:34px;
    color:#086eea;
}

.stat strong{
    display:block;
    font-size:34px;
    color:#075fe0;
    line-height:1;
}

.stat span{
    display:block;
    font-weight:800;
    font-size:14px;
    color:#13284a;
    line-height:1.35;
}

/* =========================
   07. Common Sections
========================= */
.section{
    padding:70px 0;
}

.section-title{
    text-align:center;
    margin-bottom:32px;
}

.section-title h2{
    font-size:30px;
    margin:0;
}

.section-title span{
    display:block;
    width:44px;
    height:3px;
    background:var(--blue);
    border-radius:3px;
    margin:10px auto 0;
}

/* =========================
   08. Services
========================= */
.service-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.service-card{
    background:white;
    border-radius:14px;
    box-shadow:var(--shadow-soft);
    padding:28px;
    display:grid;
    grid-template-columns:72px 1fr;
    gap:16px;
    min-height:145px;
    transition:.25s ease;
}

.service-card:hover{
    transform:translateY(-5px);
    box-shadow:0 20px 45px rgba(8,43,85,.13);
}

.service-icon{
    width:58px;
    height:58px;
    border-radius:50%;
    background:#eaf5ff;
    color:var(--blue);
    display:grid;
    place-items:center;
    font-size:27px;
}

.service-card h3{
    margin:4px 0 10px;
    font-size:16px;
}

.service-card p{
    margin:0;
    font-size:14px;
    line-height:1.55;
    color:#3e5067;
}

/* =========================
   09. About / Why
========================= */
.about-band{
    background:linear-gradient(90deg,#f7fbff,#eaf7ff);
    padding:58px 0;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1.15fr 1fr;
    gap:36px;
    align-items:center;
}

.about-text h2,
.why h2{
    font-size:25px;
    margin:0 0 22px;
}

.about-text h2::after,
.why h2::after{
    content:"";
    display:block;
    width:44px;
    height:3px;
    background:var(--blue);
    border-radius:3px;
    margin:12px 0 0;
}

.about-text h2 span{
    color:var(--blue);
}

.about-text p,
.why li{
    font-size:15px;
    line-height:1.65;
    color:#223751;
}

.small-btn{
    display:inline-flex;
    margin-top:14px;
    background:var(--blue);
    color:white;
    border-radius:6px;
    padding:13px 18px;
    font-weight:900;
    font-size:13px;
}

.room-card{
    height:205px;
    border-radius:18px;
    background:linear-gradient(135deg,#cfeaff,#fff);
    box-shadow:
        inset 0 0 0 1px rgba(8,120,255,.12),
        0 20px 45px rgba(8,43,85,.08);
    position:relative;
    overflow:hidden;
}

.room-card div{
    position:absolute;
    background:white;
    border:1px solid #bcd8ef;
    border-radius:12px;
}

.room-card div:nth-child(1){
    width:110px;
    height:70px;
    left:52px;
    top:55px;
}

.room-card div:nth-child(2){
    width:150px;
    height:95px;
    left:190px;
    top:82px;
}

.room-card div:nth-child(3){
    width:90px;
    height:120px;
    right:50px;
    top:48px;
}

.why ul{
    list-style:none;
    margin:0;
    padding:0;
}

.why li{
    margin:14px 0;
    padding-left:30px;
    position:relative;
}

.why li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    color:var(--blue);
    font-weight:900;
}

/* =========================
   10. MedAssetPro
========================= */
.medasset{
    padding-top:60px;
}

.medasset-card{
    background:linear-gradient(100deg,#fafdff,#eaf6ff);
    border-radius:22px;
    box-shadow:0 20px 50px rgba(8,43,85,.08);
    padding:38px;
    display:grid;
    grid-template-columns:.9fr 1.3fr .9fr;
    gap:36px;
    align-items:center;
}

.eyebrow{
    text-transform:uppercase;
    font-weight:950;
    color:#075fe0;
    font-size:13px;
    letter-spacing:.4px;
}

.med-copy h2{
    font-size:48px;
    line-height:1;
    margin:5px 0 8px;
}

.med-copy h2 span{
    color:var(--blue);
}

.med-copy h3{
    margin:0 0 18px;
    font-size:19px;
}

.med-copy p:not(.eyebrow){
    line-height:1.6;
    color:#273d55;
}

.laptop img{
    width:100%;
    display:block;
}

.feature-list{
    display:flex;
    flex-direction:column;
}

.feature-list a{
    padding:13px 0;
    border-bottom:1px solid #d8e7f5;
    font-weight:850;
    color:#15304e;
    display:flex;
    justify-content:space-between;
}

.feature-list .view-all{
    border:0;
    color:var(--blue);
}

/* =========================
   11. Feature Strip
========================= */
.feature-strip{
    padding:0 0 30px;
}

.strip-card{
    background:linear-gradient(90deg,#031c3a,#052b55);
    color:white;
    border-radius:15px;
    padding:27px 34px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
    box-shadow:var(--shadow);
}

.strip-card div{
    border-right:1px solid rgba(255,255,255,.22);
    padding-right:18px;
}

.strip-card div:last-child{
    border-right:0;
}

.strip-card strong{
    display:block;
    margin-bottom:8px;
}

.strip-card p{
    margin:0;
    color:#d9ebff;
    font-size:13px;
    line-height:1.45;
}

/* =========================
   12. CTA
========================= */
.cta-section{
    padding:0 0 60px;
}

.cta-card{
    background:#eaf6ff;
    border-radius:15px;
    padding:28px 34px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.cta-card h2{
    margin:0 0 8px;
}

.cta-card p{
    margin:0;
    color:#30485f;
}

.cta-actions{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

/* =========================
   13. Footer - Fixed Premium Version
========================= */
footer{
    background:linear-gradient(90deg,#02162d,#05264a);
    color:white;
    border-top:3px solid var(--blue);
    padding:0;
}

.footer-inner{
    min-height:132px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
}

.footer-brand{
    display:flex;
    align-items:center;
}
.footer-brand img{
    width:260px;
    height:auto;
}
footer img{
    width:300px;
    height:95px;
    object-fit:contain;
    object-position:left center;
    background:transparent !important;
    padding:0 !important;
    border-radius:0 !important;
    display:block;
}

footer p{
    margin:0;
    color:#ffffff;
    font-size:16px;
    font-weight:500;
    white-space:nowrap;
}

/* =========================
   14. Responsive - Tablet
========================= */
@media(max-width:980px){
    .topbar-inner{
        flex-wrap:wrap;
        height:auto;
        padding:12px 0;
        gap:12px;
    }

    .menu-btn{
        display:block;
        margin-left:auto;
    }

    nav{
        display:none;
        position:absolute;
        left:0;
        right:0;
        top:130px;
        background:white;
        padding:20px;
        box-shadow:var(--shadow);
        flex-direction:column;
        align-items:flex-start;
    }

    .site-header.open nav{
        display:flex;
    }

    .nav-cta{
        display:none;
    }

    .hero-grid,
    .about-grid{
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}
    .medasset-card{
        grid-template-columns:1fr;
    }

    .hero-copy h1{
        font-size:42px;
    }

    .hero-card{
        height:330px;
    }

    .stats-card,
    .service-grid,
    .strip-card{
        grid-template-columns:1fr 1fr;
    }

    .stat{
        border-right:0;
        border-bottom:1px solid var(--line);
    }

    .medasset-card{
        padding:26px;
    }

    .footer-inner,
    .cta-card{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    footer p{
        white-space:normal;
    }
}

/* =========================
   15. Responsive - Mobile
========================= */
@media(max-width:620px){
    .brand img{
        width:220px;
        height:64px;
    }

    .hero{
        padding-top:36px;
    }

    .hero-copy h1{
        font-size:35px;
        letter-spacing:-1px;
    }

    .hero-card{
        height:260px;
    }

    .stats-card,
    .service-grid,
    .strip-card{
        grid-template-columns:1fr;
    }

    .service-card{
        grid-template-columns:1fr;
    }

    .stat{
        grid-template-columns:50px auto;
        padding:22px;
    }

    .med-copy h2{
        font-size:38px;
    }

    .footer-inner{
        min-height:120px;
        gap:12px;
        padding:22px 0;
    }

    .footer-brand img,
    footer img{
        width:230px;
        height:72px;
        object-fit:contain;
    }

    footer p{
        font-size:14px;
    }
}
