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

:root {
    --bg-color: #ffebd3;
    --main-color: burlywood;
    --footer-color: #9b9994;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    font-family: "Yuyu", "Epunda Slab", sans-serif;
    font-weight: 400;
    font-style: normal;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    overflow: hidden;
}

.home {
    background-image: url("../imgs/background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    height: auto;
    padding-bottom: 50px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    gap: 20px;
}

.logo {
    font-size: 30px;
    margin: 0;
    color: var(--bg-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--bg-color);
    font-size: 25px;
    transition: 0.3s;
}

nav a:hover {
    color: burlywood;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--bg-color);
    font-size: 35px;
    margin-top: 150px;
    padding: 20px;
    text-align: center;
}

.content h1 {
    font-size: 50px;
    margin: 10px 0;
}

.content p {
    line-height: 1.6;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.buttons a {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    padding: 18px 30px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.button1 {
    background-color: burlywood;
    color: white;
    border: 2px solid burlywood;
}

.button2 {
    background-color: white;
    color: burlywood;
    border: 2px solid white;
}

.button1:hover {
    background-color: white;
    color: burlywood;
    border-color: white;
}

.button2:hover {
    background-color: burlywood;
    color: white;
    border-color: burlywood;
}

.section2,
.section3 {
    min-height: 100vh;
    height: auto;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.section3 {
    background-color: rgba(251, 245, 245, 0.655);
}

.image {
    width: 40%;
    flex-shrink: 0;
}

.image img {
    width: 100%;
    display: block;
}

.content2 {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.content2 h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.content2 p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.section4 {
    min-height: 100vh;
    height: auto;
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content-sec4 h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.content-sec4 p {
    font-size: 18px;
    line-height: 1.7;
}

.cards-sec4 {
    padding-top: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
}

.cards-sec4 > div {
    flex: 1;
    min-width: 0;
    max-width: 400px;
}

.cards-sec4 img {
    width: 100%;
    margin-bottom: 20px;
}

.cards-sec4 h2 {
    font-size: 25px;
    margin-bottom: 15px;
}

.cards-sec4 p {
    width: 100%;
    margin: auto;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.8;
}

.section5 {
    min-height: 100vh;
    height: auto;
    padding: 60px 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    background-color: #f8f5f0;
}

.content-sec5 {
    display: flex;
    flex-direction: column;
    font-size: 18px;
    flex: 1 1 300px;
    min-width: 0;
}

.content-sec5 h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.content-sec5 p {
    line-height: 1.8;
}

.content-sec5 h4 {
    padding: 20px 0;
}

.content-sec5 ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.content-sec5 li {
    padding: 10px 0;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.contact-form {
    flex: 1 1 350px;
    min-width: 0;
    max-width: 500px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    background-color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: burlywood;
    box-shadow: 0 0 5px rgba(222, 184, 135, 0.3);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    margin-top: 0;
    padding: 15px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    border-radius: 5px;
}

.map {
    width: 100%;
    flex: 1 1 100%;
    margin-top: 20px;
}

.map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
}

.footer {
    background: #9b9994;
    color: #fff;
    padding-top: 60px;
}

.footer-grid {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding-bottom: 50px;
}

.footer-item {
    min-width: 0;
}

.footer-item h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-item p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-item ul {
    list-style: none;
    padding: 0;
}

.footer-item li {
    padding: 10px 0;
    border-bottom: 1px solid #777;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.final {
    background-color: #7b7973b8;
    min-height: 150px;
    text-align: center;
    font-size: 25px;
    color: white;
    padding: 25px 15px;
}

.final img {
    width: 120px;
    margin: 0 auto 15px;
}


@media (max-width: 992px) {

    nav {
        padding: 20px;
    }

    .logo {
        font-size: 25px;
    }

    nav ul {
        gap: 15px;
    }

    nav a {
        font-size: 20px;
    }

    .content {
        font-size: 28px;
        margin-top: 120px;
    }

    .content h1 {
        font-size: 42px;
    }

    .section2,
    .section3 {
        padding: 40px 30px;
        gap: 30px;
    }

    .image {
        width: 40%;
    }

    .content2 {
        width: 60%;
    }

    .content2 h2 {
        font-size: 30px;
    }

    .content2 p {
        font-size: 17px;
    }

    .section4 {
        padding: 50px 25px;
    }

    .cards-sec4 {
        gap: 20px;
    }

    .cards-sec4 h2 {
        font-size: 22px;
    }

    .cards-sec4 p {
        font-size: 15px;
    }

    .section5 {
        padding: 40px 25px;
    }

    .contact-form {
        padding: 25px;
    }

    .map iframe {
        height: 350px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {

    /* Home */

    .home {
        min-height: 100vh;
        height: auto;
        padding-bottom: 40px;
        background-position: center;
    }

    nav {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 15px;
    }

    .logo {
        font-size: 25px;
        margin: 0;
        text-align: center;
    }

    nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px 20px;
    }

    nav a {
        font-size: 18px;
        margin: 0;
    }

    .content {
        font-size: 20px;
        margin-top: 70px;
        padding: 20px 15px;
        text-align: center;
    }

    .content h1 {
        font-size: 35px;
    }

    .content p {
        line-height: 1.7;
    }

    .buttons {
        gap: 12px;
        width: 100%;
        margin-top: 20px;
    }

    .buttons a {
        padding: 15px 22px;
        font-size: 15px;
    }

    .section2,
    .section3 {
        flex-direction: column;
        height: auto;
        min-height: auto;
        padding: 40px 20px;
        gap: 25px;
    }

    .section2 .image,
    .section3 .image {
        width: 100%;
        max-width: 450px;
    }

    .content2 {
        width: 100%;
        align-items: flex-start;
    }

    .content2 h2 {
        font-size: 27px;
        margin-bottom: 15px;
    }

    .content2 p {
        font-size: 16px;
        line-height: 1.8;
    }

    .section4 {
        height: auto;
        padding: 40px 20px;
    }

    .content-sec4 h2 {
        font-size: 28px;
    }

    .content-sec4 p {
        font-size: 16px;
        line-height: 1.7;
    }

    .cards-sec4 {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding-top: 30px;
    }

    .cards-sec4 > div {
        width: 100%;
        max-width: 400px;
    }

    .cards-sec4 img {
        width: 100%;
    }

    .cards-sec4 h2 {
        font-size: 23px;
    }

    .cards-sec4 p {
        width: 100%;
        font-size: 16px;
        line-height: 1.7;
    }

    .section5 {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        padding: 40px 20px;
        gap: 30px;
    }

    .content-sec5 {
        width: 100%;
        flex: auto;
        font-size: 16px;
    }

    .content-sec5 h2 {
        font-size: 27px;
    }

    .content-sec5 h4 {
        padding: 15px 0;
    }

    .contact-form {
        width: 100%;
        max-width: 100%;
        flex: auto;
        padding: 20px;
    }

    .contact-form h2 {
        font-size: 24px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
        padding: 13px;
    }

    .contact-form button {
        width: 100%;
    }

    .map {
        width: 100%;
        margin-top: 0;
    }

    .map iframe {
        width: 100%;
        height: 300px;
    }

    .footer {
        padding-top: 40px;
    }

    .footer-grid {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 30px;
    }

    .footer-item h3 {
        font-size: 21px;
    }

    .footer-item p,
    .footer-item li {
        font-size: 15px;
        line-height: 1.8;
    }

    .final {
        min-height: auto;
        font-size: 18px;
        padding: 25px 15px;
    }

    .final img {
        width: 100px;
    }

}


@media (max-width: 400px) {

    .logo {
        font-size: 22px;
    }

    nav ul {
        gap: 12px;
    }

    nav a {
        font-size: 16px;
    }

    .content {
        font-size: 18px;
        margin-top: 50px;
    }

    .content h1 {
        font-size: 29px;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .buttons a {
        width: 180px;
        text-align: center;
    }

    .section2,
    .section3,
    .section5 {
        padding: 30px 15px;
    }

    .content2 h2,
    .content-sec5 h2 {
        font-size: 23px;
    }

    .contact-form {
        padding: 15px;
    }

    .contact-form h2 {
        font-size: 22px;
    }

    .map iframe {
        height: 250px;
    }

    .final {
        font-size: 16px;
    }

}