/*==================================================
    ANKS Portfolio
    style.css
===================================================*/

/* Google Font */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*==================================================
Root
===================================================*/

:root{

    --bg:#070B14;
    --bg2:#101828;

    --primary:#4F8CFF;
    --secondary:#7C4DFF;
    --accent:#00E5FF;

    --text:#ffffff;
    --muted:#b8c2d1;

    --glass:rgba(255,255,255,.08);
    --glassBorder:rgba(255,255,255,.12);

    --shadow:0 15px 45px rgba(0,0,0,.35);

    --radius:20px;

    --transition:.35s ease;

}

/*==================================================
Reset
===================================================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--bg);

    color:var(--text);

    overflow-x:hidden;

}

/*==================================================
Scrollbar
===================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#0a0f18;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

/*==================================================
Selection
===================================================*/

::selection{

    background:var(--primary);

    color:white;

}

/*==================================================
Links
===================================================*/

a{

    color:white;

    text-decoration:none;

}

/*==================================================
Images
===================================================*/

img{

    width:100%;

    display:block;

}

/*==================================================
Section
===================================================*/

section{

    width:100%;

    max-width:1300px;

    margin:auto;

    padding:110px 60px;

}

/*==================================================
Titles
===================================================*/

.section-title{

    font-size:42px;

    text-align:center;

    margin-bottom:60px;

    font-weight:700;

    position:relative;

}

.section-title::after{

    content:"";

    width:90px;

    height:4px;

    border-radius:30px;

    background:linear-gradient(to right,var(--primary),var(--secondary));

    display:block;

    margin:18px auto;

}

/*==================================================
Background
===================================================*/

#particles{

    position:fixed;

    inset:0;

    z-index:-10;

}

.blur-circle{

    position:fixed;

    width:350px;

    height:350px;

    border-radius:50%;

    filter:blur(120px);

    opacity:.25;

    z-index:-5;

}

.blur1{

    top:-100px;

    left:-80px;

    background:#4F8CFF;

}

.blur2{

    right:-100px;

    bottom:-100px;

    background:#7C4DFF;

}

/*==================================================
Header
===================================================*/

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    padding:18px 60px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    z-index:999;

    backdrop-filter:blur(18px);

    background:rgba(7,11,20,.65);

    border-bottom:1px solid rgba(255,255,255,.06);

}

.logo{

    font-size:28px;

    font-weight:800;

    letter-spacing:2px;

    color:var(--primary);

}

nav{

    display:flex;

    gap:35px;

}

nav a{

    color:var(--muted);

    transition:var(--transition);

    font-weight:500;

}

nav a:hover{

    color:white;

}

.menu-btn{

    display:none;

    font-size:28px;

    cursor:pointer;

}

/*==================================================
Hero
===================================================*/

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:70px;

}

.hero-content{

    flex:1;

}

.hero-small{

    color:var(--accent);

    font-size:18px;

    margin-bottom:10px;

}

.hero h1{

    font-size:72px;

    line-height:1;

    margin-bottom:15px;

}

.hero h2{

    font-size:36px;

    color:var(--primary);

    margin-bottom:30px;

}

.hero-description{

    color:var(--muted);

    font-size:18px;

    line-height:1.8;

    max-width:620px;

}

/*==================================================
Buttons
===================================================*/

.hero-buttons{

    display:flex;

    gap:20px;

    margin-top:45px;

}

.btn{

    padding:15px 34px;

    border-radius:50px;

    transition:var(--transition);

    font-weight:600;

}

.primary{

    background:linear-gradient(135deg,var(--primary),var(--secondary));

}

.primary:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 35px rgba(79,140,255,.4);

}

.secondary{

    border:1px solid rgba(255,255,255,.15);

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(10px);

}

.secondary:hover{

    background:rgba(255,255,255,.08);

}

/*==================================================
Glass Card
===================================================*/

.hero-card{

    width:420px;

}

.glass-card{

    background:var(--glass);

    border:1px solid var(--glassBorder);

    border-radius:30px;

    backdrop-filter:blur(25px);

    padding:40px;

    box-shadow:var(--shadow);

}

.status{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:35px;

}

.dot{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#00ff99;

    animation:pulse 1.5s infinite;

}

.hero-stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

.hero-stats h3{

    font-size:28px;

    color:var(--primary);

}

.hero-stats p{

    color:var(--muted);

    font-size:14px;

    margin-top:8px;

}

/*==================================================
Animation
===================================================*/

@keyframes pulse{

    0%{

        transform:scale(1);

        box-shadow:0 0 0 rgba(0,255,150,.5);

    }

    50%{

        transform:scale(1.3);

        box-shadow:0 0 25px rgba(0,255,150,.7);

    }

    100%{

        transform:scale(1);

        box-shadow:0 0 0 rgba(0,255,150,.5);

    }

}
/*==================================================
About Section
===================================================*/

