/* CONTACT CARD STYLES */
.contact-card {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    background: var(--bg-color);
    border-radius: 25px;
    box-shadow: var(--neon-box-shodow);
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 900px;
    width: 100%;
}
.contact-card-image {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-card-image img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 0 20px #12f7ff44;
    border: 2px solid var(--hover-color);
    background: var(--secon-bg-color);
}
.contact-card form {
    flex: 2 1 350px;
    margin: 0;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
}
@media (max-width: 900px) {
    .contact-card {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }
    .contact-card-image img {
        width: 160px;
        height: 160px;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    text-decoration: none;
}

/* Prevent horizontal scrolling on small screens */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --text-color: #f5f5f5;
    --hover-color: #12f7ff;
    --bg-color: #0b0219;
    --secon-bg-color: #292e33;
    --big-font: 2.5rem;
    --normal-font: 2rem;
    --neon-box-shodow: 0 0 .5rem #12f7ff;
    --h2-font: 3rem;
    --font-neon-text-shadow: 0 0 10px rgba(18, 247, 255, 0.3),
        0 0 20px rgba(18, 247, 255, 0.3),
        0 0 30px rgba(18, 247, 255, 0.3),
        0 0 40px rgba(18, 247, 255, 0.3),
        0 0 70px rgba(18, 247, 255, 0.3),
        0 0 80px rgba(18, 247, 255, 0.3),
        0 0 100px rgba(18, 247, 255, 0.3),
        0 0 150px rgba(18, 247, 255, 0.3);
}

body {
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color)
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 10%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 2, 25, 0.62);
    border-bottom: 1px solid rgba(18, 247, 255, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.name {
    display: flex;

}

.logo {
    padding: 6px 4px;
    font-weight: 600;
    font-size: 30px;

}

.logo span {
    color: var(--hover-color);
    filter: drop-shadow(0 0 25px #12f7ff);

}

span {
    color: var(--hover-color);


}

.navlist {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap; /* keep items on one line */
    margin-left: auto; /* push nav to the right */
    white-space: nowrap;
}

.navlist li {
    display: inline-flex;
    align-items: center;
}

.navlist a {
    color: var(--text-color);
    padding: 12px 16px;
    font-weight: 500;
    cursor: pointer;

}

.navlist a:hover {
    color: var(--hover-color);
    text-shadow: 0 0 10px rgba(18, 247, 255, 0.6),
        0 0 20px rgba(18, 247, 255, 0.6),
        0 0 30px rgba(18, 247, 255, 0.6),
        0 0 40px rgba(18, 247, 255, 0.6),
        0 0 70px rgba(18, 247, 255, 0.6),
        0 0 80px rgba(18, 247, 255, 0.6),
        0 0 100px rgba(18, 247, 255, 0.6),
        0 0 150px rgba(18, 247, 255, 0.6);
}

#menu-icon {
    font-size: 1.8rem;
    z-index: 999;
    cursor: pointer;
    margin-left: 25px;
    background: var(--bg-color);
    border-radius: 3px;
    color: var(--hover-color);
    display: none;
    transition: color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;

}

#menu-icon:hover {
    color: var(--hover-color);
    box-shadow: 0 0 10px rgba(18, 247, 255, 0.7), 0 0 22px rgba(18, 247, 255, 0.5);
    transform: scale(1.05);
}

/* Mobile sidebar navigation */
@media (max-width: 768px) {
    .navlist {
        position: fixed;
        top: 0;
        right: -260px;
        width: 240px;
        height: 100vh;
        background: rgba(5, 0, 23, 0.72);
        border-left: 1px solid rgba(18, 247, 255, 0.2);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.6);
        flex-direction: column;
        padding-top: 80px;
        padding-left: 30px;
        gap: 1rem;
        transition: right 0.35s ease;
        z-index: 998;
    }

    .navlist li {
        list-style: none;
    }

    .navlist a {
        padding: 0;
        font-size: 1rem;
    }

    .navlist.show {
        right: 0;
    }

    #menu-icon {
        display: block;
        padding: 6px 8px;
    }
}

