*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    background: #080808;
    color: #fff;
}

#header{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #080808;
}

#header::before,
#header::after{
    content: '';
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
}

#header::before{
    background: linear-gradient(
        115deg,
        transparent 25%,
        rgba(36, 230, 117, 0.28) 48%,
        transparent 68%
    );
    transform: translateX(-100%);
    animation: lightSweep 10s ease-in-out infinite;
}

#header::after{
    background:
        radial-gradient(circle at center, transparent 34%, rgba(8, 8, 8, 0.5) 100%),
        linear-gradient(135deg, rgba(36, 230, 117, 0.12), rgba(8, 8, 8, 0.3));
}

@keyframes lightSweep{
    0%, 35%{
        transform: translateX(-100%);
    }
    65%, 100%{
        transform: translateX(100%);
    }
}

.back-video{
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.78) contrast(1.12) saturate(1.2);
    transform: scale(1.03);
}

.container{
    position: relative;
    z-index: 1;
    padding: 10px 10%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.web-font{
    display: block;
    width: auto;
    max-width: 205px;
    height: 48px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 0 8px rgba(36, 230, 117, 0.35));
}

nav ul{
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    margin-left: auto;
    overflow: hidden;
    background: rgba(8, 8, 8, 0.42);
    border: 1px solid rgba(36, 230, 117, 0.3);
    border-radius: 8px;
    box-shadow: 0 0 24px rgba(36, 230, 117, 0.12), inset 0 0 14px rgba(36, 230, 117, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

nav ul::before{
    content: '';
    position: absolute;
    top: 0;
    left: -35%;
    width: 35%;
    height: 2px;
    background: #24e675;
    box-shadow: 0 0 12px #24e675;
    animation: menuGlow 5s ease-in-out infinite;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 6px 12px;
}

nav ul li a{
    color: #f4fff7;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul li a:hover{
    color: #24e675;
    text-shadow: 0 0 12px rgba(36, 230, 117, 0.8);
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 2px;
    background: #24e675;
    box-shadow: 0 0 8px rgba(36, 230, 117, 0.8);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: width 0.35s ease;
}

nav ul li a:hover::after{
    width: 100%;
}

@keyframes menuGlow{
    0%, 20%{
        transform: translateX(0);
        opacity: 0;
    }
    35%, 70%{
        opacity: 1;
    }
    85%, 100%{
        transform: translateX(380%);
        opacity: 0;
    }
}

.logo{
    width: 140px;
    display: block;
}

nav .fa-bars,
nav .fa-xmark {
    display: none;
}

.header-text{
    margin-top: 150px;
    font-size: 30px;
}
.header-text h1{
    font-size: 70px;
    margin-bottom: 20px;
}

.header-text h1 span{
    color: #24e675;
}

#about{
    padding: 90px 0;
    color: #ababab;
}
.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%;
}

.about-intro {
    margin-top: 24px;
    padding: 24px 26px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid #24e675;
    border-radius: 12px;
    color: #d0d0d0;
    line-height: 1.8;
}

.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}

.featured-projects-title {
    text-align: center;
    text-transform: uppercase;
}

.tab-titles{
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 50px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: fit-content;
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.02);
}

.tab-links{
    margin: 0;
    padding: 12px 22px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: #d7d7d7;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tab-links:hover{
    color: #fff;
    border-color: rgba(36, 230, 117, 0.35);
    background: rgba(36, 230, 117, 0.04);
}

.tab-links.active-link{
    background: linear-gradient(135deg, rgba(36, 230, 117, 0.22), rgba(36, 230, 117, 0.08));
    color: #f3fff8;
    border-color: rgba(36, 230, 117, 0.7);
    box-shadow: 0 0 18px rgba(36, 230, 117, 0.2);
    transform: translateY(-2px);
}

.tab-links.active-link::after{
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -10px;
    height: 2px;
    background: #24e675;
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(36, 230, 117, 0.8);
}

