* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Serif Text", serif;
}

body {
    display: flex;
    flex-direction: column;
}

.header {
    color: #F9FAF8;
    background-color: #e14149;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.header h1 {
    font-size: 34px;
    margin: 0;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    font-size: 24px;
    cursor: pointer;
    color: #F9FAF8;
    padding: 10px;
}

.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #1F2937;
    border-radius: 4px;
    overflow: hidden;
    z-index: 1000;
    width: 200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.nav-links a {
    padding: 10px 20px;
    display: block;
    color: #F9FAF8;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.nav-toggle:checked ~ .nav-links {
    transform: translateY(0);
    display: flex;
}


.nav-links a:hover {
    background-color: #4A5568;
}

.nav-toggle:checked + .nav-links {
    transform: translateY(0);
}

.top {
    background-image: url("images/IMG_0195.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40vw;
    flex-direction: column;
}

.title {
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: rgba(31, 41, 55, 0.3); /* Slightly transparent dark color */
    padding: 5px;
    border-radius: 5px;
}


h3 {
    font-size: 32px;
    font-weight: 900;
    color: #F9FAF8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subheading {
    margin-top: 10px;
    font-weight: 900;
    color: #F9FAF8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 24px;
}

.top-bottom {
    background-color: #E5E7EB;
    padding-top: 50px;
    text-align: center;
}

.top-bottom p {
    font-size: 25px;
    padding-bottom: 50px;
}


.middle {
    background-color: #cecfd3;
    padding: 50px 20px;
    text-align: center;
}

h4 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 16px;
}

.reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.reviews img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}



.bottom {
    background-color: #E5E7EB;
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    font-size: 25px;
}


.very-bottom {
    background-color: rgb(218, 209, 196);
    padding: 50px 20px;
    text-align: center;
    background-image: url("images/IMG_31.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 40vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;

}

.cta-title {
    background-color: rgba(31, 41, 55, 0.3);
    padding: 5px;
    border-radius: 5px;
}


.cta-button{
    margin-top: 10px;
    border-radius: 5px;
    padding: 20px;
    font-weight: bold;
    font-size: 20px;
    background: linear-gradient(145deg, #8B0000, #FF6347);
    color: #fff;
}

.footer {
    color: #F9FAF8;
    background-color: #e14149;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    text-align: center;
    gap: 5px;
}

.author {
    margin-top: 8px;
    font-size: 10px;
}

@media (min-width: 768px) {
    .header {
        padding-left: 200px;
        padding-right: 200px;
        height: 5vh;
    }

    .nav-toggle-label {
        display: none;
    }

    .nav-links {
        display: flex !important;
        position: static;
        background-color: transparent;
        width: auto;
        transform: translateY(0);
        flex-direction: row;
        margin-top: 0;
        box-shadow: none;
    }

    .nav-links a {
        padding: 10px;
    }

    .top {
        padding-top: 100px;
        padding-bottom: 100px;
        flex-direction: row;
    }

    .top-left {
        max-width: 45%;
        padding-left: 250px;
        text-align: left;
    }

    h3 {
        font-size: 48px;
    }

    .subheading {
        font-size: 30px;
    }

    h4 {
        font-size: 40px;
    }

    .review {
        font-size: 20px;
    }

    .very-bottom {
        background-image: url("images/IMG_31.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        color: white;
    }

    #care-text {
        font-size: 30px;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        margin-right: 5px;
    }

    .care-button {
        padding: 30px 10px;
        font-size: 20px;
        width: 300px
    }

    .care-button:hover {
        transform: scale(0.9);
    }

    .cta-button:hover {
        transform: scale(0.9);
    }

    .footer {
        margin-bottom: 0;
    }
}
