/* ===========================

   GOOGLE FONT & RESET

=========================== */



@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');



*{

    margin:0;

    padding:0;

    box-sizing:border-box;

    scroll-behavior:smooth;

    font-family:'Poppins',sans-serif;

}



:root{



    --primary:#2563eb;

    --secondary:#0ea5e9;

    --dark:#0f172a;

    --light:#ffffff;

    --text:#1e293b;

    --bg:#f4f7fb;

    --card:rgba(255,255,255,.75);

    --shadow:0 10px 30px rgba(0,0,0,.12);



}



body{



    background:var(--bg);

    color:var(--text);

    overflow-x:hidden;



}



body.dark{



    --bg:#07111f;

    --light:#0f172a;

    --text:#ffffff;

    --card:rgba(20,28,45,.85);

    background:#07111f;

    color:white;



}



/* Scrollbar */



::-webkit-scrollbar{



    width:10px;



}



::-webkit-scrollbar-thumb{



    background:linear-gradient(var(--primary),var(--secondary));

    border-radius:20px;



}



/* ===========================

HEADER

=========================== */



header{



    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;



    display:flex;

    justify-content:space-between;

    align-items:center;



    padding:18px 8%;



    backdrop-filter:blur(20px);



    background:rgba(255,255,255,.75);



    box-shadow:0 5px 20px rgba(0,0,0,.08);



}



body.dark header{



background:#081321dd;



}



.logo{



font-size:30px;



font-weight:700;



color:var(--primary);



}



.logo i{



margin-right:10px;



}



/* Navigation */



nav{



display:flex;



gap:30px;



}



nav a{



text-decoration:none;



font-size:16px;



font-weight:600;



color:var(--text);



transition:.3s;



position:relative;



}



nav a:hover{



color:var(--primary);



}



nav a::after{



content:"";



position:absolute;



bottom:-5px;



left:0;



width:0;



height:3px;



background:var(--primary);



transition:.4s;



}



nav a:hover::after{



width:100%;



}



/* Theme Button */



#theme-btn{



width:45px;



height:45px;



border:none;



border-radius:50%;



cursor:pointer;



background:linear-gradient(45deg,#2563eb,#0ea5e9);



color:white;



font-size:18px;



transition:.4s;



}



#theme-btn:hover{



transform:rotate(180deg);



}



/* ===========================

HERO SECTION

=========================== */



