/* Header CSS */

#header {
    background-color: white;
    min-height: 100vh;
    box-sizing: border-box;
    padding-top: var(--nav-height);
    position: relative;
}

.main-products-display-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 100%;
    padding: 0 40px;
}

.main-landing-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.main-landing-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-landing-video-opacity {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(11, 21, 48, 0.75);
}

.main-slogan-wrapper {
    position: relative;
    color: white;
    font-size: 55px;
    font-weight: 400 !important;
    max-width: 750px;
    margin-top: auto;
}

.main-products-list {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    width: 100%;
    position: relative;
}

.main-product {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 300px;
    width: 326px;
    padding: 35px;
    color: white;
    background-color: rgba(0, 0, 0, 0.445);
    box-sizing: border-box;
    border-right: 1px solid rgba(0, 0, 0, 0.192);
    transition: opacity 0.3s;
}

.main-product:hover {
}

.product-title-wrapper h3 {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

.main-product.blue {
    background-color: rgba(20, 121, 141, 1);
    color: white;
}

.main-product.orange {
    background-color: rgba(246, 139, 31, 1);
    color: white;
}

.main-product.purple {
    background-color: rgba(60, 99, 154, 1);
    color: white;
}


.main-product-redirect {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid white;
    width: 100%;
}

.main-product button {
    border-radius: 50px;
    height: 36px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    padding: 0 30px;
    background-color: transparent;
    color: white;
    padding-left: 0;
}

.main-product button:hover {
    transition: background-color 0.3s, gap 0.3s;
    gap: 15px;
    cursor: pointer;
}

.main-product button:active {
    transition: background-color 0.3s;
    cursor: pointer;
}


.product-title-wrapper {}


/* About us section */

#about-us {
    background-color: white;
    color: black;
}

.gen-section-title {
    font-size: 96px;
    margin: 0;
    line-height: 85px;
    font-weight: 500;
}

.about-us-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-us-banners {
    display: flex;
    gap: 15px;
    height: 400px;
}

.about-us-banner {
    flex: 1;
}

.about-us-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mission section */

#mission {
    background-color: #181818;
    color: white;
}

.mission-wrapper {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.mission-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.mission-banner {
    min-width: 50%;
}

.mission-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Products section */

#products {
    padding-left: 0;
    padding-right: 0;
}

.products-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.products-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-list {
    display: flex;
    max-width: 1450px;
    margin-top: 85px;
}

.product-outer-wrapper {
    flex: 1;
}

.product-wrapper {
    padding: 40px;
    height: 600px;
    box-sizing: border-box;
    display: flex;
    margin-left: -1px;
    flex-direction: column;
    transition: transform 0.3s;
    color: white;
}

.product-wrapper.selected {
    background-color: #14798D;
    color: white;
}

.product-wrapper.orange {
    background-color: rgba(246, 139, 31, 1);

    color: white;
}

.product-wrapper.purple {
    background-color: rgba(60, 99, 154, 1);
    color: white;
}

.product-description {
    font-size: 14px;
}

.product-logo {
    width: 250px;
    margin-top: 50px;
}

.product-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-redirect {
    margin-top: auto;
    padding-top: 35px;
}

.product-redirect button {
    border-radius: 50px;
    height: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-top: auto;
    border: none;
    padding: 0 30px;
    transition: background-color 0.3s, gap 0.3s;
}

.product-redirect button:hover {
    background-color: #c4c4c4;
    transition: background-color 0.3s, gap 0.3s;
    cursor: pointer;
    gap: 15px;
}

.product-redirect button:active {
    background-color: rgb(230, 230, 230);
    transition: background-color 0.3s, gap 0.3s;
    cursor: pointer;
}

.product-redirect {
    border-top: 1px solid rgb(255, 255, 255);
}

.product-redirect button {
    background-color: transparent;
    transition: gap 0.3s;
    color: white;
}

.product-redirect button:hover {
    cursor: pointer;
    text-decoration: underline;
    gap: 35px;
    transition: gap 0.3s;
    background-color: transparent;
}

.product-redirect button:active {
    cursor: pointer;
}

/* Team */

#our-team {
    background-color: white;
    color: black;
    padding-top: 0;
}

.team-wrapper {
    width: 100%;
}

.team-content-wrapper {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.team-members-wrapper {
    margin-top: 85px;
    gap: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.team-member {
    position: relative;
    overflow: hidden;
    padding: 35px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border: 1px solid rgb(233, 233, 233);
}

.team-member-image {
    width: 250px;
    height: 250px;
    border-radius: 250px;
    overflow: hidden;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}

.team-member-description-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: 35px;
}

.team-member-name {
    font-weight: 600;
    font-size: 20px;
}

.team-member-role {
    font-weight: 300;
    font-size: 14px;
    margin-top: 5px;
}

.team-member-description {
    font-size: 15px;
    margin-top: 35px;
}

/* News */

#news {
    padding-top: 0;
}

.news-wrapper {
    width: 100%;
}

.news-content-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.news-list-wrapper {
    margin-top: 85px;
    gap: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.news-empty-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    color: lightgray;
    height: 300px;
    text-align: center;
}

.news-empty-wrapper h1 {
    font-weight: normal;
}

.news-container {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: column;
    border: 1px solid rgb(233, 233, 233);
}

.news-container-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.news-container-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}

.news-container-description-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px 15px;
    flex: 1;
}

.news-container-title {
    font-weight: 600;
    font-size: 20px;
    height: 54px;
    overflow: hidden;
}

.news-container-date {
    font-weight: 300;
    font-size: 14px;
    margin-top: auto;
    padding-top: 15px;
}

.news-container-description {
    font-size: 16px;
    margin-top: 25px;
}


@media screen and (max-width: 1000px) {

    .main-slogan-wrapper {
        display: none;
    }

    .main-products-display-wrapper {
        padding: 0;
    }

    .main-products-list {
        flex-direction: column;
        margin-top: auto;
    }

    .main-product {
        height: auto;
    }

    .product-title-wrapper h3 {
        margin: 0;
    }

    .main-product .product-description {
        display: none;
    }

    .main-product-redirect {
        border: none;
    }

    .mission-wrapper {
        flex-direction: column;
    }

    .about-us-banners {
        flex-direction: column;
        height: auto;
    }


    .about-us-wrapper {
        gap: 30px;
    }

    .mission-content-wrapper {
        gap: 30px;
    }

    .team-members-wrapper {
        margin-top: 45px;
    }

    .products-list {
        flex-direction: column;
        width: 100%;
    }
}

@media screen and (max-width: 650px) {

    .team-members-wrapper {
        grid-template-columns: 1fr;
    }

    .team-member {
        height: auto;
    }

    .news-list-wrapper {
        margin-top: 45px;
    }

    .product-wrapper {
        height: 500px;
        margin-left: 0;
    }

    .products-list {
        margin-top: 45px;
    }
}

@media screen and (max-height: 850px) {

    #header {
        min-height: 850px;
    }
}