*{
    margin: 0px;
    padding: 0px;
}

main{
    display: flex;
    flex-direction: row; 
    height: 100vh;
    width: 100%;
    font-size: xx-large;


}
.first{
    display: flex;
    justify-content: start;
    align-items: center;
    width: 80%;
    font-size: xx-large;
    height: 100vh;
    background-image: url("images/profile-img.jpg");
    background-size: cover;
    background-attachment: fixed;
    
    
    margin-left: 20%;
}



.first .name{
    position: relative;
    color: white;
   z-index: 6;
   justify-content: center;
   font-size: xx-large;
    align-items: left;
    
    margin-left: 20%;

}

.name h1{
    z-index: 6;
}

.sidenav {
    height: 100%; /* Full-height: remove this if you want "auto" height */
    width: 20%; /* Set the width of the sidebar */
    position: fixed; /* Fixed Sidebar (stay in place on scroll) */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: rgb(1,8,18); /* Black */
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    font-size: xx-large;
  }

  .nav{
    margin-top: 2rem;
  }
  .icon:hover {
    color: blue;
}

  ul{
    display: flex;
    flex-direction: column;
    
  }

  ul li a{
    color: white;
    font-size: xx-large;
    text-decoration: none;
  }
  li{
    list-style: none;
    padding: 10px;
    color: white;
    margin-left: 8%;
    margin: 0.6rem;
    
  }



  .side_img{
    width: 38%;
    height: 74%;
    border-radius: 50%;
    border: 0.3rem solid gray;
    justify-content: center;
    
    align-self: center;
  }

  figcaption{
    text-align: center;
    color: white;
    font-size: 1.5rem;
    padding: 0.3rem;
    
  }

  .upper_side{
    display: flex;
    flex-direction: column;
    margin-top: 5%;
  }

  .social{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 5%;
    gap: 0.8rem;
  }

  .social img{
    
    border-radius: 50%;
    /* border: 0.1rem solid gray; */
    background: grey;
    padding:0.5rem;
  }


/* -------------------------------- */



  .about {
    background-color: #fff;
    padding: 50px;
    font-size: x-large;

}

.about h2 {
    font-size: 2em;
    text-align: left;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
}

.image-container {
    width: 40%; /* Adjust the width of the image container as needed */
}

.text-container {
    width: 95%;
     /* Adjust the width of the text container as needed */
}

.about-image {
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
    font-size: xx-large;
}

.text-section {
    max-width: 100%;
}

.info-lists {
    
    display: flex;
    justify-content: space-between;
    list-style-type: none;

}

.left-list,
.right-list {
    list-style: none;
    padding: 0;
    flex: 1;

    
}

.left-list li,
.right-list li {
    margin-bottom: 25px;
    color: black;
    content: '>';
    
}

.left-list li span,
.right-list li span{
    font-weight: bold;
    color: #1a1a1a;
    margin-right: 1rem;
}
/* Existing styles (from previous code) */

/* Facts Section Styles */
.facts {
    margin-top: 10%;
    font-size: x-large;
}

/* .facts h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
} */

.facts p {
    margin-bottom: 5%;
    
}

.fact-numbers {
    display: flex;
    justify-content: space-around;
}

.fact {
    text-align: center;
}

.big-number {
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
}

#one img{
    display: inline-block;
    height: 2rem;
}
#one span{
    display: inline-block;
}

/* Add emojis to the big-number spans */
.fact p::after {
    content: '';
    display: block;
    font-size: 1.5em;
    margin-top: 5px;
}

 .fact p:contains("Happy Clients")::after {
    content: '😊';
}

.fact p:contains("Projects Completed")::after {
    content: '🚀';
}

.fact p:contains("Hours of Support")::after {
    content: '⏰';
}

.fact p:contains("Hard Workers")::after {
    content: '💪';
} */

.skills{
    margin-top: 10%; 
    margin-bottom: 2rem;   
}

.skill_test {
    font-family: Arial, sans-serif;
    padding: 1rem;
    display: flex;
    
    justify-content: space-between;
}

