:root {
    --primary-color: #2E8B57;
    --secondary-color: #F0E68C;
    --accent-color: #4682B4;
    --background-color: #F5F5F5;
    --background-color-secondary: #f6f6f6;
    --text-gray: #79787F;
    --heading-font: "Playfair Display", serif;
    --body-font: "Lato", serif;
}

body {
    margin: 0;
    padding: 0;
    /* background-color: var(--background-color); */
}



/* ------------ navbar styles ----------- */
.header {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

header .top {
    background-color: white;
    height: 4rem;
    margin: 0;
}

header .top {
    padding: 1rem 7rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 2.5rem;
    flex-direction: row;
    font-family: var(--body-font);
}

.top .times-container,
.top .address-container,
.top .mobile-container {
    width: 13rem;
    display: flex;
    align-items: center;
    flex-direction: row;
    cursor: pointer;
}

.top .icon {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.top .logo {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: var(--heading-font);
    margin: 0;
    /* margin-right: 1.5rem; */
}

.top .times-container .time p {
    margin: 5px 0;
}

.top .appointment-btn {
    padding: 1rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.top .appointment-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

header .bottom {
    background-color: var(--primary-color);
    height: 4rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

header .bottom.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

.bottom nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.bottom nav ul li {
    list-style: none;
    margin: 0 1rem;
}

.bottom nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-family: var(--body-font);
    transition: 0.3s;
}

.bottom nav ul li a:hover {
    color: var(--secondary-color);
}

@media screen and (min-width: 768px) and (max-width: 1024px) {

    header .top {
        padding: 1rem;
        height: auto;
        flex-wrap: wrap;
        gap: inherit;
        /* flex-direction: column; */
    }

    .top .times-container,
    .top .address-container,
    .top .mobile-container {
        font-size: 0.8rem;
    }

    .top .appointment-btn {
        display: none;
    }

    .top .logo {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .bottom nav ul li a {
        font-size: 1rem;
    }
}

@media screen and (max-width: 767px) {
    header .top {
        padding: 1rem;
        height: auto;
    }

    .top .times-container,
    .top .address-container,
    .top .mobile-container,
    .top .appointment-btn {
        display: none;
    }

    .top .logo {
        font-size: 1.5rem;
    }

    .bottom nav ul li a {
        font-size: 1rem;
    }
}


/* ---------------more services section ------------- */

.more-services {
    padding: 4rem 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    background-image: url('https://ld-wp73.template-help.com/wordpress/prod_11363/v5/wp-content/uploads/2019/08/home-4-1.jpg');
    background-repeat: no-repeat;
    background-position: 10% center;
}

.more-services .left,
.more-services .right {
    flex: 1;
    padding: 1rem;
}

.more-services .left h2 {
    font-size: 3rem;
    font-family: var(--heading-font);
    text-transform: capitalize;
    margin: 0;
}

.more-services .left .button {
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-transform: capitalize;
    outline: none;
    border: 0;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
    border-radius: 5px;
    font-size: 1.1rem;
    font-family: var(--body-font);
}

.more-services .left .button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.more-services .left p {
    color: var(--text-gray);
    font-family: var(--body-font);
}

.more-services .left ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.more-services .left ul li {
    width: 50%;
    font-family: var(--body-font);
    margin-bottom: 0.8rem;
}

.more-services .left ul li::before {
    content: "\2714";
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.more-services .left h2,
.more-services .left p,
.more-services .left ul,
.more-services .left .button {
    margin-bottom: 1.5rem;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .more-services {
        padding: 2rem;
    }

    .more-services .left h2 {
        font-size: 34px;
    }

    .more-services .left .button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .more-services .right {
        flex: 0;
        padding: 0;
    }
}

@media screen and (max-width: 767px) {
    .more-services {
        padding: 2rem;
    }

    .more-services .left {
        padding: 0;
    }

    .more-services .left h2 {
        font-size: 24px;
    }

    .more-services .left ul li {
        width: 100%;
    }

    .more-services .left .button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .more-services .right {
        flex: 0;
        padding: 0;
    }
}


/* ------------------why us section ------------ */

.why-us {
    background-color: var(--background-color-secondary);
    padding: 2rem 7rem 5rem;
}

.why-us h2 {
    font-size: 3rem;
    font-family: var(--heading-font);
    text-transform: capitalize;
    text-align: center;
}

.why-us .card-container {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.card-container .card {
    width: 25%;
    height: 20rem;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.card .card-img {
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    margin-bottom: 16px;
    background-color: var(--primary-color);
}

.card .card-title {
    font-size: 1.1rem;
    font-family: var(--body-font);
    margin-bottom: 10px;
    text-transform: capitalize;
}

.card .card-desc {
    font-size: 1rem;
    font-family: var(--body-font);
    color: var(--text-gray);
    line-height: 1.3;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .why-us {
        padding: 2rem;
    }

    .why-us h2 {
        font-size: 34px;
    }

    .why-us .card-container {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .card-container .card {
        width: 90%;
        max-width: 23rem;
        height: auto;
        align-items: center;
        text-align: center;
        margin: 1rem;
    }
}

@media screen and (max-width: 767px) {
    .why-us {
        padding: 2rem 1rem;
    }

    .why-us h2 {
        font-size: 24px;
    }

    .why-us .card-container {
        flex-direction: column;
    }

    .card-container .card {
        width: 90%;
        max-width: 25rem;
        height: auto;
        align-items: center;
        text-align: center;
        margin: 1rem;
    }
}


/* -----------mission section ------------- */

.mission {
    height: auto;
    padding: 2rem 7rem 5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.mission .mission-left,
.mission .mission-right {
    height: 100%;
    width: 100%;
    padding: 1rem;
}

.mission-left h2 {
    font-size: 2rem;
    text-transform: uppercase;
    font-family: var(--heading-font);
    margin: 0;
    margin-bottom: 2rem;
}

.mission-left p {
    font-family: var(--body-font);
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.4;
}

.mission-right {
    padding-left: 3rem;
}

.mission-right h3 {
    font-size: 2rem;
    font-family: var(--heading-font);
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 2rem;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .mission {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
}

@media screen and (max-width: 767px) {
    .mission {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .mission h2,
    .mission h3 {
        font-size: 24px;

    }
}

/* -----------footer styling ------------ */

footer {
    background-color: var(--primary-color);
    box-sizing: border-box;
    padding: 4rem 7rem;
    display: flex;
    flex-wrap: wrap;
    height: auto;
    flex-direction: column;
}

footer .container {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
}

footer .container .inner {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .container .inner .inner-content {
    display: flex;
    flex-direction: column;
}

footer .container .inner .inner-content span,
footer .container .inner .inner-content .sm-container {
    margin-bottom: 1rem;
    cursor: pointer;
}

footer .container .inner .inner-content .inner-title {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--lato-font);
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

footer .container .inner .inner-content span {
    color: var(--background-color);
    font-size: 1.1rem;
    font-family: var(--poppins-font);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 1rem;
}

footer .container .inner .inner-content .sm-container {
    color: var(--background-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

footer .copyright-container {
    box-sizing: border-box;
    border-top: 1px solid var(--secondary-color);
    text-align: center;
    color: var(--background-color);
    font-size: 1.1rem;
    padding: 1.5rem 0;
}

footer .copyright-container a {
    color: inherit;
}

/* Tablets and small desktops (max-width: 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    footer {
        padding: 3rem 2rem;
        /* padding: 1rem; */
    }

    footer .container .inner {
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }

    footer .container .inner .inner-content {
        align-items: center;
    }
}

/* Mobile devices (max-width: 768px) */
@media screen and (max-width: 767px) {
    footer {
        padding: 2rem 3rem;
    }

    footer .container {
        flex-direction: column;
    }

    footer .container .inner {
        width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    footer .container .inner .inner-content {
        align-items: center;
    }

    footer .container .inner .inner-content .inner-title {
        font-size: 1.2rem;
    }

    footer .container .inner .inner-content span,
    footer .container .inner .inner-content .sm-container {
        font-size: 1rem;
    }

    footer .copyright-container {
        font-size: 1rem;
        padding: 1rem 0;
    }
}