* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: white;
    --main-color: #00ffee;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    color: #fff;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.home{
    margin: 0;
}
.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    /* position: absolute; */
    top: 0;
}
.navbar a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}
.logo {
    font-size: 24px;
    font-weight: 700;
    transition: 0.3s ease;
}
.logo:hover {
    transform: scale(1.1);
}
.logo span {
    color: #00e6e6;
    text-shadow: 0 0 25px var(--main-color);
}
#my-logo {
    cursor: pointer;
}
.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 100px;
}
.text {
    max-width: 50%;
}
.text h1 {
    font-size: 48px;
    margin: 0;
}
.text h1 span {
    color: #00e6e6;
}
.text p {
    font-size: 16px;
    margin: 20px 0;
}
.social-icons {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.social-icons a {
    color: #00e6e6;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}
.social-icons a:hover {
    color: var(--text-color);
    transform: scale(1.3) translateY(-5px);
    box-shadow: 0 0 25px var (--main-color);
}
.buttons {
    display: flex;
    justify-content: center;
}
#cv-btn {
    background-color: transparent;
    color: var(--main-color);
    border-radius: 25px;
    border: 2px solid;
    transition: 0.3s ease-in-out;
}
#cv-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
}
#hire-me {
    transition: 0.3s ease-in-out;
    box-shadow: 0 0 25px var(--main-color);
}
#hire-me:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--main-color);
}
.buttons a {
    text-decoration: none;
    color: #000;
    background-color: #00e6e6;
    padding: 10px 20px;
    border-radius: 25px;
    margin: 0 10px;
    font-weight: 600;
}
.buttons a.contact {
    background-color: transparent;
    border: 2px solid #00e6e6;
    color: #00e6e6;
}
.profile-pic {
    border-radius: 50%;
    overflow: hidden;
    width: 300px;
    height: 300px;
    box-shadow: 0 0 25px var(--main-color);
    cursor: pointer;
    transition: 0.4s ease-in-out;
}
.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    rotate: -30deg;
}
.profile-pic:hover {
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color),
                0 0 100px var(--main-color);
}
.text-animation {
    font-size: 2em;
    font-weight: 600;
    min-width: 280px;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
}
.text-animation span {
    position: relative;
    display: inline-block;
}
.text-animation span::before {
    content: "Freelancer"; 
    color: var(--main-color);
    animation: words 20s infinite;
}
.text-animation span::after {
    content: "";
    background-color: var(--bg-color);
    position: absolute;
    width: calc(100% + 8px);
    height: 100%;
    border-left: 3px solid var(--main-color);
    right: -8px;
    animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
}
@keyframes cursor {
    50% {
        border-left-color: transparent;
    }
    100% {
        border-left-color: var(--main-color);
    }
}
@keyframes words {
    0% {
        content: "Freelancer";
    }
    20% {
        content: "Web Developer";
    }
    40% {
        content: "React Developer";
    }
    60% {
        content: "UI / UX Designer";
    }
    80% {
        content: "Full Stack Developer";
    }
}
@keyframes typing {
    0%, 10%, 30%, 50%, 70%, 90% {
        width: 0;
    }
    5%, 25%, 45%, 65%, 85% {
        width: calc(100% + 8px);
    }
}
.menu-btn {
    font-size: 1.8em;
    width: fit-content;
    padding: 0;
    padding: 2px;
    border: 2px solid rgb(118, 120, 120);
    display: none;
}
.nav-links{
    display: flex;
   }

@media (max-width: 1000px) {
    .navbar{
        padding: 20px 5px;
    }
}
@media (max-width: 800px) {
    .nav-link{
      display: none; 
    }
    .menu-btn{
        display: block;
    }
    .home{
        padding-top: 45px;
    }
    /* .navbar{
        position: relative;
    } */
    #home .container{
        padding: 0px;
        margin: 0px;
        /* border: 2px solid rgb(0, 4, 255); */
    }
    .content {
        flex-direction: column-reverse;
        gap: 6em;
        margin: 0;
        padding: 0;
    }
    .text-animation{
        font-size: 24px;
    }
    .text h1{
        font-size: 30px;
    }
    .text .buttons{
        flex-direction: column;
        gap: 25px;
    }

}
@media (max-width: 400px){
    .text-animation{
        font-size: 20px;
    }
    .text h1{
        font-size: 20px;
    }
}
.showData{
    /* border: 2px solid rgb(223, 223, 223); */
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    position: absolute;
    text-align: center;
    height: 250px;
    top: 60px;
    left: 0px;
    background: #000;
    gap: 20px;
    
}
/* services */
.services {
    background-color: #000;
    color: #fff;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 50px 0px 0px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.services h1 {
    font-size: 3em;
    margin-bottom: 50px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 80%;
}
.service {
    background-color: #00f0ff;
    color: #000;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: 0.4s ease-in-out;

}
.service:hover{
    background: white;
    color: black;
    border: 5px solid var(--main-color);
    transform: scale(1.03);
}
.service h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}
.service p {
    font-size: 1em;
    line-height: 1.5;
}


/* projects */
.project {
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
}
.title {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 50px;
}
/* .testimonials {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.testimonial {
    background-color: #1a1a1a;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: 0.4s ease-in-out;
} */

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Adjust columns based on available space */
    gap: 20px;
    justify-items: center; /* Centers the content inside each grid item */
}

.testimonial {
    background-color: #1a1a1a;
    border-radius: 10px;
    text-align: center;
    width: 100%; /* Ensure the testimonial fills the grid item */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: 0.4s ease-in-out;
}

