*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body {
    background: #080808;
    color: #fff;
}

.logo {
    width: 130px;
}

.container{
    padding: 9px 9%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
nav ul {
    display: flex;
    list-style: none;
    margin-left: auto; /* Pushes the entire ul to the right */
}

nav ul li{
    margin: 0px 20px;
    display: inline-block;
    list-style: none;
}
nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    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: 20%;
    font-size: 20px;   
}
.header-text h1{
    font-size: 50px;
    margin-top: 20px;
}
.header-text h1 span{
    color:#ff004f;
}
.about-col-1 figure {
    text-align: center;
    margin: 20px auto;
    width: fit-content;
  }

.about-col-1 figcaption {
    font-style: italic;
    font-family:'Times New Roman', Times, serif;
    font-size: 16px;
    color: #888;
    margin-top: 8px;
  }
/*---------------------About ExaMobil------------------ */
#about {
    padding: 30px 5px;
    color: #ababab
}
.about-col-1 img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding-top: 5px;
    display: block;
}
.about-col-1 video{
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding-top: 10px;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1{
    flex-basis: 35%;
}
.about-col-2{
    flex-basis: 60%;
}
.about-col-2 h2{
    color:#b54769;
}
.sub-title{
    padding-bottom: 15px;
    font-size: 30px;
    font-weight: 600;
    color: #fff;
}
.timeline{
    padding-bottom: 15px;
    font-size: 15px;
    font-weight: 400;
    color: #ababab;
}

.about-text{
    padding-top: 10px;
    padding-bottom: 20px;
    line-height: 1.5;
    font-size: 15px;
    font-weight: none;
    font-family: 'Poppins', sans-serif;
}

.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;
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links.active-link::after{
    width: 50%;
}
.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
    font-size: 15px;
}
.tab-contents ul li span{
    color: #b54769;
    font-size: 17px;
}
.tab-contents{
    display: none;
    padding-bottom: 20px;
}
.tab-contents.active-tab{
    display: block;
    line-height: 1.5;
}

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

/*-----------------------How it works---------------------------*/
#work-style h4{
    color: #b54769;
    font-size: large;
    font-weight: 200;
}
#work-style p{
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.5;
    font-size: 16px;
    font-weight: none;
    font-family: 'Poppins', sans-serif;
}

/*-----------------------My Role---------------------------*/
.role{
    color:#b54769;
    padding-bottom: 10px;
}
#my-role ul{
    list-style: none;
    padding-top: 10px;
    padding-bottom: 20px;
    line-height: 1.5;
    font-size: 15px;
    font-weight: none;
    font-family: 'Poppins', sans-serif;
}
#my-role ul li span{
    color: #b54769;
    font-size: 17px;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
}

/*---------------------------------CSS for small screens----------------------------*/
nav .fa-solid{
    display: none;
}

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

    .header-text{
        margin-top: 60%;
        font-size: 15px;
    }
    .header-text h1{
        font-size: 40px;
    }
    nav .fa-solid{
        display: block;
        font-size: 25px;
    }
    nav ul{
        display: flex;
        flex-direction: column;
        padding: 0;
        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-top: 25px;
    }
    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .sub-title{
        font-size: 25px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 30px;
        padding-left: 30px;
    }
    .about-text{
        font-size: 15px;
        overflow: hidden;
    }
    .tab-links{
        font-size: 19px;
        margin-right: 15px;
    }
    #my-exprience{
        padding: none;
        margin-top: 0;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    .copyright{
        font-size: 14px;
    }
}

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