:root {
    --primary: #9333ea;
    --primary-dark: #7e22ce;
    --secondary: #ec4899;
    --text-light: #f3f4f6;
    --text-dark: #1f2937;
    --bg-dark: #111827;
    --bg-color: #e4f1ed;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.5;
}

p{
    text-align: justify;
}

*::-webkit-scrollbar {
    display: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Times New Roman', Times, serif;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

.navbar .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.8));
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(8px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.login-btn {
    background-color: white !important;
    color: var(--primary) !important;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    border: 2px solid var(--primary);
}

.login-btn:hover {
    background-color: var(--primary-dark) !important;
    color: white !important;
}


/* Toggle (hamburger) icon styling */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 15px;
    cursor: pointer;
}

.nav-toggle span {
    height: 3px;
    width: 100%;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile view styles */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 4rem;
        left: 0;
        width: 100%;
        background-color: rgba(17, 24, 39, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 1.5rem;
        padding: 1.5rem 0;
        display: none; /* Hidden by default */
        transition: all 0.3s ease;
    }

    .nav-links.show {
        display: flex; /* Show when toggled */
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
    }
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
