/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* Main container for page content */
main {
    flex: 1;
}

/* Navigation styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    opacity: 0;
    animation: slideDown 0.8s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo-img {
    height: 50px;
    width: auto;
    animation: scaleUp 1s ease forwards;
}

@keyframes scaleUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

nav .nav-buttons {
    display: flex;
    gap: 15px;
}

nav button {
    position: relative;
    padding: 8px 20px;
    font-size: 1rem;
    font-weight: 400;
    border: none;
    background: none;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

nav button::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #000;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav button:hover::after {
    width: 100%;
}

nav button:hover {
    color: #000;
}

/* Section and content styles */
section {
    padding: 50px;
    text-align: center;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    background-color:#333333;
    color: #fff;
    padding: 100px 50px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.hero .explore-btn {
    padding: 12px 35px;
    font-size: 1.1rem;
    font-weight: 400;
    border: 2px solid #fff;
    background-color: transparent;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.5s ease;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero .explore-btn:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(0);
    animation: none;
}

.contact button, .join button {
    padding: 10px 30px;
    font-size: 1rem;
    border: 2px solid #000;
    background-color: #000;
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact button:hover, .join button:hover {
    background-color: #fff;
    color: #000;
}

.contact, .about, .services, .join, .privacy {
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.contact h1, .about h1, .services h1, .join h1, .privacy h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact p, .about p, .services p, .join p, .privacy p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
}

.contact form, .join form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact form input, .contact form textarea, .join form input, .join form textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.contact form input:focus, .contact form textarea:focus, .join form input:focus, .join form textarea:focus {
    border-color: #000;
    outline: none;
}

.contact form textarea, .join form textarea {
    height: 100px;
    resize: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.services-grid div {
    padding: 20px;
    transition: transform 0.3s ease;
}

.services-grid div:hover {
    transform: translateY(-5px);
}

.services-grid h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 50px;
    text-align: center;
}

footer p {
    margin: 5px 0;
    font-weight: 300;
}

footer .social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

footer .social span {
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

footer .social span:hover {
    color: #ccc;
}

/* Email link styles */
.email-link {
    color: inherit;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.email-link:hover {
    text-decoration: underline;
}

.contact .email-link, .privacy .email-link {
    color: #333;
}

.contact .email-link:hover, .privacy .email-link:hover {
    text-decoration: underline;
}

footer .email-link {
    color: #fff;
}

footer .email-link:hover {
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    nav .logo-img {
        height: 40px;
    }

    nav .nav-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav button {
        font-size: 0.9rem;
        padding: 6px 15px;
    }

    section {
        padding: 30px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .explore-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .contact h1, .about h1, .services h1, .join h1, .privacy h1 {
        font-size: 1.8rem;
    }

    .contact p, .about p, .services p, .join p, .privacy p {
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 10px;
    }

    nav .logo-img {
        height: 35px;
    }

    nav button {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero .explore-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}
