@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: black;
    color: white;
}

header{
    margin-top: 20px;
    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: 1000;
    cursor: pointer;
    transition: 0.5s ease;
}

.logo:hover{
    transform: scale(1.1);
} 
/* **************************navbar*********************** */


.navbar {
    display: flex;
    justify-content: space-evenly;
    align-items:center;
    background:transparent;
    /* box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.06); */
    /* border: 3px solid #1a1a1a; */
    border-top-style: none;
    border-left-style: none;
    border-right-style: none;
  }

  .logo {
    font-size: 3rem;
    margin: 0.5rem;
  }
   

  nav a{
    font-size: 1.8rem;
    color: white;
    margin-left: 4rem;
    font-weight: 500;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active{
    color: #b74b4b;
    border-bottom: 3px solid #b74b4b;
} 

  .navbar-links{
    justify-content: space-between;
    align-items:center;
  }

  .navbar-links ul {
    margin: 0;
    padding: 0;
    display: flex;
   
  }

  .navbar-links li {
    list-style: none;
  }

  .navbar-links li a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 16px;
    padding: 10px;
    display: block;
    border-radius: 15px;
    font-weight: bold;
    
  }
  .navbar-links li a:hover
  {
    background: green;
    color: white;
    transition: 2s;
  }
  .toggle-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
  }

  .toggle-button .bar {
    height: 5px;
    width: 100%;
    background-color:white;
    border-radius: 10px;
  }
  @media only screen and (max-width: 768px) {
    .toggle-button {
      display: flex;
      flex-direction: column;
    }
   
    .navbar-links {
            display: none;
            flex-direction: column;
            align-items: flex-start;
            background-color: #000;
            position: absolute;
            top: 100%;
            right: 0;
            width: 200px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            padding: 1rem;
        }

    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }

    .navbar-links ul {
      flex-direction: column;
      width: 100%;
    }

    .navbar-links li {
      text-align: center;
    }

    .navbar-links.active {
      display: flex;
      flex-direction: column;
    }
  }
/* ********************************************************************navbar end********************************************************************** */

  section{
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    background-color: #B7E0FF;
}

.home .home-content h1{
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span{
    color: #b74b4b;
}

.home-content h3{
    font-size: 4rem;
    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-icons 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-icons a:hover{
    color: black;
    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: transparent;
    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;
}

.typing-text span::before{
    content: "software Developer";
    color: #b74b4b;
    animation: words 20s infinite;
}

.typing-text span::after{
    content: "";
    background-color: transparent;
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid black;
    right: -8;
    animation: cursor 0.6s infinite;
}

@keyframes cursor{
    to{
        border-left: 3px solid #b74b4b;
    }
}

@keyframes words{
    0%, 20%{
        content: "Web Developer";
    }
    21%, 40%{
        content: "Developer";
    }
    41%, 60%{
        content: "Web Designer";
    }
    61%, 80%{
        content: "Youtuber";
    }
    /* 81%, 100%{
        content: "Script Writer";
    } */
}

@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: 70vw;
        margin-top: 9rem;
    }
}


/* **********************************************************************services css********************************************************************************* */

/* Basic styling for the Services section */
.services {
    /* margin: 50px; */
    padding: 50px ;
    text-align: center;
    background-color: #B7E0FF; /* Light background for contrast */
}

.services h2 {
    font-size: 2.5em;
    color: #b74b4b;
    margin-bottom: 10px;
    margin-top: 60px;
}
.services h3{
    color: black;
}

.services p {
    color: #666;
    font-size: 1em;
    margin-bottom: 30px;
}

/* Service list styling */
.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.service-item i {
    font-size: 2.5em;
    color: #007bff; /* Use a brand color for icons */
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.service-item p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Footer styling */
footer {
    padding: 20px;
    background-color: #333;
    color: #fff;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* *******************************************************************-skills page css*********************************************** */

/* Skills section styling */
.skills {
    padding: 50px 0;
    text-align: center;
    background-color:#B7E0FF;
}

.skills h2 {
    font-size: 2.5em;
    color: #b74b4b;
    margin-bottom: 10px;
    margin-top: 60px;
}

.skills h3{
    color: black;
}

.skills p {
    color: #666;
    font-size: 1em;
    margin-bottom: 30px;
}

/* Skills list styling */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-item {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.skill-item i {
    font-size: 2.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.skill-item h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.skill-item p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}


/* **************************************************************project css****************************************************************** */

/* Projects section styling */
.projects {
    padding: 50px 0;
    text-align: center;
    background-color: #B7E0FF;
}

.projects h2 {
    font-size: 2.5em;
    color: #b74b4b;
    margin-bottom: 10px;
    margin-top: 60px;
}

.projects h3 {
    color: black;
}

.projects p {
    color: #666;
    font-size: 1em;
    margin-bottom: 30px;
}

/* Project list styling */
.project-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.project-item h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.project-item p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Buttons for project links */
.project-item .btn {
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    background-color: transparent;
    color: black;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.project-item .btn:hover {
    background-color: #b74b4b;
}


/* ******************************************************cvv css*********************************************************************** */

/* CV section styling */
.cv {
    padding: 50px 0;
    text-align: center;
    background-color: #B7E0FF;
}

.cv h2 {
    font-size: 2.5em;
    color: #b74b4b;
    margin-bottom: 10px;
    margin-top: 60px;
}


.cv h3{

    color: black;
}
.cv p {
    color: #666;
    font-size: 1em;
    margin-bottom: 30px;
}

/* CV preview styling */
.cv-preview {
    margin: 0 auto;
    max-width: 800px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* CV download button styling */
.cv-download .btn {
    display: inline-block;
    margin: 5px;
    padding: 10px 15px;
    background-color: transparent;
    color: black;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cv-download .btn:hover {
    background-color: #b74b4b;
}

/* ********************************************************contact css*********************************************************************** */

/* Contact section styling */
.contact {
    padding: 50px 0;
    text-align: center;
    background-color: #B7E0FF;
}

.contact h2 {
    font-size: 2.5em;
    color: #b74b4b;
    margin-bottom: 10px;
    margin-top: 60px;
}

.contact h3{
    color: black;
}

.contact p {
    color: #666;
    font-size: 1em;
    margin-bottom: 30px;
}

/* Contact container styling */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info, .contact-form {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: left;
}

/* Contact information styling */
.contact-info h3 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.contact-info p {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 10px;
}

.contact-info .social-icons a {
    display: inline-flex;
    justify-content:space-around;
    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;
}

.contact-info .social-icons a:hover {
    color: black;
    transform: scale(1.3) translateY(-5px);
    background-color: #b74b4b;
    box-shadow: 0  0 25px #b74b4b;
}

/* Contact form styling */
.contact-form h3 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.contact-form label {
    display: block;
    color: #666;
    font-size: 0.95em;
    margin-top: 10px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form .btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: transparent;
    color:black;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
    background-color: #b74b4b;
}


