h1 {
    font-size: 4.875rem;
    font-weight: 300;
    display: block;
    margin: 0 auto 36px auto;
    width: min(95%, 800px);
    color: #fafafa
}

h1 + p {
    font-size: 2.25rem;
    margin-bottom: 100px;
    color: #a8ddfb
}

h2 {
    font-size: 3.25rem;
}

.link:hover {
    text-decoration: underline
}

.hero-section {
    background-image: url("../img/hero-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    width: 100%;
    height: 100dvh
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(20, 83, 151, .6);
    backdrop-filter: blur(2px)
}

.hero-overlay-top {
    z-index: 2;
    background: linear-gradient(to right, #145397 0%, transparent 50%);
    backdrop-filter: unset
}

.hero-content {
    width: min(1200px, 95%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    z-index: 10;
    text-align: center
}

.useful-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px
}

.useful-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: normal;
    transition: all .5s ease;
    color: #fafafa;
    padding: 24px 22px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 30px
}

.useful-link span {
    transition: all .5s ease
}

.useful-link:hover {
    border: 1px solid #fafafa;
    background-color: rgba(20, 83, 151, .5)
}

.useful-link:hover .hero-icon, .useful-link:hover span {
    color: #a8ddfb
}

.hero-icon {
    width: 50px;
    height: 50px;
    color: #fafafa;
    transition: all .5s ease
}

.equipment-section {
    padding: 100px 0
}

.equipment-section h2 {
    color: #145397;
    margin-bottom: 60px
}

.equipment-section h3 {
    margin-bottom: 30px;
    color: #3e4e57
}

.equipment-section p {
    color: #6a7884;
    line-height: 160%
}

.equipment-section .blue-font {
    margin-top: 30px;
    font-weight: 500
}

.equipment-section-item {
    margin-bottom: 30px;
    padding: 30px;
    border: 1px solid #cfd3d7;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    transition: all .5s ease;
    background-color: #fafafa
}

.equipment-section-item:last-of-type {
    margin-bottom: 60px
}

.equipment-section-item:hover {
    background-color: #edf5f9;
    border-color: #a8cee3
}

.equipment-section-item:hover a {
    text-decoration: underline
}

.equipment-section-item:nth-child(even) {
    flex-direction: row-reverse
}

.equipment-section-item-description a {
    font-size: inherit;
    font-weight: inherit
}

.equipment-section-item-description p:first-of-type {
    column-count: 2;
    column-gap: 20px
}

.equipment-section-img-wrapper {
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.equipment-section-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.services-section {
    padding: 100px 0;
    background-color: #145397
}

.services-section h2 {
    color: #fafafa;
    margin-bottom: 60px
}

.services-section .link {
    color: #fafafa
}

.icon-heading {
    color: #fafafa
}

.services-grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    align-items: start;
    justify-items: start;
    gap: 30px
}

.services-grid h3 {
    text-align: start;
    margin-bottom: 16px
}

.services-grid-item {
    position: relative
}

.services-grid-item p {
    color: #a8ddfb
}

.services-grid-item h3 a {
    position: relative
}

.services-grid-item h3 a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    background-color: #fafafa;
    transition: all .5s ease
}

.services-grid-item:hover h3 a::before {
    width: 100%
}

.services-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    color: rgba(52, 191, 189, .1)
}

.statistic-section {
    padding: 100px 0;
    border-bottom: 1px solid #cfd3d7
}

.statistic-section h2 {
    margin-bottom: 60px;
    color: #145397
}

.statistic-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 60px
}

.statistic-grid h3 {
    color: #3e4e57
}

.statistic-grid-item p:first-of-type {
    width: 100%;
    color: #3e4e57;
    border-bottom: 1px solid #cfd3d7;
    padding-bottom: 40px
}

.statistic-grid-item p:last-of-type {
    color: #6a7884;
    margin-top: 40px
}

.statistic-grid-item .icon-heading {
    font-size: 6rem;
    line-height: 160%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px
}

.statistic-grid-item .hero-icon {
    color: #a8cee3;
    width: 100px;
    height: 100px
}

.news-section {
    padding: 100px 0;
    border-bottom: 1px solid #cfd3d7
}

.news-heading, .reviews-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 60px;
    color: #145397
}

.news-heading .btn, .reviews-heading .btn {
    color: #34bfbd;
    border: 1px solid #cfd3d7;
    transition: all .5s ease
}

.news-heading .btn:hover, .reviews-heading .btn:hover {
    background-color: #edf5f9;
    border: 1px solid #a8cee3
}

.news-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 30px
}

.news-grid article {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%
}

.news-grid h3 {
    font-size: 2.125rem;
    text-align: start;
    color: #3e4e57;
    margin: 16px 0
}

