/*==============================
GOOGLE FONT
===============================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*==============================
RESET
===============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}

body{

    background:#08121f;
    color:white;
    overflow-x:hidden;

}

/*==============================
SCROLLBAR
===============================*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#08121f;
}

::-webkit-scrollbar-thumb{

    background:#00bfff;
    border-radius:20px;

}

/*==============================
LOADER
===============================*/

#loader{

    position:fixed;
    inset:0;
    background:#08121f;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    z-index:99999;

}

.spinner{

    width:70px;
    height:70px;

    border:6px solid #1e293b;

    border-top:6px solid #00bfff;

    border-radius:50%;

    animation:spin 1s linear infinite;

}

#loader h2{

    margin-top:20px;

    color:#00bfff;

}

@keyframes spin{

    100%{

        transform:rotate(360deg);

    }

}

/*==============================
NAVBAR
===============================*/

nav{

    width:100%;

    position:fixed;

    top:0;

    left:0;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 8%;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    z-index:1000;

}

.logo{

    font-size:28px;

    color:#00bfff;

    font-weight:700;

}

nav ul{

    display:flex;

    list-style:none;

    gap:35px;

}

nav ul li a{

    color:white;

    text-decoration:none;

    transition:.4s;

}

nav ul li a:hover{

    color:#00bfff;

}

.darkmode{

    font-size:22px;

    cursor:pointer;

}

/*==============================
HERO
===============================*/

.hero{

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:130px 8%;

    gap:60px;

}

.hero-text{

    flex:1;

}

.hero-text h3{

    font-size:25px;

    color:#00bfff;

}

.hero-text h1{

    font-size:60px;

    margin:15px 0;

}

.hero-text span{

    color:#00bfff;

}

.hero-text h2{

    height:45px;

    font-size:35px;

    color:#7dd3fc;

}

.hero-text p{

    margin:25px 0;

    line-height:1.8;

    color:#dbeafe;

}

.btn{

    display:inline-block;

    padding:15px 35px;

    background:#00bfff;

    color:white;

    text-decoration:none;

    border-radius:40px;

    transition:.4s;

    box-shadow:0 0 25px #00bfff;

}

.btn:hover{

    transform:translateY(-8px);

    box-shadow:0 0 45px #00bfff;

}

.hero-image{

    flex:1;

    display:flex;

    justify-content:center;

}

.hero-image img{

    width:380px;

    height:380px;

    border-radius:50%;

    object-fit:cover;

    border:6px solid #00bfff;

    box-shadow:

    0 0 30px #00bfff,

    0 0 70px #00bfff;

    transition:.5s;

}

.hero-image img:hover{

    transform:scale(1.05);

}

/*==============================
TITLE
===============================*/

.title{

    text-align:center;

    font-size:45px;

    margin-bottom:60px;

    color:#00bfff;

}

section{

    padding:110px 8%;

}

/*==============================
BACK TO TOP
===============================*/

#topBtn{

    position:fixed;

    bottom:30px;

    right:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#00bfff;

    color:white;

    cursor:pointer;

    display:none;

    z-index:999;

    box-shadow:0 0 25px #00bfff;

}

/*==============================
ABOUT
===============================*/

.about-card{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;

}

.info{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.15);

    border-radius:20px;

    padding:25px;

    transition:.4s;

    box-shadow:0 0 20px rgba(0,191,255,.15);

}

.info:hover{

    transform:translateY(-10px);

    box-shadow:0 0 35px #00bfff;

}

.info h3{

    color:#00bfff;
    margin-bottom:15px;
    font-size:22px;

}

.info p{

    color:#dbeafe;
    line-height:1.8;

}

.about-text{

    margin-top:50px;

    text-align:center;

    max-width:900px;

    margin-inline:auto;

    line-height:2;

    font-size:18px;

    color:#dbeafe;

}

/*==============================
SKILLS
===============================*/

.skill-box{

    max-width:900px;

    margin:auto;

}

.skill{

    margin-bottom:35px;

}

