/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    list-style:none;
    scroll-behavior:smooth;
}

/* ROOT COLOR */
:root{
    --primary:#2563eb;
    --secondary:#1e40af;
    --dark:#0f172a;
    --light:#f8fafc;
    --gray:#cbd5e1;
    --text:#1e293b;
    --accent:#38bdf8;
}

/* BODY */
body{
    font-family:'Poppins',sans-serif;
    background:var(--light);
    color:var(--text);
    overflow-x:hidden;
    padding-top: 70px;
}

/* CONTAINER */
section{
    padding:90px 10%;
}

/* BLUR EFFECT */
.blur-circle{
    position:fixed;
    width:400px;
    height:400px;
    background:rgba(37,99,235,0.15);
    filter:blur(120px);
    border-radius:50%;
    top:-100px;
    right:-100px;
    z-index:-1;
}

/* NAVBAR */
.header{
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    backdrop-filter:blur(12px);
    background:rgba(255,255,255,0.7);
    border-bottom:1px solid rgba(255,255,255,0.2);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 10%;
}

/* LOGO */
.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    width:45px;
}

.logo h2{
    font-size:1.3rem;
    color:var(--dark);
}

/* NAV LINKS */
.nav-links{
    display:flex;
    gap:30px;
}

.nav-links a{
    color:var(--text);
    font-weight:500;
    transition:0.3s;
}

.nav-links a:hover{
    color:var(--primary);
}

/* BUTTON */
.btn{
    padding:12px 24px;
    border-radius:12px;
    font-weight:600;
    transition:0.3s;
    display:inline-block;
}

.primary{
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    color:white;
    box-shadow:0 10px 25px rgba(37,99,235,0.25);
}

.primary:hover{
    transform:translateY(-3px);
}

.secondary{
    border:2px solid var(--primary);
    color:var(--primary);
}

.secondary:hover{
    background:var(--primary);
    color:white;
}

/* HERO */
.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    flex-wrap:wrap;
    padding-top:140px;
}

/* HERO TEXT */
.hero-text{
    flex:1;
    min-width:300px;
}

.tag{
    display:inline-block;
    padding:8px 18px;
    background:rgba(37,99,235,0.1);
    color:var(--primary);
    border-radius:999px;
    font-size:0.9rem;
    margin-bottom:20px;
}

.hero-text h1{
    font-size:3.5rem;
    line-height:1.2;
    margin-bottom:20px;
    color:var(--dark);
}

.hero-text p{
    font-size:1rem;
    color:#64748b;
    line-height:1.8;
    margin-bottom:30px;
}

/* HERO BUTTONS */
.hero-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:40px;
}

/* HERO STATS */
.hero-stats{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.stat-box{
    background:white;
    padding:20px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
    min-width:120px;
}

.stat-box h2{
    color:var(--primary);
    margin-bottom:5px;
}

/* HERO IMAGE */
.hero-image{
    flex:1;
    min-width:300px;
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:500px;
    animation:float 4s ease-in-out infinite;
}

/* FLOATING MENU */
.floating-menu{
    position:fixed;

    bottom:25px;
    right:25px;

    z-index:9999;
}

/* BUTTON */
#menu-btn{
    width:60px;
    height:60px;

    border:none;
    border-radius:18px;

    background:#0f172a;
    color:white;

    font-size:1.5rem;

    cursor:pointer;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.2);
}

/* MENU CONTENT */
.menu-content{
    position:absolute;

    bottom:75px;
    right:0;

    background:white;

    padding:15px;

    border-radius:20px;

    display:none;

    flex-direction:column;
    gap:10px;

    min-width:180px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.1);
}

/* ACTIVE */
.menu-content.active{
    display:flex;
}

/* LINKS */
.menu-content a{
    color:#0f172a;

    padding:10px 14px;

    border-radius:12px;

    transition:0.3s;
}

.menu-content a:hover{
    background:#eff6ff;
    color:#2563eb;
}

/* SECTION TITLE */
.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:2.5rem;
    margin-bottom:10px;
    color:var(--dark);
}

.section-title p{
    color:#64748b;
}

