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

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #fff;
background-attachment: fixed;
}

.box {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.box.show {
    opacity: 1;
    transform: translateX(0);
}

#header {
    width: 100%;
    height: 100vh;
    background-image: url(Images/Avatar.png);
    margin-top: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right 25px;

}

.logo {
    font-size: 22px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background-color: #0687aa;
    padding: 5px 10px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(238, 244, 245, 0.604);
}
#header a
{
    text-decoration: none;
}


.container {
    padding: 10px 10%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}


 nav h3 span {
    color: #fff;
    font-size: 22px;
    
} 

nav ul {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: color 0.3s;
}

nav ul li a::after {
    content: '';
    width: 0;
    height: 3px;
    background: #00c6ff;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}


.header-text {
    margin-top: 20%;
    font-size: 30px;
}

.header-text p {
    display: inline-block;
    margin: 0;
}



.header-text h2 {
    font-size: 40px;
    margin-top: 20px;
}

.header-text h2 span {
    color: #00c6ff;
}

#about {
    padding: 80px 0px;
    color: #ababab;
    margin-top: 10px;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.46);
    display: block;
    margin: 0 auto;
}

.about-col-2 {
    flex-basis: 60%;
}

.sub-title {
    font-size: 40px;
    font-weight: 600;
    color: #fff;
}

.about-col-2 p {
    font-size: 16px;
    line-height: 1.8;
    justify-content: justify;
}

.about-col-2 p b {
    font-weight: 600;
    color: #00c6ff;
}

.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: '';
    width: 0;
    height: 3px;
    background: #00c6ff;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 100%;
}

.tab-contents ul li {
    list-style: none;
    margin: 12px 0;
    font-size: 14px;
    line-height: 2;
}

.tab-contents ul li span {
    color: #00c6ff;
    font-size: 14px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

#services {
    padding: 80px 0;
    text-align: center;
}

#services .sub-title {
    font-size: 36px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 50px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.services-list div {
    background: #1b1b1b;
    padding: 40px 20px;
    border-radius: 15px;
    transition: transform 0.5s, box-shadow 0.5s, background 0.5s;
    text-align: center;
    cursor: pointer;
}

.services-list div i {
    font-size: 50px;
    margin-bottom: 25px;
    color: #00c8ff;
    transition: transform 0.5s, color 0.5s;
}

.services-list div h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.services-list div p {
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
}

.services-list div a {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: #fff;
    background: #00c6ff;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background 0.3s, transform 0.3s;
}

.services-list div a:hover {
    background: #027899;
    transform: translateY(-3px);
}

.services-list div:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 198, 255, 0.4);
}

.services-list div:hover i {
    transform: scale(1.2);
    color: #fff;
}

#portfolio {
    padding: 50px 0;
    text-align: center;
}

.project-tabs {
    margin: 30px 0;
    text-align: center;
}

.tab-btn {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    background: #262626;
    color: #fff;
    transition: 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: #00c6ff;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    height: auto;
}

.work-card {
    background: #1e1e1e;
    padding: 20px 10px;
    border-radius: 10px;
    transition: 0.4s;
    line-height: 2;
    position: relative;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 198, 255, 0.4);
}

.tech {
    display: inline-block;
    margin-top: 10px;
    font-size: 15px;
    opacity: 0.8;
    color: #00c6ff;
    font-weight: 600;
}

.hidden {
    display: none;
}

.show {
    display: block;
}

.btn {
    padding: 10px 20px;
    margin-top: 30px;
    border-radius: 20px;
    border: none;
    color: #E5E7EB;
    cursor: pointer;
    transition: 0.3s;
    background-color: #00c6ff;
}

.tab-btn {
    padding: 10px 20px;
    margin: 5px;
    border-radius: 20px;
    border: none;
    color: #E5E7EB;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: #00c6ff;
    color: #fff;
}

.work-card a {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    background: #00c6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.work-card:hover a {
    opacity: 1;
    transform: translateY(0);
}

.work-card a i {
    font-size: 16px;
    color: #fff;
    transition: all 0.3s ease;
}


.contact-left {
    flex-basis: 35%;
}

.contact-left p {
    margin-top: 30px;
}

.contact-left p i {
    color: #00c6ff;
    margin-right: 15px;
    font-size: 25px;
}

.social-icon {
    margin-top: 30px;
}

.social-icon a {
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #00c6ff;
    display: inline-block;
    transition: all 0.3s ease;
}

.social-icon a i {
    color: inherit;
}

.social-icon a:hover {
    transform: translateY(-5px);
    color: #fff;
}

.btn.btn2 {
    display: inline-block;
    background: #00c6ff;
    text-decoration: none;
}

.contact-right {
    flex-basis: 60%;
}

.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: 10px 30px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

.copyright {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
}

nav .fas {
    display: none;
}

@media only screen and (max-width: 600px) {

    nav .fa-bars {
        display: block;
        font-size: 25px;
        cursor: pointer;
        color: #fff;

    }

    nav ul {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background: #1b1b1b;
        padding-top: 60px;
        gap: 30px;
        transition: 0.4s;
        z-index: 1000;
        background-color: #027899;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        font-size: 20px;
    }

    nav .fa-circle-xmark {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 25px;
        cursor: pointer;
        color: #fff;
    }

    .header-text {
        margin-top: 120%;
        text-align: center;
        font-size: 22px;
    }

    .header-text h2 {
        font-size: 28px;
    }

    .about-col-1,
    .about-col-2 {
        flex-basis: 100%;
    }

    .about-col-2 {
        margin-top: 40px;
    }


    .contact-left,
    .contact-right {
        flex-basis: auto;
        width: auto;
    }
}

#msg {
    color: #61b752;
    margin-top: 40px;
    display: block;
}