/* ==========================================
   GOOGLE FONT
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   CSS VARIABLES
========================================== */

:root{

    --primary:#00C6FF;
    --secondary:#0072FF;

    --bg:#0F172A;
    --bg2:#111827;

    --card:rgba(255,255,255,.06);

    --white:#ffffff;

    --text:#d1d5db;

    --border:rgba(255,255,255,.12);

    --shadow:0 20px 50px rgba(0,0,0,.25);

    --transition:.35s ease;

    --radius:18px;

}

body.light{

    --bg:#F7F9FC;

    --bg2:#ffffff;

    --card:#ffffff;

    --white:#111827;

    --text:#555;

    --border:#e5e7eb;

    --shadow:0 15px 35px rgba(0,0,0,.08);

}

/* ==========================================
   RESET
========================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--bg);

    color:var(--white);

    overflow-x:hidden;

    transition:.4s;

}

a{

    color:inherit;

    text-decoration:none;

}

img{

    width:100%;

    display:block;

}

ul{

    list-style:none;

}

section{

    padding:110px 10%;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title h2{

    font-size:40px;

    font-weight:700;

}

.section-title span{

    width:90px;

    height:4px;

    display:block;

    margin:15px auto;

    border-radius:50px;

    background:linear-gradient(to right,var(--primary),var(--secondary));

}

/* ==========================================
   CUSTOM SCROLLBAR
========================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:var(--bg);

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(var(--primary),var(--secondary));

    border-radius:20px;

}

/* ==========================================
   PROGRESS BAR
========================================== */

#progress-bar{

    position:fixed;

    top:0;

    left:0;

    height:4px;

    width:0%;

    z-index:9999;

    background:linear-gradient(to right,var(--primary),var(--secondary));

}

/* ==========================================
   BACK TO TOP BUTTON
========================================== */

#topBtn{

    position:fixed;

    right:25px;

    bottom:25px;

    width:50px;

    height:50px;

    border:none;

    cursor:pointer;

    border-radius:50%;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:white;

    display:none;

    font-size:18px;

    box-shadow:var(--shadow);

    z-index:999;

    transition:.3s;

}

#topBtn:hover{

    transform:translateY(-6px);

}

/* ==========================================
   NAVBAR
========================================== */

header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:1000;

    backdrop-filter:blur(20px);

    background:rgba(15,23,42,.65);

    border-bottom:1px solid rgba(255,255,255,.08);

}

.navbar{

    max-width:1400px;

    margin:auto;

    height:80px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 7%;

}

.logo{

    font-size:30px;

    font-weight:800;

    color:white;

}

.logo span{

    color:var(--primary);

}

.nav-links{

    display:flex;

    gap:35px;

}

.nav-links a{

    position:relative;

    font-size:15px;

    font-weight:500;

    transition:var(--transition);

}

.nav-links a::after{

    content:'';

    position:absolute;

    bottom:-8px;

    left:0;

    width:0%;

    height:2px;

    background:var(--primary);

    transition:.35s;

}

.nav-links a:hover{

    color:var(--primary);

}

.nav-links a:hover::after{

    width:100%;

}

.nav-right{

    display:flex;

    align-items:center;

    gap:15px;

}

#themeToggle{

    width:42px;

    height:42px;

    border:none;

    cursor:pointer;

    border-radius:50%;

    color:white;

    background:var(--card);

    backdrop-filter:blur(15px);

}

.menu-btn{

    display:none;

    font-size:26px;

    cursor:pointer;

}

/* ==========================================
   BUTTONS
========================================== */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 28px;

    border-radius:50px;

    transition:.35s;

    font-weight:600;

}

.primary{

    color:white;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

}

.secondary{

    border:2px solid var(--primary);

}

.primary:hover{

    transform:translateY(-6px);

    box-shadow:0 15px 30px rgba(0,198,255,.35);

}

.secondary:hover{

    background:var(--primary);

}

/* ==========================================
   HERO SECTION
========================================== */

.hero{

    min-height:100vh;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

    position:relative;

}

.hero::before{

    content:'';

    position:absolute;

    width:450px;

    height:450px;

    border-radius:50%;

    background:linear-gradient(var(--primary),transparent);

    filter:blur(130px);

    top:0;

    right:0;

    opacity:.25;

}

.hero-left{

    z-index:2;

}

.welcome{

    color:var(--primary);

    font-size:18px;

    margin-bottom:10px;

}

.hero h1{

    font-size:65px;

    line-height:1.1;

    margin-bottom:15px;

}

.hero h2{

    font-size:34px;

    margin-bottom:25px;

    color:var(--primary);

    min-height:45px;

}

.hero-text{

    max-width:620px;

    line-height:1.9;

    color:var(--text);

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    margin-bottom:40px;

}

.social-icons{

    display:flex;

    gap:18px;

}

.social-icons a{

    width:55px;

    height:55px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--card);

    border:1px solid var(--border);

    transition:.35s;

    font-size:20px;

}

.social-icons a:hover{

    transform:translateY(-8px);

    background:linear-gradient(135deg,var(--primary),var(--secondary));

}

