*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}
:root{
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: white;
    --main-color: #f79aaf;    
}

html{
    font-size: 60%;
    overflow-x: hidden;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
}
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 4rem 12% 4rem;
    background: black(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}
.logo{
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}
.logo:hover{
    transform: scale(1.1);
}
.logo span{
    text-shadow: 0 0 25px var(--main-color);
}
.navbar a{
    font-size: 1.8rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3 ease;
    border-bottom: 3px solid transparent;
}
.navbar a:hover,
.navbar a.active{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
#menu-icon{
    font-size: 3.6rem;
    color: var(--main-color);
    display: none;
}

section{
    min-height: 100vh;
    padding: 10rem 12% 10rem;
}

/*Home Section*/
.home{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}
.home-content{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    text-align: left;
    justify-content: center;
    margin-top: 3rem;
}
span{
    color: var(--main-color);
}
.logo span{
    color: var(--main-color);
}
.home-content h3{
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-size: 3.5rem;
}
.home-content h1{
    font-size: 7rem;
    font-weight: 700;
    margin-top: 1.5rem;
    line-height: 1.2;
    display: inline-block; 
}
.home-img img{
    position: relative;
    top: 3rem;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}
.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
}
.home-content p{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}
.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--main-color);
    font-size: 2.5rem;
    border-radius: 50%;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease-in-out;
}
.social-icons a:hover{
    color: var(--text-color);
    transform: scale(1.3)translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
}
.btn{
    display: inline-block;
    padding: 1rem 2.3rem;
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color);
    border-radius: 4rem;
    font-size: 1.6rem;
    color: black;
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: 0.3 ease-in-out;
    cursor: pointer;
}
.btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
}
.btn-group{
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.btn-group a:nth-of-type(2){
    background-color: black;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}
.btn-group a:nth-of-type(2):hover{
   box-shadow: 0 0 25px var(--main-color); 
   background-color: var(--main-color);
   color: black;
}
.text-animation {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid var(--text-color); 
  animation: typing 5s steps(33) infinite,
             cursor .6s step-end infinite alternate;
}

@keyframes cursor {
  50% { border-color: transparent; }
}

@keyframes typing {
  0%   { width: 0; }
  80%  { width: 100%; } 
  100% { width: 0; }    
}

/*Education & Experience Section*/
.timeline{
    background: var(--second-bg-color) center no-repeat;
    background-size: cover;
}
.timeline-wrapper{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 5rem;
    padding: 2rem 8%;
}
.timeline-col {
    flex: 1;
}
.timeline-row{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.heading{
    font-size: 2.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.heading i{
    font-size: 4rem;   
}
.content-box{
   display: flex; 
   flex-direction: column;
   gap: 0.5rem;
   padding: 2rem;
   margin: 0 1.5rem;
   background-color: rgba(247, 154, 175, 0.1);
   backdrop-filter: blur(20px);
   border: 3px solid rgba(247, 154, 175, 0.5); 
   border-radius: 1rem; 
   font-size: 14px;
   transition: 0.4s ease;
   cursor: pointer;
   position: relative;
}
.content-box:hover{
    box-shadow: var(--main-color);
    border: 5px solid var(--main-color);
}
.timeline-box{
    display: flex;
    flex-direction: column;
    gap: 3rem;
    border-left: 5px solid var(--main-color);
    padding-left: 2rem;
}
.content-box h3{
    font-size: 2rem;
}
.date{
    font-size: 1.7rem;
    color: var(--main-color);
    font-weight: 700;
    margin-bottom: 0.8rem;  
}
.content-box::before{
    position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    background-color: var(--main-color);
    border-radius: 50%;   
    left: -48px;        
    top: 56px;
}

/*Skills & Interest Section*/
.skills{
    background: var(--bg-color); 
}
.skill-main{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-row-gap: 30px;
    grid-column-gap: 50px;
}
.skill-bar{
    margin-bottom: 2.3rem;
}
.skill-main h3{
    margin-top: 4rem;
    margin-bottom: 4rem;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
}
.skill-left .skill-bar .info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px ;
}
.skill-left .skill-bar .bar{
    width: 100%;
    height: 10px;
    background-color: var(--second-bg-color);
    border-radius: 25px;
    margin-top: 10px;
    position: relative;
}
.skill-bar .bar span{
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    background: var(--main-color);
    border-radius: 25px;
    box-shadow: palevioletred;
}
.skill-bar .bar .html{
    width: 85%;
    animation: html 2s;
}
.skill-bar .bar .css{
    width: 70%;
    animation: css 3s;
}
.skill-bar .bar .python{
    width: 78%;
    animation: python 4s;
}
.skill-bar .bar .mysql{
    width: 90%;
    animation: mysql 5s;
}
.skill-bar .bar .excel{
    width: 95%;
    animation: html 6s;
}
@keyframes html{
    0%{
        width: 0%;
    }
    100%{
        width: 85%;
    }
}
@keyframes css{
    0%{
        width: 0%;
    }
    100%{
        width: 70%;
    }
}
@keyframes python{
    0%{
        width: 0%;
    }
    100%{
        width: 78%;
    }
}
@keyframes mysql{
    0%{
        width: 0%;
    }
    100%{
        width: 90%;
    }
}
@keyframes excel{
    0%{
        width: 0%;
    }
    100%{
        width: 95%;
    }
}
.interest{
    display: grid;
    grid-template-columns: 1fr 1fr;    
}
.box {
    display: flex;
    flex-direction: column;
    align-items: center; 
}
.box .text{
    text-align: center;
    color: var(--text-color);
    font-size: 1rem;
}
.box .text small{
    display: block; 
    font-weight: 600;
    font-size: 1.3rem;
    margin-top: 10px;
    margin-bottom: 10px;
}

.circle {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto; 
}

.circle .center-text {
    position: absolute;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color, #333);
}

.circle .points {
    position: absolute;
    width: 4px;
    height: 10px;
    background-color: rgba(247, 154, 175, 0.3);
    border-radius: 3px;
    transform: rotate(calc(var(--i) * var(--rot))) translateY(-55px);
}

.circle .points.active {
    background-color: var(--main-color, #f79aaf);
    box-shadow: 0 0 6px var(--main-color, #f79aaf);
}

@keyframes glow{
    0%{
        background: var(--main-color);
        box-shadow: none;
    }
    100%{
        background: var(--main-color);
        box-shadow: var(--main-color);
    }
}

.footer {
    background: var(--second-bg-color);
    color: var(--text-color);
    text-align: center;
    padding: 2rem;
    font-size: 1.6rem;
    font-style: italic;
    border-top: 2px solid var(--main-color);
    margin-top: 0;
}

.footer p {
    margin: 0;
    color: var(--main-color);
    font-weight: 500;
}

/* Projects Section */
.projects {
    background: var(--second-bg-color);
    padding: 8rem 12%;
}

.projects .heading {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5rem;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.project-box {
    background: rgba(247, 154, 175, 0.1);
    border: 2px solid var(--main-color);
    border-radius: 1.5rem;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 2px solid var(--main-color);
}

.project-content {
    padding: 2rem;
    flex-grow: 1;
}

.project-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--main-color);
}

.project-box p {
    font-size: 1.4rem;
    line-height: 1.6;
}

.project-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color);
    background: var(--main-color);
    color: black;
}

.project-box:hover img {
    opacity: 0.9;
}