.skill {
    margin-bottom: 30px;
}

.progress {
    height: 10px;
    width: 33vw;
    background-color: rgb(226, 238, 245);
    
    overflow: hidden;
}

.percentage {
    height: 100%;
    background-color: rgb(15, 188, 246);
}

.per{
    display: flex;
    justify-content: space-between;
}


/* resume section */

.resume {
    margin-top: 40px;
    font-size: x-large;
    background-color: #f5f5f5; /* Light gray background */
    padding: 20px; /* Add padding for better appearance */
    margin-left: 20%;
}

.resume h2 {
    
    font-size: 2em;
    text-align: left;
    margin-bottom: 20px;
}

.timelines {
    display: flex;
    justify-content: space-between;
}

.timeline {
    flex: 1;
    margin-bottom: 40px;
}

.timeline.left {
    border-left: 2px solid #3498db; /* Blue color for the left timeline */
    padding-left: 20px;
    align-self: flex-start;
}

.timeline.right {
    border-left: 2px solid #3498db; /* Blue color for the right timeline */
    padding-right: 20px;
}

.entry {
    margin-bottom: 20px;
    position: relative;
}

.entry  li {
    color: black;
}

.entry h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.date {
    font-style: italic;
    margin-bottom: 5px;
}

.description,
.school {
    margin-top: 5px;
}

.circle {
    width: 16px;
    height: 16px;
    background-color: #3498db; /* Blue color for the circle */
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: -28px;
}

.education-entry .degree-entry {
    margin-left: 20px; /* Add space between circle and degree entries */
}

.portfolio{
    
    background-color: rgb(209, 218, 241); /* Light gray background */
    padding: 20px; /* Add padding for better appearance */
    margin-left: 20%;

}

.portfolio h2{
    font-size: 2rem;
    text-align: left;
    margin-bottom: 20px;
}
#portfolio_1 {
    font-size: 7rem;
}
.portfolio p{
    font-size: 25px;
}

.cards{
    display: flex;
    width: 30%;
    height: 20%;
    margin-left: 35%;
    padding: 1rem;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 30px;
    margin-top: 3%;
}

.cards:hover {
    display: flex;
    width: 30%;
    height: 20%;
    margin-left: 35%;
    padding: 1rem;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: white;
    border-radius: 30px;
    margin-top: 3%;
}


.cards a{
    text-decoration: none;
    color: black;
}

.blocks{
    display: flex;
    margin-top: 5%;
    gap: 2rem;
    justify-content: space-around;
    flex-wrap: wrap;
}

.blocks img{
    height: 30%;
    width: 30%;
}

.blocks img:hover{
    height: 30%;
    width: 30%;
}
.services{
    background-color: rgb(233, 234, 237); /* Light gray background */
    padding: 20px; /* Add padding for better appearance */
    margin-left: 20%;
}

.services h2{
    font-size: 2em;
    text-align: left;
    margin-bottom: 20px;
}

