html {
    scroll-behavior: smooth;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; 
}

body{
    color:white;
    background: #000000;
}
    
#header{
    width: 100%;
    height: 100vh;
    background: url('.vscode/images/port.jpg') no-repeat center;
    background-size: cover;
    background-position: cover;
    background-attachment: fixed;
    
}



nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

}

nav ul li{
    display:inline-block;
    list-style: none;
    margin : 10px 20px
}
nav ul li a{
    color: white;
    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: -7px;
    
}
nav ul li a:hover::after{
    width: 100%;
    transition: 0.5s;
}
.header-text{
    margin-top: 15%;
    font-size: 30px;
    margin-left: 100px;

}
.header-text p{
    font-size: 18px;
    margin-left: 17px;
}   
.header-text h1{
    font-size: 60px;
    margin: 20px;
}
.header-text h1 span{
    color: #ff004f;
}
#about{
    padding: 60px 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%;

}
.subtitle{
    font-size: 60px;
    font-weight: 600;
    color: white;
}
.tab-title{
    display: flex;
    margin :20px 0 40px
}
.links{
    margin-right: 50px;
    font-size: 18px;
    font-style: 500;
    cursor: pointer;
    position: relative;

}
.links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
    
}
.links.active-link::after{
    width: 50%;
}

.tab-content ul li{
    list-style: none;
    margin: 15px 0;
}

.tab-content ul li span{
    color: #ff004f;
    font-size: 30px;
    font-weight: 800;
    
}

.tab-content{
    display: none;
}

.tab-content.active-tab{
    display: block;
}

#servises{
    padding: 100px 0;
    color: white;
}
.service-list{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.service-list div{
    background-color: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.service-list div i{
    font-size: 50px;
    padding-bottom: 5%;
}
.service-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.service-list div a{
    text-decoration: underline;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.service-list div:hover{
    background: #ff004f;
    transform: translateY(-10px);
}
/*----------------portfolio----------------*/
#portfolio{
    padding: 50px 0;
    color: white;
}
.work-list{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.work{
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.work img{
    width: 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: 0.5s;

}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    padding-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%;
}
.btn{
    display:block;
    margin: 50px auto;
    border: 1px solid #ff004f;
    width:fit-content;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    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: 10px;
    font-size: 25px;

}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    margin-right: 15px;
    font-size: 30px;
    color: #ababab;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-5px);
}
.btn.btn2{
    display: inline-block;
    background: #ff004f;
}

.contact-right form{
    width: 100%;
    
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: white;
    border-radius: 6px;
    font-size: 18px;
    
}
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;
    margin-right: 10px;
    font-size: 20px;
}
nav .fa-solid{
    display: none;
}



/*----------------responsive----------------*/
/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 10px 5%;
    }
}

@media (max-width: 992px) {
    .header-text {
        margin-top: 20%;
        font-size: 28px;
        text-align: center;
        margin-left: 0;
    }

    .header-text p {
        font-size: 16px;
        margin-left: 0;
    }

    .header-text h1 {
        font-size: 50px;
        margin: 10px 0;
    }

    nav .fa-solid {
        display: block;
        font-size: 25px;
    }

    nav ul {
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: 0.5s;
    }

    nav ul li {
        margin: 25px;
        display: block;
    }

    nav ul .fa-solid {
        position: absolute;
        top: 26px;
        left: 25px;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }

    nav ul li a::after {
        content: '';
        width: 0;
        height: 3px;
        background: #ffffff;
        position: absolute;
        left: 0;
        bottom: -7px;
    }

    nav ul li a:hover::after {
        width: 100%;
        transition: 0.5s;
    }
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
        align-items: center;
    }

    .about-col-1,
    .about-col-2 {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .subtitle {
        font-size: 48px;
        text-align: center;
    }

    .tab-title {
        justify-content: center;
    }

    .links {
        margin-right: 20px;
    }

    .service-list,
    .work-list {
        grid-template-columns: 1fr;
    }

    nav .fa-solid {
        display: block;
        font-size: 25px;
    }

    nav ul {
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: 0.5s;
    }

    nav ul li {
        margin: 25px;
        display: block;
    }

    nav ul .fa-solid {
        position: absolute;
        top: 26px;
        left: 25px;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }

    nav ul li a::after {
        content: '';
        width: 0;
        height: 3px;
        background: #ffffff;
        position: absolute;
        left: 0;
        bottom: -7px;
    }

    nav ul li a:hover::after {
        width: 100%;
        transition: 0.5s;
    }
}

@media (max-width: 576px) {
    .header-text {
        font-size: 24px;
        margin-top: 25%;
    }

    .header-text h1 {
        font-size: 36px;
    }

    .header-text p {
        font-size: 14px;
    }

    .subtitle {
        font-size: 36px;
    }

    .service-list div,
    .work {
        padding: 20px;
    }

    .service-list div h2 {
        font-size: 24px;
    }

    .service-list div p {
        font-size: 12px;
    }

    .service-list div i {
        font-size: 40px;
    }

    .layer h3 {
        font-size: 18px;
    }

    .layer a {
        font-size: 14px;
        line-height: 50px;
        width: 50px;
        height: 50px;
    }

    .btn {
        padding: 10px 30px;
    }

    .contact-left,
    .contact-right {
        flex-basis: 100%;
    }

    form input,
    form textarea {
        font-size: 16px;
        padding: 10px;
    }

    .btn.btn2 {
        padding: 10px 30px;
    }

    .social-icons a {
        font-size: 24px;
    }

    .copyright {
        padding: 20px 0;
    }
}

#msg {
    color: #61b752;
    margin-top: -40px;
    display: block;
}

.service-list div .fa-solid.service {
    font-size: 12px;
    margin-left: 5px;
}
/* Base styles for the logo */
#logo {
    display: block;
    width: 200px; /* Default width */
    height: auto; /* Maintain aspect ratio */
    margin-left: -10px; /* Center the logo */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    #logo {
        width: 180px; /* Adjust width for smaller screens */
    }
}

@media (max-width: 992px) {
    #logo {
        width: 150px; /* Further adjust width for smaller screens */
    }
}

@media (max-width: 768px) {
    #logo {
        width: 120px; /* Further adjust width for smaller screens */
    }
}

@media (max-width: 576px) {
    #logo {
        width: 100px; /* Further adjust width for smaller screens */
    }

