* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    /* Set the width of the scrollbar */
    scrollbar-color: #0ef #f0f0f026;
    font: size 16px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    /* Width of the entire scrollbar */
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
    /* Background of the scrollbar track */
    border-radius: 10px;
    /* Rounded corners of the track */
    margin: 5px;
}

::-webkit-scrollbar-thumb {
    background: #0ef;
    /* Color of the scrollbar thumb */
    border-radius: 10px;
    /* Rounded corners of the thumb */
    border: 3px solid #f0f0f0;
    /* Space around the thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #00aaff;
    /* Color of the scrollbar thumb on hover */
}

::-webkit-scrollbar-thumb:active {
    background: #005f99;
    /* Color of the scrollbar thumb when active/pressed */
}



body {
    color: #ededed;
    background-color: #081b29;
}

/* Import a custom font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: #081b29;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.header .logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    padding: 10px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #ff69b4;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar a:hover::before {
    transform: scaleX(1);
}

.navbar a:hover {
    color: #ff69b4;
}

.navbar a.active {
    color: #00eeff;
}

.header.scrolled {
    background: rgba(8, 27, 41, 0.9);
}

@media (max-width: 768px) {
    .header {
        padding: 20px 5%;
    }

    .navbar {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: #081b29;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100vw;
        padding: 20px 0;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        margin: 15px 20px;
        font-size: 22px;
        width: 100%;
        text-align: left;
        padding: 12px 0;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 30px;
        top: 25px;
        width: 32px;
        height: 32px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 4px;
        background: #0ef;
        margin: 6px 0;
        border-radius: 2px;
        transition: 0.4s;
    }
}

@media (max-width: 480px) {
    .about {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 10px;
    }

    .about-img img {
        height: 220px;
        margin: 20px auto;
    }

    .about-text h2 {
        font-size: 32px;
    }

    .about-text h4 {
        font-size: 18px;
    }

    .about-text p {
        font-size: 14px;
        margin-bottom: 2rem;
    }

    .container {
        padding: 30px 5px;
    }

    .sub-titles {
        font-size: 32px;
        padding-bottom: 30px;
    }

    .project-list {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }

    .project-list div {
        padding: 25px 15px;
        font-size: 15px;
    }

    section.skills-container {
        flex-direction: column;
        align-items: stretch;
    }

    .container1 {
        width: 100%;
        padding: 30px 5px;
        margin: 10px 0;
    }

    .heading1 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .bar {
        font-size: 16px;
    }

    .radial-bars .radial-bar {
        width: 100%;
        height: 120px;
    }

    .newsletter-content h2 {
        font-size: 28px;
    }

    .newsletter-content h4 {
        font-size: 16px;
    }

    .newsletter-content p {
        font-size: 13px;
    }

    .contact-text h2 {
        font-size: 32px;
    }

    .contact-text h4 {
        font-size: 14px;
    }

    .contact-text p {
        font-size: 13px;
    }
}

.logo {
    position: relative;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

.navbar a {
    display: inline-block;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));

}

.navbar a:hover {
    color: #0ef;

}

.home {
    position: relative;
    width: 100%;
    justify-content: space-between;
    height: 100vh;
    background: url() no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 70px 10% 0;
}

.home-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 30px;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
}

.home-content h3 span {
    color: #0ef;
}


.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content p {
    font-size: 20px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.highlight {
    color: #00eeff;
    /* Neon pink color */
    font-weight: bold;
}


.home-sci {
    justify-content: center;
}

.home-sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    transition: .5s ease;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
    margin: 30px 15px 30px 0;
}

.home-sci a:hover {
    background: #0ef;
    color: #081b29;
    box-shadow: 0 0 20px #0ef;
}

.btn-box {
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #0ef,
        0 0 25px;
}

.btn-box:hover {
    box-shadow: 0 0 5px cyan,
        0 0 25px cyan, 0 0 50px cyan,
        0 0 100px cyan, 0 0 200px cyan;
}

.button-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.button-group .btn-box {
    margin: 0;
}

@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .button-group .btn-box {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}






