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

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #fff;
}

#header {
    width: 100%;
    height: 100vh;
    background-image: url(images/background.png);
    background-size: cover;
    background-position: center;
}

.container {
    padding: 10px 10%;
}

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

.logo {
    font-size: 38px;
    width: 140px;

}

#seperation {
    color: #ff004f;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

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

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

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

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

.header-text h1 {
    font-size: 60px;
    margin-top: 20px;
}

.header-text h1 span {
    color: #ff004f;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: #ff004f;
    margin-left: 4px;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes animate {

    40%,
    60% {
        left: calc(100% + 4px);
    }

    100% {
        left: 0%;
    }
}

/* ----------ABOUT---------- */
#about {
    padding: 80px 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%;
}

.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: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    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: #b54768;
    font-size: 14px;
}

.tab-contents {
    display: none;
}

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

/* ----------SERVICES---------- */
#services {
    padding: 30px 0;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.services-list div {
    background: #262626;
    padding: 40px;
    font-size: 13px;
    line-height: 30px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div i {
    font-size: 50px;
    margin-bottom: 30px;
}

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

.services-list div a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    margin-top: 20px;
    display: inline-block;
}

.services-list div:hover {
    background: #ff004f;
    transform: translateY(-10px);
}

/* ----------PORTFOLIO---------- */
#portfolio {
    padding: 50px 0;
}

/* .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%;
    height: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;


}

.layer {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #ff004f);
    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;
}

.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
}

.layer a {
    margin-top: 20px;
    color: #ff004f;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
} */

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

/* CARD */
.work {
    background: #111;
    border-radius: 16px;
    padding: 24px;
    color: #fff;

    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: all 0.3s ease;
}

/* HOVER = PREMIUM FEEL */
.work:hover {
    transform: translateY(-10px);
    border-color: #ff004f;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.work-content h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.work-content p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
}

.tech {
    margin-top: 15px;
}

.tech span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 10px;
    margin: 4px;
    border-radius: 6px;
    font-size: 12px;
}

.links {
    margin-top: 20px;
}

.links a {
    margin-right: 10px;
    text-decoration: none;
    font-size: 13px;
    color: #ff004f;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.links a:hover {
    border-color: #ff004f;
}

.work::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: radial-gradient(circle at top left, rgba(255, 0, 79, 0.2), transparent);
    opacity: 0;
    transition: 0.3s;
}

.work:hover::before {
    opacity: 1;
}

/* ---------- TIMELINE ---------- */
/* ---------- TIMELINE ---------- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
}

/* vertical line */
.timeline::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(#ff004f, transparent);
}

/* item */
.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;

    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s ease;
}

/* dot */
.timeline-item::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 22px;
    width: 14px;
    height: 14px;
    background: #ff004f;
    border-radius: 50%;
}

/* connector line */
.timeline-item::after {
    content: "";
    position: absolute;
    left: 30px;
    top: 28px;
    width: 30px;
    height: 2px;
    background: #ff004f;
}

/* year */
.year {
    font-size: 12px;
    color: #ff004f;
    margin-bottom: 6px;
    display: block;
}

/* card */
.timeline-content {
    background: #262626;
    padding: 22px;
    border-radius: 12px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

/* hover */
.timeline-content:hover {
    transform: translateY(-6px);
    border-color: #ff004f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* text */
.timeline-content h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 13px;
    color: #aaa;
}

/* tech tags */
.tech {
    margin-top: 12px;
}

.tech span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 10px;
    margin: 4px 4px 0 0;
    border-radius: 6px;
    font-size: 12px;
    color: #ddd;
}

/* links */
.timeline-content a {
    display: inline-block;
    margin-top: 12px;
    color: #ff004f;
    text-decoration: none;
    font-size: 14px;
}

/* hidden */
.hidden {
    display: none;
}

/* SEE MORE BUTTON */
#seeMoreBtn {
    display: block;
    margin: 40px auto 0;

    background: transparent;
    color: #fff;

    border: 1px solid #ff004f;
    padding: 12px 30px;
    border-radius: 6px;

    cursor: pointer;
    font-size: 14px;

    transition: all 0.3s ease;
}

#seeMoreBtn:hover {
    background: #ff004f;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 79, 0.4);
}


/*---------same----------*/

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    transition: background 0.5s;
}

.btn:hover {
    background: #ff004f;
}

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

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

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

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

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

.social-icons a {
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}

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

.btn.btn2 {
    display: inline-block
}

.btn.btn3 {
    background: #080808;
    margin-top: 30px;
    transition: background 0.5;

}

.btn.btn3:hover {
    background: #ff004f;
}

.btn.btn3:active {
    transform: scale(0.97) translateY(4px);
}

.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;


}

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

.copyright i {
    color: #ff004f;
    transition: color 0.5s;
}

.copyright i:hover {
    color: #fff;
}

/* ----------CSS FOR SMALL SCREEN---------- */
nav .fas {
    display: none;
}

@media only screen and (max-width: 600px) {
    #header {
        background-image: url(images/phone-background.png);
        background-size: cover;
        background-position: center -40px;
        width: 100%;
        height: 100vh;
        position: relative;
    }

    .header-text {
        position: absolute;
        bottom: 15%;
        left: 28px;
        font-size: 25px;
        padding: 10px 4%;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    }

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

    .logo {
        font-size: 28px;
        width: 130px;
    }

    nav .fas {
        display: block;
        font-size: 25px;
    }

    .fa-times {
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
    }

    nav ul {
        background: #ff004f;
        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;
    }

    nav ul .fas {
        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;
    }

    .contact-left,
    .contact-right {
        flex-basis: 100%;

    }

    .copyright {
        font-size: 14px;
    }

    /*------portfolio------*/

    .work-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .work {
        width: 100%;
        min-height: 220px;
        padding: 18px;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .work-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .work h2 {
        font-size: 20px;
    }

    .work p {
        font-size: 13px;
        line-height: 1.5;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-item::before {
        left: 4px;
    }

    .timeline-item::after {
        left: 18px;
        width: 15px;
    }

}

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