* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
 
img {
    max-width: 100%;
    height: auto;
}
video {
    max-width: 100%;
    height: auto;
}

#company, #activities {
    background-color: #fff;
}

#philosophy {
    overflow: hidden;
    width: 1920px;
    height: 360px;
}

#serv_closed, #serv_opened {
    overflow: hidden;
}

nav {
    display: flex;
    justify-content: space-evenly;
    align-items: baseline;
    height: auto; 
    font-family: 'Playfair Display';
    top: 0;
    background-color: white;
    position: fixed;
    width: 100%;
    padding: 50px 0px;
    z-index: 1000;
} 

.nav-links {
    display: flex;
    justify-content: space-around;
    width: 47%;
}

.nav-links a {
    color: rgb(10, 137, 145);
    text-decoration-line: none;
    letter-spacing: 2px;
    font-size: 17px;
    font-weight: bold;
    display: inline-block;
}

.nav-links li.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: rgb(10, 137, 145);
}

.nav-links li {
    list-style: none;
}

.burger {
    display: none;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: rgb(10, 137, 145);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Mobile Screens */

@media screen and (max-width:768px) {
    body {
        overflow-x: hidden;
    }
    nav {
        align-items: center;
        z-index: 1;
    }
    .nav-links {
        background-color: rgba(255, 255, 255, 0.93);
        position: fixed;
        right: 0px;
        height: 92vh;
        top: 8vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 38%;
        transform: translateX(100%) translateY(10%);
        z-index: 0;
    }
    .nav-links li {
        opacity: 0;
        margin-bottom: -30%;
    }
    .nav-links a {
        color: rgb(10, 137, 145);
    }
    .burger {
        display: block;
        cursor: pointer;
        z-index: 2;
    }
}

.nav-active {
    transform: translateX(0%);
    transition: transform 0.5s ease-in;
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.container {
    position: relative;
    max-width: 100%;
    height: auto;
    overflow-y: hidden;
}

.container .show-more {
    position: absolute;
    top: 66%;
    left: 39.5%;
    background-color: rgb(10, 137, 145);
    color: #fff;
    font-size: 20px;
    max-height: 51.8px;
    height: 100%;
    width:100%;
    max-width: 183.2px;
    padding: 10px 22px;
    border: 1px solid white;
    cursor: pointer;
    text-align: left;
}

.container .show-less {
    position: absolute;
    top: 90%;
    left: 39.7%;
    background-color: rgb(10, 137, 145);
    color: #fff;
    font-size: 20px;
    max-height: 51.8px;
    height: 100%;
    width:100%;
    max-width: 183.2px;
    padding: 10px 22px;
    border: 1px solid white;
    cursor: pointer;
    text-align: left;
    display: none;
}

.btn p:hover{
    transition: all 300ms;
    transform: translateX(5px) scale(1.1);
}

.serv_open_hide{
    transform: translateY(-100%);
}

.show-more-active{
    transform: translateY(0%);
    transition: transform 1.5s ease-in;
}
.show-less-active{
    transform: translateY(-100%);
    transition: transform 1.5s ease-in;
}

.more_big_arrow{
    position: absolute;
    top: 36%;
    left: 75.39%;    
}
.more_small_arrow{
    position: absolute;
    top: 33%;
    left: 78.53%;  
}

.less_big_arrow{

    position: absolute;
    top: 36%;
    left: 75.39%;    
}
.less_small_arrow{
    position: absolute;
    top: 33%;
    left: 78.5%;  
}

.small_arrow_mouseover{
    transform: translateY(-2px);
    transition: transform 0.3s ease-in;
}
.big_arrow_mouseover{
    transform: translateY(2px);
    transition: transform 0.3s ease-in;
}

/* Back to Top Button Start */
#button {
    display: inline-block;
    background-color: rgb(10, 137, 145);
    width: 50px;
    height: 50px;
    text-align: center;
    border:1px solid #fff;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#button::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}

#button:hover {
    cursor: pointer;
    background-color:white;
    border: 1px solid rgb(10, 137, 145);
}
#button:hover::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: rgb(10, 137, 145);
}

#button:active {
    background-color: white;
}

#button.show {
    opacity: 1;
    visibility: visible;
}


/* Styles for the content section */

.content {
    width: 77%;
    margin: 50px auto;
    font-family: 'Merriweather', serif;
    font-size: 17px;
    color: #6c767a;
    line-height: 1.9;
}

@media (min-width: 500px) {
    .content {
        width: 43%;
    }
    #button {
        margin: 30px;
    }
}

.content h1 {
    margin-bottom: -10px;
    color: #03a9f4;
    line-height: 1.5;
}

.content h3 {
    font-style: italic;
    color: #96a2a7;
}

/* Back to Top Button End */