/* ===================================
   SANHTIYA PORTFOLIO - PROFESSIONAL CSS
=================================== */


/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}


body{

    background:#f4f7fa;
    color:#2c3e50;
    overflow-x:hidden;

}


/* ===================================
   HEADER NAVIGATION
=================================== */


header{

    position:fixed;
    top:0;
    left:0;
    width:100%;

    background:#0f172a;

    padding:18px 8%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    z-index:1000;

    box-shadow:0 5px 20px rgba(0,0,0,0.2);

}


.logo{

    color:white;

    font-size:32px;

    font-weight:700;

    letter-spacing:2px;

}


nav ul{

    display:flex;

    list-style:none;

}


nav ul li{

    margin-left:30px;

}


nav ul li a{

    color:white;

    text-decoration:none;

    font-size:16px;

    font-weight:500;

    position:relative;

    transition:0.3s;

}



nav ul li a::after{

    content:"";

    position:absolute;

    width:0;

    height:3px;

    background:#14b8a6;

    left:0;

    bottom:-8px;

    transition:.4s;

}


nav ul li a:hover{

    color:#14b8a6;

}


nav ul li a:hover::after{

    width:100%;

}



/* ===================================
   HERO SECTION
=================================== */


.hero{

    min-height:100vh;

    padding:130px 8%;

    display:flex;

    justify-content:space-between;

    align-items:center;


    background:

    linear-gradient(

    135deg,

    #0f172a,

    #1e3a8a

    );


    color:white;

}



.hero-text{

    width:55%;

}


.hero-text h3{

    font-size:30px;

    color:#7dd3fc;

}



.hero-text h1{

    font-size:75px;

    margin:10px 0;

    font-weight:700;

}



.hero-text h2{

    font-size:28px;

    color:#5eead4;

    margin-bottom:20px;

}



.hero-text p{

    font-size:18px;

    line-height:32px;

    margin-bottom:35px;

}



.btn{


    display:inline-block;

    padding:15px 35px;

    background:#14b8a6;

    color:white;

    text-decoration:none;

    border-radius:40px;

    font-weight:600;

    transition:.4s;

    box-shadow:0 10px 25px rgba(20,184,166,.4);

}



.btn:hover{

    background:#0f766e;

    transform:translateY(-5px);

}




.hero-image img{


    width:350px;

    height:350px;

    object-fit:cover;

    border-radius:50%;

    border:8px solid white;

    box-shadow:

    0 20px 50px rgba(0,0,0,.3);

    transition:.5s;


}



.hero-image img:hover{

    transform:scale(1.08);

}




/* ===================================
   COMMON SECTION
=================================== */


section{

    padding:90px 8%;

}



.heading{

    text-align:center;

    font-size:42px;

    color:#1e3a8a;

    margin-bottom:50px;

}



.heading::after{

    content:"";

    display:block;

    width:80px;

    height:4px;

    background:#14b8a6;

    margin:15px auto;

    border-radius:20px;

}



/* ===================================
   ABOUT
=================================== */


.about-container{


    display:flex;

    gap:50px;

    align-items:center;

    background:white;

    padding:40px;

    border-radius:20px;


    box-shadow:

    0 10px 30px rgba(0,0,0,.08);

}



.about-image img{


    width:280px;

    border-radius:20px;

}



.about-content h3{

    font-size:32px;

    color:#1e3a8a;

    margin-bottom:20px;

}



.about-content p{


    font-size:17px;

    line-height:32px;

    margin-bottom:15px;


}



/* ===================================
   EDUCATION
=================================== */


.timeline{

    max-width:800px;

    margin:auto;

}



.timeline-box{


    background:white;

    padding:30px;

    margin:25px 0;

    border-left:6px solid #14b8a6;

    border-radius:15px;


    box-shadow:

    0 8px 20px rgba(0,0,0,.1);


    transition:.4s;

}



.timeline-box:hover{

    transform:translateX(10px);

}



.timeline-box h3{

    color:#1e3a8a;

    font-size:25px;

}


.timeline-box span{

    color:#14b8a6;

    font-weight:bold;

}



/* ===================================
   SKILLS
=================================== */


.skill-container{


    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:20px;


}



.skill-card{


    background:#1e3a8a;

    color:white;

    padding:18px 35px;

    border-radius:30px;

    font-size:18px;

    transition:.4s;


}



.skill-card:hover{


    background:#14b8a6;

    transform:translateY(-8px);


}



/* ===================================
   INTERESTS
=================================== */


.interest-container{


    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(250px,1fr));


    gap:25px;


}



.interest-box{


    background:white;

    text-align:center;

    padding:35px;

    border-radius:20px;


    box-shadow:

    0 10px 25px rgba(0,0,0,.1);


    transition:.4s;


}



.interest-box:hover{


    transform:translateY(-10px);


}



.interest-box i{


    font-size:50px;

    color:#14b8a6;

    margin-bottom:20px;


}



.interest-box h3{


    color:#1e3a8a;

    margin-bottom:15px;


}



/* ===================================
   PROJECTS
=================================== */


.project-container{


    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(280px,1fr));


    gap:30px;


}



.project-card{


    background:white;

    border-radius:20px;

    padding:25px;


    box-shadow:

    0 10px 25px rgba(0,0,0,.1);


    transition:.4s;


}



.project-card:hover{

    transform:scale(1.05);

}



.project-card img{


    width:100%;

    height:200px;

    object-fit:cover;

    border-radius:15px;


}



.project-card h3{


    color:#1e3a8a;

    margin:20px 0;


}




/* ===================================
   CONTACT
=================================== */


.contact-container{


    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;


}



.contact-box{


    background:white;

    padding:30px;

    width:280px;

    text-align:center;

    border-radius:20px;


    box-shadow:

    0 10px 25px rgba(0,0,0,.1);


}



.contact-box i{


    font-size:40px;

    color:#14b8a6;

    margin-bottom:15px;


}



.contact-box h3{

    color:#1e3a8a;

}



/* ===================================
   FOOTER
=================================== */


footer{


    background:#0f172a;

    color:white;

    text-align:center;

    padding:30px;


}



footer h3{

    font-size:30px;

}



.social a{


    color:white;

    font-size:25px;

    margin:10px;

    transition:.3s;


}



.social a:hover{

    color:#14b8a6;

}



/* ===================================
   RESPONSIVE DESIGN
=================================== */


@media(max-width:900px){


header{

    padding:20px;

}


nav ul{

    display:none;

}


.hero{


    flex-direction:column;

    text-align:center;


}


.hero-text{

    width:100%;

}


.hero-text h1{

    font-size:50px;

}


.hero-image img{


    width:250px;

    height:250px;

    margin-top:40px;


}



.about-container{


    flex-direction:column;

    text-align:center;


}



}