
@import url('https://fonts.googleapis.com/css2?family=Bona+Nova+SC:ital,wght@0,400;0,700;1,400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}


html{
    font-size: 62.5%;
}


body{
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    background-color: black;
    color: white;
}


header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 9%;
    background-color: transparent;
    filter: drop-shadow(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}


.logo{
    font-size: 3rem;
    color: #b74b4b;
    font-weight: 900;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover{
    transform: scale(1.4);
}

nav a{
    font-size: 1.8rem;
    color: #b74b4b;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}


nav a:hover,
nav a.active{
    color: #d48484;
    border-bottom: 1px solid #b74b4b; 
}

@media(max-width:995px){
    nav{
        position: absolute;
        display: none;
        top: 0;
        right: 0;
        width: 40%;
        border-left: 3px solid #b74b4b;
        border-bottom: 3px solid #b74b4b;
        border-bottom-left-radius: 2rem;
        padding: 1rem solid;
        background-color: #161616;
        border-top: 0.1rem solid rgba(0,0,0,0.1);
    }

    nav.active{
        display: block;
    }

    nav a{
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover,
    nav a.active{
        padding: 1rem;
        border-radius: 0.5rem;
        border-bottom: 0.5rem solid #ffffff;
    }
}

section{
    min-height: 80vh;
    padding: 5rem 9% 5rem;
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: rgb(0, 0, 0);
    height: 500px;
}

.home .home-content h1{
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    color: #b74b4b;
    cursor: pointer;
}

span:hover{
  color: #f27171;
}


.home-content h3{
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-content p{
    font-size: 1.6rem;
}


.home-img{
    border-radius: 50%;
}


.home-img img{
    position: relative;
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 25px solid #b74b4b;
    cursor: pointer;
    transition: 0.2s linear;
}


.home-img img:hover{
    font-size: 1.8rem;
    font-weight: 500;
}


.social-icon a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem solid #b74b4b;
    font-size: 2rem;
    border-radius: 50%;
    margin: 3rem 1.5rem 3rem 0;
    transition: 0.3s ease;
    color: #b74b4b;
}

.social-icon a:hover{
    color: rgb(13, 12, 12);
    transform: scale(1.3) translateY(-5px);
    background-color: #b74b4b;
    box-shadow: 0 0 25px #b74b4b;
}

.btn{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: black;
    border-radius: 4rem;
    font-size: 1.6rem;
    color: #b74b4b;
    letter-spacing: 0.3rem;
    font-weight: 600;
    border: 2px solid #b74b4b;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn:hover{
    transform: scale3d(1.03);
    background-color: #b74b4b;
    color: black;
    box-shadow: 0 0 25px #b74b4b;
}

.typing-text{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}


.typing-text span{
    position: relative;
}



@media (max-width: 1000px) {
    .home{
        gap: 4rem;
    }
}


@media (max-width: 995px) {
    .home{
        flex-direction: column;
        margin: 5rem 4rem;
    }

    .home .home-content h3{
        font-size: 2.5rem;
    }

    .home-content h1{
        font-size: 5rem;
    }

    .home-img img{
        width: 70vh;
        margin-top: 4rem;
    }

}


/* Service Section */

  section#services {
    padding: 50px 0;
    background: #000000;
  }
  
  .heading3 {
    margin-bottom: 40px;
    font-size: 30px;
    margin-right: 60px;
    cursor: pointer;
    color: #b74b4b;
    transition: 0.5s ease;    
  }
  
  
  .heading3:hover{
    transform: scale(1.2);
  }

  .container {
    width: 80%;
    margin: 0 auto;
  }
  
  .services-list {
    display: flex;
    background-color: #030303;
    margin-top: 60px;
    justify-content: space-between;
    flex-wrap: wrap;
  }


  .service-h2 {
    cursor: pointer;
    color: rgb(255, 255, 255);
    transition: 0.3s ease-in-out;
  }

  .service-h2:hover{
    transform: scale(1.2);
    color: rgb(115, 115, 115);
  }
  
  .service-item p {
    font-size: 1rem;
    color: #494545;
  }


/* Education Section */
  #education {
    padding: 50px 20px;
    background-color: #000000;
  }
  
  .container {
    width: 80%;
    height: 300px;
    margin: 0 auto;
    text-align: center;
  }
  
  .heading2 {
    margin-bottom: 40px;
    font-size: 30px;
    margin-right: 60px;
    cursor: pointer;
    color: #b74b4b;
    transition: 0.5s ease;    
  }
  
  
  .heading2:hover{
    transform: scale(1.1);
  }


  /* Programs List */
  .programs-list {
    display: flex;
    margin-top: 100px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
  }
  
  .program-item {
    background-color: #eee6e6;
    width: 23%;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 0 25px #e96161;
  }
  
  .program-item:hover {
    transform: translateY(-10px);
  }
  
  .program-item h2 {
    font-size: 1.8rem;
    color: #090606;
    margin-bottom: 15px;
  }
  
  .program-item p {
    font-size: 1rem;
    color: #525252;
  }
  

/* Skills Section */
  #skills {
    padding: 50px 20px;
    background-color: #000000;
  }
  
  .container {
    width: 80%;
    margin: 0 auto;
    text-align: center;
  }
  
  .heading1{
    margin-bottom: 40px;
    font-size: 30px;
    margin-right: 60px;
    cursor: pointer;
    color: #b74b4b;
    transition: 0.3s ease;
  }

  .heading1:hover{
    transform: scale(1.4);
  }

  
  /* Skills List */
  .skills-list {
    background-color: #000000;
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
  }
  
  .skill-item {
    background-color: #fff;
    box-shadow: 0 0 25px #8af585;
    width: 23%;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .skill-item:hover {
    transform: translateY(-10px);
  }
  
  .skill-item h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
  }
  
  /* Progress Bar */
  .progress-bar {
    background-color: #f0f0f0;
    border-radius: 5px;
    height: 10px;
    width: 100%;
    margin-top: 10px;
  }
  
  .progress {
    background-color: #4caf50;
    height: 100%;
    border-radius: 5px;
    width: 0;
    transition: width 0.5s ease-in-out;
  }
  