.hero{



min-height:100vh;



padding:140px 8% 80px;



display:flex;



justify-content:space-between;



align-items:center;



gap:80px;



background:



linear-gradient(120deg,#2563eb,#0ea5e9,#0f172a);



color:white;



}



.hero-left{



flex:1;



animation:slideLeft 1s;



}



.hero-left h3{



font-size:24px;



font-weight:400;



}



.hero-left h1{



font-size:60px;



margin:15px 0;



font-weight:700;



}



.hero-left h2{



font-size:35px;



color:#ffe600;



margin-bottom:20px;



min-height:45px;



}



.hero-left p{



font-size:18px;



line-height:1.8;



margin-bottom:30px;



max-width:650px;



}



/* Buttons */



.hero-buttons{



display:flex;



gap:20px;



flex-wrap:wrap;



}



.btn{



padding:15px 28px;



text-decoration:none;



font-weight:600;



border-radius:40px;



display:inline-flex;



align-items:center;



gap:10px;



transition:.35s;



background:white;



color:#2563eb;



box-shadow:var(--shadow);



}



.btn:hover{



transform:translateY(-6px);



}



.green{



background:#25D366;



color:white;



}



/* Hero Image */



.hero-right{



flex:1;



display:flex;



justify-content:center;



animation:slideRight 1s;



}



.hero-right img{



width:360px;



height:360px;



border-radius:50%;



object-fit:cover;



border:8px solid rgba(255,255,255,.4);



box-shadow:



0 25px 60px rgba(0,0,0,.3);



transition:.5s;



}



.hero-right img:hover{



transform:scale(1.05);



}



/* ===========================

COMMON SECTION

=========================== */



section{



padding:90px 8%;



}



.heading{



font-size:42px;



text-align:center;



margin-bottom:60px;



color:var(--primary);



font-weight:700;



}



/* ===========================

ABOUT

=========================== */



.about{



display:grid;



grid-template-columns:repeat(auto-fit,minmax(320px,1fr));



gap:30px;



}



.card{



background:var(--card);



backdrop-filter:blur(15px);



padding:35px;



border-radius:20px;



box-shadow:var(--shadow);



transition:.4s;



}



.card:hover{



transform:translateY(-10px);



}



.card h3{



font-size:24px;



margin-bottom:20px;



color:var(--primary);



}



.card p{



line-height:1.9;



}



.card ul{



padding-left:20px;



line-height:2;



}



/* ===========================

COUNTER

=========================== */



.counter-section{



display:grid;



grid-template-columns:repeat(auto-fit,minmax(200px,1fr));



gap:25px;



background:#0f172a;



padding:70px 8%;



}



.counter-box{



background:rgba(255,255,255,.08);



padding:35px;



text-align:center;



border-radius:18px;



backdrop-filter:blur(15px);



transition:.3s;



color:white;



}



.counter-box:hover{



transform:translateY(-10px);



background:rgba(255,255,255,.15);



}



.counter-box h1{



font-size:50px;



margin-bottom:10px;



color:#38bdf8;



}



.counter-box p{



font-size:18px;



}



/* ===========================

ANIMATIONS

=========================== */



@keyframes slideLeft{



from{



opacity:0;



transform:translateX(-80px);



}



to{



opacity:1;



transform:translateX(0);



}



}



@keyframes slideRight{



from{



opacity:0;



transform:translateX(80px);



}



to{



opacity:1;



transform:translateX(0);



}



}



@keyframes fadeUp{



from{



opacity:0;



transform:translateY(50px);



}



to{



opacity:1;



transform:translateY(0);



}



}



/* Apply fade animation */



.card,

.counter-box{



animation:fadeUp .8s ease;



}
/* ======================================================

   EXPERIENCE TIMELINE

====================================================== */



.timeline{

    position:relative;

    max-width:1100px;

    margin:auto;

    padding:20px 0;

}



.timeline::before{

    content:'';

    position:absolute;

    left:50%;

    transform:translateX(-50%);

    width:4px;

    height:100%;

    background:linear-gradient(#2563eb,#38bdf8);

}



.timeline-item{

    position:relative;

    width:50%;

    padding:25px 40px;

    margin-bottom:50px;

}



.timeline-item:nth-child(odd){

    left:0;

    text-align:right;

}



.timeline-item:nth-child(even){

    left:50%;

}



.timeline-item::before{

    content:'';

    position:absolute;

    width:20px;

    height:20px;

    background:#2563eb;

    border-radius:50%;

    top:30px;

    border:4px solid white;

    box-shadow:0 0 15px rgba(37,99,235,.5);

}



.timeline-item:nth-child(odd)::before{

    right:-12px;

}



.timeline-item:nth-child(even)::before{

    left:-12px;

}



.timeline-item h3{

    color:#2563eb;

    margin-bottom:10px;

    font-size:24px;

}



.timeline-item span{

    display:inline-block;

    margin-bottom:15px;

    background:#2563eb;

    color:white;

    padding:6px 15px;

    border-radius:30px;

    font-size:14px;

}



.timeline-item p{

    background:var(--card);

    padding:25px;

    border-radius:15px;

    line-height:1.8;

    box-shadow:var(--shadow);

}



/* ======================================================

   SKILLS

====================================================== */



.skills{

    max-width:900px;

    margin:auto;

}



.skill{

    margin-bottom:30px;

}



.skill p{

    font-weight:600;

    margin-bottom:10px;

    font-size:18px;

}



.progress{

    width:100%;

    height:25px;

    background:#dbeafe;

    border-radius:50px;

    overflow:hidden;

}



.progress div{

    height:100%;

    background:linear-gradient(90deg,#2563eb,#38bdf8);

    color:white;

    text-align:right;

    padding-right:15px;

    line-height:25px;

    font-size:14px;

    font-weight:bold;

    border-radius:50px;

    animation:growBar 2s ease;

}



@keyframes growBar{

    from{

        width:0;

    }

}



/* ======================================================

   PROJECTS

====================================================== */



.project-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}



.project{

    background:var(--card);

    padding:30px;

    border-radius:20px;

    box-shadow:var(--shadow);

    transition:.4s;

    position:relative;

    overflow:hidden;

}



.project::before{

    content:'';

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:5px;

    background:linear-gradient(90deg,#2563eb,#38bdf8);

    transition:.5s;

}



.project:hover::before{

    left:0;

}



.project:hover{

    transform:translateY(-12px);

}



.project h3{

    color:#2563eb;

    margin-bottom:15px;

}



.project p{

    line-height:1.8;

    margin-bottom:25px;

}



.project .btn{

    display:inline-block;

}



/* ======================================================

   CERTIFICATIONS

====================================================== */



.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));

    gap:25px;

}



