body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

@import url("https://fonts.googleapis.com/css2?family=Lora:ital@0;1&family=Poppins:wght@400;500;600&display=swap");

:root {
    --primary-color: #f5f4f2;
    --text-dark: #57534e;
    --text-light: #78716c;
    --white: #ffffff;
    --max-width: 1200px;
    --header-font: "Lora", serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

img {
    width: 100%;
    display: flex;
}

a {
    text-decoration: none;
}

body {
    font-family: "Poppins", sans-serif;
}

nav {
    max-width: var(--max-width);
    margin: auto;
    padding: 1rem;
}

.nav__links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.link a {
    font-weight: 500;
    color: var(--text-light);
    transition: 0.3s;
}

.link a:hover {
    color: var(--text-dark);
}

.nav__logo {
    text-align: center;
    cursor: pointer;
}

.nav__logo img {
    margin: auto;
    max-width: 120px;
}

.nav__logo h4 {
    font-size: 1.5rem;
    font-family: var(--header-font);
    letter-spacing: 2px;
    color: var(--text-dark);
}

.nav__logo p {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-light);
}

.dropdown-menu2 {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    list-style: none;
    z-index: 10;
}

.link:hover .dropdown-menu2 {
    display: block;
}

.dropdown-menu2 li {
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    cursor: pointer;
}

.dropdown-menu2 li:hover {
    color: var(--white);
}

.link {
    position: relative;
}

.header__container {
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header__content h2 {
    font-size: 3.5rem;
    font-weight: 600;
    font-family: var(--header-font);
    color: white;
    line-height: 1.2;
}

.header__content span {
    font-size: 20px;
    font-family: var(--header-font);
    color: var(--white);
    line-height: 1.2;
}

.header a {
    color: white;
    text-decoration: underline;
}

.container {
    width: 80%;
    margin: 40px auto;
    padding: 30px;
    margin-top: 0;
    font-family: "Ethereal", "Baskerville Old Face", "Baskerville", serif;
    ;
}

h2 {
    text-align: center;
    color: black;
    font-size: 28px;
}

h4 {
    color: #f9f9f9;
}

.footer {
    margin-top: 2rem;
    position: relative;
    background-color: var(--primary-color);
}

.footer__container {
    text-align: center;
}

.footer__container img {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 150px;
}

.footer__container h4 {
    max-width: 600px;
    margin: auto;
    margin-bottom: 3rem;
    font-size: 3rem;
    font-weight: 400;
    font-family: var(--header-font);
    color: var(--text-dark);
}

.footer__container p {
    max-width: 1000px;
    margin: auto;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.footer__container button {
    padding: 1rem 2rem;
    outline: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    background-color: var(--white);
    cursor: pointer;
    transition: 0.3s;
}

.footer__container button:hover {
    color: white;
    background-color: #57534e;
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.footer__bar {
    padding: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #ffffff;
    background-color: black;
}

.d1 {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    padding: 20px;
}

.d1 div {
    width: calc(33.33% - 20px);
    max-width: 600px;
    transition: transform 0.3s;
    cursor: pointer;
    flex-grow: 1;
}

.d1 img {
    width: 100%;
    width: 450px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.content {
    font-size: 17px;
    width: 300px;
    /* Adjusted width to fit buttons */
    padding: 15px 0;
    text-align: center;
    margin: 20px 10px;
    border-radius: 25px;
    font-weight: bold;
    /* border: 2px solid #000000; */
    background: transparent;
    color: black;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-right: auto;
    margin-left: auto;
}

button {
    position: relative;
    padding: 10px 20px;
    font-size: 16px;
    background-color: transparent;
    border: 2px solid #f9f9f9;
    border-radius: 25px;
    color: whitesmoke;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    z-index: 1;
    margin: 10px;
    /* Added margin to separate buttons */
    overflow: hidden;
}

button span {
    background: #78716c;
    width: 0;
    height: 100%;
    border-radius: 25px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    transition: width 0.5s ease;
}

button:hover span {
    width: 100%;
    transform: scale(1.1);
}

a {
    text-decoration: none;
}

/* Mobile-first base */
.container {
    width: 100%;
    padding: 0 15px;
}

/* Tablet */
@media (min-width: 768px) {
    .container {
        max-width: 750px;
        margin: 0 auto;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }
}

/* Images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Hide desktop nav, show hamburger on mobile */
@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
}