* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;

}


::-webkit-scrollbar{
    width: 10px;
}
::-webkit-scrollbar-track{
    background-color: #0f172a;
}

::-webkit-scrollbar-thumb{
    background-color: rgb(87, 81, 93);
    border-radius: 20px;
}




html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: black;
    color: white;
    width: 100%;
    overflow-x: hidden;
}


.floating-btn{
    height: 60px;
    width: 60px;
    background-color: green;
    color: white;
    border-radius: 50%;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    position: fixed;
    bottom: 10px;
    right: 10px;
}


.logo>h3 {
    color: purple;
}


.navbar{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background-color: black;
    z-index: 9999;
    box-shadow: 0px 0px 20px rgb(80,80,80);
}
.navbar>ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 20px;
}

.navbar>ul>li {
    padding: 20px;
    position: relative;
}

.navbar>ul>li>a {
    text-decoration: none;
    /* color:rgb(160, 66, 248); */
    color: white;
}

.navbar>ul>li::after {
    position: absolute;
    content: '';
    width: 0px;
    background-color: purple;
    height: 2px;
    bottom: 14px;
    left: 20px;
    transition: .3s;
}

.navbar>ul>li:hover::after {
    width: 30%;
}

.navbar a>button {
    cursor: pointer;
    font-size: 18px;
    padding: 5px 30px;
    border: 1px solid purple;
    background: transparent;
    outline: none;
    color: white;
    border-radius: 5px;
}

.navbar a>button>i {
    font-size: 16px;
}

.mobile-nav-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    z-index: 99999;
    transition: 0.3s;
}


#hero {
    height: 110vh;
    width: 100%;
    display: flex;
    padding: 60px 8%;
}

.hero-content {
    width: 60%;
}

.hero-content>.hero-hello {
    color: purple;
}

.hero-sub-heading {
    font-size: 30px;
}

.hero-sub-heading>span {
    color: purple;
}

.hero-content>h1 {
    font-size: 50px;
    line-height: 40px;
    margin-bottom: 10px;
}

