/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: white;
    line-height: 1.6;
    padding-bottom: 30px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #000;
    padding-left: 200px;
    padding-right: 200px;
    width: 100%;
    position: fixed;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
    padding-bottom: 16px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 16px;
}

.navbar ul li a:hover {
    text-decoration: underline;
}

.main {
  padding-top: 170px;
    padding-left: 200px;
    padding-right: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Adjusts layout on smaller screens */
}

.intro {
    max-width: 65%;
    flex: 1;
    padding-right: 20px;
}

.intro h1 {
    font-size: 36px;
    margin-bottom: -10px;
}

.intro h2 {
    display: block;
    color: #00aaff;
    font-size: 36px;
    margin-bottom: 20px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 4s steps(40, end) infinite, blink-caret .75s step-start infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.intro p {
    color: #9ca3af;
    font-size: 18px;
    margin-bottom: 30px; /* Add margin to improve spacing */
}

.download-btn{
    display: inline-block;
    padding: 15px 30px;
    background-color: #00aaff;
    color: white;
    font-size: 18px;
    border-radius: 25px;
    text-decoration: none;
    margin-bottom: 30px; /* Spacing for mobile view */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.social-icons a {
    font-size: 30px;
    color: white;
    text-decoration: none;
}

.social-icons a:hover {
    color: #00aaff;
}

.profile-pic {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
}


#projects {
    text-align: left;
    margin-top: 48px;
}

#projects h2 {
    font-size: 24px;;
    margin-bottom: 30px;
}

.project-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.project {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-style: solid;
    border-width: 1px;
    /* background-color: #1f1f1f; */
    padding: 20px;
    /* margin: 20px auto; */
    width: 45%; /* This ensures two projects fit in one line */
    border-radius: 10px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.project-image img {
    max-width: 100%;
    object-fit: cover;
}

.project-description {
    text-align: left;
    max-width: 100%;
    color: #9ca3af;
}

.project-description h3 {
    font-size: 24px;
    margin-top: 32px;
    color: white;

}

.project-description p i,
 .project-description ul {
    font-size: 14px;
}

.project-description ul{
   margin-left: 15px;
}

.buttons {
    display: flex;
    /* gap: 20px; */
    justify-content: center;
    margin-top: 48px;
}

.btn {
    padding: 10px 30%;
    background-color: #00aaff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0096c7;
}


#container {
   width: 100%;
}

#container h2 {
    font-size: 24px;;
    margin-bottom: 30px;

}

.technology {
   margin-bottom: 20px;
   max-width: 100%
}

.technology h3 {
   display: flex;
   justify-content: space-between;
   font-size: 16px;
   margin-bottom: 5px;
}

.technology h3 i {
            margin-right: 10px;
        }

.title i{
  font-size: 30px;
}

.technology h3 span{
  color: #9ca3af;
}

.progress {
   /* background-color: #333; */
   border-radius: 10px;
   height: 10px;
   overflow: hidden;
}

.progress-bar {
   background-color: #00bfff;
   height: 100%;
   border-radius: 10px;
}

/* Specific progress values for each technology */
.t1 .progress-bar {
    width: 63%;
}

.t2 .progress-bar {
    width: 75%;
}

.t3 .progress-bar {
    width: 60%;
}

.t4 .progress-bar {
    width: 60%;
}

.t5 .progress-bar {
    width: 50%;
}

.t6 .progress-bar {
    width: 58%;
}

.t7 .progress-bar {
    width: 56%;
}

.t8 .progress-bar {
    width: 53%;
}

.t9 .progress-bar {
    width: 52%;
}

.t10 .progress-bar {
    width: 75%;
}

#conatctMe {
    margin-top: 48px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#conatctMe h2{
  text-align: left;
  font-size: 24px;
  width: 100%;
  margin-bottom: 30px;
}

#conatctMe form{
  width: 75%;
}

#conatctMe label {
    margin-top: 10px;
    display: block;
    font-size: 16px;
    text-align: left;
}

#conatctMe input, textarea {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
    margin-top: 5px;
    border: 2px solid #fff; /* Constant border */
    border-radius: 5px;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
}

#conatctMe input:focus, textarea:focus {
    outline: none;
    border-color: #777; /* Slightly lighter border on focus */
}

#conatctMe textarea {
  resize: vertical;
    height: 200px;
}

#conatctMe button {
    margin-top: 20px;
    width: 100%;
    font-size: 16px;
    /* cursor: pointer; */
}

.fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, #6a11cb, #2575fc); /* Gradient background */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background 0.3s;
}

.fab:hover {
    background: linear-gradient(to right, #2575fc, #6a11cb); /* Change gradient on hover */
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid white; /* Arrow color */
}

/* Mobile Styles */
@media (max-width: 768px) {

    .main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 150px;
        padding-bottom: 30px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .intro {
        max-width: 100%;
        padding: 0;
    }

    .intro h1 {
        font-size: 36px; /* Adjust font size for mobile */
    }

    .intro h2 {
        font-size: 24px; /* Adjust font size for mobile */
        animation: none;
    }

    .intro p {
        font-size: 16px;
    }

    .profile-pic {
        margin-top: 20px;
    }

    .download-btn {
        font-size: 16px; /* Adjust button font size */
    }

    .navbar {
        flex-direction: column;
        padding-left: 0px;
        padding-right: 0px;
    }

    .navbar ul {
        flex-direction: row;
        gap: 10px; /* Reduced gap for mobile view */
    }

    .navbar ul li a {
        font-size: 16px; /* Adjust font size for mobile */
    }

    .profile-pic {
        width: 200px;
        height: 200px;
    }

    .project-container {
        display: block;
        width: 100%;
    }

    .project {
        width: 100%;
    }

    .btn {
        padding: 10px 20%;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
    }

    #container {
      width: 100%;
      justify-content: flex-start;
     }

     #container h2 {
        text-align: left;
     }

     #conatctMe form{
       width: 100%;
     }
}