.options{
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 2rem;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 1rem;


}
.options div{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.options div div div span{
    font-size: 1.5rem;
    font-weight: bold;
}

.options div i{
    height: 1rem;
    padding: 1rem;
    border-radius: 50%;
    background-color: rgb(133, 157, 227);
}

.options div div{
    display: flex;
    flex-direction: column;
    
}


/* testimonial */

.container {
    
    margin-top: 1rem;
    padding: 2rem;
    
    justify-content: space-around;
    display: flex;
    gap: 2rem;
}

h1 {
    font-size: 2rem;
    color: #555;
    text-align: center;
    margin-bottom: 2rem;
}

.testimonial {
    position: relative;
    background-color: #eae7e7;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote {
    font-size: 1.125rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    background-color: #fff;
    padding: 0.5rem;
}

.name {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.role {
    font-size: 1.125rem;
    color: #777;
    margin-left: 2.5rem;
    
}

.testi{
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
}

/* Add this CSS code to your stylesheet or in the style section of your HTML document */

/* Make the row flex so that the columns are displayed side by side */
/* Add this CSS code to your stylesheet or in the style section of your HTML document */

/* Make the row flex so that the columns are displayed side by side with space between */
.row {
    display: flex;
    justify-content: space-between;
  }
  
  /* Adjust the width of the columns */
  .col-lg-5,
  .col-lg-7 {
    width: 48%; /* Adjusted to leave space for the gap */
  }
  
  /* Optional: Add some spacing between the columns */
  .col-lg-5 {
    margin-right: 15px;
  }
  
  /* Style for the address and form containers */
  .info,
  .php-email-form {
    width: 100%;
  }
  
  /* Optional: Add some styling to make it look better */
  .info,
  .php-email-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .row {
      flex-direction: column;
    }
  
    .col-lg-5,
    .col-lg-7 {
      width: 100%;
      margin-right: 0;
    }
  }
    
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .row {
      flex-direction: column;
    }
  
    .col-lg-5,
    .col-lg-7 {
      width: 100%;
      margin-right: 0;
    }
  }

  #contact-para {
    text-align: left;
    align-content: end;
  }
  

  /* Add this CSS code to your stylesheet or in the style section of your HTML document */

/* Make the row flex so that the columns are displayed side by side with space between */
.row {
    display: flex;
    justify-content: space-between;
}

/* Adjust the width of the columns */
.col-lg-5,
.col-lg-7 {
    width: 48%; /* Adjusted to leave space for the gap */
    transition: transform 0.3s ease; /* Add transition for smooth hover effect */
}

/* Optional: Add some spacing between the columns */
.col-lg-5 {
    margin-right: 15px;
}

/* Style for the address and form containers */
.info,
.php-email-form {
    width: 100%;
    transition: background-color 0.3s ease; /* Add transition for smooth hover effect */
}

/* Optional: Add some styling to make it look better */
.info,
.php-email-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

/* Hover effect */
.row:hover .col-lg-5,
.row:hover .col-lg-7,
.row:hover .info,
.row:hover .php-email-form {
    transform: scale(1.05); /* Increase size on hover */
    background-color: #ececec; /* Change background color on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .col-lg-5,
    .col-lg-7 {
        width: 100%;
        margin-right: 0;
        transform: none; /* Reset transform for small screens */
    }
}
.end{
    text-align: center;
}
.pre{
    margin-top: 20px;
    font-size: 20px;
}
.shift{
    text-align: center;
    font-size: 25px;
    margin-bottom: 50px;
}


/* Style for social icons */
/* Social Media Icons Hover Effect */
.social img:hover {
    filter: brightness(1.5); /* Adjust the brightness to make it look blue */
}

/* Navigation Items Hover Effect */
.nav ul li {
    position: relative;
}

.nav ul li a {
    color: #fff; /* Default text color */
    transition: color 0.3s; /* Add a smooth transition effect for color changes */
}

.nav ul li:hover a {
    color: #3498db; /* Blue color for text on hover */
}
.cards a {
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    color:black; /* Default text color */
    background-color: transparent; /* Transparent background */
    border-radius: 5px; /* Optional: Add rounded corners */
    transition: color 0.3s, background-color 0.3s; /* Add smooth transition effects */
    font-size:1.25rem;
}

.cards a:hover {
    color: #3498db; /* Blue text color on hover */
    background-color: #fff; /* White background on hover */
}
.blocks img {
  /* Maintain aspect ratio */
    transition: transform 0.3s; /* Add a smooth transition effect for scaling */
}

.blocks img:hover {
    transform: scale(1.2); /* Scale the image on hover */
}
.testimonial {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd; /* Optional: Add border for a better visual separation */
    border-radius: 8px; /* Optional: Add rounded corners */
    transition: transform 0.3s, box-shadow 0.3s; /* Add smooth transition effects for scaling and box shadow */
}

.testimonial:hover {
    transform: translateY(-10px); /* Move the testimonial up by 10px on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Add a box shadow on hover */
}

.testimonial p.quote {
    margin-bottom: 10px;
}

.testimonial img.testi {
    height: auto;
    border-radius: 50%; /* Optional: Add rounded corners for the image */
}

