body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
}


.header {
    background-color: #18976f;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    height: 50px;
    width: auto;
}
.nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}
.nav a:hover {
    text-decoration: underline;
}
.auth-buttons {
    display: flex;
    gap: 10px;
}
.auth-buttons a {
    background-color: #f5a623;
    color: #000;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.hero-banner {
    position: relative; /* Allow positioning of the overlay */
    background: url('https://baji999a.art/baji9999.webp') no-repeat center center/cover;
    padding: 100px 0;
    text-align: left;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Adjust opacity to make it darker */
}

.hero-content {
    position: relative; /* To ensure content is above the overlay */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #ffffff; /* Make sure text stays visible against the darker background */
}

.hero-text h2 {
    font-size: 48px;
    margin: 0 0 20px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
}


.reg-button {
    background-color: #f5a623;
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.content-container {
    max-width: 800px; /* Set a narrower width for better readability */
    margin: 0 auto;
    padding: 0 20px; /* Optional padding for spacing */
}

h1 {
    font-size: 48px;
}

.features {
    padding: 30px 20px;
    text-align: center;
    color: #ffffff;
}

.features h3 {
    font-size: 36px;
    margin-bottom: 40px;
}

.features-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    max-width: 300px;
}

.feature-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.showcase {
    padding: 30px 20px;
    text-align: center;
    color: #ffffff;
}

.showcase h3 {
    font-size: 36px;
    margin-bottom: 40px;
}

.showcase-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-item {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    max-width: 300px;
}

.showcase-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.footer {
    background-color: #18976f;
    padding: 20px;
    text-align: center;
}

.footer p {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
}
.text-center {
    text-align: center;
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 20px;
}
.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 18px;
    text-align: left;
    color: #ffffff;
}

.styled-table thead tr {
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
    border: 1px solid #333333;
}

.styled-table tbody tr {
    background-color: #1e1e1e;
}

.styled-table tbody tr:nth-child(even) {
    background-color: #2a2a2a;
}

.styled-table tbody tr:hover {
    background-color: #444444;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav ul {
        position: absolute;
        top: 0px; /* Adjust based on header height */
        left: 0;
        right: 0; /* Set right to 0 to extend to full width */
        background-color: #000; /* Matches the header background */
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
    }

    /* When the nav-open class is toggled, show the menu */
    .nav ul.nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .burger-menu {
        display: block;
        font-size: 24px;
        color: #ffffff;
        cursor: pointer;
    }

    .auth-buttons {
        display: flex;
        gap: 10px;
        margin-left: auto;
    }

    .hero-text h2 {
        font-size: 32px; /* Reduce heading size */
        line-height: 1.2; /* Adjust line spacing for compactness */
    }

    .hero-text p {
        font-size: 16px; /* Smaller font size for the paragraph */
        margin-bottom: 15px; /* Reduce margin below the paragraph */
    }

    .hero-content {
        padding: 20px; /* Less padding on mobile to fit content better */
    }

    .reg-button {
        padding: 10px 20px; /* Make button smaller */
        font-size: 16px; /* Reduce button font size */
    }

    .hero-banner {
        padding: 10px 0;
      }

    .showcase-grid {
        gap: 15px; /* Reduce the gap for medium-size screens */
        max-width: 100%; /* Make sure items utilize more space */
        padding: 0; /* Add minimal padding for better spacing */
    }

    .showcase {
        padding: 30px 0px;
        text-align: center;
    }

    .showcase-item {
        background-color: #1e1e1e;
        padding: 10px;
        border-radius: 10px;
        max-width: 100%;
    }

    .features-grid {
        gap: 15px; /* Reduce the gap for medium-size screens */
        max-width: 100%; /* Make sure items utilize more space */
        padding: 0; /* Add minimal padding for better spacing */
    }

    .features {
        padding: 30px 0px;
        text-align: center;
    }

    .feature-item {
        background-color: #1e1e1e;
        padding: 10px;
        border-radius: 10px;
        max-width: 100%;
    }

    .content-container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
      }
}

@media (max-width: 600px) {
    .styled-table {
        font-size: 14px;
    }

    .auth-buttons a {
        padding: 10px 10px;
    }
}