/* ==========================================
   PROFILE IMAGE
========================================== */

.hero-right{

    display:flex;

    justify-content:center;

}

.profile-card{

    width:430px;

    height:430px;

    border-radius:40px;

    padding:20px;

    background:var(--card);

    border:1px solid var(--border);

    backdrop-filter:blur(20px);

    box-shadow:var(--shadow);

    animation:float 5s ease-in-out infinite;

}

.profile-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:30px;

}

/* ==========================================
   FLOATING SHAPES
========================================== */

.hero::after{

    content:'';

    position:absolute;

    width:280px;

    height:280px;

    background:linear-gradient(var(--secondary),transparent);

    border-radius:50%;

    left:-80px;

    bottom:20px;

    opacity:.20;

    filter:blur(100px);

}
/* ==========================================
   ABOUT SECTION
========================================== */

.about-container{

    display:grid;

    grid-template-columns:350px 1fr;

    gap:70px;

    align-items:center;

}


.about-image{

    position:relative;

}


.about-image img{

    border-radius:30px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

}


.about-image::before{

    content:"";

    position:absolute;

    width:100%;

    height:100%;

    border:3px solid var(--primary);

    border-radius:30px;

    top:20px;

    left:20px;

    z-index:-1;

}


.about-content h3{

    font-size:32px;

    margin-bottom:20px;

}


.about-content p{

    color:var(--text);

    line-height:2;

    margin-bottom:35px;

}


/* ==========================================
   STATISTICS
========================================== */


.stats{

    display:flex;

    gap:25px;

}


.stat{

    padding:25px;

    min-width:140px;

    text-align:center;

    border-radius:var(--radius);

    background:var(--card);

    border:1px solid var(--border);

    backdrop-filter:blur(15px);

    transition:.35s;

}


.stat:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

}


.stat h3{

    font-size:35px;

    color:var(--primary);

    margin-bottom:5px;

}


.stat p{

    margin:0;

    font-size:14px;

}



/* ==========================================
   SKILLS SECTION
========================================== */


.skills-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}



.skill-card{

    padding:40px 25px;

    text-align:center;

    background:var(--card);

    border:1px solid var(--border);

    border-radius:var(--radius);

    backdrop-filter:blur(20px);

    transition:.4s;

    position:relative;

    overflow:hidden;

}



.skill-card::before{

    content:"";

    position:absolute;

    width:0;

    height:0;

    background:rgba(0,198,255,.15);

    border-radius:50%;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    transition:.5s;

}



.skill-card:hover::before{

    width:350px;

    height:350px;

}



.skill-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

}



.skill-card i{

    position:relative;

    z-index:2;

    font-size:45px;

    color:var(--primary);

    margin-bottom:20px;

}



.skill-card h3{

    position:relative;

    z-index:2;

    font-size:20px;

}



/* ==========================================
   SKILL PROGRESS SECTION
========================================== */


.skill-progress{

    margin-top:70px;

}


.progress-box{

    margin-bottom:30px;

}



.progress-title{

    display:flex;

    justify-content:space-between;

    margin-bottom:10px;

}



.progress-title h4{

    font-size:16px;

    font-weight:500;

}



.progress-bar{

    height:12px;

    width:100%;

    background:rgba(255,255,255,.1);

    border-radius:20px;

    overflow:hidden;

}



.progress-bar span{

    display:block;

    height:100%;

    width:0;

    border-radius:20px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

    transition:2s ease;

}



/* ==========================================
   SKILL ICON COLORS
========================================== */


.skill-card:nth-child(1) i{

    color:#3776AB;

}


.skill-card:nth-child(2) i{

    color:#00C6FF;

}


.skill-card:nth-child(3) i{

    color:#ef4444;

}


.skill-card:nth-child(4) i{

    color:#e34f26;

}


.skill-card:nth-child(5) i{

    color:#1572B6;

}


.skill-card:nth-child(6) i{

    color:#f7df1e;

}



/* ==========================================
   SECTION HOVER GLOW
========================================== */


section{

    position:relative;

}


section::before{

    content:"";

    position:absolute;

    width:200px;

    height:200px;

    background:var(--primary);

    filter:blur(150px);

    opacity:.12;

    left:0;

    top:30%;

    pointer-events:none;

}
/* ==========================================
   PROJECT SECTION
========================================== */


.project-filter{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-bottom:50px;

    flex-wrap:wrap;

}


.project-filter button{

    padding:12px 25px;

    border-radius:50px;

    border:1px solid var(--border);

    background:var(--card);

    color:var(--white);

    cursor:pointer;

    transition:.3s;

    font-family:inherit;

}


.project-filter button:hover,
.project-filter button.active{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:white;

    border-color:transparent;

}



.projects-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}



.project-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:var(--radius);

    overflow:hidden;

    transition:.4s;

    backdrop-filter:blur(15px);

}



.project-card:hover{

    transform:translateY(-15px);

    box-shadow:var(--shadow);

    border-color:var(--primary);

}



.project-card img{

    height:220px;

    object-fit:cover;

}



.project-content{

    padding:25px;

}



