@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100;200;300;400;500;600;700&family=Raleway:wght@100;200;300;400;500;600;700&display=swap');

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #86AA52;
}

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

body {
    width: 100%;
    background-color: #ffffff;
    overflow-x: hidden;
}

.hamburger-menu {
    display: none;
}

.nav-list {
    display: none;
}

.show {
    display: flex;
}

.nav {
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #86AA52;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
    margin-bottom: 20px;
    /* margin-top: 10px; */
}

.logo img {
    max-width: 100%;
}

@media screen and (max-height: 750px) {
    .logo img {
        max-width: 75%;
    }
}

.nav-links {
    display: flex;
    margin-right: 40px;
    margin-top: 20px;
}

.nav-links a {
    margin: 0px 15px;
    color: #000000;
    font-family: Josefin Sans;
    font-size: 1.3rem;
    transition-duration: 0.3s;
}

.nav-links a:hover {
    color: #ECA428;
}

.hero {
    display: flex;
    justify-content: space-between;
    padding: 0px 100px;
    padding-top: 10vh;
    height: 100vh;
}

.hero-text h1 {
    font-family: Josefin Sans;
    font-size: 5vw;
    color: #ECA428;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-text h2 {
    font-family: Raleway;
    font-weight: 400;
    margin-bottom: 20px;
    font-size: 2rem;
}

.btn1 {
    font-family: Raleway;
    font-size: 1.5rem;
    background-color: #ffffff;
    border: 2px solid #86AA52;
    border-radius: 50px;
    padding: 20px;
    display: flex;
    height: 70px;
    width: 60%;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition-duration: 0.3s;
}

.btn1:hover {
    background-color: #ECA428;
    border: transparent;
    color: #ffffff;
}

.scroll-down {
    height: 50px;
    width: 30px;
    position: relative;
    margin-bottom: 15px;
}

.scroll-down::before,
.scroll-down::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    border: 2px solid black;
    height: 10px;
    width: 10px;
    transform: translate(-50%, -50%) rotate(45deg);
    border-top: transparent;
    border-left: transparent;
    animation: scroll-down 1s ease-in-out infinite;
}

.scroll-down::after {
    top: 30%;
    animation-delay: 0.3s;
}

@keyframes scroll-down {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 90%;
    }
}

.phone-hero-img {
    display: none;
}

.hero-img {
    margin-right: 70px;
}

.hero-img img {
    max-width: 50vw;
}