.about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1.5rem;
}

.about-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img::before {
    content: '';
    position: absolute;
    top: 2;
    left: 2;
    right: 2;
    bottom: 2;
    background: linear-gradient(45deg, transparent, rgba(0, 238, 255, 0.1), transparent);
    border-radius: 80px 20px 80px 20px;
    animation: rotateGradient 8s linear infinite;
    z-index: -1;
}

.about-img img {
    margin: 0;
    padding: 0;
    width: 81%;
    height: 81%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 80px 20px 80px 20px;
    object-fit: cover;
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.3);
    animation: floatImage 6s ease-in-out infinite, glowPulse 4s ease-in-out infinite;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(0, 238, 255, 0.2);
}

.about-img img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 50px rgba(0, 238, 255, 0.6);
    border-radius: 100px 30px 100px 30px;
    border-color: rgba(0, 238, 255, 0.5);
    animation-play-state: paused;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(0.5deg);
    }

    50% {
        transform: translateY(-20px) rotate(0deg);
    }

    75% {
        transform: translateY(-10px) rotate(-0.5deg);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(0, 238, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 50px rgba(0, 238, 255, 0.6);
    }
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.about-text h2 {
    font-size: 60px;
}

.about-text h2 span {
    color: #0ef;
}

.about-text h4 {
    font-size: 29px;
    font-weight: 600;
    color: #fff;
    line-height: 1.7;
    margin: 15px 0 30px;
}

.about-text p {
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
}



.highlight {
    color: #00eeff;
    /* Neon pink color */
    font-weight: bold;

}



#projects {
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 40px 0 20px;
    color: #fff;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInTitle 0.8s ease forwards;
    animation-delay: 0.3s;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #00eeff;
}

.sub-titles {
    text-align: center;
    font-size: 60px;
    padding-bottom: 70px;
    color: pink;
}

.sub-titles span {
    color: #0ef;
}


.container {
    padding: 90px;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    margin-top: 50px;
}

.project-list div {
    background-color: transparent;
    padding: 30px;
    font-size: 16px;
    font-weight: 400;
    border-right: 10px;
    border-radius: 20px;
    transition: all 0.5s ease;
    box-shadow: 1px 1px 20px #012290f7,
        1px 1px 40px #0053b8f7;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInProject 0.8s ease forwards;
    position: relative;
    padding-bottom: 80px;
    min-height: 300px;
}

.project-list div:nth-child(1) {
    animation-delay: 0.1s;
}

.project-list div:nth-child(2) {
    animation-delay: 0.2s;
}

.project-list div:nth-child(3) {
    animation-delay: 0.3s;
}

.project-list div:nth-child(4) {
    animation-delay: 0.4s;
}

.project-list div:nth-child(5) {
    animation-delay: 0.5s;
}

.project-list div:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideInProject {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-list div i {
    font-size: 50px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.project-list div h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.project-list div a {
    text-decoration: none;
    color: #000000;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}

.read {
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #0ef,
        0 0 25px;
    position: absolute;
    bottom: 25px;
    left: 30px;
}

.read:hover {
    box-shadow: 0 0 5px cyan,
        0 0 25px cyan, 0 0 50px cyan,
        0 0 100px cyan, 0 0 200px cyan;
}

.project-list div:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 238, 255, 0.3),
        0 20px 80px rgba(0, 238, 255, 0.2);
    border-radius: 25px;
}

.project-list div:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #0ef;
    text-shadow: 0 0 20px #0ef;
}

.project-list div:hover h2 {
    color: #0ef;
    text-shadow: 0 0 10px rgba(0, 238, 255, 0.5);
}

section.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.container1 {
    width: 45%;
    padding: 75px 20px;
    margin: 20px 2.5%;
    box-sizing: border-box;
}

.heading1 {
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 5px;
    margin-bottom: 50px;
}

.bar {
    font-size: 23px;
}

.Technical-bars .bar {
    margin: 40px 0;
}

.Technical-bars .bar:first-child {
    margin-top: 0;
}

