* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
  }
  html {
    font-size: 60%;
    overflow-x: hidden;
  }
  :root {
    --bg-color: #080808;
    --second-bg-color: #001005;
    --text-color: white;
    --main-color: #bf8ae6;
  }
body{
    background: var(--bg-color); 
    color: var(--text-color); 

}
.header{
    position: fixed; 
    width: 100%; 
    top: 0; 
    left: 0; 
    padding: 4rem 12%; 
    background: rgba(0, 0, 0, 0.3); 
    backdrop-filter: blur(10px); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    z-index: 100; 

}
#menu-icon{
    font-size: 3.6rem; 
    color: var(--main-color); 
    display: none; 
}
.logo{ 
    font-size: 3rem; 
    color: var(--text-color); 
    font-weight: 800; 
    cursor: pointer; 
    transition: 0.3s ease;
}
.logo:hover{
    transform: scale(1.1); 
}
span{
    color: var(--main-color); 
}
.navbar a{
    font-size: 1.8rem; 
    color: var(--text-color);
    margin-left: 4rem; 
    font-weight: 500; 
    border-bottom: 3px solid transparent; 
    transition: 0.3s ease; 
}
.navbar a:hover{
    border-bottom: 3px solid var(--main-color); 
    color: var(--main-color)
}
section{
    min-height: 100vh; 
    padding: 10rem 12%;
}
.home{
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 15rem; 
}
.home-content{
    display: flex; 
    flex-direction: column;
    align-items: flex-end; 
    text-align: right; 
}
.home-content h1{
    font-size: 8rem; 
    font-weight: 700; 
    margin-top: 1.5rem; 
    line-height: 1; 
}
.home-content h3{
    font-size: 4rem; 
    margin: 1rem 0; 
}
.home-content p{
    font-size: 1.5rem; 
    font-weight: 500; 
    line-height: 1.8; 
}
.home-img img{
    width: 20vw; 
    height: 20vw; 
    border-radius: 50%; 
    box-shadow: 0 0 25px var(--main-color); 
    transition: 0.4s ease-in-out; 

}
.home-img img:hover{
    box-shadow: 0 0 25px var(--main-color), 
                0 0 50px var(--main-color),
                0 0 100px var(--main-color); 

}
.social-icons a{
    display: inline-flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 3rem; 
    padding: 1rem; 
    background: transparent; 
    border: 2px solid var(--main-color); 
    border-radius: 50%; 
    color: var(--main-color); 
    margin: 3rem 0.5rem; 
    transition: 0.3s ease; 
}
.social-icons a:hover{
    color: var(--text-color); 
    background-color: var(--main-color); 
    transform: scale(1,2)translateY(-5px); 
    box-shadow: 0 0 25px var(--main-color); 

}
.btn-group{ 
    display: flex; 
    gap: 1.5rem; 
}
.btn{
    display: inline-block; 
    padding: 1rem 3rem; 
    background: var(--main-color);
    box-shadow: 0 0 25px var(--main-color); 
    border-radius: 3rem; 
    font-size: 1.8rem; 
    color: black; 
    border: 2px solid transparent; 
    font-weight: 600; 
    transition: 0.3s ease-in-out; 
}
.btn:hover{
    transform: scale(1.05); 
    box-shadow: 0 0 25px var(--main-color), 
                0 0 50px var(--main-color); 
}
.btn-group a:nth-of-type(2){ 
    background-color: black; 
    color: var(--main-color); 
    border: 2px solid var(--main-color); 
    box-shadow: 0 0 25px transparent; 
}
.btn-group a:nth-of-type(2):hover{
    box-shadow: 0 0 25px var(--main-color); 
    background-color: var(--main-color);
    color: black; 

}
.about{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem; 
    background-color: var(--bg-color); 
}
.about-img img{ 
    width: 20vw; 
    height: 20vw; 
    border-radius: 50%; 
    box-shadow: 0 0 25px var(--main-color); 
    transition: 0.4s ease-in-out; 
}
.about-img img:hover{
    box-shadow: 0 0 25px var(--main-color), 
                0 0 50px var(--main-color),
                0 0 100px var(--main-color); 

}
.about-content p {
    font-size: 1.8rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: 8rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.about-content .btn {
    padding: 10px 20px;
    background-color: var(--main-color);
    color: var(--text-color);
    border-radius: 8px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.about-content .btn:hover {
    background-color: var(--text-color);
    color: var(--main-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

::webskit-scrollbar{
    width: 20px; 
}
::webkit-scrollbar-thumb{
    background-color: var(--main-color); 
}
::webskit-scrollbar-track{
    background-color: var(--bg-color); 
}


.heading{
    text-align: center;
    font-size: 7rem;
    margin: 5rem 0; 
}
.projects{
    background-color: var(--bg-color);
    color: black
}
.projects h2{
    color: var(--text-color)
}
.projects-container{
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    align-items: center; 
    gap: 2.5rem; 
}
.project-box {
    background-color: var(--main-color);
    color: black;
    border-radius: 3rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.project-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.project-info {
    text-align: center;
    padding: 1rem;
}

.project-info i {
    font-size: 4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.project-info h4 {
    font-size: 2rem;
    margin: 0.5rem 0;
}

.project-info p {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    font-size: 1.5rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    border: 2px solid var(--main-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: var(--main-color);
    color: black;
}

.github-btn {
    background-color: black;
    color: white;
}

.github-btn:hover {
    background-color: grey;
    color: black;
}
.contact {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 5rem 12%;
    text-align: center;
}

.contact h2 {
    font-size: 4rem;
    color: var(--main-color); /* Adjust this to a more neutral color if too bright */
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: #aaa; /* Lighter color for less emphasis */
}

.contact-form form {
    max-width: 500px;
    margin: auto;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    background: #222; /* Subtle background color */
    border: 1px solid #444; /* Less contrast for a simpler look */
    color: var(--text-color);
    font-size: 1.4rem;
}

.contact-form textarea {
    height: 120px;
    resize: none; /* Prevent resizing of the textarea */
}

.contact-form button {
    cursor: pointer;
    background: var(--main-color); /* Use a less intense shade of pink */
    color: #fff;
    font-size: 1.6rem;
    padding: 1rem 2rem;
    border-radius: 2rem;
    border: none;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #9a67ea; /* Slightly darker shade on hover */
}
