@import url("./fonts.css");
@import url("./swiper.css");
@import url("./modal.css");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background-color: #0096DB;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #0086c4;
}

.container{
    max-width: 1130px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar{
    background: #0096db;
    padding: 10px 0;
}

.navbar__content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__list{
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar__link{
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    position: relative;
}

.navbar__link::after{
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 0;
    transition: 0.5s;
    height: 1px;
    background: #fff;
}

.navbar__link:hover::after{
    width: 100%;
}

.navbar__social{
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar__social-link img{
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

.lang-switcher__item {
    position: relative;
}

.lang-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.lang-switcher__dropdown {
    position: absolute;
    background: #f0f0f0;
    min-width: 60px;
    width: 100%;
    top: calc(100% + 5px);
    left: 0;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: none;
}

.lang-switcher__arrow {
    transition: transform 0.3s ease;
}

.lang-switcher__option {
    display: block;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 16px;
    color: #000;
    padding: 8px 15px;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
}

.lang-switcher__option:hover {
    background-color: #acacac;
}

.header{
    display: flex;
    position: relative;
    background: url("../images/page-header.jpg__2000.0x732.0_q85_subsampling-2.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
}

.header::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0096db;
    opacity: 0.3;
}

.header__content{
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__content h1{
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 50px;
    color: #fff;
}

.labs{
    margin-top: 120px;
}

.labs__content img{
    width: 550px;
    height: 350px;
}

.labs__content{
    display: flex;
    align-items: center;
    gap: 120px;
}

.labs__content-info{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}

.labs__content-info h2{
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 40px;
    color: #000;
    text-align: center;
}

.labs__content-info p{
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 15px;
    color: #000;
}

.labs__gallery{
    margin-top: 170px;
    background: #0096db;
    padding: 50px 0;
}

.labs__gallery-content{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.labs__gallery-content h2{
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 40px;
    color: #fff;
}

.labs__gallery-content-images{
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.labs__gallery-content-images img{
    width: 250px;
    height: 150px;
}

.labs__gallery-content-card{
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.labs__gallery-content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 150, 219, 0.3);
}

.labs__gallery-content-card h3{
    text-align: center;
    max-width: 250px;
    padding: 10px;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 15px;
    color: #fff;
}

.labs__gallery-content-card img {
    transition: transform 0.3s ease;
}

.labs__gallery-content-card:hover img {
    transform: scale(1.05);
}

.innovations__gallery {
    margin-top: 50px;
    padding: 50px 0;
}

.innovations__gallery h2{
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 40px;
    color: #000;
    text-align: center;
    margin-bottom: 50px;
}

.top__innovations h2{
    text-align: center;
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 40px;
    color: #000;
    margin-bottom: 50px;
}

.top__innovations-card{
    height: auto;
    background: #0096db;
    border-radius: 10px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: start;
}

.top__innovations-card img{
    max-width: 450px;
    height: 250px;
}

.top__innovations-card h3{
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 30px;
    color: #fff;
}

.top__innovations-card p{
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 15px;
    text-align: justify;
    color: #fff;
}

.muhandis{
    height: 100%;
    background: #0096db;
    padding: 50px;
}

.muhandis__content{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.muhandis__content h2{
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 40px;
    color: #fff;
}

.muhandis__content p{
    margin-top: 20px;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 20px;
    text-align: justify;
    white-space: pre-line;
    max-width: 1050px;
    color: #fff;
}

.muhandis__events{
    margin-top: 50px;
}

.muhandis__events h2{
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 40px;
    color: #fff;
}

.footer{
    margin-top: 50px;
    background: #0096DB;
    padding: 30px 0;
}

.footer__content-links{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__list{
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 15px;
}

.footer__list-link{
    font-family: 'Roboto';
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    position: relative;
}

.footer__list-link::after{
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    background: #fff;
    width: 0;
    height: 1px;
    transition: 0.5s;
}

.footer__list-link:hover::after{
    width: 100%;
}

.footer__list-contacts{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__list-contacts li{
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__copy{
    margin-top: 50px;
    border-top: 1px solid #fff;
    padding: 15px 0;
    font-family: 'Roboto';
    font-size: 16px;
    font-weight: 400;
    color: #fff;
}

@media screen and (max-width: 1024px) {
    .container {
        max-width: 90%;
        padding: 0 20px;
    }

    .navbar__list {
        gap: 20px;
    }

    .header__content h1 {
        font-size: 40px;
    }

    .labs__content {
        gap: 60px;
    }

    .labs__content img {
        width: 450px;
        height: 280px;
    }

    .labs__content-info h2{
        font-size: 32px;
    }

    .labs__gallery-content-images {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .labs__gallery-content-images img {
        width: 220px;
        height: 130px;
    }

    .labs__gallery-content-card h3 {
        max-width: 220px;
    }

    .top__innovations-card {
        padding: 40px;
    }

    .top__innovations-card img {
        max-width: 100%;
        max-height: 200px;
    }

    .footer__content-links {
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .navbar__content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 0;
    }

    .navbar__list {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar__social {
        gap: 15px;
    }

    .navbar__social-link img {
        width: 25px;
        height: 25px;
    }

    .header {
        height: 400px;
    }

    .header__content h1 {
        font-size: 32px;
        text-align: center;
        padding: 0 20px;
    }

    .labs {
        margin-top: 60px;
    }

    .labs__content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .labs__content img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .labs__content-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .labs__content-info h2 {
        font-size: 28px;
    }

    .labs__gallery-content h2 {
        font-size: 28px;
    }

    .labs__gallery-content-images {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .labs__gallery-content-images img {
        width: 100%;
        max-width: 300px;
        height: 180px;
    }

    .labs__gallery-content-card h3 {
        max-width: 100%;
    }

    .labs__gallery {
        margin-top: 80px;
        padding: 40px 0;
    }

    .innovations__gallery {
        margin-top: 40px;
        padding: 40px 0;
    }

    .innovations__gallery h2 {
        font-size: 28px;
    }

    .top__innovations h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .top__innovations-card {
        padding: 30px 20px;
    }

    .top__innovations-card h3 {
        font-size: 24px;
    }

    .top__innovations-card p {
        font-size: 14px;
    }

    .footer {
        margin-top: 40px;
        padding: 25px 0;
    }

    .footer__content-links {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .footer__list {
        align-items: center;
    }

    .footer__list-contacts li {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .footer__copy {
        margin-top: 30px;
        text-align: center;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .navbar__link,
    .lang-switcher__toggle,
    .lang-switcher__option {
        font-size: 14px;
    }

    .header {
        height: 350px;
    }

    .header__content h1 {
        font-size: 28px;
    }

    .labs__content-info h2,
    .labs__gallery-content h2,
    .innovations__gallery h2,
    .top__innovations h2 {
        font-size: 24px;
    }

    .labs__content-info p {
        font-size: 14px;
    }

    .labs__gallery-content-card h3 {
        font-size: 14px;
    }

    .top__innovations-card {
        padding: 20px 15px;
    }

    .top__innovations-card h3 {
        font-size: 20px;
    }

    .top__innovations-card p {
        font-size: 13px;
    }

    .footer__list-link {
        font-size: 14px;
    }

    .footer__copy {
        font-size: 12px;
    }
}

@media screen and (max-width: 1024px) {
    .muhandis {
        padding: 40px 20px;
    }

    .muhandis__content h2, .muhandis__events h2 {
        font-size: 32px;
    }

    .muhandis__content p {
        font-size: 18px;
        max-width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .muhandis {
        padding: 30px 15px;
    }

    .muhandis__content h2, .muhandis__events h2{
        font-size: 28px;
        text-align: center;
    }

    .muhandis__content p {
        font-size: 16px;
        max-width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .muhandis {
        padding: 25px 10px;
    }

    .muhandis__content h2, .muhandis__events h2 {
        font-size: 24px;
    }

    .muhandis__content p {
        font-size: 14px;
    }
}

@media screen and (max-width: 360px) {
    .muhandis__content h2, .muhandis__events h2 {
        font-size: 22px;
    }

    .muhandis__content p {
        font-size: 13px;
    }
}