:root {
    --primary-dark: #1a1a2e;
    --secondary-dark: #16213e;
    --accent-dark: #533483;
    --text-light: #e6e6e6;
    --neon-purple: #9d4edd;
}

body {
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    position: relative;
    margin: 0;
    min-height: 100vh;
    padding-bottom: 60px;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section {
    text-align: center;
    padding: 4rem 0;
}

.hero-section h1 {
    font-size: 3rem;
    color: var(--neon-purple);
    margin-bottom: 1rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.card {
    background-color: var(--secondary-dark);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

header {
    background-color: #2d2d35;
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #9d4edd;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #833ab4;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #e6e6e6;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: #533483;
    color: white;
    transform: translateY(-2px);
}

.mobile-menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff; /* adjust color as needed */
}

.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--accent-dark);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    z-index: 1000;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px; /* Fixed height */
    background-color: var(--secondary-dark);
    color: var(--text-light);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer p {
    margin: 0;
    padding: 15px;
}

@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #222;
        flex-direction: column;
        padding: 10px 0;
        z-index: 1000;
    }

    .nav-links a {
        display: block;
        padding: 12px 20px;
        color: white;
        text-decoration: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a:hover {
        background-color: #333;
    }

    .mobile-menu-icon {
        display: flex;
    }
}