@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

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

section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #3c4153;
    /*#161616*/
}

section .circle {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #373da5;
    /*#e51e2a*/
    clip-path: circle(70% at right -20%);
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

header a span {
    color: #fff;
    font-size: 3em;
    font-weight: 500;
}

header .logo {
    position: relative;
    max-width: 100px;
    filter: drop-shadow(0 0 0.5rem white);
}

header .navigation {
    position: relative;
    display: flex;
}

header .navigation li {
    list-style: none;
}

header .navigation li a {
    display: inline-block;
    color: #ffff;
    font-weight: 500;
    text-decoration: none;
    margin-left: 40px;
}

.content {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content .textbox {
    position: relative;
    max-width: 600px;
    margin-right: 20px;
}

.content .textbox h2 {
    color: #fff;
    font-size: 3em;
    margin-bottom: 10px;
    line-height: 1.4em;
    font-weight: 700;
}

.content .textbox p {
    color: #fff;
}

.content .textbox a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #0075ff;
    /*#e51e2a*/
    color: #fff;
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
}

.sci {
    position: absolute;
    bottom: 40px;
    left: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sci li {
    list-style: none;
}

.sci li a {
    display: inline-block;
    margin-left: 15px;
    background: #222;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.2s ease-in-out;
}

.sci li a:hover {
    background: #0075ff;
    /*#e51e2a*/
    transform: translateY(-10px);
}

.sci li a img {
    filter: invert(1);
    transform: scale(0.5);
}

.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 180px;
    height: 380px;
    display: flex;
    justify-content: center;
}

.content .imgBox {
    width: 650px;
    display: flex;
    justify-content: flex-end;
}

.content .imgBox img {
    max-width: 150px;
}

.swiper-slide img {
    position: absolute;
    bottom: 0;
    max-height: 100%;
    display: block;
    width: 100%;
}

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
    background-image: none;
}

.navigation li a {
  position: relative;
  text-decoration: none; /* Remove default underline */
  color: black; /* Or whatever color your links are */
  padding-bottom: 5px; /* Space for the underline */
}

.navigation li a::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px; /* Underline thickness */
  background-color: rgb(237, 237, 242); /* Underline color */
  bottom: 0;
  left: 50%; /* Start from the center */
  transform: translateX(-50%); /* Adjust to truly center */
  transition: width 0.3s ease-out; /* Animation for width */
}

.navigation li a:hover::before {
  width: 100%; /* Expand to full width on hover */
}






@media (max-width:991px) {
    header {
        padding: 40px;
    }

    header a span {
        font-size: 2em;
    }

    section {
        padding: 150px 40px;
    }

    .sci {
        left: 40px;
    }

    .content {
        flex-direction: column;
    }

    .content .textbox {
        max-width: 100%;
    }

    .swiper-slide {
        height: 300px;
    }

    header .navigation {
        display: none;
    }

    header .navigation.active {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #373da5;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        display: flex;
        z-index: 10;
    }
    header .navigation li a{
       margin-left: 0;
       margin: 10px 0;
       font-size: 1.5em;
       font-weight: 300;
    }
    .toggle {
        position: relative;
        width: 30px;
        height: 30px;
        background: url(resources/menu.png);
        background-size: 30px;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
        z-index: 1000;
    }

    .toggle.active {
        position: fixed;
        right: 40px;
        background: url(resources/close.png);
        background-size: 25px;
        background-repeat: no-repeat;
        background-position: center;
    }
    .content .imgBox{
        width: 100%;
    }

}

@media (max-width:576px) {
    header .logo{
        max-width: 50px;
    }
    header a span {
        font-size: 1.6em;
    }
    .content .textbox h2{
        font-size: 1.5em;
    }
}

@media (max-width:1200px) {
    .content .imgBox{
        width: 50%;
    }
}