.about-card{

    max-width:900px;

    margin:0 auto;

    padding:45px;

    border-radius:var(--radius);

    background:var(--glass);

    border:1px solid var(--glassBorder);

    backdrop-filter:blur(18px);

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.about-card:hover{

    transform:translateY(-8px);

    border-color:rgba(79,140,255,.35);

}

.about-card p{

    color:var(--muted);

    font-size:17px;

    line-height:1.9;

    margin-bottom:20px;

}

.about-card p:last-child{

    margin-bottom:0;

}

/*==================================================
Skills
===================================================*/

.skills-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

}

.skill-card{

    background:var(--glass);

    border:1px solid var(--glassBorder);

    border-radius:var(--radius);

    padding:35px 25px;

    text-align:center;

    backdrop-filter:blur(15px);

    transition:var(--transition);

    cursor:pointer;

    position:relative;

    overflow:hidden;

}

.skill-card::before{

    content:"";

    position:absolute;

    left:-100%;

    top:0;

    width:100%;

    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.08),
        transparent
    );

    transition:.7s;

}

.skill-card:hover::before{

    left:100%;

}

.skill-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:0 20px 40px rgba(79,140,255,.18);

}

.skill-card i{

    font-size:48px;

    color:var(--primary);

    margin-bottom:20px;

}

.skill-card h3{

    font-size:20px;

    font-weight:600;

}

/*==================================================
Services
===================================================*/

.service-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:35px;

}

.service-card{

    background:var(--glass);

    border-radius:var(--radius);

    border:1px solid var(--glassBorder);

    backdrop-filter:blur(20px);

    padding:40px 30px;

    transition:var(--transition);

}

.service-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

    box-shadow:0 20px 50px rgba(79,140,255,.15);

}

.service-card i{

    font-size:50px;

    color:var(--primary);

    margin-bottom:25px;

}

.service-card h3{

    font-size:24px;

    margin-bottom:18px;

}

.service-card p{

    color:var(--muted);

    line-height:1.8;

}

/*==================================================
Timeline
===================================================*/

.timeline{

    position:relative;

    max-width:700px;

    margin:0 auto;

    padding-left:35px;

}

.timeline::before{

    content:"";

    position:absolute;

    left:8px;

    top:0;

    bottom:0;

    width:3px;

    background:linear-gradient(

        var(--primary),

        var(--secondary)

    );

}

.timeline-item{

    position:relative;

    margin-bottom:45px;

    padding-left:35px;

    font-size:20px;

    color:white;

    font-weight:500;

}

.timeline-item span{

    position:absolute;

    left:-5px;

    top:6px;

    width:18px;

    height:18px;

    border-radius:50%;

    background:var(--primary);

    box-shadow:0 0 18px var(--primary);

}

/*==================================================
Contact
===================================================*/

.contact-card{

    max-width:750px;

    margin:auto;

    padding:55px;

    text-align:center;

    border-radius:var(--radius);

    background:var(--glass);

    border:1px solid var(--glassBorder);

    backdrop-filter:blur(20px);

    box-shadow:var(--shadow);

}

.contact-card p{

    color:var(--muted);

    font-size:18px;

    line-height:1.8;

}

.contact-links{

    display:flex;

    justify-content:center;

    gap:30px;

    margin-top:35px;

}

.contact-links a{

    width:70px;

    height:70px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    transition:var(--transition);

    font-size:28px;

}

.contact-links a:hover{

    transform:translateY(-8px);

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

}

/*==================================================
Footer
===================================================*/

footer{

    padding:45px;

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

}

footer p{

    color:var(--muted);

    margin:10px 0;

    font-size:15px;

}

/*==================================================
Utility
===================================================*/

.glow{

    box-shadow:0 0 30px rgba(79,140,255,.35);

}

.text-center{

    text-align:center;

}

.mt-50{

    margin-top:50px;

}

.mb-50{

    margin-bottom:50px;

}

/*==================================================
Hover Effects
===================================================*/

.service-card,
.skill-card,
.about-card,
.glass-card,
.contact-card{

    will-change:transform;

}

.service-card:hover,
.skill-card:hover,
.about-card:hover,
.glass-card:hover{

    transform:translateY(-10px);

}

/*==================================================
Gradient Text
===================================================*/

.gradient-text{

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--accent)
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

    background-clip:text;

}

/*==================================================
Divider
===================================================*/

.divider{

    width:120px;

    height:4px;

    margin:25px auto;

    border-radius:50px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

}
/*==================================================
Responsive Design
==================================================*/

@media (max-width:1200px){

    section{

        padding:90px 40px;

    }

    .hero{

        gap:40px;

    }

    .hero h1{

        font-size:60px;

    }

    .hero-card{

        width:360px;

    }

}