.hero-content>p {
    font-size: 16px;
    color: gray;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.hero-buttons a>button {
    padding: 10px 30px;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
}

.primary {
    background-color: purple;
    color: white;
}

.primary>i {
    font-size: 16px;
}

.secondary {
    border-bottom: 1px solid purple !important;
    background-color: transparent;
    color: white;
}



.let-connect {
    margin-top: 30px;
    font-size: 16px;
    font-weight: 600;
}

.social {
    display: flex;
    gap: 10px;
}

.social>a {
    height: 30px;
    width: 30px;
    background-color: black;
    border: 1px solid rgb(62, 60, 60);
    box-shadow: 0px 0px 4px purple;
    color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.hero-image {
    width: 40%;
    position: relative;
}

.hero-image::after {
    position: absolute;
    content: '';
    width: 350px;
    height: 400px;
    background-color: rgb(126, 49, 126);
    filter: blur(160px);
    opacity: .4;
    z-index: -1;
    border-radius: 50%;
    left: 50px;
}




.hero-image>img {
    height: 100%;
    width: 100%;
}




/* About start */

#about {
    min-height: 80vh;
    padding: 80px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.about-left {
    flex: 1;
    position: relative;
}

.circle {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgb(99, 88, 109);
    position: absolute;
    bottom: 90px;
    left: 6%;
    /* transform: translateX(-50%); */
    filter: blur(160px);
    opacity: .8;
}

.about-left>.circle-image {
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.note {
    position: absolute;
    top: 30px;
    left: 0;
    width: 180px;
    font-style: italic;
    color: #e4e2e8;
    font-size: 16px;
    line-height: 1.5;
    transform: rotate(-40deg);
}


.about-right {
    flex: 1;
}

.tag {
    color: purple;
    font-size: 24px;
}

.about-right>h2 {
    font-size: 40px;
    line-height: 1.4;
}

.about-right>h2>span {
    color: purple;
}

.about-right>p {
    color: #b8b8b8;
    line-height: 1.5;
    font-size: 16px;
}

/* cards */

.cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.card {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon {
    font-size: 28px;
    width: 45px;
    height: 45px;
    background-color: rgba(219, 216, 216, 0.5);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card>h4 {
    font-size: 24px;
}

.card span {
    color: gray;
    font-size: 15px;
}

.tech-stack {
    margin-top: 40px;
    border: 1px solid rgba(207, 203, 203, 0.5);
    border-radius: 10px;
    padding: 25px;
}

.tech-stack h3 {
    margin-bottom: 20px;
}

.stack-icons {
    display: flex;
    gap: 20px;
}

.stack-icons span {
    width: 70px;
    height: 70px;
    background-color: rgba(166, 107, 107, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

/* skills start */
#skills {
    min-height: 100vh;
    padding: 0px 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    font-size: 22px;
}

.section-title h2 {
    font-size: 50px;
    margin: 10px 0;
    color: purple;
}

.section-title p {
    color: rgb(210, 206, 206);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.skill-card {
    background-color: rgba(247, 245, 245, 0.04);
    border: 1px solid rgba(238, 241, 241, 0.09);
    border-radius: 5px;
    padding: 40px 20px;
    text-align: center;
    transition: .4s;
    backdrop-filter: blur(10px);
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: purple;
    box-shadow: 0 0 30px purple;
}

.skill-card img {
    width: 90px;
    height: 200px;
    object-fit: contain;
    /* margin-bottom: 20px; */
}


/* Project start */

#project {
    min-height: 80vh;
    padding: 40px 8%;
}

.project-heading {
    text-align: center;
    margin-bottom: 30px;
}

.project-heading span {
    font-size: 22px;
}

.project-heading h2 {
    color: purple;
    margin: 15px 0;
    font-size: 50px;
}

.project-heading p {
    color: rgb(204, 201, 201);
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: rgba(255, 255, 255, .04);
    border-radius: 5px;
    border: 1px solid rgba(225, 255, 255, .09);
    transition: .4s;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: purple;
    box-shadow: 0 0 30px purple;
}

.project-card img {
    width: 100%;
    height: 240px;
    object-fit: contain;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.project-content p {
    color: gray;
    line-height: 1.7;
}

.project-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.project-tech span {
    background-color: gray;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 14px;
}

.project-buttons {
    display: flex;
    gap: 15px;
}

.project-buttons a {
    text-decoration: none;
    color: white;
    border: 1px solid purple;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
}

.project-buttons a:hover {
    background-color: rgb(66, 4, 66);
}


/* contact */

#contact {
    min-height: 80vh;
    padding: 4px 8%;
    position: relative;
    overflow: hidden;
}

#contact::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: purple;
    filter: blur(200px);
    opacity: 0.31;
    top: -50px;
    right: -100px;
}

.contact-heading {
    font-size: 22px;
    text-align: center;
}

.contact-heading h2 {
    color: purple;
    font-size: 50px;
}

.contact-heading p {
    color: gray;
    line-height: 1.7;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: rgba(233, 235, 235, 0.04);
    padding: 25px;
    border: 1px solid rgba(224, 217, 221, 0.09);
    backdrop-filter: blur(10px);
    border-radius: 5px;
}

.info-card h3 {
    color: purple;
}

.info-card p {
    color: rgb(215, 214, 214);
}

/* form */

.contact-form {
    background-color: rgba(234, 245, 245, 0.04);
    padding: 25px;
    border: 1px solid rgba(220, 234, 234, 0.09);
    backdrop-filter: blur(10px);
    border-radius: 5px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background-color: rgb(24, 14, 24);
    border: 1px solid rgb(67, 14, 67);
    outline: none;
    color: white;
    padding: 15px;
    border-radius: 5px;
}

.contact-form button {
    background-color: purple;
    border: none;
    color: white;
    padding: 15px;
    border-radius: 5px;
    outline: none;
    transition: .3s;
    cursor: pointer;
}

.contact-form button:hover {
    transform: translateY(-3px);
}


#footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(211, 225, 225, 0.09);
    margin-bottom: 20px;
}

#footer p {
    text-align: center;
}

#footer span {
    color: purple;
    font-weight: 600;
}