.skill span{

    display:block;

    margin-bottom:12px;

    font-size:20px;

    font-weight:600;

}

.bar{

    width:100%;

    background:#1e293b;

    border-radius:30px;

    overflow:hidden;

    height:28px;

}

.bar div{

    height:100%;

    border-radius:30px;

    display:flex;

    align-items:center;

    justify-content:flex-end;

    padding-right:15px;

    color:white;

    font-weight:bold;

    background:linear-gradient(90deg,#00bfff,#2563eb);

    box-shadow:0 0 20px #00bfff;

}

/*==============================
PROGRESS BAR
===============================*/

.html{

    width:95%;

    animation:html 2s;

}

.css{

    width:90%;

    animation:css 2s;

}

.js{

    width:85%;

    animation:js 2s;

}

.php{

    width:80%;

    animation:php 2s;

}

@keyframes html{

    from{

        width:0;

    }

    to{

        width:95%;

    }

}

@keyframes css{

    from{

        width:0;

    }

    to{

        width:90%;

    }

}

@keyframes js{

    from{

        width:0;

    }

    to{

        width:85%;

    }

}

@keyframes php{

    from{

        width:0;

    }

    to{

        width:80%;

    }

}

/*==============================
SKILL HOVER
===============================*/

.skill:hover{

    transform:scale(1.02);

    transition:.3s;

}

.skill:hover .bar div{

    box-shadow:

    0 0 20px #00bfff,

    0 0 40px #00bfff;

}

/*==============================
INTERESTS
===============================*/

.interest-container{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;

}

.card{

    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.15);
    border-radius:20px;
    padding:40px 25px;
    text-align:center;
    transition:.5s;
    cursor:pointer;

}

.card i{

    font-size:60px;
    color:#00bfff;
    margin-bottom:20px;

}

.card h3{

    font-size:23px;

}

.card:hover{

    transform:translateY(-15px) scale(1.05);

    box-shadow:
    0 0 20px #00bfff,
    0 0 40px #00bfff,
    0 0 60px #00bfff;

}

/*==============================
GOALS
===============================*/

.timeline{

    position:relative;
    max-width:850px;
    margin:auto;

}

.timeline::before{

    content:"";
    position:absolute;
    left:50%;
    width:4px;
    height:100%;
    background:#00bfff;
    transform:translateX(-50%);
    box-shadow:0 0 20px #00bfff;

}

.timeline div{

    width:45%;
    background:rgba(255,255,255,.08);
    padding:20px;
    border-radius:20px;
    margin:35px 0;
    position:relative;
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.15);
    transition:.4s;

}

.timeline div:hover{

    box-shadow:0 0 30px #00bfff;
    transform:scale(1.05);

}

.timeline div:nth-child(odd){

    margin-right:auto;

}

.timeline div:nth-child(even){

    margin-left:auto;

}

/*==============================
GALLERY
===============================*/

.gallery{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;

}

.gallery img{

    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:20px;
    cursor:pointer;
    transition:.5s;
    border:3px solid transparent;

}

.gallery img:hover{

    transform:scale(1.08);

    border-color:#00bfff;

    box-shadow:
    0 0 20px #00bfff,
    0 0 40px #00bfff;

}

/*==============================
LIGHTBOX
===============================*/

.lightbox{

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.95);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.lightbox img{

    width:80%;
    max-width:900px;

    border-radius:20px;

    border:5px solid #00bfff;

    box-shadow:
    0 0 30px #00bfff,
    0 0 60px #00bfff;

}

.lightbox span{

    position:absolute;

    top:40px;

    right:60px;

    font-size:45px;

    cursor:pointer;

    color:white;

}

/*==============================
CONTACT
===============================*/

.contact-box{

    max-width:850px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

}

.contact-box p{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    padding:25px;

    border-radius:18px;

    border:1px solid rgba(255,255,255,.15);

    text-align:center;

    font-size:18px;

    transition:.4s;

    cursor:pointer;

}