.testimonial div {
    padding: 15px;
}

.testimonial h2.name {
    margin-bottom: 5px;
    color: #3498db; /* Optional: Add a specific color for the name */
}

.testimonial p.role {
    margin: 0;
    color: #777; /* Optional: Add a specific color for the role */
}

.first {
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 50%; /* Adjust as needed */
    transform: translateY(-50%);
}

.name {
    white-space: nowrap;
    overflow: open;
}

.name h1,
.name p {
    display: inline-block;
    margin: 0;
    opacity: 0;
    transform: translateX(-100%);
    animation: typeWriter 1.25s steps(30) forwards; /* Animation properties */
}

@keyframes typeWriter {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.contact {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 50px;
    padding-bottom: 100px;
    margin-left: 20%;
    background-color: #FEFEFE;
    
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}



.contact p {
    color: #666;
}

.contact-body {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.contact-info{
    width: 30%;
}

.contact-form {
    width: 70%;
    position: relative;
}
.contact-info, .contact-form {
    background-color: #FFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-info h2, .contact-form h2 {
    color: #333;
}

.contact-info h4, .contact-form h4 {
    color: #666;
}

.map iframe {
    border: 0;
}



.contact-form form {
    width: 500px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.name-email{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.name, .email{
    flex: 1;
}

.ct{
    width: 100%;
    display: flex;
    gap: 5px;
}

.ct-text{
    padding: 10px;
}

.contact-form label {
    font-weight: bold;
    color: #333;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px;
    width: 20%;
    background-color: #3498db;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    align-self: center;
}

.contact-form button:hover {
    background-color: #2980b9;
}

/* Responsive design */
@media (max-width: 1200px) {
    .sidenav {
    width: 25%;
    }

    .first {
        width: 75%;
        margin-left: 25%;
    }
    
    .about {
        margin-left: 25%;
    }
    
    .resume {
        margin-left: 25%;
    }
    
    .portfolio {
        margin-left: 25%;
    }
    
    .services {
        margin-left: 25%;
    }
    
    .portfolio {
        margin-left: 25%;
    }
    
    .contact_page {
        margin-left: 25%;
    }
    
    .blocks img {
        width: 100%;
        height: auto;
    }
    
    
}    


@media (max-width: 992px) {
    .sidenav {
    width: 30%;
    }
    .first {
        width: 70%;
        margin-left: 30%;
    }
    
    .about {
        margin-left: 30%;
    }
    
    .resume {
        margin-left: 30%;
    }
    
    .portfolio {
        margin-left: 30%;
    }
    
    .services {
        margin-left: 30%;
    }
    
    .portfolio {
        margin-left: 30%;
    }
    
    .contact_page {
        margin-left: 30%;
    }
    
    .blocks img {
        width: 100%;
        height: auto;
    }
    
}

@media (max-width: 1200px) {
    .sidenav {
    width: 20%;
    }
    .first {
        width: 100%;
        margin-left: 0;
    }
    
    .about {
        margin-left: 0;
    }
    
    .resume {
        margin-left: 0;
    }
    
    .portfolio {
        margin-left: 0;
    }
    
    .services {
        margin-left: 0;
    }
    
    .portfolio {
        margin-left: 0;
    }
    
    .contact_page {
        margin-left: 0;
    }
    .container{
        display: flex;
        flex-direction: column;
        gap:1rem;
        
    }
    .none{
        display: none;
    }
    .ul{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap:2rem;
    }
    .about-content{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
.icon{
    width: 40px;
    height: 40px;
}
.ul-nav{
    display: flex;
    align-items: center;

}
.social{
    display: none;

}
.about-content{
    display: flex;

}
#aboutt.about{
    left:20vw;
    max-width: 80vw ;
    position: relative;
    margin-left: none;
}
.text-section{
    display: flex;
    flex-wrap: wrap;
}


.first{
    position: relative;
    left:20vw;
    max-width: 80vw;
    margin-left:0;
}
.ul-nav{
    justify-content: center;
}