/* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Poppins, sans-serif;
} */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #495e4d;
}
.spacer {
    margin-top: 150px;
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    padding: 0 5%;
    /* background-image: linear-gradient(#3a4e3d, #7da882); */
    background: url("../images/front-page-hero.jpg");
    background-position: center;
    background-size: cover;
}

/* WELCOME SECTION */

.welcome-section {
    display: flex;
    max-width: 80%;
    margin: 140px auto 0 auto;
    padding: 40px;
    border: solid 2px #495e4d;
    background-color: #fff;
    box-shadow:
        0 2px 6px rgb(0, 0, 0, 0.2),
        0 4px 8px rgb(0, 0, 0, 0.3);
}

.welcome-section-content {
    display: flex;
    flex-direction: column;
    flex-basis: 50%;
    justify-content: space-between;
    /* padding: 50px; */
    padding-right: 40px;
}

.welcome-section-content h2 {
    padding-bottom: 15px;
    color: #333;
    border-bottom: #000 solid 2px;
    font-size: 50px;
    font-weight: 600;
}

.welcome-section-content p {
    padding: 30px 0;
    text-align: left;
    color: #333;
    font-size: 20px;
}

.front-welcome-image {
    overflow: hidden;
    flex-basis: 50%;
    align-items: center;
    justify-content: center;
}

.welcome-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-button {
    display: block;
    margin-top: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    color: #fff;
    border: solid 3px #000;
    background-color: #495e4d;
    font-size: 20px;
    font-weight: bold;
}

.welcome-button:hover {
    color: #495e4d;
    border: solid 3px #495e4d;
    background-color: #fff;
}

.welcome-button a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: #fff;
}

.welcome-button:hover a {
    color: #495e4d;
}

.section-splitter {
    width: 95%;
    margin: 140px auto;
    color: #fff;
    border: #333 1px solid;
    background-color: #fff;
}

@media only screen and (max-width: 768px) {
    .welcome-section {
        flex-direction: column;
        max-width: 80%;
        margin: 40px auto 0 auto;
        padding: 10px;
    }

    .welcome-section-content {
        flex-basis: 100%;
        padding: 20px;
    }

    .welcome-section-content h2 {
        font-size: 40px;
    }

    .front-welcome-image {
        flex-basis: 100%;
    }
}

/* Main Links */

.front-grid-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    max-width: 85%;
    height: 100%;
    margin: 0 auto;
    /* padding: 0 20px; */
    gap: 25px;
}

.grid-section-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-self: stretch;
    padding: 27px;
    text-align: left;
    background-color: #fff;
    box-shadow:
        0 2px 6px rgb(0, 0, 0, 0.2),
        0 4px 8px rgb(0, 0, 0, 0.3);
}

.grid-section-container img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.grid-section-container h2 {
    padding-bottom: 20px;
    color: #333;
    font-size: 40px;
    font-weight: 600;
}

.grid-section-container p {
    padding: 30px 0;
    color: #333;
    font-size: 20px;
}

.main-button {
    display: block;
    width: 100%;
    margin-top: auto;
    cursor: pointer;
    transition: background-color 0.3s;
    border: solid 3px #000;
    background-color: #495e4d;
    font-size: 20px;
    font-weight: bold;
}

.main-button a {
    display: block;
    align-self: flex-end;
    padding: 15px;
    text-decoration: none;
    color: #fff;
}

.main-button:hover {
    border: solid 3px #495e4d;
    background-color: #fff;
}

.main-button a:hover {
    color: #495e4d;
}

.front-more-info-container {
    margin-top: auto;
}

@media only screen and (max-width: 880px) {
    .front-grid-container {
        flex-direction: column;
        max-width: 85%;
        padding: 0 10px;
    }

    .grid-section-container {
        flex: 1;
        margin-bottom: 30px;
        padding: 20px;
        text-align: center;
    }
}

.content {
    text-align: center;
}

.content h1 {
    letter-spacing: 2px;
    color: #fff;
    font-size: 80px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .content h1 {
        font-size: 60px;
    }
}

/* ------------------ */

.row {
    margin: 0 !important;
}

.line {
    width: 150px;
    height: 1px;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    background-color: #02bb48;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* <---- button ----> */

a.cta-button {
    margin-top: 35px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    letter-spacing: 1px;
    /* text-transform: uppercase; */
    border: 2px solid #ccc;
    /* border-radius: 21px; */
    box-shadow: 0 4px 8px rgb(0, 0, 0, 0.2);
    font-size: 25px;
    font-weight: bold;
    line-height: 16px;
}

a.cta-button:hover {
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 7px 8px rgb(0, 0, 0, 0.2);
}

a.cta-button.green {
    transition: all 0.3s;
    color: #ccc;
    background-color: var(--primary-dark);
}

a.cta-button.green:hover {
    transition: all 0.3s;
    color: #fff;
    border: 2px solid #fff;
}

a.cta-button.white {
    transition: all 0.3s;
    color: #0cc652;
    background-color: #fff;
}

a.cta-button.white:hover {
    transition: all 0.3s;
    background-color: #f7f7f7;
}

/* <---- HEADER ----> */

.header {
    position: absolute;
}

.header .navbar-brand:hover {
    color: #0cc652;
}

.header .navbar-brand {
    color: #fff;
    font-weight: bold;
}

.header ul li a {
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-transform: uppercase;
    color: #fff;
}

.header ul li:hover a {
    color: #0cc652;
}

.navbar-nav > .active > a,
.navbar-nav > .active > a:hover,
.navbar-nav > .active > a:focus {
    color: #0cc652;
}

/* REVIEW SECTION  */

.review-section {
    max-width: 75%;
    margin: 0 auto;
    padding: 40px 0;
    background-color: #fff;
    box-shadow:
        0 2px 6px rgb(0, 0, 0, 0.2),
        0 4px 8px rgb(0, 0, 0, 0.3);
}

.review-section .inner {
    max-width: 90%;
    margin: auto;
    padding: 0 40px;
}

.review-section h2 {
    color: #333;
    font-size: 50px;
    font-weight: 600;
}

.review-section .border {
    width: 160px;
    height: 8px;
    margin: 35px auto;
    background: #495e4d;
}

.review-section .testimonial-row {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-section .testimonial {
    overflow: hidden;
    margin: 10px 0;
    padding: 30px;
    border: #495e4d solid 2px;
    border-radius: 10px;
    background: #fff;
    box-shadow:
        0 2px 6px rgb(0, 0, 0, 0.2),
        0 4px 8px rgb(0, 0, 0, 0.3);
}

.review-section .testimonial img {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
}

.review-section .testimonial p {
    font-size: 20px;
    line-height: 1.4;
}

.review-section .testimonial-name {
    margin: 20px 0;
    text-transform: uppercase;
    font-size: 22px;
}

.review-section .testimonial .stars {
    margin-bottom: 20px;
    color: #495e4d;
}

#review-read-more-button {
    width: 50%;
    margin: 50px auto;
    letter-spacing: 3px;
}

/* Media Queries */

@media screen and (max-width: 960px) {
    .review-section .testimonial {
        width: 80%;
        /* Adjust width as needed */
    }
}

@media screen and (max-width: 600px) {
    .review-section .testimonial {
        width: 100%;
    }
}

/* Larger Screens */
@media screen and (min-width: 1650px) {
    .review-section .testimonial p {
        font-size: 20px;
    }

    .review-section .testimonial .testimonial-name {
        font-size: 30px;
    }
}
