@charset "utf-8";
/* CSS Document */

/*********************
Main
*********************/

.page-margin {
    max-width: 1350px;
    margin: 0 auto;
}

.hero-section {
    height: 420px;
}

.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-section {
    position: relative;
    background-color: #ffffff;
}

.main-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;        
    background-color: #d8d8d8;
    z-index: 1;  
}

.main-container {
    padding-top: 3em;
    position: relative;
    z-index: 2;
}

.main-container h1 {
    margin: 0;
}

.main-container .page-margin > p {
    color: #000;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: 1%;
    width: 90%;
    margin: 1em 0 0;
}

.grid-box a {
    text-decoration: none;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 1.5em;
    margin: 3em 0;
}

.grid-box {
    background: #fff;
    border-radius: 6px;
    padding: 2em;
}

.grid-box h2 {
    margin: 0;
    color: #3A3A3A;
    font-size: 18px;
    letter-spacing: 1%;
}

.grid-box p {
    color: #8A8A8A;
    font-size: 16px;
    line-height: 24px;
    margin: .5em 0 1em;
    letter-spacing: 1%;
}

.grid-layout .grid-box:nth-of-type(1) .grid-content,
.grid-layout .grid-box:nth-of-type(2) .grid-content {
    min-height: 180px;
}

.grid-box span {
    border: 1px solid #000;
    display: inline-block;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #000;
}

.grid-layout .grid-box:nth-of-type(1) {
    grid-column: 1 / span 3;
}

.grid-layout .grid-box:nth-of-type(2) {
    grid-column: 4 / span 3;
}

.grid-layout .grid-box:nth-of-type(3) {
    grid-column: 1 / span 2;
}

.grid-layout .grid-box:nth-of-type(4) {
    grid-column: 3 / span 2;
}

.grid-layout .grid-box:nth-of-type(5) {
    grid-column: 5 / span 2;
}

.grid-layout .grid-box:nth-of-type(3) .grid-content,
.grid-layout .grid-box:nth-of-type(4) .grid-content,
.grid-layout .grid-box:nth-of-type(5) .grid-content {
    min-height: 250px;
}

.banner-inner {
    position: relative;
    height: 700px;
}

