/*=========================
Google Font
==========================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*=========================
Root
==========================*/

:root{

    --primary:#e30613;
    --dark:#050816;
    --dark2:#0c1124;
    --white:#ffffff;
    --text:#cbd5e1;
    --transition:.35s;

}

/*=========================
Reset
==========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:var(--dark);
    color:var(--white);
    overflow-x:hidden;

}

/*=========================
Background
==========================*/

body::before{

    content:"";
    position:fixed;
    width:700px;
    height:700px;

    background:rgba(227,6,19,.18);

    filter:blur(170px);

    top:-250px;
    right:-150px;

    z-index:-2;

}

body::after{

    content:"";

    position:fixed;

    width:600px;
    height:600px;

    background:#1b3bff18;

    filter:blur(180px);

    bottom:-200px;
    left:-180px;

    z-index:-2;

}

/*=========================
Navbar
==========================*/

.navbar{

    padding:18px 0;

    transition:.4s;

}

.navbar-brand{

    color:#fff !important;

    font-size:28px;

    font-weight:700;

}

.navbar-brand span{

    color:var(--primary);

}

.nav-link{

    color:#ddd;

    margin-left:25px;

    transition:.3s;

    font-weight:500;

}

.nav-link:hover{

    color:var(--primary);

}

.nav-link.active{

    color:var(--primary);

}

/*=========================
Hero
==========================*/

.hero{

    position:relative;

    overflow:hidden;

}

.hero-tag{

    display:inline-block;

    padding:10px 22px;

    border-radius:40px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    color:#fff;

    margin-bottom:25px;

}

.hero h1{

    font-size:64px;

    font-weight:800;

    line-height:1.1;

}

.name{

    color:var(--primary);

}

.hero h2{

    margin-top:20px;

    font-size:34px;

    color:#fff;

    font-weight:600;

    line-height:1.5;

}

.hero p{

    margin-top:25px;

    font-size:17px;

    color:var(--text);

    line-height:32px;

    max-width:580px;

}

/*=========================
Buttons
==========================*/

.hero-btn{

    margin-top:40px;

}

.hero-btn .btn{

    padding:14px 34px;

    border-radius:50px;

    font-weight:600;

    margin-right:15px;

    transition:.35s;

}

.btn-danger{

    background:var(--primary);

    border:none;

}

.btn-danger:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(227,6,19,.4);

}

.btn-outline-light:hover{

    color:#000;

    transform:translateY(-5px);

}

/*=========================
Profile Card
==========================*/

.profile-card{

    width:420px;

    margin:auto;

    padding:30px;

    border-radius:35px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(25px);

    border:1px solid rgba(255,255,255,.08);

    box-shadow:0 25px 60px rgba(0,0,0,.45);

}

.profile-img{

    width:100%;

    border-radius:25px;

}

.status{

    margin-top:20px;

    display:inline-block;

    padding:12px 24px;

    background:#081420;

    border-radius:40px;

    color:#fff;

    font-size:15px;

}

.status i{

    color:#00ff66;

    margin-right:8px;

    animation:blink .9s infinite;

}

/*=========================
Animation
==========================*/

@keyframes blink{

    0%{

        opacity:1;

    }

    50%{

        opacity:.3;

    }

    100%{

        opacity:1;

    }

}

/*=========================
Floating Effect
==========================*/

.profile-card{

    animation:float 5s ease-in-out infinite;

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0);

    }

}

/*=========================
Responsive
==========================*/

@media(max-width:992px){

.hero{

    text-align:center;

}

.hero h1{

    font-size:48px;

}

.hero h2{

    font-size:28px;

}

.profile-card{

    width:100%;

    margin-top:60px;

}

}

@media(max-width:576px){

.hero h1{

    font-size:38px;

}

.hero h2{

    font-size:22px;

}

.hero-btn .btn{

    width:100%;

    margin-bottom:15px;

}

}

/*========================
Premium Background
========================*/

.grid-bg{

    position:fixed;

    inset:0;

    background-image:

    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),

    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);

    background-size:40px 40px;

    z-index:-10;

}

.bg-blur{

    position:fixed;

    border-radius:50%;

    filter:blur(140px);

    z-index:-9;

}

.blur-one{

    width:500px;

    height:500px;

    background:#e30613;

    top:-180px;

    right:-120px;

    opacity:.22;

}

.blur-two{

    width:450px;

    height:450px;

    background:#004cff;

    bottom:-180px;

    left:-120px;

    opacity:.15;

}

/*========================
Mouse Glow
========================*/

.mouse-glow{

    position:fixed;

    width:350px;

    height:350px;

    border-radius:50%;

    pointer-events:none;

    background:radial-gradient(circle,
    rgba(227,6,19,.18),
    transparent 70%);

    transform:translate(-50%,-50%);

    z-index:-5;

}

/*========================
Scroll Down
========================*/

.scroll-down{

    position:absolute;

    left:50%;

    bottom:30px;

    transform:translateX(-50%);

}