@media (max-width:992px){

    header{

        padding:18px 30px;

    }

    section{

        padding:80px 30px;

    }

    .hero{

        flex-direction:column;

        justify-content:center;

        text-align:center;

        min-height:auto;

        padding-top:140px;

    }

    .hero-description{

        margin:auto;

    }

    .hero-buttons{

        justify-content:center;

        flex-wrap:wrap;

    }

    .hero-card{

        width:100%;

        max-width:420px;

    }

    nav{

        display:none;

    }

    .menu-btn{

        display:block;

        color:#fff;

    }

    .timeline{

        padding-left:25px;

    }

}

@media (max-width:768px){

    .section-title{

        font-size:34px;

    }

    .hero h1{

        font-size:48px;

    }

    .hero h2{

        font-size:28px;

    }

    .hero-description{

        font-size:16px;

    }

    .glass-card{

        padding:30px;

    }

    .hero-stats{

        grid-template-columns:1fr;

        text-align:center;

    }

    .about-card{

        padding:30px;

    }

    .service-grid{

        grid-template-columns:1fr;

    }

    .skills-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .contact-card{

        padding:35px;

    }

}

@media (max-width:600px){

    header{

        padding:15px 20px;

    }

    section{

        padding:70px 20px;

    }

    .logo{

        font-size:22px;

    }

    .hero h1{

        font-size:42px;

    }

    .hero h2{

        font-size:24px;

    }

    .btn{

        width:100%;

        text-align:center;

    }

    .hero-buttons{

        flex-direction:column;

        width:100%;

    }

    .skills-grid{

        grid-template-columns:1fr;

    }

    .timeline-item{

        font-size:18px;

    }

    .contact-links{

        gap:18px;

    }

    .contact-links a{

        width:58px;

        height:58px;

        font-size:22px;

    }

    footer{

        padding:30px 20px;

    }

}

/*==================================================
Fade Animations
==================================================*/

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:.8s ease;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}

.fade-left{

    opacity:0;

    transform:translateX(-40px);

    transition:.8s ease;

}

.fade-left.show{

    opacity:1;

    transform:translateX(0);

}

.fade-right{

    opacity:0;

    transform:translateX(40px);

    transition:.8s ease;

}

.fade-right.show{

    opacity:1;

    transform:translateX(0);

}

/*==================================================
Floating Animation
==================================================*/

@keyframes floating{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0px);

    }

}

.hero-card{

    animation:floating 5s ease-in-out infinite;

}

/*==================================================
Glow Animation
==================================================*/

@keyframes glow{

    0%{

        box-shadow:0 0 10px rgba(79,140,255,.2);

    }

    50%{

        box-shadow:0 0 35px rgba(79,140,255,.45);

    }

    100%{

        box-shadow:0 0 10px rgba(79,140,255,.2);

    }

}

.primary{

    animation:glow 3s infinite;

}

/*==================================================
Glass Hover Shine
==================================================*/

.glass-card,
.about-card,
.service-card,
.skill-card{

    position:relative;

    overflow:hidden;

}

.glass-card::after,
.about-card::after,
.service-card::after,
.skill-card::after{

    content:"";

    position:absolute;

    top:0;

    left:-150%;

    width:70%;

    height:100%;

    transform:skewX(-25deg);

    background:linear-gradient(

        to right,

        transparent,

        rgba(255,255,255,.08),

        transparent

    );

}

.glass-card:hover::after,
.about-card:hover::after,
.service-card:hover::after,
.skill-card:hover::after{

    left:180%;

    transition:1s;

}

/*==================================================
Smooth Image Rendering
==================================================*/

img{

    image-rendering:auto;

}

/*==================================================
Focus Styles
==================================================*/

a:focus,
button:focus{

    outline:2px solid var(--primary);

    outline-offset:4px;

}
/*=========================
Contact Form
=========================*/

#contact-form{

    margin-top:40px;

    display:flex;

    flex-direction:column;

    gap:18px;

}

#contact-form input,
#contact-form textarea{

    width:100%;

    padding:18px;

    border-radius:14px;

    border:1px solid rgba(255,255,255,.08);

    background:rgba(255,255,255,.05);

    color:white;

    font-size:16px;

    outline:none;

    transition:.3s;

}

#contact-form textarea{

    resize:vertical;

}

#contact-form input:focus,
#contact-form textarea:focus{

    border-color:#4F8CFF;

    box-shadow:0 0 20px rgba(79,140,255,.25);

}

#contact-form input::placeholder,
#contact-form textarea::placeholder{

    color:#9ca3af;

}

#contact-form button{

    width:220px;

    margin:auto;

    cursor:pointer;

}

.success-message{

    color:#00ff99;

    margin-top:20px;

    font-weight:600;

}

.error-message{

    color:#ff6666;

    margin-top:20px;

    font-weight:600;

}

/*==================================================
End
==================================================*/