.Technical-bars .bar:last-child {
    margin-bottom: 0;
}

.Technical-bars .bar .info {
    margin-bottom: 5px;
}

.Technical-bars .bar .info span {
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}

.Technical-bars .bar .progress-line {
    position: relative;
    border-radius: 10px;
    width: 100%;
    height: 5px;
    background-color: #000000;
    animation: animate 1s cubic-bezier(0.5, 0, 0.5, 1) forwards;
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes animate {
    100% {
        transform: scaleX(1);
    }
}

.Technical-bars .bar .progress-line span {
    height: 100%;
    background-color: #0ef;
    position: absolute;
    border-radius: 10px;
    animation: animate 1s 1s cubic-bezier(0.5, 0, 0.5, 1) forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.progress-line.PS span {
    width: 80%;
}

.progress-line.AI span {
    width: 60%;
}

.progress-line.WD span {
    width: 85%;
}

.progress-line.F span {
    width: 90%;
}

.progress-line.PSo span {
    width: 75%;
}

.progress-line span::after {
    position: absolute;
    padding: 3px 10px;
    background-color: #0ef;
    color: #081b29;
    font-size: 12px;
    font-weight: 600;
    border-radius: 5px;
    top: -35px;
    right: -25px;
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
    box-shadow: 0 0 10px rgba(0, 238, 255, 0.3);
}

.progress-line.PS span::after {
    content: "80%";
}

.progress-line.AI span::after {
    content: "60%";
}

.progress-line.WD span::after {
    content: "85%";
}

.progress-line.F span::after {
    content: "90%";
}

.progress-line.PSo span::after {
    content: "75%";
}

.progress-line span::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-top-color: #0ef;
    top: -15px;
    right: -15px;
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
}

@keyframes showText {
    100% {
        opacity: 1;
    }
}

.radial-bars {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-start;
}

.radial-bars .radial-bar {
    width: 50%;
    height: 170px;
    margin-bottom: 10px;
    position: relative;
}

.radial-bars .radial-bar svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 120px;
    height: 160px;
}

.radial-bars .radial-bar .progress-bar {
    stroke-width: 10;
    stroke: black;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
    animation: animate-bar 1s linear forwards;
}

@keyframes animate-bar {
    100% {
        stroke-dashoffset: -1;
    }
}

.path {
    stroke-width: 10;
    stroke: #0ef;
    fill: transparent;
    stroke-dashoffset: 502;
    stroke-dasharray: 502;
    stroke-linecap: round;
}

.path-1 {
    animation: animate-path-1 1s 1s linear forwards;
}

.path-2 {
    animation: animate-path-2 1s 1s linear forwards;
}

.path-3 {
    animation: animate-path-3 1s 1s linear forwards;
}

.path-4 {
    animation: animate-path-4 1s 1s linear forwards;
}

@keyframes animate-path-1 {
    100% {
        stroke-dashoffset: 100.4;
    }
}

@keyframes animate-path-2 {
    100% {
        stroke-dashoffset: 50.2;
    }
}

@keyframes animate-path-3 {
    100% {
        stroke-dashoffset: 75.3;
    }
}

@keyframes animate-path-4 {
    100% {
        stroke-dashoffset: 25.1;
    }
}

.radial-bar .percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}
















.newsletter {
    min-height: auto;
    padding-bottom: 7rem;
    background: #081b29;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.newsletter-content h2 {
    font-size: 60px;
    margin-bottom: 1rem;
}

.newsletter-content h2 span {
    color: #0ef;
}

.newsletter-content h4 {
    font-size: 29px;
    font-weight: 600;
    color: #fff;
    line-height: 1.7;
    margin: 15px 0 30px;
}

.newsletter-content p {
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
}

.newsletter-button {
    text-align: center;
    margin-top: 2rem;
}

.newsletter-button .btn-box {
    display: inline-block;
    padding: 15px 35px;
    font-size: 18px;
    margin: 0;
}