.scroll-down span{

    width:28px;

    height:50px;

    border:2px solid #fff;

    border-radius:30px;

    display:block;

    position:relative;

}

.scroll-down span::before{

    content:"";

    position:absolute;

    width:6px;

    height:6px;

    background:#fff;

    border-radius:50%;

    left:50%;

    transform:translateX(-50%);

    top:8px;

    animation:scroll 2s infinite;

}

@keyframes scroll{

0%{

top:8px;

opacity:1;

}

100%{

top:28px;

opacity:0;

}

}

/*========================
Hero Animation
========================*/

.hero h1{

    animation:fadeLeft .9s;

}

.hero p{

    animation:fadeLeft 1.3s;

}

.profile-card{

    animation:fadeRight 1.2s,float 5s infinite;

}

@keyframes fadeLeft{

from{

opacity:0;

transform:translateX(-60px);

}

to{

opacity:1;

transform:translateX(0);

}

}

@keyframes fadeRight{

from{

opacity:0;

transform:translateX(60px);

}

to{

opacity:1;

transform:translateX(0);

}

}
/*=========================
Statistics
==========================*/

.stats{

    padding:80px 0;

}

.stat-card{

    position:relative;

    text-align:center;

    padding:40px 25px;

    border-radius:25px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.08);

    transition:.4s;

    overflow:hidden;

}

.stat-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(135deg,
    transparent,
    rgba(227,6,19,.12),
    transparent);

    opacity:0;

    transition:.4s;

}

.stat-card:hover::before{

    opacity:1;

}

.stat-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

    box-shadow:0 20px 50px rgba(227,6,19,.20);

}

.stat-card i{

    font-size:42px;

    color:var(--primary);

    margin-bottom:20px;

}

.stat-card h2{

    font-size:52px;

    font-weight:700;

}

.stat-card p{

    margin-top:10px;

    color:#b6bfd4;

    font-size:17px;

}

.reveal{

    opacity:0;

    transform:translateY(60px);

    transition:.8s;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

/*=========================
About
==========================*/

.about{

    padding:120px 0;

}

.section-title{

    color:var(--primary);

    font-weight:600;

    letter-spacing:2px;

}

.about h2{

    font-size:48px;

    margin:20px 0;

    font-weight:700;

}

.about p{

    color:#bfc7d9;

    line-height:34px;

    font-size:18px;

}

.about-image{

    position:relative;

}

.about-image img{

    border-radius:30px;

    box-shadow:0 25px 60px rgba(0,0,0,.4);

}

.experience-box{

    position:absolute;

    bottom:30px;

    right:-30px;

    width:180px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.1);

    border-radius:20px;

    text-align:center;

    padding:25px;

}

.experience-box h2{

    color:var(--primary);

    margin:0;

    font-size:42px;

}

.experience-box span{

    font-size:15px;

    color:#ddd;

}

.about-info{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-top:35px;

}

.about-info div{

    background:rgba(255,255,255,.05);

    border-radius:18px;

    padding:18px;

    transition:.35s;

}

.about-info div:hover{

    transform:translateY(-8px);

    border:1px solid var(--primary);

}

.about-info i{

    color:var(--primary);

    font-size:22px;

    margin-right:12px;

}

.about-info span{

    font-size:16px;

    font-weight:500;

}

/*=========================
Experience
==========================*/

.experience{

    padding:120px 0;

}

.timeline{

    position:relative;

    max-width:1100px;

    margin:auto;

}

.timeline::before{

    content:"";

    position:absolute;

    width:4px;

    background:var(--primary);

    top:0;

    bottom:0;

    left:50%;

    transform:translateX(-50%);

}

.timeline-item{

    position:relative;

    width:50%;

    padding:20px 40px;

}

.timeline-item.left{

    left:0;

}

.timeline-item.right{

    left:50%;

}

.timeline-content{

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border-radius:20px;

    border:1px solid rgba(255,255,255,.08);

    padding:30px;

    transition:.35s;

}

.timeline-content:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:0 20px 45px rgba(227,6,19,.18);

}

.timeline-content span{

    color:var(--primary);

    font-weight:700;

}

.timeline-content h4{

    margin:12px 0;

}

.timeline-content p{

    color:#bfc7d9;

    line-height:30px;

}

.timeline-item::before{

    content:"";

    position:absolute;

    width:18px;

    height:18px;

    background:var(--primary);

    border-radius:50%;

    top:40px;

}

.timeline-item.left::before{

    right:-9px;

}

.timeline-item.right::before{

    left:-9px;

}
@media(max-width:991px){

.timeline::before{

left:20px;

}

.timeline-item{

width:100%;

left:0 !important;

padding-left:60px;

padding-right:10px;

}

.timeline-item::before{

left:11px !important;

}

}
/*=========================
Projects
==========================*/

.projects{

    padding:120px 0;

}

.project-card{

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border-radius:22px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.08);

    transition:.4s;

}

.project-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

    box-shadow:0 20px 45px rgba(227,6,19,.18);

}

.project-image{

    overflow:hidden;

}

.project-image img{

    width:100%;

    height:230px;

    object-fit:cover;

    transition:.5s;

}

