@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Montserrat:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

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

:root {

    /* Background color variables */
    --body-bg-color: #F2F2F3;
    --primary-color: #2F3457;
    --accent: #B5A272;
    
    --main-sec-bg-color: #282c47;

    /* Text variables */
    --light-color-text: #fff;
    --dark-color-text: #2F3457;

}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

body {
    background-color: var(--body-bg-color);
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color-text);
}

p {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.5;
}

h1, h2, h3 {
    font-family: 'EB Garamond', serif;
}

h2 {
    font-size: clamp(35px, 5vw, 50px);
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

/* low contrast text */
.lct {
    opacity: .8;
}

.lcpt {
    opacity: .6;
}

.button {
    height: 52px;
    width: 215px;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    transition: .3s ease-out;
}

.button.white {
    background-color: #ffffff00;
    border: 1.5px solid var(--light-color-text);
}

.button.white:hover {
    background-color: var(--light-color-text);
    color: var(--main-sec-bg-color);
}

.button.colored {
    background-color: var(--accent);
    border: 1.5px solid var(--accent);
    color: var(--light-color-text);
}

.button.colored:hover {
    background-color: #ffffff00;
    border-color: var(--light-color-text);
}

.button.transparent {
    border: 1.5px solid var(--dark-color-text);
    color: var(--dark-color-text);
}

.button.transparent:hover {
    background-color: var(--dark-color-text);
    color: var(--light-color-text);
}

.opening-scene {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.opening-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.opening-logo {
    position: absolute;
    width: clamp(200px, 20vw, 350px);
    height: auto;
}

.opening-curtain {
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: var(--primary-color);
    height: 0%;
    animation: swing 2s cubic-bezier(0.77, 0, 0.175, 1);
    animation-delay: 1s;
}

@keyframes swing {
    
    0% {
        height: 0%;
    }

    50% {
        height: 100%; 
    }

    100% {
        height: 0%;
        top: unset;
        bottom: 0;
    }
}






/* Main sec */

.main-sec {
    position: relative;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-color-text);
}

.main-bg-img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.main-sec-cover {
    position: absolute;
    z-index: 1;
    height: 100%;
    width: 100%;
    background-color: var(--main-sec-bg-color);
    opacity: .75;
}

.main-sec-text-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    text-align: center;
}

.main-sec-header {
    font-size: clamp(45px, 7vw, 75px);
    font-weight: 500;
    letter-spacing: -2px;
    line-height: 1.1;
}

.main-sec-paragraph {
    line-height: 1.5;
    font-size: 18px;
    font-weight: 300;
    margin: 50px 0;
    width: min(100%, 45vw);
    min-width: 280px;
}

.main-sec-buttons-wrap {
    display: flex;
    justify-content: center;
}

.main-sec-buttons-wrap .button {
    margin: 0 20px;
}

@media screen and (max-width: 750px) {
    
    .main-sec-paragraph {
        font-size: 14px;
    }

    .main-sec-buttons-wrap {
        flex-direction: column;
    }

    .main-sec-buttons-wrap .button {
        margin: 15px 0;
    }

}



/* Reasons sec */