.tab-contents {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.tab-contents.active-tab{
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeUp 0.45s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-contents ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.tab-contents ul li{
    list-style: none;
    margin: 0;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid rgba(36, 230, 117, 0.8);
    border-radius: 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
    font-size: 15px;
    line-height: 1.7;
}

.tab-contents ul li:hover{
    transform: translateX(4px);
    border-color: rgba(36, 230, 117, 0.7);
}

.tab-contents ul li span{
    display: block;
    color: #24e675;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(36, 230, 117, 0.2);
}





#services{
    padding: 30px 0;
}

.services-list{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service{
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(36, 230, 117, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service:hover{
    transform: translateY(-10px);
    border-color: rgba(36, 230, 117, 0.8);
    box-shadow: 0 0 25px rgba(36, 230, 117, 0.35), 0 0 40px rgba(36, 230, 117, 0.12);
}

.service i{
    font-size: 50px;
    margin-bottom: 30px;
    color: #24e675;
    text-shadow: 0 0 12px rgba(36, 230, 117, 0.7);
}

.service h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #fff;
}

.service p{
    font-size: 14px;
    line-height: 1.7;
    color: #d3d3d3;
    margin-bottom: 20px;
}

.service a{
    text-decoration: none;
    color: white;
    font-size: 12px;
    margin-top: auto;
    display: inline-block;
    transition: color 0.3s ease;
}

.service a:hover{
    color: #24e675;
    text-shadow: 0 0 10px rgba(36, 230, 117, 0.8);
}

#portfolio{
    padding: 90px 0;
}

.featured-projects-section {
    padding-bottom: 20px;
}

.work-list{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.work {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #262626;
    min-height: 300px;
}

.work img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.work-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.work:has(.work-video) {
    min-height: 0;
}

.portfolio-showreel {
    padding: 20px 0 90px;
}

.portfolio-showreel .sub-title {
    text-align: center;
}

.portfolio-showreel .container {
    padding-left: 4%;
    padding-right: 4%;
}

.portfolio-showreel .work-list {
    grid-template-columns: minmax(0, 1300px);
    justify-content: center;
}

.layer{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(15, 214, 8, 0.8));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(20px);
}

.work:hover .layer {
    opacity: 1;
    transform: translateY(0);
}

.work:hover img {
    transform: scale(1.08);
}

.layer h3{
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 26px;
}

.layer p {
    color: #fff;
    line-height: 1.6;
}

.layer a{
    margin-top: 20px;
    color: #43c928;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
}




#contact{
    padding: 80px 0;
}

.contact-left{
    flex-basis: 35%;
}

.contact-right{
    flex-basis: 60%;
}

.contact-left p{
    margin-top: 20px;
}

.contact-left p i{
    color: #24e675;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons{
    margin-top: 30px;
}

.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 20px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s ease, color 0.5s ease;
}

.social-icons a:hover{
    color: #24e675;
    text-shadow: 0 0 10px rgba(36, 230, 117, 0.8);
    transform: translateY(-5px);
}

.contact-right form{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-right input,
.contact-right textarea{
    width: 100%;
    background: #262626;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 15px 20px;
    resize: vertical;
}

.contact-right input::placeholder,
.contact-right textarea::placeholder{
    color: #d0d0d0;
}

.btn,
.contact-right button{
    display: inline-block;
    width: fit-content;
    background: #24e675;
    color: #080808;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover,
.contact-right button:hover{
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(36, 230, 117, 0.35);
}

.btn.btn2{
    margin-top: 30px;
    display: inline-block;
}

.contact-right form{
    width: 100%;
}

form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

.thank-you-message {
    display: none;
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(36, 230, 117, 0.12);
    border: 1px solid rgba(36, 230, 117, 0.6);
    color: #dfffe9;
    font-size: 14px;
    font-weight: 500;
}

.thank-you-message.show {
    display: block;
}

#contact {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#contact .container {
    flex: 1;
}

.copyright{
    width: 100%;
    text-align: center;
    padding: 18px 0;
    background: #262626;
    font-weight: 300;
    margin-top: auto;
    font-size: 12px;
    color: #b9b9b9;
}

nav.fas{
    display: none;
}


@media only screen and (max-width: 600px) {
    #header{
        background: #080808;
    }
    nav{
        justify-content: space-between;
    }
    .header-text{
        margin-top: 100%;
        font-size: 16px;
    }
    .header-text h1{
        font-size: 30px;
    }
    nav .fa-bars,
    nav .fa-xmark{
        display: block;
        font-size: 25px;
        cursor: pointer;
        color: #fff;
    }
    .web-font{
        max-width: 170px;
        height: 43px;
    }
    nav ul{
        align-items: flex-start;
        display: block;
        background: rgba(8, 8, 8, 0.88);
        border: 0;
        border-left: 2px solid #24e675;
        border-radius: 0;
        box-shadow: -8px 0 30px rgba(36, 230, 117, 0.18);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li{
        display: block;
        margin: 25px 24px;
    }
    nav ul .fa-xmark{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .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;
    }

    .work-list,
    .services-list{
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .work,
    .service {
        min-height: 260px;
    }

    .layer {
        padding: 0 24px;
    }

    .layer h3 {
        font-size: 22px;
    }

    .layer p {
        font-size: 13px;
    }

    .contact-left, .contact-right{
        flex-basis: 100%;
    }

    .copyright{
        font-size: 14px;
    }
}