.project-card:hover img{

    transform:scale(1.08);

}

.project-content{

    padding:28px;

}

.project-content h4{

    margin-bottom:15px;

}

.project-content p{

    color:#bfc7d9;

    line-height:30px;

}

.tech{

    margin:25px 0;

}

.tech span{

    display:inline-block;

    padding:8px 16px;

    background:rgba(227,6,19,.12);

    border-radius:30px;

    color:#fff;

    margin:5px;

    font-size:14px;

}

.project-btn{

    display:flex;

    gap:12px;

}
/*=========================
Achievements
==========================*/

.achievements{

    padding:120px 0;

}

.achievement-card{

    position:relative;

    text-align:center;

    padding:45px 30px;

    border-radius:25px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.08);

    overflow:hidden;

    transition:.4s;

}

.achievement-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

    box-shadow:0 20px 60px rgba(227,6,19,.20);

}

.achievement-icon{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(135deg,#e30613,#ff4b5c);

    margin-bottom:25px;

}

.achievement-icon i{

    font-size:38px;

    color:#fff;

}

.achievement-card h4{

    font-size:28px;

    margin-bottom:10px;

}

.achievement-card h6{

    color:var(--primary);

    margin-bottom:18px;

}

.achievement-card p{

    color:#bfc7d9;

    line-height:30px;

}
/*=========================
Gallery
==========================*/

.gallery{

    padding:120px 0;

}

.gallery-item{

    position:relative;

    overflow:hidden;

    border-radius:20px;

    cursor:pointer;

}

.gallery-item img{

    width:100%;

    height:300px;

    object-fit:cover;

    transition:.5s;

}

.gallery-overlay{

    position:absolute;

    inset:0;

    background:rgba(227,6,19,.75);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    transition:.4s;

}

.gallery-overlay i{

    color:#fff;

    font-size:42px;

}

.gallery-item:hover img{

    transform:scale(1.12);

}

.gallery-item:hover .gallery-overlay{

    opacity:1;

}
/*=========================
Testimonials
==========================*/

.testimonials{

padding:120px 0;

}

.testimonial-card{

background:rgba(255,255,255,.05);

backdrop-filter:blur(20px);

padding:35px;

border-radius:25px;

text-align:center;

border:1px solid rgba(255,255,255,.08);

transition:.4s;

}

.testimonial-card:hover{

transform:translateY(-10px);

border-color:var(--primary);

}

.testimonial-card img{

width:90px;

height:90px;

border-radius:50%;

object-fit:cover;

margin-bottom:20px;

border:3px solid var(--primary);

}

.testimonial-card p{

margin-top:20px;

color:#cbd5e1;

line-height:30px;

}

/*=========================
Contact
==========================*/

.contact{

padding:120px 0;

}

.contact-info{

padding:40px;

background:rgba(255,255,255,.05);

border-radius:25px;

backdrop-filter:blur(20px);

}

.contact-info h2{

margin-bottom:20px;

}

.contact-item{

margin-top:20px;

display:flex;

align-items:center;

}

.contact-item i{

width:50px;

height:50px;

background:var(--primary);

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

margin-right:15px;

}

.social{

margin-top:35px;

}

.social a{

display:inline-flex;

justify-content:center;

align-items:center;

width:48px;

height:48px;

border-radius:50%;

background:rgba(255,255,255,.08);

color:#fff;

margin-right:10px;

transition:.35s;

text-decoration:none;

}

.social a:hover{

background:var(--primary);

transform:translateY(-6px);

}

.contact-form{

padding:40px;

background:rgba(255,255,255,.05);

border-radius:25px;

backdrop-filter:blur(20px);

}

.form-control{

background:#0f172a;

border:none;

color:#fff;

padding:15px;

}

.form-control:focus{

background:#0f172a;

color:#fff;

box-shadow:none;

border:1px solid var(--primary);

}

textarea{

resize:none;

}
/*=========================
Footer
==========================*/

footer{

padding:40px 0;

background:#040814;

border-top:1px solid rgba(255,255,255,.08);

}

footer h3{

font-weight:700;

color:#fff;

}

footer p{

color:#aeb7c8;

margin-top:10px;

}


/*=========================
Back To Top
==========================*/

#topBtn{

position:fixed;

bottom:35px;

right:35px;

width:55px;

height:55px;

border:none;

border-radius:50%;

background:#e30613;

color:#fff;

display:none;

z-index:999;

font-size:20px;

cursor:pointer;

transition:.35s;

}

#topBtn:hover{

transform:translateY(-8px);

}


/*=========================
Loader
==========================*/

#loader{

position:fixed;

inset:0;

background:#050816;

display:flex;

justify-content:center;

align-items:center;

z-index:99999;

transition:.6s;

}

.loader-circle{

width:70px;

height:70px;

border:6px solid rgba(255,255,255,.15);

border-top:6px solid #e30613;

border-radius:50%;

animation:spin 1s linear infinite;

}

@keyframes spin{

100%{

transform:rotate(360deg);

}
}