.reasons-sec {
    position: relative;
    margin-top: -10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.reasons-wrap {
    width: min(85vw, 950px);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.reason {
    height: 350px;
    width: 285px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 40px;
    color: var(--light-color-text);
    text-align: center;
    box-shadow: 5px 5px 35px rgba(0, 0, 0, 0.555);
    margin: 0 0 50px 0;
}

.dark {
    background-color: var(--primary-color);
}

.accent {
    background-color: var(--accent);
}

.middle {
    margin: 0 25px 50px 25px !important;
}

.reason-icon-wrap {
    height: 80px;
    display: flex;
    align-items: flex-end;
}

.reason-header {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.reason-paragraph {
    font-size: 14px;
    line-height: 1.5;
}

@media screen and (max-width: 1050px) {

    /* .reasons-wrap {
        flex-direction: column;
        align-items: center;
    } */

    .reason {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 450px) {
    
    .middle {
        margin: 0 0 50px 0 !important;
    }

}





/* About us section */

.about-sec {
    position: relative;
    padding-top: 150px;
}

.about-sec-wrap {
    position: relative;
    left: calc((100vw - 950px)/2);
    display: flex;
    width: calc(100vw - calc((100vw - 950px)/2));
}

.text-wrap {
    margin-top: 30px;
}

.about-paragraph {
    max-width: 450px;
    margin-bottom: 50px;
}

.about-us-img {
    position: absolute;
    right: 0;
    width: calc(calc((100vw - 950px)/2) + 400px);
    height: 600px;
    object-fit: cover;
}

.gerald-transparent {
    position: relative;
    margin-left: 150px;
    top: 20px;
    width: 500px;
    object-fit: contain;
    padding-right: 50px;
}


@media screen and (max-width: 1300px) {
    
    .gerald-transparent {
        position: relative;
        right: 0;
        margin-left: 150px;
    }
}

@media screen and (max-width: 1100px) {

    .about-sec-wrap {
        left: 50px;
        width: calc(100vw - 70px);
    }

    .gerald-transparent {
        position: absolute;
        width: 600px;
        z-index: -1;
        opacity: .2;
    }
}

@media screen and (max-width: 950px) {

    .about-us-img {
        display: none;
    }

    .about-paragraph {
        max-width: unset;
        padding-right: 50px;
    }
}

@media screen and (max-width: 700px) {

    .gerald-transparent {
        display: none;
    }
}





/* Practice areas section */

.practice-sec {
    position: relative;
    padding-top: 200px;
    display: flex;
    justify-content: center;
}

.practice-sec-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(85vw, 950px);
}

.practice-paragraph {
    max-width: 500px;
    padding-right: 50px;
}

.practices-wrap {
    display: flex;
    margin-top: 50px;
    position: relative;
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
}

.practice {
    position: relative;
    height: 400px;
    width: 285px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 30px 40px;
    color: var(--light-color-text);
    text-align: center;
    box-shadow: 5px 5px 35px rgba(0, 0, 0, 0.555);
    margin: 0 0 50px 0;
}

.practice-icon-wrap {
    height: 80px;
    display: flex;
    align-items: flex-end;
}

.practice-header {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.practice-paragraph-a {
    font-size: 14px;
    line-height: 1.5;
}

.practice-button {
    height: 35px;
    width: 160px;
    border: 1.5px solid var(--light-color-text);
    color: var(--light-color-text);
    position: absolute;
    bottom: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: .3s ease-out;
}

.practice-button:hover {
    background-color: var(--light-color-text);
    color: var(--dark-color-text);
}

.practice.accent .practice-button:hover {
    color: var(--accent)
}




/* Testimonials sec */

.testimonials-sec {
    position: relative;
    padding: 100px min(10vw, 200px) 150px min(10vw, 200px);
    margin-top: 150px;
    display: flex;
    justify-content: center;
    min-height: 580px;
}

.testimonials-bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.testimonials-bg-cover {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--main-sec-bg-color);
    opacity: .8;
}

.testimonials-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

.testimonials-wrap {
    position: relative;
    width: min(85vw, 950px);
    z-index: 1;
    color: var(--light-color-text);
}

.testimonial-wrap {
    position: absolute;
    top: 80px;
    width: 100%;
}

.testimonial {
    position: absolute;
    top: 0;
    z-index: 1;
    color: var(--light-color-text);
    opacity: 0;
    transition: 1.5s ease;
}

.testimonial.active {
    opacity: 1;
}

.testimonial-text {
    font-size: 20px !important;
    line-height: 1.5;
    font-weight: 300;
}

.testimonial-person {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
}

.testimonials-sec input {
    opacity: 0;
    position: absolute;
}

.navigation-manual{
    position: absolute;
    display: flex;
    justify-content: space-around;
    bottom: 50px;
}

.manual-btn{
    padding: 7px;
    border-radius: 10px;
    cursor: pointer;
    transition: .5s ease-out;
    position: relative;
    z-index: 2;
    background-color: #ffffff62;
    height: 10px;
    width: 10px;
}

.manual-btn:not(:last-child){
    margin-right: 20px;
}

.manual-btn:hover{
    background-color: rgb(255, 255, 255);
}

.manual-btn.active {
    background-color: #fff;
}

@media screen and (max-width: 1000px) {
    
    .testimonials-sec {
        min-height: 780px;
    }
}

@media screen and (max-width: 700px) {
    
    .testimonials-sec {
        min-height: 800px;
    }

    .testimonial-text {
        font-size: 16px !important;
        line-height: 1.8;
    }
}

@media screen and (max-width: 700px) {
    
    .testimonials-sec {
        min-height: 950px;
    }
    
    .testimonial-person {
        font-size: 14px;
    }
}





/* Contact sec */

.contact-sec {
    position: relative;
    padding: 150px 0;
}

.contact-p {
    margin-bottom: 40px;
    max-width: 400px;
    font-size: 18px;
}

.contact-sec-wrap {
    position: relative;
    left: calc((100vw - 950px)/2);
    display: flex;
    width: calc(100vw - calc((100vw - 950px)/2));
}

.contact-us-img {
    position: absolute;
    right: 0;
    width: calc(calc((100vw - 950px)/2) + 400px);
    height: 600px;
    object-fit: cover;
}

@media screen and (max-width: 1100px) {

    .contact-sec-wrap {
        left: 50px;
        width: calc(100vw - 50px);
    }
}

@media screen and (max-width: 950px) {

    .contact-sec-wrap {
        left: 30px;
    }

    .contact-us-img {
        display: none;
    }

    .contact-p {
        max-width: unset;
        padding-right: 50px;
        font-size: 14px;
    }
}





/* Locations sec */

.locations-sec {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 100px;
    margin-bottom: 100px;
}

.locations-sec-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(85vw, 950px);
}

.locations-p {
    max-width: 500px;
    padding-right: 20px;
}

.locations {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
}

.location {
    padding: 30px;
    margin-right: 50px;
    margin-bottom: 50px;
    background-color: var(--dark-color-text);
    color: var(--light-color-text);
    min-width: 300px;
}

.location-header {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.location-p {
    line-height: 1.5;
}

.google-reviews {
    margin-top: 50px;
}

.google-reviews p {
    margin-bottom: 25px;
}


/* General styles */

@media screen and (max-width: 750px) {
    
    .button {
        height: 45px;
        width: 190px;
        font-size: 11px;
    }

    p {
        font-size: 16px;
    }

}