.cards .card{

    text-align:center;

    font-size:22px;

    font-weight:600;

    padding:40px 20px;

    border-left:5px solid #2563eb;

}



.cards .card:hover{

    background:#2563eb;

    color:white;

}



.cards .card:hover h3{

    color:white;

}



/* ======================================================

   BLOGS

====================================================== */



#blogs .project{

    border-top:5px solid #38bdf8;

}



#blogs .project h3{

    margin-bottom:20px;

}



#blogs .btn{

    background:#2563eb;

    color:white;

}



#blogs .btn:hover{

    background:#1d4ed8;

}



/* ======================================================

   CONTACT

====================================================== */



.social{

    display:flex;

    justify-content:center;

    gap:25px;

    flex-wrap:wrap;

}



.social a{

    width:70px;

    height:70px;

    border-radius:50%;

    background:#2563eb;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    font-size:28px;

    transition:.4s;

    box-shadow:var(--shadow);

}



.social a:hover{

    transform:translateY(-10px) rotate(10deg);

    background:#38bdf8;

}



/* ======================================================

   FOOTER

====================================================== */



footer{

    background:#0f172a;

    color:white;

    text-align:center;

    padding:35px;

    margin-top:70px;

}



footer p{

    line-height:1.8;

    font-size:15px;

}



/* ======================================================

   MOBILE RESPONSIVE

====================================================== */



@media(max-width:991px){



header{

    padding:18px 5%;

    flex-wrap:wrap;

}



nav{

    gap:15px;

    flex-wrap:wrap;

    justify-content:center;

    margin-top:15px;

}



.hero{

    flex-direction:column-reverse;

    text-align:center;

    padding-top:160px;

}



.hero-left h1{

    font-size:42px;

}



.hero-left h2{

    font-size:28px;

}



.hero-right img{

    width:260px;

    height:260px;

}



.timeline::before{

    left:20px;

}



.timeline-item{

    width:100%;

    left:0 !important;

    padding-left:60px;

    text-align:left !important;

}



.timeline-item::before{

    left:10px !important;

}



.hero-buttons{

    justify-content:center;

}



}



@media(max-width:600px){



.heading{

    font-size:32px;

}



.hero-left h1{

    font-size:34px;

}



.hero-left h2{

    font-size:22px;

}



.hero-left p{

    font-size:15px;

}



.btn{

    width:100%;

    justify-content:center;

}



.social a{

    width:55px;

    height:55px;

    font-size:22px;

}



.counter-box h1{

    font-size:36px;

}



}

/* ==============================

   BLOG PAGE

============================== */





.blog-page{



padding-top:140px;



}





.blog-container{



max-width:900px;



margin:auto;



background:var(--card);



padding:50px;



border-radius:25px;



box-shadow:var(--shadow);



}





.blog-container h1{



font-size:42px;



color:#2563eb;



margin-bottom:15px;



}





.blog-date{



color:#64748b;



margin-bottom:30px;



}





.blog-image{



width:100%;



height:350px;



object-fit:cover;



border-radius:20px;



margin-bottom:40px;



}





.blog-container h2{



margin-top:40px;



margin-bottom:15px;



color:#2563eb;



}





.blog-container p{



font-size:17px;



line-height:1.9;



}





.blog-container ul{



padding-left:30px;



line-height:2;



}







.code-box{



background:#020617;



color:#38bdf8;



padding:20px;



border-radius:15px;



margin:20px 0;



overflow-x:auto;



}





.code-box pre{



font-size:16px;



}







@media(max-width:600px){



.blog-container{



padding:25px;



}



.blog-container h1{



font-size:30px;



}





.blog-image{



height:220px;



}



}
