/* ========================================
   BIZLABMEDIA BRAND STYLES
======================================== */

:root{
    --primary:#001D4A;
    --primary-hover:#002B6E;
    --accent:#1BA7E8;

    --white:#FFFFFF;
    --soft-bg:#F8FAFC;

    --heading:#0F172A;
    --body:#64748B;

    --border:#E5E7EB;
}

/* ========================================
   RESET
======================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:var(--white);
    color:var(--body);
    line-height:1.7;
    overflow-x:hidden;
}

img{
    display:block;
    width:100%;
}

a{
    text-decoration:none;
    color:inherit;
}

h1,
h2,
h3,
h4,
h5,
h6{
    color:var(--heading);
    font-weight:700;
}

.container{
    width:min(1180px,92%);
    margin:auto;
}

.section{
    padding:110px 0;
}

/* ========================================
   HEADER
======================================== */

.header{
    position:sticky;
    top:0;
    z-index:999;
    background:#ffffff;
    transition:.3s ease;
}

.header.scrolled{
    box-shadow:0 8px 30px rgba(15,23,42,.08);
}

.nav-wrapper{
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo img{
    height:45px;
    width:auto;
    display:block;
}

.nav{
    display:flex;
    gap:35px;
}

.nav a{
    color:var(--heading);
    transition:.3s;
    font-size:.95rem;
}

.nav a:hover{
    color:var(--accent);
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 28px;
    border-radius:999px;
    transition:.3s ease;
    font-size:.95rem;
    font-weight:600;
}

/* ========================================
   BUTTONS
======================================== */

.btn-dark{
    background:var(--primary);
    color:#fff;
}

.btn-dark:hover{
    background:var(--primary-hover);
    transform:translateY(-2px);
}

.btn-outline{
    border:1px solid var(--border);
    color:var(--heading);
    background:#fff;
}

.btn-outline:hover{
    border-color:var(--accent);
    color:var(--accent);
}

.btn-light{
    background:#fff;
    color:var(--primary);
}

.btn-light:hover{
    background:var(--accent);
    color:#fff;
}

/* ========================================
   HERO
======================================== */

.hero{
    padding:90px 0 110px;
    background:#fff;
}

.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:90px;
    align-items:center;
}

.hero-content h1{
    font-size:4.2rem;
    line-height:1.05;
    margin-bottom:25px;
    max-width:650px;
}

.hero-content p{
    max-width:520px;
    margin-bottom:35px;
    font-size:1.05rem;
}

.hero-buttons{
    display:flex;
    gap:15px;
}

.hero-visual{
    position:relative;
    height:560px;
}

.hero-image{
    position:absolute;
    overflow:hidden;
    border-radius:28px;
    box-shadow:0 20px 40px rgba(0,0,0,.08);
}

.hero-image img{
    height:100%;
    object-fit:cover;
}

.hero-image-top{
    width:280px;
    height:380px;
    right:0;
    top:0;
}

.hero-image-bottom{
    width:320px;
    height:230px;
    left:50px;
    bottom:70px;
}

.stat-card{
    position:absolute;
    z-index:10;
    padding:28px;
    border-radius:24px;
}

.stat-light{
    background:var(--soft-bg);
    border:1px solid var(--border);
    left:10px;
    top:40px;
}

.stat-light h3{
    font-size:4rem;
    line-height:1;
    color:var(--accent);
}

.stat-dark{
    background:var(--primary);
    color:#fff;
    right:20px;
    bottom:10px;
}

.stat-dark h4{
    color:#fff;
    font-size:2rem;
}

/* ========================================
   MARQUEE
======================================== */

.marquee{
    background:var(--primary);
    color:#fff;
    overflow:hidden;
    padding:22px 0;
}

.marquee-track{
    display:flex;
    gap:45px;
    width:max-content;
    animation:scroll 28s linear infinite;
    font-weight:500;
}

@keyframes scroll{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}

/* ========================================
   INTRO
======================================== */

.intro{
    background:var(--soft-bg);
}

.intro-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
}

.intro h2{
    font-size:3.2rem;
    line-height:1.15;
}

.text-link{
    display:inline-block;
    margin-top:20px;
    color:var(--primary);
    font-weight:600;
}

.text-link:hover{
    color:var(--accent);
}

/* ========================================
   FEATURES
======================================== */

.features{
    background:#fff;
}

.features-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:90px;
}

.features-content h2{
    font-size:3.2rem;
    line-height:1.15;
    margin-bottom:25px;
}

.feature-cards{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.feature-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:20px;
    padding:32px;
    transition:.35s ease;
}

.feature-card:hover{
    transform:translateY(-6px);
    border-color:var(--accent);
    box-shadow:0 20px 40px rgba(27,167,232,.12);
}

.icon{
    font-size:1.6rem;
    margin-bottom:15px;
}

.icon{
    width:64px;
    height:64px;
    margin-bottom:15px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
}

.icon img{
    width:32px;
    height:32px;
    object-fit:contain;
    display:block;
}

.feature-card h4{
    margin-bottom:10px;
}

/* ========================================
   SERVICES
======================================== */

.services{
    background:var(--soft-bg);
}