/* HOME SCREEN ///////////////////////////////////////////// */

section {
    padding: 100px 10%;
}

.home {
    min-height: 100vh;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    grid-gap: 4em;
}

.home-content {
    max-width: 600px;
}

.home-content h1 {
    font-size: var(--big-font);
    font-weight: 700;
}

/* this for Moving text ////////////////////////*/

.change-text {
    font-size: 1.5rem;
    font-weight: 600;

}

.change-text h3 {
    display: inline-flex;
    margin: 0%;
    vertical-align: top;
}

.change-text h3 .word {
    position: absolute;
    display: flex;
    opacity: 0;
}

.change-text h3 .word .letter {
    transform-origin: center center 25px;
}

.change-text h3 .word .letter.out {
    transform: rotateX(90deg);
    transition: 0.32s cubic-bezier(0.6, 0, 0.7, 0.2);
}

.change-text h3 .word .letter.in {
    transition: 0.38s ease;
}

.change-text h3 .word .letter.behind {
    transform: rotateX(-90deg)
}

.home-content p {
    color: #bdbdbd;
    line-height: 1.6;
}

.info-box {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    width: 400px;
    margin: 1rem 0 2rem;

}

.info-box h5 {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.info-box span {
    font-size: .9rem;
    color: #bdbdbd;

}


/* ANIMATED BUTTON ///////////////////////////////// */

.btn-box {
    display: flex;
    justify-content: space-between;
    width: 320px;
    height: 55px;

}

.btn-box a.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: var(--hover-color);
    color: var(--bg-color);
    border-radius: 10px;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: 0.6s;
    box-shadow: var(--neon-box-shodow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px soli var(--hover-color);
}

a.btn:hover {
    color: var(--hover-color);
    box-shadow: 0 0 12px rgba(18, 247, 255, 0.7), 0 0 28px rgba(18, 247, 255, 0.6);
    animation: glow-pulse 1.4s ease-in-out infinite;
}

a.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bg-color);
    width: 0;
    height: 100%;
    z-index: -1;
    transition: .4s;
}

a.btn:hover::before {
    width: 100%;
}

a.btn:nth-child(2) {
    background: var(--bg-color);
    color: var(--hover-color);

}

a.btn:nth-child(2):hover {
    color: var(--bg-color);
    box-shadow: 0 0 12px rgba(18, 247, 255, 0.7), 0 0 28px rgba(18, 247, 255, 0.6);
    animation: glow-pulse 1.4s ease-in-out infinite;
}

a.btn:nth-child(2)::before {
    background: var(--hover-color);
}


/* SOCIAL ICONS//////////////// */

.social-icons {
    margin-top: 8rem;
    display: flex;
    justify-content: space-between;
    width: 300px;
    height: 40px;
    padding-right: 15px;
}

.social-icons a {
    display: inline-flex;
    
    width: 50px;
    height: 100%;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    border: 2px solid var(--hover-color);
    transition: .6s;
    box-shadow: 0 0 0.3rem #12f7ff;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.social-icons a i {
    font-size: 1.5rem;

}

.social-icons a:hover {
    color: var(--bg-color);
}

.social-icons a::before {
    content: "";
    position: absolute;
    left: 0%;
    top: 0;
    width: 0%;
    height: 100%;
    background: var(--hover-color);
    transition: 0.6s;
    z-index: -1;
}

.social-icons a:hover::before {
    width: 100%;
}

/* IMAGE AND SHAPES //////////////////////////////////////////// */
.home-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    top: -20%;
}

.img-box {
    text-align: center;
    position: inherit;
    z-index: 2;
}

.img-box img {
    width: 100%;
    max-width: 400px;
    height: auto;
    position: relative;
    z-index: 2;
}


/* Blob container */
.lequid-shape {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    z-index: -1;
    overflow: visible;
}








/* SVG blob */
svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 40px #12f7ff);
    animation: rotate 20s linear infinite;
}


/* FOR NEXT MOVING SHAPES */
.home-image1 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-box1 {
    position: relative;
    z-index: 2;
    /* keep image above the blob */
    text-align: center;
}

