/* General styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    background-image: linear-gradient(#2cc15e, #2f6146);
}

:root {
    --green: #2cc15e;
    --gold: #d8aa15;
    --dark-gold: #906e00;
    --dark-green: #044a00;
    --white: #ffffff;
    --gray: #f5f5f5;
    --dark-gray: #f5f5f500;
}

section {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--dark-gray);
}

h2 {
    color: white;
    margin-bottom: 1rem;
}

section p {
    color: white;
}

/* Header */
.hero {
    height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.herofake {
    height: 10vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

nav {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 1);
}

.logo-container {
    display: flex;
    align-items: center;
    padding-left: 25px;
}

nav .logo-words {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 600;
    padding-left: 25px;
  }

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding-right: 25px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn {
    background-color: var(--gold);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 1);
}

.btn-lower {
    background-color: var(--gold);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 50px;
}

.section {
    padding: 4rem 0;
    background-color: var(--dark-gray);
}

.section p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: white;
}

.card {
    background-color: var(--white);
    padding: 1.5rem;
    margin: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-big-bottom p {
    padding-bottom: 30px;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--dark-green);
    color: var(--white);
}

.card-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.card-item {
    background-color: var(--green);
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    width: calc(33% - 40px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #fff;
    text-align: center;
}

.card-item p {
    padding-bottom: 30px;
  }
/* Mobile styles */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        padding-right: 0;
        padding-left: 25px;
    }
    .section {
        padding: 2rem 0;
    }
    .card-item {
        width: calc(100% - 40px);
    }
    .btn, .btn-lower {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    footer {
        padding: 1rem;
    }
}


/* Hide nav links by default on smaller screens */
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding-right: 25px;
}

.menu-toggle {
    display: none; /* Hide on desktop */
}

@media (max-width: 768px) {
    /* Dropdown menu button for mobile */
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--white);
        padding-right: 25px;
        cursor: pointer;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--white);
        padding-right: 25px;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background-color: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 100%; 
        right: 0;
        width: 100%;
        padding: 1rem;
        text-align: center;
    }

    /* Show nav-links when they are active */
    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links li a {
        color: var(--white);
        text-decoration: none;
        font-weight: 400;
    }
}
