/* ==========================================================
   JOSWEBTECH Premium Hero Section v1.0
========================================================== */

/* Hero Section */
.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;
    background:linear-gradient(180deg,#030712 0%,#071325 100%);
}

/* Animated Background */
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 20% 20%, rgba(10,132,255,.18), transparent 35%),
        radial-gradient(circle at 80% 30%, rgba(0,212,255,.15), transparent 35%),
        radial-gradient(circle at 50% 90%, rgba(37,99,235,.18), transparent 35%);
    animation:bgMove 14s ease-in-out infinite alternate;
}

@keyframes bgMove{
    from{
        transform:scale(1) translateY(0);
    }
    to{
        transform:scale(1.15) translateY(-30px);
    }
}

/* Layout */

.hero-container{
    width:min(92%,1280px);
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
    position:relative;
    z-index:2;
}

/* Hero Text */

.hero-tag{
    display:inline-block;
    padding:10px 18px;
    border-radius:40px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    color:var(--accent);
    margin-bottom:25px;
}

.hero h1{
    margin-bottom:20px;
}

.hero p{
    font-size:1.1rem;
    max-width:620px;
}

/* Buttons */

.hero-buttons{
    margin-top:40px;
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

/* Statistics */

.hero-stats{
    margin-top:60px;
    display:flex;
    gap:45px;
    flex-wrap:wrap;
}

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

.stat span{
    color:var(--muted);
}

/* Right Side */

.hero-image{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* Profile */

.profile-circle{

    width:420px;
    height:420px;

    border-radius:50%;

    overflow:hidden;

    border:4px solid rgba(255,255,255,.08);

    box-shadow:
        0 0 60px rgba(10,132,255,.35);

    animation:float 5s ease-in-out infinite;
}

.profile-circle img{

    width:100%;
    height:100%;
    object-fit:cover;

}

@keyframes float{

0%,100%{
transform:translateY(0);
}

50%{
transform:translateY(-18px);
}

}

/* Floating Tech Cards */

.tech-card{

position:absolute;

padding:15px 20px;

background:rgba(255,255,255,.06);

backdrop-filter:blur(20px);

border:1px solid rgba(255,255,255,.08);

border-radius:16px;

color:#fff;

font-weight:600;

box-shadow:0 15px 40px rgba(0,0,0,.3);

animation:floatCard 6s ease-in-out infinite;

}

.tech-card i{

font-size:22px;

margin-right:8px;

color:var(--accent);

}

.card1{

top:30px;
left:-20px;

}

.card2{

top:120px;
right:-30px;

animation-delay:1s;

}

.card3{

bottom:70px;
left:-40px;

animation-delay:2s;

}

.card4{

bottom:30px;
right:10px;

animation-delay:3s;

}

@keyframes floatCard{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-12px);

}

}

/* Scroll Indicator */

.scroll-down{

position:absolute;

bottom:30px;

left:50%;

transform:translateX(-50%);

width:28px;

height:50px;

border:2px solid rgba(255,255,255,.3);

border-radius:20px;

}

.scroll-down::before{

content:"";

position:absolute;

left:50%;

top:8px;

transform:translateX(-50%);

width:6px;

height:6px;

border-radius:50%;

background:var(--accent);

animation:scroll 2s infinite;

}

@keyframes scroll{

0%{

opacity:1;
top:8px;

}

100%{

opacity:0;
top:28px;

}

}

/* Responsive */

@media(max-width:992px){

.hero-container{

grid-template-columns:1fr;

text-align:center;

}

.hero-buttons{

justify-content:center;

}

.hero-stats{

justify-content:center;

}

.profile-circle{

width:320px;
height:320px;

}

.tech-card{

display:none;

}

}

@media(max-width:600px){

.profile-circle{

width:260px;
height:260px;

}

.hero{

padding-top:120px;

}

.hero h1{

font-size:2.6rem;

}

}

