@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap");

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

body {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    background-color: #faf9f6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    position: relative;
    padding: 0 2rem;
}

.navbar {
    width: 100%;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo a {
    font-size: 2rem;
    font-family: 'Luckiest Guy', cursive;
}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .toggle_btn {
    color: #402218;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.action_btn {
    background-color: #C68B59;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    outline: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.action_btn:hover {
    transform: scale(1.05);
    background-color: white;
    color: #402218;
}

.action_btn:active {
    transform: scale(0.95);
}

/* Dropdown Menu */
.dropdown_menu {
    display: none;
    position: absolute;
    right: 2rem;
    top: 65px;
    width: 300px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown_menu.open {
    height: 200px;
}

.dropdown_menu li {
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu .action_btn {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Responsive Design for Navigation Bar */
@media (max-width: 992px) {
    .navbar .links,
    .navbar .action_btn {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: block;
    }
}

@media (max-width: 576px) {
    .dropdown_menu {
        left: 2rem;
        width: unset;
    }
}

/* Card Styles */
.flex-container {
    flex: 1;
    padding: 1rem;
}

.card {
    background-color: #F5CCA0;
    margin: 1rem 0;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 1rem 0;
}

.card h1, .card h2, .card p {
    margin-bottom: 1rem;
}

.card h1 {
    font-size: 3rem;
}

.card h2 {
    font-size: 2rem;
    color: #6B240C;
}

.card p {
    font-size: 1rem;
    text-align: center;
}

.card ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

.card li {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.promise {
    background-color: #E48F45;
    color: white;
}

.commitment {
    background-color: #F5CCA0;
}

/* Responsive Card Layout */
@media (min-width: 680px) and (max-width: 1200px) {
    .card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .card img {
        margin: 0 2rem 0 0;
    }

    .image-text-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 2rem;
        border-radius: 10px;
        margin: 1rem 0;
    }

    .image-text-content img {
        max-width: 300px;
        height: auto;
        margin-right: 2rem;
    }

    .image-text-content .left {
        flex: 1;
    }
}

@media (max-width: 679px) {
    .card {
        padding: 1rem;
    }

    .card img {
        margin: 0 0 1rem 0;
    }

    .image-text-content {
        flex-direction: column;
        align-items: center;
    }

    .image-text-content img {
        margin: 0 0 1rem 0;
    }
}

/* Footer */
footer#footer-about {
    background-color: #402218;
    color: white;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-left img {
    max-width: 100px;
    height: auto;
}

.footer-center {
    text-align: center;
}