.testimonial:hover{
    border: 3px solid var(--main-color);
    transform: translateY(-10px)scale(1.03);
    box-shadow: 0 0 50px var(--main-color);
}
.testimonial img {
    width: 100%;
    height: 200px;
    cursor: pointer;
    border-bottom: 4px solid #14b8a6;
    box-shadow: 0 0 25px var(--main-color);
}
.testimonial-content {
    padding: 10px 30px 30px 30px;
}
.testimonial h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 10px 0;
}
.testimonial p {
    color: #9ca3af;
}
/* about me */

.about-me {
font-family: Arial, sans-serif;
}
.about-section {
text-align: center;
padding: 50px 20px 0px 20px;

/* background-color: #fff; */
background-color: black;
/* border: 2px solid red; */
color: white;
}
.about-section h1 {
font-size: 2.5rem;
margin-bottom: 50px;

}
.about-container {
color: rgb(25, 24, 24);
display: flex;
align-items: center;
justify-content: center;
gap: 40px;
flex-wrap: wrap;
}
.about-image img {
border-radius: 10%;
width: 300px;
height: 300px;
object-fit: cover;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
overflow: hidden;
transition: 0.4s ease-in-out;
}
.about-image img:hover{
border: 3px solid var(--main-color);
transform: translateY(-10px)scale(1.03);
box-shadow: 0 0 50px var(--main-color);
}
.about-details {
max-width: 700px;
text-align: left;
}

.about-info {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
gap: 20px;
}

.info-box {
background-color: #00f0ff;
width: 350px;
padding: 20px;
border-radius: 8px;
text-align: center;
color: #000;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
transition: 0.4s ease-in-out;
}
.info-box:hover{
background: white;
color: black;
border: 5px solid var(--main-color);
transform: scale(1.03);
}
.info-box h3 {
margin-top: 10px;
margin-bottom: 5px;
}
.about-description {
line-height: 1.6;
color: #989595;
}

@media (max-width: 990px) {
    .testimonials {
        display: grid;
        grid-template-columns: repeat(2, minmax(250px, 1fr)); /* 2 columns with a minimum width of 250px each */
        gap: 20px; /* Adds spacing between the columns */
    }
}
@media (max-width: 990px){
    .about-info{
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
}
@media (max-width: 650px){
    .testimonials{
        grid-template-columns: auto;
    }
    .services-grid{
        grid-template-columns: repeat(1, 1fr);
    }
}


/* contact us */

section {
font-family: Arial, sans-serif;
background-color: #000;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
/* height: 100vh; */
}

.contact-container {
text-align: center;
padding: 20px;
width: 100%;
max-width: 800px;
border-radius: 10px;
}

h1 {
margin-bottom: 50px;
font-size: 36px;
}

h1 span {
color: #00ffe0;
}

form {
display: flex;
justify-content: space-between;
gap: 15px;
}

.left-inputs, .right-inputs {
display: flex;
flex-direction: column;
gap: 15px;
flex: 1;
}

.left-inputs input, textarea {
padding: 12px;
border: 2px solid #00ffe0;
border-radius: 5px;
background-color: transparent;
color: #fff;
}

textarea {
height: 150px;
}
button {
padding: 10px 18px; /* Reduced padding */
border: none;
border-radius: 25px;
background-color: #00ffe0;
color: #000;
font-size: 17px; 
cursor: pointer;
/* transition: 0.3s; */
width: fit-content;
align-self: center;
transition: 0.3s ease-in-out;
box-shadow: 0 0 25px var(--main-color);
}

button:hover {
transform: scale(1.05);
box-shadow: 0 0 50px var(--main-color);
}

@media(max-width: 650px){
    form{
        flex-direction: column;
    }
}

/* footer */

section {
margin-top: 60px;
padding: 0;
font-family: Arial, sans-serif;
background-color: #000;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

.footer {
background-color: #111;
padding: 20px 0;
text-align: center;
width: 100%;
border-top: 1px solid #333;
}

.footer-nav {
margin-bottom: 25px;
}

.footer-nav a {
color: #fff;
text-decoration: none;
margin: 0 15px;
font-size: 16px;
transition: color 0.3s;
}

.footer-nav a:hover {
color: #00ffe0;
text-decoration: underline;
}

.footer-icons {
margin-bottom: 10px;
}

.footer-icons a {
color: #00ffe0;
margin: 0 10px;
font-size: 20px;
text-decoration: none;
transition: 0.3s ease-in-out;
}

.footer-icons a:hover {
color: var(--text-color);
transform: scale(1.3) translateY(-5px);
box-shadow: 0 0 25px var (--main-color);
}
.footer-text {
color: #888;
font-size: 14px;
}

@media(max-width: 650px){
    .footer-nav{
        display: flex;
        flex-direction: column;
        gap: 25px;
        padding: 25px;
    }
}
.pop-up{
    opacity: 0;
    z-index: -1;
    position: absolute;
    top: 20%;
    left: 20%;
    width: 0px;
    transition: 0.5s ease-in-out;
}
.pop-up.active{
    opacity: 1;
    z-index: 1;
    width: 60%;
}
.cross-icon{
    position: absolute;
    top: 0px;
    right: 0;
    padding: 2px;
    color: red;
    font-size: 1.2em;
    border: 2px solid rgb(213, 209, 209);
    border-radius: circle;
    cursor: pointer;
}

.pop-up {
    display: none; /* Hide the form by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(17, 15, 15);
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .pop-up.active {
    display: block; /* Show the form when the 'active' class is added */
  }
  
  .close-popup {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 15px;
    cursor: pointer;
  }
  
