* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, serif;
    line-height: 1.6;
    background-color: #EDE9E1;
    color: #333;
}

header {
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

nav a.active {
    border-bottom: 2px solid #333;
}

.heading {
    text-align: center;
    background-color: white;
    padding: 150px 0px;
}

.heading h1 {
    font-size: 36px;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.heading h3 {
    font-size: 20px;
    color: #555;
    font-weight: normal;
    margin-bottom: 20px;
}

.heading p {
    font-size: 18px;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.highlight {
    display: inline-block;
    color: #ff2121;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    50%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    margin-bottom: 100px;
    padding: 0 20px;
}

.engagements {
    max-width: 800px;
    text-align: justify;
    font-size: 18px;
    color: #333;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: rgb(255, 255, 255);
    background-color: black;
    font-weight: 900;
}

/* Responsive header */
@media screen and (max-width: 768px) {
    header {
        flex-direction: row;
        gap: 20px;
        text-align: center;
        padding: 20px 10px;
    }

    nav {
        display: none;
    }

    header {
        position: relative;
    }

    .logo {
        font-size: 20px;
    }
}

/* Responsive heading section */
@media screen and (max-width: 768px) {
    .heading {
        margin: 50px 0;
    }

    .heading h1 {
        font-size: 28px;
        padding: 0 10px;
    }

    .heading h3 {
        font-size: 18px;
    }

    .heading p {
        font-size: 16px;
        padding: 0 15px;
    }
}

/* Responsive engagements list */
@media screen and (max-width: 768px) {
    .hero {
        margin-top: 30px;
        margin-bottom: 50px;
        padding: 0 15px;
    }

    .engagements {
        font-size: 16px;
    }

    .engagements ul {
        padding-left: 20px;
    }

    .engagements li {
        margin-bottom: 15px;
    }
}

/* Additional improvements for very small screens */
@media screen and (max-width: 480px) {
    .heading {
        padding: 80px 0px;
    }

    .heading h1 {
        font-size: 24px;
    }

    .engagements {
        font-size: 15px;
    }
}

/* Add a mobile menu button */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Update the nav styles in your media query */
@media screen and (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #EDE9E1;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    nav.active {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        padding: 10px;
        border-bottom: 1px solid #ddd;
        width: 100%;
        text-align: center;
    }

    nav a:last-child {
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: block;
        width: auto;
        padding: 10px;
    }
}