body {
    background-color: #0f172a;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    
    transition: margin-top 0.5s ease;
}

.text-accent {
    color: #00ffc6 !important;
}

.btn-accent {
    display: inline-block;
    padding: 14px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    color: #0f172a;
    background: linear-gradient(135deg, #00ffc6, #00cba9);
    border: none;
    box-shadow: 0 0 20px rgba(0, 255, 198, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-accent::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.btn-accent:hover::before {
    left: 200%;
}

.btn-accent:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px #00ffc6, 0 0 50px #00ffc6;
    color: #fff;
}

.btn-group-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 8% !important;

}

.navbar {
    backdrop-filter: blur(8px);
}

.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00ffc6 !important;
}

#hero {
    min-height: 100vh;
    background-color: #0f172a;
    overflow: hidden;
    transition: margin-top 0.5s ease;
}

.hero-text {
    display: flex;
    align-items: center;
}

.hero-animation spline-viewer {
    width: 100%;
    height: 100vh;
    border: none;
}

spline-viewer {
    margin-left: 23%;
    width: 100%;

}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 8% !important;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #00ffc6;
    border: 2px solid #00ffc6;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #00ffc6;
    color: #e2e8f0;
    box-shadow: 0 0 15px #00ffc6, 0 0 30px #00ffc6;
    transform: translateY(-3px) scale(1.05);

}

.social-links i {
    line-height: 1;
}

.animate-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: fadeSlideLeft 1s ease forwards;
}

.animate-right {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeSlideRight 1s ease forwards;
    animation-delay: 0.3s;
}

#About {

    padding: 80px 0;

}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 60%;
}

.sub-title {

    font-size: 60px;
    font-weight: 600;
    color: #fff;
}

.tab-titles {

    display: flex;
    margin: 20px 0 40px;

}

.tab-links {

    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {

    content: '';
    content: '';
    width: 0;
    height: 3px;
    background-color: #00ffc6;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {

    width: 50%;
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
}

.tab-contents ul li span {
    color: #00cba9;
    font-size: 14px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;

}

#services {
    padding: 30px 0;
    background-color: #0f172a;

}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.services-list div {
    background: #1e293b;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 12px;
    transition: background 0.4s ease, transform 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 198, 0.05);

}

.services-list div:hover {
    background: #0f766e;
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 255, 198, 0.25);

}


.services-list div i {
    font-size: 50px;
    margin-bottom: 30px;
    color: #00cba9;
}

.services-list div p {
    color: #94a3b8;

}

.services-list div h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.services-list div a {
    text-decoration: none;
    color: #00ffc6;

    font-size: 14px;
    margin-top: 20px;
    display: inline-block;
    transition: color 0.3s ease;
}

#Portfolio {
    padding: 50px 0;
    background-color: #0f172a;

}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work {

    border-radius: 10px;
    position: relative;
    overflow: hidden;
}


.work img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: -45px;
    display: block;
    transition: transform 0.5s;
}

.work:hover img {

    transform: scale(1.1);
}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(15, 23, 42, 0.8), #00ffc6);
    /* neon overlay */
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}

.work:hover .layer {
    height: 100%;
}

.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
}

.layer a {
    margin-top: 20px;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    color: #00ffc6;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    transition: all 0.3s ease;
}

.more {
    display: block;
    margin: 50px auto;
    width: fit-content;
    padding: 14px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    color: #0f172a;
    background: linear-gradient(135deg, #00ffc6, #00cba9);
    border: none;
    box-shadow: 0 0 20px rgba(0, 255, 198, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.more::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.more:hover::before {
    left: 200%;
}

.more:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px #00ffc6, 0 0 50px #00ffc6;
    color: #fff;
}


/* ---------Contact-----------*/
.contact-left {
    flex-basis: 35%;
}

.contact-left p {
    margin-top: 30px;
}

.contact-left p i {
    color: #00ffc6;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #b0b0b0;
    display: inline-block;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #00ffc6;
    text-shadow: 0 0 10px #00ffc6, 0 0 20px #00ffc6;
    transform: translateY(-5px) scale(1.05);
}

.btn.btn2 {
    display: inline-block;
    margin: 50px auto;
    width: fit-content;
    padding: 14px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    color: #0f172a;
    background: linear-gradient(135deg, #00ffc6, #00cba9);
    border: none;
    box-shadow: 0 0 20px rgba(0, 255, 198, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn.btn2::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.btn.btn2:hover::before {
    left: 200%;
}

.btn.btn2:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 25px #00ffc6, 0 0 50px #00ffc6;
    color: #fff;
}

.contact-right {
    flex-basis: 60%;
}

.contact-right form {
    width: 100%;
}

.contact-intro {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 25px;
    line-height: 1.6;
    position: relative;
}

.contact-intro span {
    color: #00ffc6;
    font-weight: 600;
    position: relative;
    animation: neon-glow 1.5s infinite alternate;
}

.contact-intro .underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 3px;
    width: 0;
    background: #00ffc6;
    border-radius: 2px;
    animation: underline-slide 2s infinite alternate;
}

@keyframes neon-glow {
    0% {
        text-shadow: 0 0 5px #00ffc6, 0 0 10px #00ffc6, 0 0 20px #00ffc6;
    }

    50% {
        text-shadow: 0 0 10px #00ffc6, 0 0 20px #00ffc6, 0 0 30px #00ffc6;
    }

    100% {
        text-shadow: 0 0 5px #00ffc6, 0 0 10px #00ffc6, 0 0 20px #00ffc6;
    }
}

@keyframes underline-slide {
    0% {
        width: 0;
        opacity: 0;
    }

    50% {
        width: 60%;
        opacity: 1;
    }

    100% {
        width: 100%;
        opacity: 1;
    }
}


@media (min-width: 992px) {
    .contact-intro {
        font-size: 20px;
    }
}


form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #1a1f2e;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
    transition: box-shadow 0.3s ease;
}

form input:focus,
form textarea:focus {
    box-shadow: 0 0 10px #00ffc6;
}

form .btn2 {
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

#msg {
    margin-top: -40px;
    font-weight: 500;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.15);

    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.5s ease;
    pointer-events: none;
}

#msg.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}



@media (max-width: 500px) {

    .contact-left,
    .contact-right {
        flex-basis: 100%;
    }
}



@keyframes fadeSlideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeSlideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@media (max-width: 992px) {
    .hero-animation spline-viewer {
        height: 400px;
    }

    spline-viewer {
        margin-left: 35%;
    }

    .hero-text {
        text-align: center;
        padding: 40px;
    }


    .social-links {
        justify-content: center;
        gap: 12px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .btn-group-hero {
        justify-content: center;
        gap: 10px;
    }

    .contact-intro {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .hero-animation spline-viewer {
        height: 300px;
    }

    spline-viewer {
        margin-left: 35%;
    }

    .social-links {
        justify-content: center;
        margin-top: 15px;
        gap: 10px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-width: 1.5px;
    }


}

@media (max-width: 500px) {
    .sub-title {
        font-size: 40px;
    }

    .about-col-1,
    .about-col-2 {
        flex-basis: 100%;
    }

    .about-col-1 {
        margin-bottom: 30px;
    }

    .about-col-2 {
        font-size: 14px;
    }

    .tab-links {
        font-size: 16px;
        margin-right: 20px;
    }


}