*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
    background: #070707;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

/* ---------- HEADER ---------- */
#header{
    width: 100%;
    height: 100vh;
    background-image: url(image/background1.png);
    background-size: cover;
    background-position: center;
    position: relative;
}

#header::before{
    content:'';
    position:absolute;
    inset:0;
    background: rgba(0,0,0,0.55);
}

.container{
    padding: 10px 10%;
    position: relative;
    z-index: 2;
}

/* ---------- NAV ---------- */
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 10px;
}

.logo{
    width: 120px;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 18px;
}

nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    position: relative;
    transition: 0.3s;
}

nav ul li a:hover{
    color: #ff004f;
}

nav ul li a::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.4s;
}

nav ul li a:hover::after{
    width: 100%;
}

/* ---------- HEADER TEXT ---------- */
.header-text{
    margin-top: 15%;
    font-size: 28px;
}

.header-text h1{
    font-size: 58px;
    margin-top: 20px;
    line-height: 1.2;
}

.header-text h1 span{
    color: #ff004f;
}

/* ---------- ABOUT ---------- */
#about{
    padding: 90px 0;
    color: #cfcfcf;
}

.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;
    transition: 0.3s;
}

.about-col-1 img:hover{
    transform: scale(1.02);
}

.about-col-2{
    flex-basis: 60%;
}

.sub-title{
    font-size: 48px;
    font-weight: 600;
    color: #fff;
}

/* ---------- TABS ---------- */
.tab-titles{
    display: flex;
    margin: 25px 0 35px;
    gap: 25px;
}

.tab-links{
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    color: #bbb;
    transition: 0.3s;
}

.tab-links:hover{
    color: #fff;
}

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.4s;
}

.tab-links.active-link::after{
    width: 50%;
}

.tab-contents ul li{
    list-style: none;
    margin: 12px 0;
}

.tab-contents ul li span{
    color: #ff4f7a;
    font-size: 14px;
}

.tab-contents{
    display: none;
}

.tab-contents.active-tab{
    display: block;
}

/* ---------- SERVICES ---------- */
#services{
    padding: 70px 0;
}

.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
    margin-top: 50px;
}

.services-list div{
    background: #151515;
    padding: 35px;
    border-radius: 12px;
    transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.05);
}

.services-list div:hover{
    transform: translateY(-10px);
    background: #1c1c1c;
    box-shadow: 0 10px 25px rgba(255,0,79,0.15);
}

.services-list div i{
    font-size: 45px;
    margin-bottom: 20px;
    color: #ff004f;
}

.services-list div h2{
    font-size: 26px;
    margin-bottom: 12px;
}

.services-list div p{
    font-size: 14px;
    color: #ccc;
}

.services-list div a{
    display: inline-block;
    margin-top: 15px;
    color: #ff004f;
    text-decoration: none;
}

/* ---------- PORTFOLIO ---------- */
#portfolio{
    padding: 70px 0;
}

.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
    margin-top: 50px;
}

.work{
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.work img{
    width: 100%;
    border-radius: 12px;
    display: block;
    transition: 0.4s;
}

.work:hover img{
    transform: scale(1.08);
}

/* overlay */
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(255,0,79,0.85), rgba(0,0,0,0.7));
    border-radius: 12px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 25px;
    text-align: center;
    font-size: 14px;
    transition: 0.4s;
}

.work:hover .layer{
    height: 100%;
}

.layer h3{
    font-size: 20px;
    margin-bottom: 10px;
}

.layer a{
    margin-top: 15px;
    color: #ff004f;
    background: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- BUTTON ---------- */
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 12px 45px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.btn:hover{
    background: #ff004f;
}

/* ---------- CONTACT ---------- */
.contact-left{
    flex-basis: 35%;
}

.contact-right{
    flex-basis: 60%;
}

.contact-left p{
    margin-top: 20px;
}

.contact-left p i{
    color: #ff004f;
    margin-right: 12px;
    font-size: 20px;
}

.social-icons{
    margin-top: 25px;
}

.social-icons a{
    font-size: 26px;
    margin-right: 12px;
    color: #aaa;
    transition: 0.3s;
}

.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-3px);
}

.btn.btn2{
    background: #ff004f;
    display: inline-block;
}

form input, form textarea{
    width: 100%;
    background: #151515;
    border: 1px solid transparent;
    padding: 14px;
    margin: 12px 0;
    color: #fff;
    border-radius: 6px;
    transition: 0.3s;
}

form input:focus,
form textarea:focus{
    border-color: #ff004f;
    outline: none;
}

form .btn2{
    cursor: pointer;
    padding: 12px 55px;
}

/* ---------- COPYRIGHT ---------- */
.copyright{
    width: 100%;
    text-align: center;
    padding: 20px;
    background: #111;
    margin-top: 20px;
    font-size: 14px;
}

/* ---------- MOBILE ---------- */
nav .fa-solid{
    display: none;
}

@media only screen and (max-width: 600px){

    #header{
        background-image: url(image/background2.png);
    }

    .header-text{
        margin-top: 90%;
        font-size: 16px;
    }

    .header-text h1{
        font-size: 32px;
    }

    nav .fa-solid{
        display: block;
        font-size: 25px;
    }

    nav ul{
        background: #111;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        transition: 0.4s;
        z-index: 10;
    }

    nav ul li{
        display: block;
        margin: 20px;
    }

    nav ul .fa-solid{
        position: absolute;
        top: 20px;
        left: 20px;
    }

    .sub-title{
        font-size: 32px;
    }

    .about-col-1,
    .about-col-2{
        flex-basis: 100%;
    }

    .about-col-1{
        margin-bottom: 20px;
    }

    .contact-left,
    .contact-right{
        flex-basis: 100%;
    }
}

#msg{
    color: #61b752;
    margin-top: 12px;
    display: block;
    font-size: 14px;
}