@media (max-width: 768px) {
    .newsletter-content h2 {
        font-size: 40px;
    }

    .newsletter-content h4 {
        font-size: 24px;
    }

    .newsletter-content p {
        font-size: 18px;
    }

    .newsletter-button .btn-box {
        padding: 12px 28px;
        font-size: 16px;
    }
}

.contact {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
    padding: 60px 5vw 60px 5vw;
    background: #081b29;
    margin-top: 130px;
}

.contact-left {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.contact-right {
    flex: 1 1 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 400px;
}

#fluid-blob-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#fluid-blob-canvas {
    width: 100%;
    height: 400px;
    max-width: 500px;
    display: block;
    border-radius: 2rem;
    background: #081b29 !important;
    box-shadow: 0 0 40px 0 #0ef3, 0 0 0 2px #0ef2;
}

/* Glassmorphism for Contact Form */
.glassy-form {
    background: rgba(8, 27, 41, 0.45);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    border: 1.5px solid rgba(0, 238, 255, 0.18);
    padding: 2rem 2rem 1.5rem 2rem;
    margin-top: 2rem;
}

.glassy-form input,
.glassy-form textarea {
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(0,238,255,0.18);
    color: #fff;
    box-shadow: 0 2px 8px 0 rgba(0,238,255,0.08);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    border-radius: 0.7rem;
    transition: border 0.2s, box-shadow 0.2s;
}

.glassy-form input:focus,
.glassy-form textarea:focus {
    border: 1.5px solid #0ef;
    outline: none;
    box-shadow: 0 0 8px #0ef3;
}

.glassy-form .send {
    background: linear-gradient(90deg, #0ef 60%, #00eeffb0 100%);
    color: #081b29;
    font-weight: bold;
    border: none;
    border-radius: 0.7rem;
    padding: 0.8rem 2.2rem;
    cursor: pointer;
    box-shadow: 0 0 10px #0ef3;
    transition: background 0.2s, color 0.2s;
}

.glassy-form .send:hover {
    background: linear-gradient(90deg, #00eeff 0%, #0ef 100%);
    color: #fff;
}

/* Responsive for mobile */
@media (max-width: 900px) {
    .contact {
        flex-direction: column;
        gap: 2rem;
        padding: 40px 2vw;
    }
    .contact-right, .contact-left {
        min-width: 0;
        width: 100%;
        max-width: 100vw;
    }
    #fluid-blob-canvas {
        height: 250px;
        max-width: 100vw;
    }
    #fluid-blob-container {
        min-height: 250px;
    }
}

.contact-text h2 {
    font-size: 90px;
    line-height: 1;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.contact-text h2 span {
    color: #0ef;
}

.contact-text h4 {
    margin: 15px 0;
    color: rgb(228, 228, 228);
    font-size: 20px;
    font-weight: 600;
}


.contact-text p {
    color: rgb(177, 177, 177);
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 2rem;
}

.contact-list {
    margin-bottom: 3rem;
}

.contact-list li {
    margin-bottom: 10px;
    display: block;
}

.contact-list li {
    margin-bottom: 10px;
    display: block;
}

.contact-list i {
    display: inline-block;
    color: #0ef;
    font-size: 20px;
    font-weight: 600;
    transition: all .40s ease;
}

.contact-list li a:hover {
    transform: scale(1.01) translateY(-5px);
    color: #0ef;
}

.contact-icons i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: background 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.contact-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    /* Match the width and height of .contact-icons i */
    height: 40px;
    /* Match the width and height of .contact-icons i */
    border-radius: 50%;
    /* Ensure the container is circular */
    text-decoration: none;
    transition: background 0.5s, color 0.5s, box-shadow 0.5s;
}

.contact-icons a:hover i {
    background: #0ef;
    color: #000000;
    box-shadow: 0 0 20px #0ef;
}

.contact-form form {
    position: relative;
}

.contact-form form input,
form textarea {
    border: none;
    outline: none;
    width: 90%;
    padding: 18px;
    background: #555557;
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
}

.contact-form textarea {
    resize: none;
    height: 220px;
}