.img-box1 img {
    width: 350px;
    height: auto;
    position: relative;
    z-index: 2;
}

.lequid-shape1 {
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 600px;
    z-index: 1;
    overflow: visible;
}

/* Constrain large decorative shapes on small screens to avoid overflow */
@media (max-width: 768px) {
    .lequid-shape,
    .lequid-shape1 {
        width: min(80vw, 420px);
        height: auto;
        top: 12%;
    }
    .home-image { top: 0; }
}

/* SVG blob */
.blob1 {
    width: 110%;
    height: 120%;
    filter: drop-shadow(0 0 30px #12f7ff);
}



/* ABOUT SECTION//////////////////////////// */

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 2em;
    background: var(--secon-bg-color);
}

.about .img-about {
    text-align: center;
    position: relative;
}

.about .img-about .home-image1 {
    max-width: 400px;
    height: auto;
}

.about-content span {
    color: #fdfdfd;
    font-size: .8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-content h2 {
    color: var(--hover-color);
    font-weight: 700;
    font-size: var(--normal-font);
}

.about-content h3 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: .2rem;
}

.about-content p {
    color: #fdfdfd;
    font-weight: 300;
    margin-bottom: 1.5rem;

}

.info-about1,
.info-about2,
.info-about3 {
    background: var(--bg-color);
    font-size: .5rem;
    position: absolute;
    padding: 10px;
    width: 90px;
    height: 90px;
    border-radius: 69% 31% 66% 34%/ 21% 30% 70% 79%;
    display: block;
    box-shadow: var(--neon-box-shodow);
    border: 1px solid var(--hover-color);
    outline: 2px solid var(--bg-color);
    z-index: 100;
    animation: morph 6s linear infinite;

}

.info-about1 {
    left: 10%;
    top: 34%;
}

.info-about2 {
    left: 66%;
    top: 15%;
}

.info-about3 {
    left: 61%;
    top: 70%;
}

.img-about span {
    color: var(--hover-color);
    font-size: 1.5rem;
    font-weight: 600;
}

/* SERVICES SECTION CSS /////////////////////////////////////////////////////////////// */
.main-text {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--hover-color);
}

/* Reduce gap between Our Services heading and Spline */
.services .main-text {
    margin-bottom: 0.75rem;
}

.main-text h2 {
    font-weight: 700;
    font-size: var(--normal-font);
}

