/* banner - Css */
.banner {
    width: 100%;
    height: 800px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-column1{
    width: 80%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.banner-column2{
    height: 100%;
    width: 15%;
    position: relative;
    display: flex;
    align-items: flex-start;
}
.banner-image{
    background-image: url(../../media/images/banner-philosophy.webp);
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.banner-title{
    height: 30%;
    text-transform: uppercase;
    position: relative;
    width: 90%;
}
.banner-title .title{
    position: absolute;
    border-right: 3px solid black;
    right: 0;
    height: 150%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
    font-size: 3em;
    padding-right: 20px;
}
.banner-title .title h2{
    padding-top: 15px;
    color: var(--HeadingAbout);
}
.banner-title .title h1{
    text-transform: initial;
    font-family: courier;
    font-size: 1.5em;
    color: var(--HeadingAbout);
}
.banner-column2 .title{
    position: absolute;
    height: 70%;
    font-size: 8em;
    text-transform: uppercase;
    margin-top: 10%;
    width: 100%;
    left: -25%;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
}
.banner-column2 .title h1{
    line-height: 1;
}
.column1 .section .circle{
    background: #D6C1A4;
    width: 600px;
    height: 600px;
    position: absolute;
    border-radius: 50%;
    left: -20%;
    top: 0%;
    z-index: -1;
    opacity: 0.3;
}
/* button - css */
.contact-button{
    width: 100%;
    display: flex;
    text-align: right;
    justify-content: flex-end;
    padding: 20px 0px;
}
.contact-button .button{
    display: flex;
    justify-content: center;
    background: #cbd9d1;
    padding: 15px 60px;
    font-size: 1.5em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s ease;
}
.contact-button .button a{
    text-decoration: none;
}
.contact-button .button:hover{
    background:var(--lightgray);
}
/* grid - css */

/* grid - css */
.row .grid-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}
.row .grid-content>*{
    flex: 0 0 350px; 
}
.row .grid-content .grid-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}
.row .grid-image{
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.row .grid-image img{
    width: auto;
    height: 100%;
    transition: all 0.5s ease;
}
.row .grid-image:hover img{
    transform: scale(1.05);
}
.row .grid-title{
    padding: 25px 0px;
    width: 90%;
    text-align: center;
}

/* philosophy -css */
.content {
    width: 90%;
    display: flex;
    margin-top: 5vh;
    justify-content: space-between;
}

.content .column1 {
    width: 75%;
}
.column1 .section{
    width: 100%;
    padding: 2vh 0vh;
    display: flex;
    flex-direction: column;
    position: relative;
}
.column1 .section .row{
    margin: 1vh 0vh;
}
.column1 .section .row p{
    line-height: 2;
    text-align:justify;
}
.column1 .section .row p i{
    padding: 0px 5px;
}
.column1 .section .row:nth-child(5){
    display: flex;
    justify-content: flex-end;
}
.column1 .section .row .philosophy-img{
    overflow: hidden;
    height: 90vh;
    width: 85vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.column1 .section .row .philosophy-img img{
    width: 150%;
    height: auto;
}

@media only screen and (max-width: 1028px) {
    .row .grid-content {
        flex-direction: column;
    }
    .contact-button{
        justify-content: center;
    }
}
@media only screen and (max-width: 970px) {
    .column1 .section .circle {
        left: -80%;   
    }
    .content .column1 {
        width: 90%;
    }
} 
@media only screen and (max-width: 782px) {
    .banner-title {
        margin-top: 20%;
    } 
    .banner-column2 .title{
        margin-top: -80%;
    }
    .banner-title .title{
        height: 200%;
    }
    .column1 .section .row .philosophy-img {
        height: 55vh;
    }
}   
@media only screen and (max-width: 632px) {
    .banner-title {
        margin-top: 40%;
    }
    .content{
        width: 100%;
        justify-content: center;
    }
}    
@media only screen and (max-width: 550px) {
    .banner-title{
        width: 100%;
    }
    .banner-title .title{
        align-items: center;
        justify-content: center;
    }
    .banner-column2 .title h1 {
        font-size: 0.7em;
    }
    .banner-title .title h1{
        font-size: 0.9em;
    }
    .banner-title .title h2{
        font-size:  0.8em;
    }
    .contact-button .button{
        font-size: 1.1em;
    }
}
@media only screen and (max-width: 390px) {
    .contact-button .button{
        font-size: 0.7em;
    }
    .banner {
        height: 400px;
    }
    .banner-column1{
        display: table-column;
    }
    .banner-image{
        height: 60%;
    }
    .banner-title {
        margin-top: 70%;
    }
    .banner-column2 .title h1 {
        font-size: 0.4em;
        margin-top: 40%;
    }
    .banner-title .title {
        height: 195%;
        bottom:15vh;
        margin-right: 3%;
    }
    .banner-title .title h1 {
        font-size: 1em;
    }
    .banner-title .title h2 {
        font-size: 0.4em;
    }
    .column1 .section .circle {
        left: -50%;
        width: 300px;
        height: 300px;
    }
    .row .grid-image {
        width: 250px;
        height: 250px;
    }
    .column1 .section .row .philosophy-img {
        height: 35vh;
   }
}
@media only screen and (max-width: 350px) {
    .banner-title {
        margin-top: 90%;
    }  
}