:root {
    --primary: #00c853;
    --primary-dark: #009624;
    --primary-light: #5efc82;
    --secondary: #00b0ff;
    --dark: #121212;
    --light: #f5f5f5;
    --gray: #424242;
    --light-gray: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    display: none; /* Hides the entire header banner */
}

header.visible {
    display: none; /* Ensure it stays hidden even when visible class is applied */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
}

.menu-toggle {
    font-size: 1.5rem;
    color: var(--light);
    cursor: pointer;
    display: none;
}

.menu-toggle.active .fa-bars:before {
    content: "\f00d";
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hamburger Menu Animation */
.nav-menu.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem 0;
    max-height: 50vh;
    overflow-y: auto;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out, max-height 0.3s ease-in-out;
    border-bottom: 1px solid var(--primary);
}

.nav-menu.active li {
    margin: 0.5rem 0;
    text-align: center;
    width: 100%;
}

.nav-menu.active a {
    display: block;
    padding: 0.8rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }

    header {
        padding: 0.5rem 0;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

.join-now {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    font-size: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.join-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.3);
    background: rgba(0, 200, 83, 0.1);
}

/* Hero Section */
.hero {
    padding: 100px 0 100px;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('/assets/ai_banner.jpg') center/cover no-repeat;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-light); /* Fallback color for better visibility */
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent; /* Ensure compatibility across browsers */
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--light-gray);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 1rem 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 200, 83, 0.3);
}

.cta-button.outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-button.outline:hover {
    background: rgba(0, 200, 83, 0.1);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--dark);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--light);
}

.section-title span {
    color: var(--primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--primary);
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 200, 83, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.feature-card p {
    color: var(--light-gray);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--light);
    font-weight: 500;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Footer */
footer {
    background-color: #000;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(0, 200, 83, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-column p, .footer-column a {
    color: var(--light-gray);
    margin-bottom: 0.8rem;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray);
    color: var(--light-gray);
    font-size: 0.9rem;
}

.partner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.partner-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 20px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.partner-btn:hover {
    background-color: var(--primary);
    color: var(--dark);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .join-now {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .cta-button {
        display: block;
        margin: 1rem auto;
        width: 90%;
    }

    .join-now {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}