.main-text span {
    color: #fdfdfd;
    font-size: .8rem;
    font-weight: 200;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-services {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 2rem;
}

.section-services .service-box {
    flex: 1 1 18rem;
    padding: 2rem 1rem 2rem;
    text-align: center;
    background: var(--secon-bg-color);
    transition: transform .4s;
    border-radius: 10px;
}

.service-btn {
    width: auto;
    justify-content: center;
}

.port-box:hover {
    border-color: var(--hover-color);
    /* transform: translateY(-10px); */
}

.service-box:hover {
    transform: translateY(-.7rem);
}

.service-icon {
    border: 2px solid var(--hover-color);
    padding: 2rem;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    font-size: 3rem;
    border-radius: 50%;
    position: relative;
    color: var(--hover-color);
    box-shadow: var(--neon-box-shodow);
    outline: 3px solid var(--bg-color);
}

.service-box h3 {
    margin-top: 10px;
    font-size: 1.5rem;

}

.service-box p {
    margin: .5rem 0 1.5rem 0;
    font-weight: 300;
    letter-spacing: 1px;
    color: #bdbdbd;
    line-height: 1.6;

}

/* SKILLS SECTION ////////////////////////////////////////////////// */

.skills {
    background: var(--secon-bg-color);
}

.robot {
    width: 600px;
    height: 300px;
    margin: 0 auto;
    margin-bottom: 2rem;
}
.skill-main {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 30px;
    grid-column-gap: 50px;
}

.skill-bar {
    margin-bottom: 2.3rem;
}

.skill-main h3 {
    margin-bottom: 2rem;
    font-size: var(--normal-font);
    text-align: center;

}

.skill-left .skill-bar .info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.skill-left .skill-bar .bar {
    width: 100%;
    height: 10px;
    background-color: var(--bg-color);
    border-radius: 25px;
    margin-top: 10px;
    position: relative;
}

.skill-bar .bar span {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    background: var(--hover-color);
    border-radius: 25px;
    box-shadow: var(--neon-box-shodow);

}

.skill-bar .bar .html {
    width: 85%;
    animation: html 2s;
}

.skill-bar .bar .figma {
    width: 80%;
    animation: figma 3s;

}

.skill-bar .bar .javascript {
    width: 72%;
    animation: javascript 4s;

}

.skill-bar .bar .css {
    width: 95%;
    animation: css 5s;

}

/* skills right  */

.professional {
    display: grid;
    grid-template-columns: 1fr 1fr;

}

.box {
    position: relative;
    margin: 10px 0;
    flex: 1 1 15rem;

}

.box .text {
    text-align: center;
    color: #fff;
    font-size: 1rem;
}

.box .text big {
    font: 400;
    letter-spacing: 1px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.box .text small {
    display: block;
    font-weight: 600;
}

.circle {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;


}

.circle .points {
    width: 2px;
    height: 10px;
    background-color: var(--bg-color);
    position: absolute;
    border-radius: 3px;
    transform: rotate(calc(var(--i)*var(--rot))) translateY(-45px);

}

.points.marked {
    animation: glow 0.04s linear forwards;
    animation-delay: calc(var(--i)*0.05s);
}


/* Project ////////////////////////////////////////////////////////////// */





.portfolio {
    background: var(--bg-color);
    width: 100%;
}

.portfolio .container {
    max-width: 1300px; /* allow projects to span wider on large screens */
    margin: 0 auto 20px;
}

.portfolio .main-text span {
    display: block;
    color: #aaa;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.portfolio .main-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hover-color);
    margin-bottom: 20px;
}

.portfolio .container {
    width: 100%;
    margin-bottom: 20px;
}

.portfolio .fillter-buttons {
    margin-bottom: 20px;
}

.fillter-buttons .btn {
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 1rem;
    margin: 0 10px;
    cursor: pointer;
    transition: 0.3s;
}

.fillter-buttons .btn:hover {
    color: var(--hover-color);
    text-shadow: 0 0 10px var(--hover-color);
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    justify-content: center;
    align-items: stretch;
}
.light {
    display: none;
    width: 100%;
    height: 300px;
    
}

.port-box {
    position: relative;
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(18, 247, 255, 0.28);
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='6' fill='%2312f7ff'/%3E%3C/svg%3E") 9 9, pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.port-box::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 3px;
    border-radius: inherit;
    background: radial-gradient(
        180px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        #ffffff 0%,
        var(--hover-color) 20%,
        rgba(18, 247, 255, 0.85) 45%,
        transparent 82%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
}

.port-box::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: var(--bg-color);
    border-radius: 8px;
    pointer-events: none;
    z-index: 0;
}

.port-box > * {
    position: relative;
    z-index: 1;
}

.port-box:hover {
    border-color: rgba(18, 247, 255, 0.65);
}

.port-box:hover::before {
    opacity: 1;
}

.port-image {
    overflow: hidden;
}

.port-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.port-box:hover .port-image img {
    transform: scale(1.05);
}

.port-content {
    padding: 20px;
    flex: 1;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.port-content h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.port-content p {
    color: #bdbdbd;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.port-box:hover .port-content {
    background: rgba(255, 255, 255, 0.14);
}

.port-box:hover .port-content h3,
.port-box:hover .port-content a {
    color: var(--hover-color);
}

.port-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--hover-color);
    color: var(--hover-color);
    font-size: 1.4rem;
    transition: 0.3s;
}

.port-content a:hover {
    background: var(--hover-color);
    color: var(--bg-color);
    box-shadow: var(--neon-glow);
}

/* Responsive */
@media (max-width: 768px) {
    /* Global layout */
    section {
        padding: 70px 6%;
    }

    .home {
        grid-template-columns: 1fr;
        grid-gap: 2.5rem;
    }

    .home-content {
        text-align: center;
        align-items: center;
    }

    .info-box {
        width: 100%;
        justify-content: space-between;
    }

    .home-image {
        order: -1;
        top: 0;
        margin-bottom: 2.5rem;
    }

    .social-icons {
        margin-top: 2.5rem;
        width: 100%;
        justify-content: space-around;
    }

    .about {
        flex-direction: column;
        text-align: center;
    }

    .skill-main {
        grid-template-columns: 1fr;
    }

    .section-services {
        max-width: 100%;
    }

    .portfolio-gallery {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 25px;
    }

    .main-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    header {
        padding: 15px 6%;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .name .logo {
        font-size: 24px;
    }

    .home-content h1 {
        font-size: 1.7rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .change-text {
        font-size: 1rem;
        line-height: 1.3;
        text-align: center;
    }

    .home-content {
        padding: 0 0.5rem;
    }


@media (max-width: 400px) {
    section {
        padding: 60px 5%;
    }

    .name .logo {
        font-size: 22px;
    }

    .home-content h1 {
        font-size: 1.6rem;
    }

    .change-text {
        font-size: 0.95rem;
    }

    .info-box {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        text-align: center;
    }

    .btn-box {
        width: 100%;
    }

    .social-icons {
        width: 100%;
    }
}
/* Mobile buttons: make buttons full-width but shorter/tighter */
.btn-box {
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 0.5rem;
}

.btn-box a.btn {
    width: 100%;
    height: 44px; /* shorter height */
    border-radius: 8px; /* less rounded */
    font-size: 0.95rem;
}

@media (max-width: 400px) {
    .btn-box a.btn {
        height: 40px;
        font-size: 0.9rem;
    }
}

    .about {
        padding-top: 40px;
    }

    .portfolio .main-text h2,
    .contactme .main-text h2 {
        font-size: 1.8rem;
    }

    .port-image img {
        height: 180px;
    }

    .contactme form {
        margin: 1rem 1rem 2.5rem 1rem;
        padding: 1.5rem 1.25rem 1.25rem 1.25rem;
    }

    .footer {
        padding: 20px 6%;
    }
}

/* CONTACT SECTION CSS//////////////////////////////////////// */



.contactme {
    background: var(--secon-bg-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    box-sizing: border-box;
}

.main-text span {
    display: block;
    color: #aaa;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hover-color);
    margin-bottom: 40px;
}

.contactme form {
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin: 1rem auto 3rem auto;
    background: var(--bg-color);
    border-radius: 25px;
    box-shadow: var(--neon-box-shodow);
    padding: 2rem 2rem 1.5rem 2rem;
}

.contactme form input,
.contactme form textarea {
    width: 100%;
    color: var(--text-color);
    background: var(--secon-bg-color);
    margin-bottom: .8rem;
    border: none;
    border-radius: 5px;
    padding: .7rem;
}

.contactme form textarea {
    background: #181c25;
    color: #fff;
    border: 1.5px solid var(--hover-color);
    resize: vertical;
    min-height: 120px;
    transition: border 0.3s;
}
.contactme form textarea:focus {
    outline: none;
    border: 2px solid #12f7ff;
    background: #23283a;
}

    .contactme form input::placeholder,
    .contactme form textarea::placeholder {
        color:#12f7ff ;
        opacity: 1;
    }

/* Contact form button styled like other .btn buttons */
.contactme .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: var(--hover-color);
    color: var(--bg-color);
    border-radius: 10px;
    border: 1.5px solid var(--hover-color);
    letter-spacing: 1px;
    font-weight: 600;
    transition: 0.6s;
    box-shadow: var(--neon-box-shodow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--hover-color);
    cursor: pointer;
}

.contactme .btn:hover {
    color: var(--hover-color);
    background: var(--bg-color);
    border: 2px solid var(--hover-color);
    box-shadow: 0 0 12px rgba(18, 247, 255, 0.7), 0 0 28px rgba(18, 247, 255, 0.6);
    animation: glow-pulse 1.4s ease-in-out infinite;
}

/* Contact form button styled like other .btn buttons */
.contactme .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: var(--hover-color);
    color: var(--bg-color);
    border-radius: 10px;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
    transition: 0.6s;
    box-shadow: var(--neon-box-shodow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--hover-color);
    cursor: pointer;
}

.contactme .btn:hover {
    color: var(--hover-color);
    background: var(--bg-color);
    border: 2px solid var(--hover-color);
    box-shadow: 0 0 12px rgba(18, 247, 255, 0.7), 0 0 28px rgba(18, 247, 255, 0.6);
    animation: glow-pulse 1.4s ease-in-out infinite;
}






/* KEY FRAMES/////////////////////////////////////// */
@keyframes glow-pulse {
    0%,
    100% {
        box-shadow: 0 0 10px rgba(18, 247, 255, 0.5), 0 0 22px rgba(18, 247, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 16px rgba(18, 247, 255, 0.9), 0 0 36px rgba(18, 247, 255, 0.8);
    }
}
@keyframes morph {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% /40% 40%60% 50%;
    }

    30% {
        border-radius: 70% 63% 50% 50% /30% 30% 70% 70%;

    }

    60% {
        border-radius: 100% 60% 60% 100% /100% 100% 60% 60%;


    }

    80% {
        border-radius: 69% 31% 66% 34% /21% 30% 70% 79%
    }

}

@keyframes html {
    0% {
        width: 0%;
    }

    100% {
        width: 85%;
    }
}

@keyframes figma {
    0% {
        width: 0%;
    }

    100% {
        width: 80%;
    }
}

@keyframes javascript {
    0% {
        width: 0%;
    }

    100% {
        width: 72%;
    }
}

@keyframes css {
    0% {
        width: 0%;
    }

    100% {
        width: 95%;
    }
}

@keyframes glow {
    0% {
        background: var(--bg-color);
        box-shadow: none;
    }

    100% {
        background: var(--hover-color);
        box-shadow: var(--neon-box-shodow);
    }
}

/* FOOTER SECTION /////////////////////////////////////////////// */

.footer {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 30px 10%;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(18, 247, 255, 0.1);
    margin-top: 40px;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.footer-content p {
    margin: 0;
    font-size: 1.1rem;
}
.footer-socials {
    margin-top: 10px;
}
.footer-socials a {
    color: var(--hover-color);
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}
.footer-socials a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--hover-color), 0 0 20px var(--hover-color);
}

/* Spline viewer wrapper to hide bottom branding badge */
.spline-wrapper {
    width: 100%;

    max-width: 900px;
    height: 220px;
    margin: 10px auto 0;
    overflow: hidden;
    border-radius: 20px;
}

.spline-wrapper spline-viewer {
    width: 100%;
    height: 260px; /* taller so model is bigger while badge stays clipped */
}

@media (max-width: 768px) {
    .spline-wrapper {
        max-width: 100%;
        height: 260px;
    }

    .spline-wrapper spline-viewer {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .spline-wrapper {
        height: 280px;
        margin-top: 5px;
    }

    .spline-wrapper spline-viewer {
        height: 330px;
    }
}

/* Fixed Download CV button shown at top-right on larger screens */
.nav-download a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    height: auto;
    background: var(--hover-color);
    color: var(--bg-color);
    border-radius: 10px;
    font-weight: 700;
    box-shadow: var(--neon-box-shodow);
}

/* Ensure header doesn't cover content */
main, section, .home {
    padding-top: 64px; /* reduced header height + gap */
}

@media (max-width: 768px) {
    .nav-download a.btn {
        background: transparent;
        color: var(--hover-color);
        box-shadow: none;
        padding: 0;
        height: auto;
    }
}

/* Click-to-copy email styles */
.copy-email {
    cursor: pointer;
    color: #bdbdbd;
    border-bottom: 1px dotted rgba(189,189,189,0.3);
    position: relative;
}

.copy-tooltip {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--hover-color);
    color: var(--bg-color);
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    box-shadow: var(--neon-box-shodow);
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.copy-tooltip.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}