/* SERVICES */
.service-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.service-card{
    background:white;
    padding:40px 30px;
    border-radius:25px;
    transition:0.3s;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.service-card:hover{
    transform:translateY(-10px);
}

.service-card i{
    font-size:2rem;
    color:var(--primary);
    margin-bottom:20px;
}

.service-card h3{
    margin-bottom:15px;
    color:var(--dark);
}

.service-card p{
    color:#64748b;
    line-height:1.7;
}


/* PORTFOLIO */
.portfolio-card{
    background:white;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.4s;
}

.portfolio-card:hover{
    transform:translateY(-10px);
}

.portfolio-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.portfolio-content{
    padding:25px;
}

.portfolio-content h3{
    font-size:1.4rem;
    margin-bottom:15px;
    color:var(--dark);
}

.portfolio-content p{
    color:#64748b;
    line-height:1.7;
    margin-bottom:20px;
}

/* TAGS */
.tags{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:25px;
}

.tags span{
    padding:8px 16px;
    background:#eff6ff;
    color:var(--primary);
    border-radius:999px;
    font-size:0.9rem;
    font-weight:500;
}

/* BUTTONS */
.portfolio-buttons{
    display:flex;
    gap:15px;
}

.demo-btn,
.source-btn{
    flex:1;
    text-align:center;
    padding:12px;
    border-radius:14px;
    font-weight:600;
    transition:0.3s;
}

.demo-btn{
    background:var(--primary);
    color:white;
}

.demo-btn:hover{
    background:var(--secondary);
}

.source-btn{
    border:2px solid #e2e8f0;
    color:var(--dark);
}

.source-btn:hover{
    border-color:var(--primary);
    color:var(--primary);
}

/* WHY US */
.why-us{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.why-box{
    background:var(--dark);
    color:white;
    padding:40px;
    border-radius:25px;
}

.why-box h3{
    margin-bottom:15px;
    font-size:1.5rem;
}

/* CTA */
.cta{
    text-align:center;
    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );
    color:white;
    border-radius:30px;
    margin:80px 10%;
}

.cta h2{
    font-size:2.5rem;
    margin-bottom:30px;
}

/* FOOTER */
.footer{
    background:var(--dark);
    color:white;

    margin-top:100px;
}

.footer-container{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:40px;

    padding:80px 10%;
}

/* LOGO */
.footer-logo{
    display:flex;
    align-items:center;
    gap:12px;
    flex-direction: column;

    margin-bottom:20px;
}

.footer-logo img{
    width:45px;
}

.footer-logo h2{
    font-size:1.4rem;
}

/* TEXT */
.footer p{
    color:#94a3b8;
    line-height:1.8;
}

/* TITLE */
.footer h3{
    margin-bottom:20px;
    font-size:1.2rem;
}

/* LINKS */
.footer a{
    display:block;

    color:#cbd5e1;

    margin-bottom:14px;

    transition:0.3s;
}

.footer a:hover{
    color:white;
    transform:translateX(5px);
}

/* SUPPORT BUTTON */
.support-btn{
    display:inline-block;

    margin-top:15px;
    padding:12px 22px;

    background:#facc15;
    color:#111 !important;

    border-radius:14px;

    font-weight:600;
}

.support-btn:hover{
    transform:translateY(-3px) !important;
}

/* FOOTER BOTTOM */
.footer-bottom{
    border-top:
    1px solid rgba(255,255,255,0.08);

    text-align:center;

    padding:25px;
}

.footer-bottom p{
    color:#64748b;
    font-size:0.95rem;
}

/* RESPONSIVE */
@media(max-width:700px){

    .footer-container{
        text-align:center;
    }

    .footer-logo{
        justify-content:center;
    }

}

/*MENU*/
.floating-menu{
    position:fixed;
    bottom:30px;
    right:30px;
    z-index:999;
}

#menu-btn{
    width:60px;
    height:60px;
    border:none;
    border-radius:20px;
    background:#0f172a;
    color:white;
    font-size:1.5rem;
    cursor:pointer;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.2);
}

.support-btn{
    display:inline-block;
    margin-top:15px;
    padding:12px 20px;
    background:#facc15;
    color:#111;
    border-radius:14px;
    font-weight:600;
    transition:0.3s;
}

.support-btn:hover{
    transform:translateY(-3px);
}

.menu-content{
    position:absolute;
    bottom:80px;
    right:0;

    background:white;
    padding:15px;
    border-radius:20px;

    display:none;
    flex-direction:column;
    gap:10px;

    min-width:180px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.1);
}

.menu-content a{
    color:#0f172a;
    padding:10px;
    border-radius:12px;
    transition:0.3s;
}

.menu-content a:hover{
    background:#eff6ff;
    color:#2563eb;
}

.footer a{
    display:block;
    color:#cbd5e1;
    margin-top:10px;
}


/* RESPONSIVE */
@media(max-width:900px){

    .navbar{
        flex-direction:column;
        gap:20px;
    }

    .hero{
        flex-direction:column;
        text-align:center;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-stats{
        justify-content:center;
    }

    .hero-text h1{
        font-size:2.7rem;
    }

}

@media(max-width:600px){

    section{
        padding:70px 7%;
    }

    .hero-text h1{
        font-size:2.2rem;
    }

    .section-title h2{
        font-size:2rem;
    }

    .cta h2{
        font-size:2rem;
    }

}

/* DESKTOP */
@media(min-width:901px){

    .floating-menu{
        display:none;
    }

}

/* MOBILE */
@media(max-width:900px){

    .floating-menu{
        display:block;

        position:fixed;

        bottom:25px;
        right:25px;

        z-index:9999;
    }

    #menu-btn{
        width:60px;
        height:60px;

        border:none;
        border-radius:18px;

        background:#0f172a;
        color:white;

        font-size:28px;

        display:flex;
        align-items:center;
        justify-content:center;

        cursor:pointer;
    }

}