@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&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:white(0, 0, 0, 0.112);
    color: black;
}

header{
    margin-top:20px;
    position:fixed;
    top:0;
    width:100%;
    left:0 ;
    padding:1rem 9%;
    background-color:transparent;
    display: flex;
    justify-content: space-between;
    align-items:center;
    z-index:100;
}

.logo{
    font-size: 4rem;
    color:#b74b4b;
    font-weight:900;
    cursor:pointer;
    transition: 0.5s ease;
    top:0;
    left:0;
    /* position:absolute; */
     /* margin:20px;  */ 
}

.logo:hover{
    transform:scale(1.1);
}

nav a{
    font-size: 1.8rem;
    color: black;
    margin-left: 4rem;
    font-weight:500;
    transition: 0.3s ease;
    border-bottom:3px solid transparent;
}

nav a:hover,
nav a.active{
    color:black;
    border-bottom : 3px solid black;
}

@media (max-width: 995px) {
    nav {
        position:absolute;
        top:100%;
        right:0;
        width:40%;
        border-left:3px solid black;
        border-bottom: 3px solid black;
        border-bottom-left-radius: 2rem;
        padding:1rem;
        background-color: rgb(163,163,163);
        border-top: 0.1rem solid rgba(0,0,0,0.1);
    }

    nav a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    nav a:hover, a.active {
        padding:1rem;
        border-radius:0.5rem;
        border-bottom: 0.5rem solid black;
    }
}

section{
    min-height:100vh;
    padding: 5rem 9%;
    font-size:2rem;
    scroll-margin-top: 120px;

      

}

.home{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:4rem;
    background-color:whitesmoke;
   
}

.home.home-content{
    flex-direction:column ;
}


.home.home-content h1{
    font-size:5rem;
    font-weight: 700;
    line-height: 1.3;

}

span{
    color:black;
    position: relative;
}

.home.home-content h3{
    font-size:4rem;
    margin: left 20px;
    font-weight:700;
    flex-direction: column;
    flex:1;
    align-items:center;
    
}


.home-img{
    border-radius: 50%;
}

.home-img img {
    position: relative;
    top:50px;
    width: 15vw;
    height: 15vw;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: 0.2s ease-in-out;
    border-top:25px ;
}

.home-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.5);
}



section.home {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Space between content and icons */
    align-items: center;
    min-height: 100vh;
}

.home-content {
    text-align: center;  /* Center text content */
}

.home-img {
    border-radius: 50%;
    margin-bottom: 1rem; /* Adjust image space from content */
}

.homehome-content h3 span{
    color: black;
    margin-top:90px;
}

.home-content p
{
    font-size: 20px;
    line-height: 27px;
    margin: 20px 0px 40px 0px;
}
.btn{
    display:inline-block; 
    flex-direction: column;
    padding: 1rem 2.8rem;
    background-color:black ;
    border-radius: 4rem;
    font-size:1.6rem;
    color: #b74b4b;
    letter-spacing: 0.3;
     
}

.btn:hover{
    transform:scale3d(1.03);
    background-color: #b74b4b;
    color: #161616;
    box-shadow:0 0 25px #161616;
}

.typing-text{
    font-size:34px;
    font-weight:600;
    min-width: 280px;
}

.typing-text span{
    position:relative;

}

.typing-text span::before{
    content:"software development";
    color: #b74b4b;
    animation:words 20s infinite ;
}

section.about{
    border-top: 110rem;
}
#about {
    padding: 60px 20px;
    background-color: #f7f7f7; /* Light background color */
    text-align: center; /* Center text for a clean look */
  }
  
  .about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  
  .about-box {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 300px; /* Fixed width for the box */
    text-align: left; /* Left-align text inside the box */
  }
  
  .about-box h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .about-box p {
    font-size: 2rem;
    color: #555;
    margin: 5px 0;
  }
  
  .about-text {
    font-size: 2rem;
    max-width: 800px;
    font-family: 'Arial', sans-serif;
    text-align: left; /* Left-align text for better readability */
  }
  
  .about-text h2 {
    font-size: 4rem;
    color: #333;
    margin-bottom: 20px;
  }
  
  .about-text p {
    font-size: 2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
  }
  

#contact {
    padding: 20px 10px;
    text-align: center;
    background-color: #f2f2f2; /* Grey background for contact section */
  }
  
  .contact-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .contact-info {
    background-color: #fff; /* White background for the contact info box */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .contact-info p {
    margin: 10px 0;
  }
  
  form input, form textarea, form button {
    padding: 10px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    border: 1px solid #ddd;
  }
  
  form button {
    background-color: black;
    color: white;
    border: white;
    cursor: pointer;
    background-color: black
  }
  
  form button:hover {
    background-color: grey;
  }
  
  /* Container for Hire Me button and Social Icons inside the contact-info */
  .hire-social-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .hire-social-container .btn {
    padding: 12px 20px;
    background-color: black;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
  }
  
  .hire-social-container .btn:hover {
    background-color: black;
  }
  
  .social-icons a {
    font-size: 36px;  /* Increased icon size */
    margin: 0 15px;
    color: #333;
    text-decoration: none;
    transition: transform 0.3s;  /* Smooth transition for the hover effect */
  }
  
  .social-icons a:hover {
    color:grey;
    transform: scale(1.2);  /* Icon will grow 1.2 times when hovered */
  }
  
 
  #skills {
    padding: 40px 20px;
    text-align: center;
    /* Remove the background-color line to remove the grey box */
  }
  
  .skills-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap; /* force horizontal layout */
    overflow-x: auto;   /* horizontal scroll on smaller screens */
    padding: 20px 0;
  }
  
  .skill-box {
    background-color: #fff;
    padding: 20px;
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }
  
  .skill-box:hover {
    transform: translateY(-5px);
  }
  
  .skill-box h3 {
    font-size: 2.25rem;
    margin-bottom: 10px;
    color: #333;
  }
  
  .skill-box ul {
    margin: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .skill-box li {
    margin-bottom: 8px;
    color: #555;
  }
  #experience {
    padding: 60px 20px;
    background-color: #f2f2f2;
    text-align: center;
  }
  
  #experience h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
  }
  
  .experience-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
  }
  
  .experience-item {
    background-color: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }
  
  .experience-item:hover {
    transform: translateY(-5px);
  }
  
  .experience-item h3 {
    font-size: 1.25rem;
    color: #222;
    margin-bottom: 10px;
  }
  
  .experience-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
  }
  
  