.section-heading{
    text-align:center;
    max-width:700px;
    margin:0 auto 60px;
}

.section-heading h2{
    font-size:3rem;
    margin-bottom:15px;
}

.service-item{
    border-top:1px solid var(--border);
    transition:.3s;
}

.service-item:last-child{
    border-bottom:1px solid var(--border);
}

.service-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:30px 0;
    cursor:pointer;
}

.service-header h3{
    font-size:1.4rem;
}

.arrow{
    font-size:1.5rem;
    color:var(--accent);
    transition:.3s;
}

.service-item.active{
    padding-left:20px;
    border-left:4px solid var(--accent);
}

.service-item.active .arrow{
    transform:rotate(90deg);
}

.service-content{
    max-height:0;
    overflow:hidden;
    transition:.4s;
    color:var(--body);
}

.service-item.active .service-content{
    max-height:200px;
    padding-bottom:25px;
}

/* ========================================
   SPLIT SECTION
======================================== */

.split-section{
    background:#fff;
}

.split-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:90px;
    align-items:center;
}

.split-grid h2{
    font-size:3.2rem;
    line-height:1.15;
    margin-bottom:25px;
}

.split-grid p{
    margin-bottom:25px;
}

.split-image-wrap{
    position:relative;
}

.shape{
    position:absolute;
    inset:20px;
    background:var(--soft-bg);
    border-radius:30px;
}

.split-image-wrap img{
    position:relative;
    border-radius:30px;
    box-shadow:0 20px 40px rgba(0,0,0,.08);
}

/* ========================================
   PORTFOLIO
======================================== */

.portfolio{
    background:var(--soft-bg);
}

.portfolio-heading{
    text-align:center;
    max-width:700px;
    margin:0 auto 70px;
}

.portfolio-heading h2{
    font-size:3rem;
    margin-bottom:15px;
}

.masonry-grid{
    columns:2;
    column-gap:24px;
}

.masonry-item{
    break-inside:avoid;
    margin-bottom:24px;
    overflow:hidden;
    border-radius:24px;
    transition:.35s;
}

.masonry-item img{
    transition:.5s;
}

.masonry-item:hover{
    box-shadow:0 20px 50px rgba(27,167,232,.15);
}

.masonry-item:hover img{
    transform:scale(1.05);
}

/* ========================================
   CTA
======================================== */

.cta-section{
    padding:100px 0;
    background:#F8FAFC;
}

.cta-section .container{
    background:var(--primary);
    border-radius:40px;
    text-align:center;
    padding:100px 60px;
}

.cta-section h2{
    color:#fff;
    font-size:4rem;
    line-height:1.1;
    margin-bottom:30px;
}

.cta-section p{
    color:rgba(255,255,255,.85);
    font-size:1.2rem;
    max-width:700px;
    margin:0 auto 45px;
}

.cta-section .btn-light{
    min-width:240px;
    height:64px;
    font-size:1.1rem;
    font-weight:600;
}

/* ========================================
   FOOTER
======================================== */

.footer{
    background:#F8FAFC;
    padding:90px 0;
}

.footer-wrap{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:60px;
}

.footer-brand img{
    height:45px;
    width:auto;
    display:block;
}

.footer-contact{
    text-align:left;
}

.footer-contact h4{
    margin-bottom:20px;
    color:var(--heading);
    font-size:1.25rem;
}

.footer-contact p{
    margin-bottom:10px;
    color:var(--heading);
}

.footer-contact a{
    display:block;
    margin-bottom:10px;
    color:var(--heading);
    transition:.3s;
}

.footer-contact a:hover{
    color:var(--accent);
}

.footer-social{
    display:flex;
    gap:12px;
    margin-top:24px;
}

.footer-social a{
    width:42px;
    height:42px;
    border:1px solid var(--border);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    transition:all .3s ease;
}

.footer-social a img{
    width:18px;
    height:18px;
}

.footer-social a:hover{
    background:var(--primary);
    border-color:var(--primary);
    transform:translateY(-2px);
}

/* ========================================
   RESPONSIVE
======================================== */

@media(max-width:991px){

    .hero-grid,
    .intro-grid,
    .features-grid,
    .split-grid{
        grid-template-columns:1fr;
    }

    .nav{
        display:none;
    }

    .hero-content h1{
        font-size:3.2rem;
    }

    .hero-visual{
        height:500px;
    }
}

@media(max-width:768px){

    .section{
        padding:80px 0;
    }

    .hero-content h1,
    .intro h2,
    .features-content h2,
    .split-grid h2,
    .portfolio-heading h2,
    .section-heading h2,
    .cta-section h2{
        font-size:2.3rem;
    }

    .feature-cards{
        grid-template-columns:1fr;
    }

    .masonry-grid{
        columns:1;
    }

    .footer-wrap{
        flex-direction:column;
        gap:20px;
        text-align:center;
    }

    .hero-visual{
        transform:scale(.85);
        transform-origin:center;
    }

    .cta-section .container{
        padding:70px 30px;
    }

    .cta-section h2{
        font-size:2.5rem;
    }

    .footer-wrap{
        flex-direction:column;
        text-align:left;
    }

    .footer-brand img{
        width:180px;
    }
}