.news-grid p {
    font-size: 1.25rem;
    flex-grow: 1;
    color: #6a7884;
    border-bottom: 1px solid #cfd3d7;
    padding-bottom: 16px;
    margin: 16px 0
}

.news-grid div {
    font-size: 1.25rem;
    color: #4b707e
}

.news-grid-item {
    background-color: #fafafa;
    padding: 20px;
    border: 1px solid #cfd3d7;
    border-radius: 40px;
    transition: all .5s ease
}

.news-grid-item:hover {
    background-color: #edf5f9;
    border-color: #a8cee3
}

.news-grid-item:hover a {
    text-decoration: underline
}

.news-grid-item p {
    margin-bottom: 20px
}

.news-grid-item-image-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto
}

.news-grid-item-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.customer-reviews-section {
    padding: 100px 0
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px
}

.carousel {
    width: min(800px, 95%);
    aspect-ratio: 2/1;
    overflow: hidden;
    padding: 20px;
    position: relative;
    border-radius: 40px;
    border: 1px solid #cfd3d7;
    background-color: #fafafa
}

.carousel-item {
    display: flex;
    flex-direction: column;
    opacity: 0;
    gap: 30px;
    transition: all .5s ease;
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none
}

.carousel-item.active {
    position: relative;
    opacity: 1;
    transform: translateX(0)
}

.carousel-item.old, .carousel-item.new {
    position: absolute;
    opacity: 0;
    transform: translateX(-100%)
}

.carousel-item.new {
    transform: translateX(100%)
}

.carousel-item blockquote p {
    font-size: 1.5rem;
    line-height: 160%;
    color: #4b707e
}

.review-header-wrapper {
    display: flex;
    align-items: end;
    gap: 30px
}

.review-header-wrapper h3 {
    color: #3e4e57
}

.review-header-wrapper p {
    color: #6a7884;
    line-height: 160%
}

@media (max-width: 1599px) {
    h1 {
        font-size: 4rem;
        line-height: 110%
    }
}

@media (max-width: 1279px) {
    h1 + p {
        font-size: 2rem
    }

    h2 {
        font-size: 3.125rem
    }

    .equipment-section, .services-section, .statistic-section {
        padding: 50px 0
    }

    .equipment-section h2, .services-section h2, .statistic-section h2 {
        margin-bottom: 30px
    }

    .equipment-section-item-description p:first-of-type {
        columns: unset
    }

    .statistic-grid-item .icon-heading {
        font-size: 5rem;
        flex-direction: column-reverse;
        align-items: start;
        justify-content: start;
        gap: 0;
        line-height: 100%
    }
}

@media (max-width: 959px) {
    .equipment-section-item {
        flex-direction: column-reverse
    }

    .equipment-section-item:nth-child(even) {
        flex-direction: column-reverse
    }

    .news-grid {
        grid-template-columns:none;
        grid-template-rows:auto
    }

    .news-grid-item-image-wrapper {
        width: min(400px, 60%);
        margin: unset
    }
}

@media (max-width: 799px) {
    .statistic-grid {
        margin: 0 auto;
        width: min(400px, 95%);
        grid-template-columns:unset;
        grid-template-rows:auto;
        gap: 30px
    }

    .statistic-grid-item .icon-heading {
        width: 100%;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: start;
        gap: 8px
    }

    .statistic-grid-item:nth-child(even) {
        text-align: end
    }

    .statistic-grid-item:nth-child(even) .icon-heading {
        justify-content: end
    }

    .statistic-grid-item p:first-of-type {
        padding-bottom: 20px
    }

    .statistic-grid-item p:last-of-type {
        margin-top: 20px
    }

    .equipment-section-img-wrapper {
        width: 120px
    }

    .useful-links {
        gap: 10px;
        align-items: start
    }

    .useful-link {
        width: 160px;
        padding: unset
    }

    h1 + p {
        margin-bottom: 40px
    }

    .equipment-section-item a {
        text-decoration: underline
    }
}

@media (max-width: 639px) {
    .services-grid {
        grid-template-columns:none;
        grid-template-rows:auto
    }

    .services-grid-item .services-icon {
        top: unset;
        bottom: 0
    }

    .services-grid-item:nth-child(odd) .services-icon {
        right: unset;
        left: 0
    }

    .useful-links {
        gap: unset
    }
}

@media (max-width: 479px) {
    h1 {
        font-size: 3rem
    }

    h1 + p {
        font-size: 1.5rem
    }

    h2 {
        font-size: 2.75rem
    }

    .statistic-grid-item .icon-heading {
        flex-direction: column-reverse;
        align-items: start
    }

    .statistic-grid-item:nth-child(even) .icon-heading {
        align-items: end
    }

    .equipment-section-item {
        padding: 20px
    }
}

@media (max-width: 399px) {
    h1 {
        font-size: 2.5rem
    }

    h2 {
        font-size: 2.5rem
    }
}