.contact-box p:hover{

    transform:translateY(-10px);

    box-shadow:
    0 0 20px #00bfff,
    0 0 40px #00bfff;

}

.contact-box i{

    display:block;

    font-size:35px;

    margin-bottom:15px;

    color:#00bfff;

}

/*==============================
FOOTER
===============================*/

footer{

    margin-top:80px;

    padding:30px;

    text-align:center;

    background:#050d18;

    color:#9ecfff;

    border-top:2px solid #00bfff;

}

/*==============================
RESPONSIVE
===============================*/

@media(max-width:1000px){

.hero{

    flex-direction:column-reverse;

    text-align:center;

}

.hero-image img{

    width:320px;

    height:320px;

}

.hero-text h1{

    font-size:45px;

}

.timeline::before{

    left:15px;

}

.timeline div{

    width:100%;

    margin-left:40px !important;

}

}

@media(max-width:768px){

nav{

    flex-direction:column;

    gap:20px;

}

nav ul{

    flex-wrap:wrap;

    justify-content:center;

}

.hero{

    padding-top:180px;

}

.title{

    font-size:35px;

}

.hero-text h1{

    font-size:38px;

}

.hero-text h2{

    font-size:25px;

}

.hero-image img{

    width:260px;

    height:260px;

}

}

@media(max-width:500px){

.logo{

    font-size:20px;

}

.hero-text h1{

    font-size:30px;

}

.hero-text p{

    font-size:15px;

}

.btn{

    padding:12px 28px;

}

.card{

    padding:30px 20px;

}

.gallery img{

    height:200px;

}

}

nav ul li a.active{

    color:#00bfff;

    font-weight:bold;

}

/*==============================
LIGHT MODE
===============================*/

.light-mode{

    background:#f5f9ff;

    color:#111827;

}

.light-mode nav{

    background:rgba(255,255,255,.9);

}

.light-mode .info,
.light-mode .card,
.light-mode .contact-box p,
.light-mode .timeline div{

    background:white;

    color:#111827;

}

.light-mode .about-text,
.light-mode .hero-text p{

    color:#374151;

}

.light-mode footer{

    background:#e5e7eb;

    color:#111827;

}

/*==============================
RIPPLE EFFECT
===============================*/

.btn{

    position:relative;

    overflow:hidden;

}

.ripple{

    position:absolute;

    width:10px;

    height:10px;

    background:white;

    border-radius:50%;

    transform:scale(0);

    animation:ripple .6s linear;

    opacity:.6;

}

@keyframes ripple{

    to{

        transform:scale(30);

        opacity:0;

    }

}

/*==============================
SCROLL PROGRESS BAR
===============================*/

#progressBar{

    position:fixed;

    top:0;

    left:0;

    width:0;

    height:5px;

    background:linear-gradient(90deg,#00bfff,#2563eb,#00e5ff);

    z-index:999999;

    transition:.1s;

}

/*==============================
FLOATING CIRCLES
===============================*/

.circle{

position:fixed;

border-radius:50%;

background:rgba(0,191,255,.15);

filter:blur(10px);

animation:float 8s infinite ease-in-out;

z-index:-1;

}

.c1{

width:180px;

height:180px;

top:10%;

left:5%;

}

.c2{

width:250px;

height:250px;

right:5%;

bottom:10%;

animation-delay:2s;

}

.c3{

width:120px;

height:120px;

top:55%;

left:45%;

animation-delay:4s;

}

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-35px);

}

100%{

transform:translateY(0);

}

}

/*==============================
STATISTICS
===============================*/

.stats-container{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:25px;

}

.stat-card{

background:rgba(255,255,255,.08);

padding:40px;

text-align:center;

border-radius:20px;

backdrop-filter:blur(20px);

transition:.4s;

}

.stat-card:hover{

transform:translateY(-10px);

box-shadow:0 0 30px #00bfff;

}

.stat-card h1{

font-size:55px;

color:#00bfff;

margin-bottom:10px;

}