.contact-form form send {
    display: inline-block;
    padding: 140px 60px;
    background: #0ef;
    border-radius: 40px;
    font-size: 18px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #0ef,
        0 0 25px;
}

.contact-form form .send:hover {
    box-shadow: 0 0 5px cyan,
        0 0 25px cyan, 0 0 50px cyan,
        0 0 100px cyan, 0 0 200px cyan;
}

.last-text p {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: rgb(7, 85, 91);
    font-weight: 300;
    margin-top: 70px;
}

.top {
    position: fixed;
    bottom: 2.1rem;
    right: 2.1rem;
}

.top i {
    color: #000000;
    background: #0ef;
    font-size: 20px;
    padding: 10px;
    border-radius: 0.5rem;

}













@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}


.signature {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 20px 0;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    position: relative;
    animation: fadeIn 2s ease-in-out forwards;
    opacity: 0;
}

.signature span {
    margin: 0 5px;
    position: relative;
    z-index: 1;
}

.signature .name {
    font-size: 28px;
    color: #0ef;
    font-weight: bold;
    text-shadow: 0 0 10px #0ef, 0 0 20px #0ef, 0 0 30px #0ef, 0 0 40px #0ef, 0 0 50px #0ef, 0 0 60px #0ef, 0 0 70px #0ef;
    animation: glow 1.5s ease-in-out infinite alternate;
}