.banner-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-inner::before {
    z-index: 1;
    content: "";
    background: repeating-linear-gradient(#0000, #0009);
    width: 100%;
    height: 30%;
    display: block;
    position: absolute;
    bottom: -.0625rem;
    left: 0;
}

.banner-content {
    position: absolute;
    width: 100%;
    background: rgba(138, 138, 138, 18%);
    bottom: 0;
    text-align: center;
    color: #fff;
    padding: 4em;
    z-index: 2;
}

.banner-content p {
    font-size: 34px;
    font-weight: bold;
    letter-spacing: 2%;
    width: 80%;
    margin: 0 auto;
    line-height: 40px;
}

.split-column {
    margin: 7em auto;
    text-align: center;
    width: 35%;
}

.split-column h3 {
    margin: 0 0 1em;
    font-size: 36px;
    font-weight: normal;
    line-height: 44px;
    letter-spacing: 1%;
}

.split-column p {
    margin: 7px 0;
    font-size: 18px;
    letter-spacing: 1%;
    line-height: 26px;
    margin-bottom: .8em;
}

.card-deck {
    background: #F5F5F7;
    padding: 4em 0;
}

.card-deck-wrap {
    display: flex;
    justify-content: space-between;
}

.card-deck-wrap > p {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.card-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5em;
}

.card-inner {
    background: #fff;
    padding: 1em;
}

.card-inner h4 {
    margin: 0;
}

.card-deck-wrap .card {
    width: 300px;
}

.card-deck-wrap .card img {
    width: 100%;
}

/*********************
Media
*********************/

@media only screen and (max-width: 1750px) {
    .split-column {
        width: 45%;
    }
}

@media only screen and (max-width: 1400px) {
    .page-margin {
        max-width: 1200px;
    }
    .split-column {
        width: 55%;
    }
    .hero-section img {
        object-position: 80%;
    }
}

@media only screen and (max-width: 1250px) {
    .page-margin {
        max-width: 1100px;
    }
    .grid-layout .grid-box:nth-of-type(1) .grid-content, 
    .grid-layout .grid-box:nth-of-type(2) .grid-content {
        min-height: 220px;
    }
    .grid-layout .grid-box:nth-of-type(3) .grid-content, 
    .grid-layout .grid-box:nth-of-type(4) .grid-content, 
    .grid-layout .grid-box:nth-of-type(5) .grid-content {
        min-height: 300px;
    }
    .banner-content p {
        width: 100%;
    }
}

@media only screen and (max-width: 1150px) {
    .page-margin {
        max-width: unset;
        padding: 0 2em;
    }
    .split-column {
        width: 65%;
    }
}

@media only screen and (max-width: 992px) {
    .split-column {
        width: 80%;
    }
    .grid-layout .grid-box:nth-of-type(1) .grid-content, 
    .grid-layout .grid-box:nth-of-type(2) .grid-content {
        min-height: 240px;
    }
    .grid-layout .grid-box:nth-of-type(3) .grid-content, 
    .grid-layout .grid-box:nth-of-type(4) .grid-content, 
    .grid-layout .grid-box:nth-of-type(5) .grid-content {
        min-height: 320px;
    }
    .banner-content p {
        font-size: 27px;
    }
    .banner-inner {
        height: 550px;
    }
    .banner-content {
        padding: 3em 1em;
    }
}

@media only screen and (max-width: 900px) {
    .split-column {
        width: 90%;
    }
    .split-column h3 {
        font-size: 30px;
    }
    .split-column p {
        font-size: 17px;
    }
    .main-container .page-margin > p {
        font-size: 16px;
        width: 100%;
    }
}

@media only screen and (max-width: 800px) {
    .grid-layout .grid-box:nth-of-type(3),
    .grid-layout .grid-box:nth-of-type(4),
    .grid-layout .grid-box:nth-of-type(5) {
        grid-column: 1 / span 6;
    }
    .grid-layout .grid-box:nth-of-type(1) .grid-content, 
    .grid-layout .grid-box:nth-of-type(2) .grid-content {
        min-height: 260px;
    }
    .grid-layout .grid-box:nth-of-type(3) .grid-content, 
    .grid-layout .grid-box:nth-of-type(4) .grid-content, 
    .grid-layout .grid-box:nth-of-type(5) .grid-content {
        min-height: 160px;
    }
}

@media only screen and (min-width: 768px) {
    
}

/* Medium devices */
@media only screen and (max-width: 768px) {
    .split-column {
        width: 100%;
    }
    .split-column h3 {
        font-size: 28px;
        line-height: 40px;
    }
    .main-section::before {
        height: 75%;
    }
    .grid-layout .grid-box:nth-of-type(1) .grid-content, 
    .grid-layout .grid-box:nth-of-type(2) .grid-content {
        min-height: 340px;
    }
}

@media only screen and (max-width: 600px) {
    .grid-layout .grid-box:nth-of-type(1),
    .grid-layout .grid-box:nth-of-type(2) {
        grid-column: 1 / span 6;
    }
    .grid-layout .grid-box:nth-of-type(1) .grid-content, 
    .grid-layout .grid-box:nth-of-type(2) .grid-content,
    .grid-layout .grid-box:nth-of-type(3) .grid-content,
    .grid-layout .grid-box:nth-of-type(4) .grid-content,
    .grid-layout .grid-box:nth-of-type(5) .grid-content {
        min-height: 210px;
    }
    .banner-inner img {
        object-position: 40%;
    }
    .split-column h3 {
        font-size: 22px;
        line-height: 30px;
    }
}

@media only screen and (max-width: 550px) {
    .banner-inner {
        height: 450px;
    }
    .split-column p {
        font-size: 16px;
    }
}

@media only screen and (max-width: 450px) {
    .page-margin {
        padding-right: 1.5em;
        padding-left: 1.5em;
    }
    .hero-section {
        height: 350px;
    }
    .grid-box p {
        font-size: 14px;
        line-height: 22px;
    }
    .main-container h1 {
        font-size: 24px;
    }
    .grid-box {
        padding: 1.5em;
    }
    .banner-content p {
        line-height: 30px;
        font-size: 22px;
    }
}



















