*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI', sans-serif;
}

body{
    background: linear-gradient(90deg,#020617,#0b3c5d);
    color:#e2e8f0;
}

/* Navbar */


/* ===== Hero Section ===== */
.hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:120px 80px;
    min-height:100vh;
}

.hero-text{
    max-width:600px;
}

.hero-text h1{
    font-size:45px;
    color:#38bdf8;
}

.hero-text h2{
    margin-top:12px;
    color:#94a3b8;
}

.hero-text p{
    margin-top:20px;
    line-height:1.6;
}

/* Fix typing area height to prevent layout shift */
.typing{
    height: 32px;              /* keeps space fixed */
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Optional: keeps width stable for longer text */
#typing-text{
    display: inline-block;
    min-width: 280px;
}

/* Skills */
.skills-row{
    margin-top:20px;
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.skills-row span{
    background:#020617;
    padding:6px 14px;
    border-radius:20px;
    border:1px solid #38bdf8;
    color:#e2e8f0;
    transition:0.3s;

    /* Glow */
    box-shadow: 0 0 8px rgba(56,189,248,0.4);
}

.skills-row span:hover{
    box-shadow:
        0 0 10px #38bdf8,
        0 0 20px #38bdf8,
        0 0 35px rgba(56,189,248,0.6);
    transform: translateY(-2px);
}

/* Buttons */
.buttons{
    margin-top:25px;
}

.btn{
    padding:12px 25px;
    margin-right:15px;
    border-radius:6px;
    text-decoration:none;
    transition:0.3s;
}

.primary{
    background:#38bdf8;
    color:#020617;
}

.primary:hover{
    box-shadow:0 0 20px #38bdf8;
}

.outline{
    border:1px solid #38bdf8;
    color:#38bdf8;
}

.outline:hover{
    background:#38bdf8;
    color:#020617;
}

/* Social */
.social{
    display:flex;
    align-items:center;
    gap:18px;
    margin-top:25px;
}

.social a{
    font-size:22px;
    color:#38bdf8;
    text-decoration:none;
}

/* ===== Image Section (FIXED) ===== */
.hero-image{
    display:flex;
    justify-content:center;
    align-items:center;
    flex:1;
}

/* Wrapper keeps glow + image together */
.image-wrapper{
    position:relative;
    width:300px;
    height:300px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.image-wrapper img{
    width:260px;
    height:260px;
    border-radius:50%;
    object-fit:cover;
    position:relative;
    z-index:2;
}

/* Glow */
.glow-ring{
    position:absolute;
    width:300px;
    height:300px;
    border-radius:50%;
    border:3px solid #38bdf8;
    animation:glow 2.5s infinite alternate;
}

@keyframes glow{
    from{ box-shadow:0 0 10px #38bdf8; }
    to{ box-shadow:0 0 40px #38bdf8; }
}

/* ===== Reusable Glow Box ===== */
.glow-box{
    border:1px solid #38bdf8;
    border-radius:12px;
    box-shadow: 0 0 10px rgba(56,189,248,0.4);
    transition:0.3s;
    position:relative;
}

.glow-box:hover{
    box-shadow:
        0 0 15px #38bdf8,
        0 0 30px rgba(56,189,248,0.7);
}

/* Bottom light effect */
.glow-box::after{
    content:"";
    position:absolute;
    left:15%;
    right:15%;
    bottom:-10px;
    height:12px;
    background: rgba(56,189,248,0.4);
    filter: blur(12px);
    border-radius:50%;
}
/* Sections */
.section{
    padding:80px;
}

.card{
    background:#020617;
    padding:20px;
    margin-top:15px;
    border-radius:8px;
    border:1px solid #1e293b;
    transition:0.3s;
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:0 0 20px rgba(56,189,248,0.2);
}

/* Animations */
.fade-in{
    opacity:0;
    animation:fadeUp 1s forwards;
}

.delay{animation-delay:0.5s;}
.delay2{animation-delay:1s;}
.delay3{animation-delay:1.5s;}
.delay4{animation-delay:2s;}

@keyframes fadeUp{
    from{opacity:0; transform:translateY(30px);}
    to{opacity:1; transform:translateY(0);}
}

.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:0.8s;
}

.show{
    opacity:1;
    transform:translateY(0);
}

footer{
    text-align:center;
    padding:20px;
    background:#020617;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
 
    .hero{
        flex-direction:column;
        text-align:center;
        padding:70px 30px;
        min-height:auto;
    }

    .hero-text{
        max-width:100%;
    }

    .hero-text h1{
        font-size:30px;
        line-height:1.2;
    }

    .hero-text p{
        font-size:14px;
    }

    .skills-row{
        justify-content:center;
    }

    .buttons{
        display:flex;
        flex-direction:column;
        gap:12px;
        align-items:center;
    }

    .btn{
        width:90%;
        margin-right:0;
    }

    .social{
        justify-content:center;
    }

    .image-wrapper{
        width:220px;
        height:220px;
        margin-top:30px;
    }

    .image-wrapper img{
        width:190px;
        height:190px;
    }

    .glow-ring{
        width:220px;
        height:220px;
    }
}

/* ElevenLabs Floating Widget */
elevenlabs-agent {
  --accent-color: #38bdf8;
  --background: rgba(20, 20, 30, 0.9);
  --border-radius: 18px;
}