@media screen and (max-height: 750px) {
    .hero-text h1 {
        font-size: 4vw;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-text .btn1 {
        display: none;
    }
}

.owl-carousel1 {
    position: absolute;
    bottom: 0px;
    border-top: 2px solid #86AA52;
    padding-top: 40px;
    left: 0;
}

.item1 {
    display: flex;
    width: 80vw;
    justify-content: space-between;
    margin-left: 50px;
}

.item1 h1 {
    font-family: Josefin Sans;
    color: #ECA428;
    font-weight: 500;
}

.item1 h2 {
    font-family: Raleway;
    font-weight: 400;
}

.services {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 40vh;
    margin-bottom: 10vh;
}

.services h1 {
    font-family: Josefin Sans;
    color: #ECA428;
    margin-bottom: 40px;
    font-weight: 400;
    font-size: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services h1::after {
    content: '';
    position: relative;
    margin-top: 10px;
    background-color: #86AA52;
    height: 5px;
    width: 60%;
}

.services-list {
    display: flex;
}

.service {
    display: flex;
    flex-direction: column;
    margin: 0px 50px;
    align-items: center;
}

.service-icon {
    width: 200px;
    height: 200px;
    background-color: #ECA428;
    border-radius: 100px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon img {
    width: 50%;
    height: 50%;
    color: white;
}

.service h2 {
    font-family: Raleway;
    font-weight: 500;
    color: #000000;
}

@media screen and (max-height: 750px) {
    .service-icon {
        height: 100px;
        width: 100px;
    }
}

.quote-wrapper {
    height: 100vh;
    width: 80vw;
    margin-left: auto;
    margin-right: auto;
    background-image: url("../images/subaru.png");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: right;
    margin-bottom: 10vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-wrapper h1 {
    font-family: Josefin Sans;
    font-size: 3.5vw;
    font-weight: 300;
    color: white;
    margin-left: 5vw;
    margin-bottom: 3vh;
}

.quote-wrapper button {
    margin-left: 5vw;
}

.quote-form {
    display: flex;
    flex-direction: column;
}

.form-input {
    display: flex;
    flex-direction: column;
    margin-left: 5vw;
    margin-bottom: 2vh;
}

.form-input label {
    color: white;
    font-family: Raleway;
    font-size: 1.2vw;
    font-weight: 300;
}

.form-input input {
    height: 4vh;
    width: 30vw;
    border: 2px solid #86AA52;
}

.form-input textarea {
    width: 30vw;
    height: 10vh;
    border: 2px solid #86AA52;
}

.info {
    border-top: solid 2px #86AA52;
    height: 80vh;
    display: flex;
    align-items: center;
}

.info-img {
    margin-left: 50px;
}

.info-img img {
    max-width: 60vw;
    max-height: 100%;
}

.info-text {
    margin-left: 120px;
}

.info-text h1 {
    font-family: Raleway;
    font-weight: 500;
    color: #ECA428;
    margin-bottom: 30px;
    font-size: 3rem;
    display: flex;
    flex-direction: column;
}

.info-text h1::after {
    content: '';
    position: relative;
    margin-top: 10px;
    left: 0%;
    background-color: #86AA52;
    height: 5px;
    width: 60%;
}

.info-text h2 {
    font-family: Josefin Sans;
    font-weight: 300;
    margin-bottom: 30px;
    font-size: 1.7rem;
}

.btn2 {
    background-color: #ECA428;
    color: #ffffff;
    padding: 20px 30px;
    font-family: Josefin Sans;
    border: none;
    font-size: 1.5rem;
    font-weight: 300;
    transition-duration: 0.3s;
    border: solid 2px transparent;
    cursor: pointer;
}

.btn2:hover {
    background-color: #ffffff;
    color: #000000;
    border: solid 2px #86AA52;
}

@media screen and (max-height: 750px) {
    .info {
        height: 100vh;
    }
}

.testimonials {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 50vh;
}

@media screen and (max-height: 750px) {
    .testimonials {
        height: 80vh;
    }
}

.testimonials h1 {
    font-family: Raleway;
    font-weight: 500;
    font-size: 3rem;
    color: #ECA428;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials h1::after {
    content: '';
    position: relative;
    margin-top: 10px;
    background-color: #86AA52;
    height: 5px;
    width: 60%;
}

.testimonial-slider {
    display: flex;
}

.client-testimony {
    margin: 0px 60px;
    width: 20vw;
    height: 30vh;
    box-shadow: 20px 20px 10px grey;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ECA428;
}

.client-testimony h2 {
    font-family: Josefin Sans;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.client-testimony p {
    font-family: Raleway;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 300;
}

.footer {
    border-top: 2px solid #86AA52;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-item {
    width: 30vw;
    display: flex;
    flex-direction: column;
}

.footer-item h1 {
    font-family: Josefin Sans;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 500;
    color: #ECA428;
}

.footer-item h2 {
    font-family: Raleway;
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 1.3rem;
}

.footer-item a {
    font-family: Raleway;
    margin-bottom: 10px;
    color: black;
    font-weight: 400;
    font-size: 1.3rem;
}

.footer-info {
    height: 100%;
    padding-top: 10%;
}

.map iframe {
    height: 300px;
    width: 300px;
    resize: both;
}

@media screen and (max-width: 600px) {
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 35px;
        height: 30px;
        position: absolute;
        top: 4vh;
        right: 50px;
        cursor: pointer;
        z-index: 20;
        filter: invert(100%);
    }

    .line {
        width: 100%;
        height: 3px;
        background-color: #2E6290;
        transition: all 0.8s;
    }

    .change .line-1 {
        transform: rotateZ(-45deg) translate(-8px, 6px);
    }

    .change .line-2 {
        opacity: 0;
    }

    .change .line-3 {
        transform: rotateZ(45deg) translate(-8px, -6px);
    }
    
    .nav-list {
        /* display: flex; */
        /* display: none; */
        position: absolute;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        height: 100vh;
        width: 100vw;
        top: 0px;
        left: 0px;
        height: 100vh;
        width: 100vw;
        background-color: #2E6290;
        z-index: 10;
    }

    .move {
        display: flex;
        right: 0;
    }

    .nav-list a {
        color: white;
        font-family: Raleway;
        font-size: 2rem;
    }

    .logo img {
        max-width: 100px;
    }

    .logo h2 {
        font-size: 0.8rem;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 0;
        height: 100vh;
    }

    .hero-text {
        padding-top: 20%;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-text h1 {
        font-size: 3rem;
        text-align: center;
    } 

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .btn1 {
        font-size: 1rem;
        width: 105%;
    }

    .phone-hero-img {
        display: none;
    }

    .phone-hero-img img {
        position: absolute;
        max-width: 80vw;
        bottom: 0;
    }
    
    .hero-img {
        display: none;
    }

    .owl-carousel1 {
        bottom: 0;
        border: transparent;
    }

    .item1 h2 {
        font-size: 1rem;
    }

    .services {
        height: 130vh;
    }

    .services-list {
        flex-direction: column;
    }

    .service {
        margin: 20px 0px;
    }

    .service-icon {
        width: 100px;
        height: 100px;
    }

    .info {
        height: 70vh;
    }

    .info-img {
        display: none;
    }

    .info-text {
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .info-text h1 {
        font-size: 1.5rem;
        align-items: center;
    }

    .info-text h2 {
        font-size: 1rem;
    }

    .btn2 {
        font-size: 1rem;
    }

    .quote-wrapper {
        width: 100vw;
        background-position: center;
    }

    .quote-wrapper h1 {
        font-size: 10vw;
    }

    .quote-wrapper form {
        width: 80%;
    }

    .form-input label {
        font-size: 5vw;
    }

    .form-input input {
        width: 100%;
    }

    .form-input textarea {
        width: 100%;
    }

    .testimonials {
        height: 120vh;
    }

    .testimonials h1 {
        font-size: 1.5rem;
    }

    .testimonial-slider {
        flex-direction: column;
        width: 90%;
    }

    .client-testimony {
        margin: 20px 0px;
        width: 100%;
    }

    .client-testimony h2 {
        font-size: 1.4rem;
    } 

    .client-testimony p {
        font-size: 1rem;
    }

    .footer {
        height: 25vh;
    }

    .footer-item {
        width: 33vw;
        height: 100%;
        padding-top: 10%;
    }

    .footer-item h1 {
        font-size: 1.2rem;
    }

    .footer-item h2 {
        font-size: 0.6rem;
    }

    .footer-item a {
        font-size: 0.6rem;
    }

    .footer-info {
        padding-top: 20%;
    }

    .map {
        height: 75px;
    }

    .map iframe {
        height: 30vw;
        width: 30vw;
    }

}