.project-content h3{

    font-size:24px;

    margin-bottom:15px;

}



.project-content p{

    color:var(--text);

    line-height:1.7;

    margin-bottom:20px;

}



.project-content a{

    color:var(--primary);

    font-weight:600;

}



.project-content a:hover{

    text-decoration:underline;

}



/* ==========================================
   TIMELINE SECTION
========================================== */


.timeline{

    max-width:900px;

    margin:auto;

    position:relative;

}



.timeline::before{

    content:"";

    position:absolute;

    width:3px;

    height:100%;

    background:linear-gradient(
        var(--primary),
        var(--secondary)
    );

    left:50%;

    transform:translateX(-50%);

}



.timeline-item{

    width:45%;

    padding:30px;

    background:var(--card);

    border:1px solid var(--border);

    border-radius:var(--radius);

    margin-bottom:40px;

    position:relative;

    backdrop-filter:blur(15px);

}



.timeline-item:nth-child(odd){

    margin-left:0;

}



.timeline-item:nth-child(even){

    margin-left:auto;

}



.timeline-item::before{

    content:"";

    position:absolute;

    width:18px;

    height:18px;

    border-radius:50%;

    background:var(--primary);

    top:35px;

    right:-49px;

}



.timeline-item:nth-child(even)::before{

    left:-49px;

}



.timeline-item h3{

    color:var(--primary);

    margin-bottom:10px;

}



.timeline-item h4{

    font-size:22px;

    margin-bottom:10px;

}



.timeline-item p{

    color:var(--text);

    line-height:1.8;

}



/* ==========================================
   CONTACT SECTION
========================================== */


.contact-container{

    max-width:800px;

    margin:auto;

}



#contactForm{

    display:flex;

    flex-direction:column;

    gap:20px;

}



#contactForm input,
#contactForm textarea{

    width:100%;

    padding:18px;

    border-radius:15px;

    border:1px solid var(--border);

    background:var(--card);

    color:var(--white);

    outline:none;

    font-family:inherit;

    font-size:15px;

    resize:none;

}



#contactForm input:focus,
#contactForm textarea:focus{

    border-color:var(--primary);

}



#contactForm button{

    width:200px;

    border:none;

    cursor:pointer;

}



/* ==========================================
   FOOTER
========================================== */


footer{

    padding:50px 10%;

    text-align:center;

    background:#080f1f;

}



footer h2{

    font-size:32px;

    margin-bottom:10px;

}



footer p{

    color:var(--text);

}



.footer-icons{

    display:flex;

    justify-content:center;

    gap:20px;

    margin:25px 0;

}



.footer-icons a{

    width:45px;

    height:45px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:var(--card);

    transition:.3s;

}



.footer-icons a:hover{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    transform:translateY(-5px);

}



.copyright{

    margin-top:20px;

    font-size:14px;

}



/* ==========================================
   FORM MESSAGE
========================================== */


.success-message{

    padding:15px;

    border-radius:10px;

    background:#16a34a;

    color:white;

    margin-top:20px;

}



/* ==========================================
   CARD ANIMATIONS
========================================== */


.card-hover{

    transition:.4s;

}



.card-hover:hover{

    transform:translateY(-10px);

}



/* ==========================================
   DARK MODE FIXES
========================================== */


body.light header{

    background:rgba(255,255,255,.75);

}



body.light .logo{

    color:#111827;

}



body.light #themeToggle{

    color:#111827;

}



body.light footer{

    background:#111827;

}


/* ==========================================
   UTILITY CLASSES
========================================== */

.container {
    max-width: 1400px;
    margin: auto;
}

.text-gradient {
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hidden {
    display: none;
}

.show {
    display: block;
}

/* ==========================================
   SELECTION STYLE
========================================== */


::selection{

    background:var(--primary);

    color:white;

}



/* ==========================================
   IMAGE HOVER EFFECT
========================================== */


.project-card img{

    transition:.5s;

}



.project-card:hover img{

    transform:scale(1.08);

}



/* ==========================================
   LOADING EFFECT
========================================== */


body.loaded{

    overflow:auto;

}



.loader{

    position:fixed;

    inset:0;

    background:var(--bg);

    z-index:99999;

    display:flex;

    align-items:center;

    justify-content:center;

}



.loader span{

    width:60px;

    height:60px;

    border:5px solid transparent;

    border-top-color:var(--primary);

    border-radius:50%;

    animation:spin 1s linear infinite;

}

/* ==========================================
   CERTIFICATES
========================================== */


.certificate-grid{

    display:flex;

    justify-content:center;

}


.certificate-card{

    max-width:450px;

    background:var(--card);

    border:1px solid var(--border);

    border-radius:20px;

    overflow:hidden;

    transition:.4s;

}


.certificate-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

}


.certificate-card img{

    height:260px;

    object-fit:cover;

}


.certificate-content{

    padding:25px;

}


.certificate-content h3{

    font-size:22px;

    margin-bottom:15px;

}


.certificate-content p{

    color:var(--text);

    margin-bottom:10px;

}



/* ==========================================
   END OF STYLE.CSS
========================================== */