.signature .nickname {
    font-size: 22px;
    color: #00aaff;
    text-shadow: 0 0 5px #00aaff, 0 0 10px #00aaff, 0 0 15px #00aaff, 0 0 20px #00aaff;
    animation: glow 1.5s 0.75s ease-in-out infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #0ef, 0 0 10px #0ef, 0 0 15px #0ef, 0 0 20px #0ef;
    }

    100% {
        text-shadow: 0 0 20px #0ef, 0 0 30px #0ef, 0 0 40px #0ef, 0 0 50px #0ef;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .newsletter-button .btn-box {
        padding: 12px 28px;
        font-size: 16px;
    }

    .about-img img {
        margin: 50px 20px;
        max-width: 100%;
        height: 400px;
        border-radius: 60px 15px 60px 15px;
    }

    .about-img::before {
        border-radius: 60px 15px 60px 15px;
    }

    .about-img img:hover {
        border-radius: 80px 20px 80px 20px;
    }

    /* Mobile adjustments for floating bubbles */
    .bubble-1 {
        width: 50px;
        height: 50px;
        left: 5%;
    }

    .bubble-2 {
        width: 70px;
        height: 70px;
        left: 15%;
    }

    .bubble-3 {
        width: 40px;
        height: 40px;
        left: 75%;
    }

    .bubble-4 {
        width: 60px;
        height: 60px;
        left: 85%;
    }

    /* Mobile adjustments for floating coder image */
    .home-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 20px auto 30px;
        order: 1;
        animation: slideInImageContainerMobile 1.2s ease forwards;
        animation-delay: 1.3s;
        opacity: 0;
        transform: translateY(30px);
        width: 100%;
        display: flex;
        justify-content: center;
    }

    @keyframes slideInImageContainerMobile {
        0% {
            opacity: 0;
            transform: translateY(30px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .floating-coder {
        width: 200px;
        height: 200px;
        animation: slideInRightMobile 1s ease forwards, floatCoder 6s ease-in-out infinite, glowPulse 4s ease-in-out infinite;
        animation-delay: 1.5s, 2.5s, 2.5s;
    }

    @keyframes slideInRightMobile {
        0% {
            opacity: 0;
            transform: translateY(50px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .home {
        flex-direction: column;
        text-align: center;
        padding: 70px 5% 0;
        height: auto;
        min-height: 100vh;
    }

    .home-content {
        max-width: 100%;
        margin-bottom: 30px;
        order: 2;
    }

    .home-content h1 {
        font-size: 40px;
    }

    .home-content h3 {
        font-size: 24px;
    }

    .home-content p {
        font-size: 16px;
    }

    .home-sci {
        justify-content: center;
    }

    .home-sci a {
        margin: 15px 10px;
    }

    /* Mobile adjustments for floating bubbles */
    .floating-bubbles {
        display: none;
    }

    /* Mobile adjustments for button group */
    .button-group {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .button-group .btn-box {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Floating Bubbles Animation */
.floating-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.bubble {
    position: absolute;
    background: rgba(0, 238, 255, 0.1);
    border: 2px solid rgba(0, 238, 255, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.bubble-1 {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
    transform: translateY(100vh) scale(0);
}

.bubble-2 {
    width: 120px;
    height: 120px;
    left: 20%;
    animation-delay: 3s;
    animation-duration: 12s;
    transform: translateY(100vh) scale(0);
}

.bubble-3 {
    width: 60px;
    height: 60px;
    left: 70%;
    animation-delay: 6s;
    animation-duration: 12s;
    transform: translateY(100vh) scale(0);
}

.bubble-4 {
    width: 100px;
    height: 100px;
    left: 80%;
    animation-delay: 9s;
    animation-duration: 12s;
    transform: translateY(100vh) scale(0);
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0) rotate(0deg);
        opacity: 0;
    }

    5% {
        opacity: 1;
        transform: translateY(95vh) scale(0.2) rotate(45deg);
    }

    25% {
        opacity: 1;
        transform: translateY(75vh) scale(0.5) rotate(90deg);
    }

    50% {
        opacity: 1;
        transform: translateY(50vh) scale(0.8) rotate(180deg);
    }

    75% {
        opacity: 1;
        transform: translateY(25vh) scale(1) rotate(270deg);
    }

    95% {
        opacity: 1;
        transform: translateY(5vh) scale(1.1) rotate(315deg);
    }

    100% {
        transform: translateY(-50px) scale(1.2) rotate(360deg);
        opacity: 0;
    }
}

@keyframes slideInTitle {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Coder Image */
.home-image {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInImageContainer 1.2s ease forwards;
    animation-delay: 1.3s;
    opacity: 0;
    transform: translateY(-50%) translateX(50px);
}

@keyframes slideInImageContainer {
    0% {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, transparent, rgba(0, 238, 255, 0.1), transparent);
    border-radius: 50%;
    animation: rotateGradient 8s linear infinite, fadeInGradient 1s ease forwards;
    animation-delay: 0s, 1.5s;
    z-index: -1;
    opacity: 0;
}

@keyframes fadeInGradient {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.floating-coder {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(0, 238, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.3);
    animation: slideInRight 1s ease forwards, floatCoder 6s ease-in-out infinite, glowPulse 4s ease-in-out infinite;
    animation-delay: 1.5s, 2.5s, 2.5s;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(100px);
}

.floating-coder:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 50px rgba(0, 238, 255, 0.6);
    border-color: rgba(0, 238, 255, 0.6);
    animation-play-state: paused;
}

/* Touch-friendly hover states for mobile */
@media (hover: none) and (pointer: coarse) {
    .floating-coder:hover {
        transform: none;
        box-shadow: 0 0 30px rgba(0, 238, 255, 0.3);
        border-color: rgba(0, 238, 255, 0.3);
        animation-play-state: running;
    }

    .floating-coder:active {
        transform: scale(1.02);
        box-shadow: 0 0 40px rgba(0, 238, 255, 0.5);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatCoder {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(0.5deg);
    }

    50% {
        transform: translateY(-20px) rotate(0deg);
    }

    75% {
        transform: translateY(-10px) rotate(-0.5deg);
    }
}

/* Additional mobile optimizations for smaller screens */
@media (max-width: 480px) {
    .home {
        padding: 60px 3% 0;
        min-height: 100vh;
    }

    .home-content h1 {
        font-size: 32px;
    }

    .home-content h3 {
        font-size: 20px;
    }

    .home-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .floating-coder {
        width: 180px;
        height: 180px;
    }

    .button-group .btn-box {
        padding: 10px 20px;
        font-size: 14px;
    }

    .home-sci a {
        width: 35px;
        height: 35px;
        font-size: 18px;
        margin: 10px 8px;
    }
}