.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: #00F0F0;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
}

.navbar-links {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: auto;  /* pushes links to the right */
}


@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }

    .navbar-links.active {
        display: flex;
    }
}

.navbar-links a {
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-links a:hover {
    color: #00F0F0;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00F0F0;
    transition: width 0.3s ease;
}

.navbar-links a:hover::after {
    width: 100%;
}

/* Mobile hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #00F0F0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 15px;
    }

    .navbar-brand {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .hamburger {
        display: flex;
    }

    .navbar-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 2px solid #00F0F0;
        z-index: 999;
        margin-right: auto;  /* pushes links to the right */

    }

    .navbar-links.active {
        max-height: 400px;
        display: flex;
    }

    .navbar-links a {
        font-size: 16px;
        padding: 10px 0;
        color: #e0e0e0;
    }
}

/* Modal overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
}

/* Add space for navbar */
.container {
    margin-top: 0;
}

@media (max-width: 768px) {
    .container {
        margin-top: 0;
    }
}



.modal-content {
    border: 2px solid #00F0F0;
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0, 240, 240, 0.5);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    color: #00F0F0;
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-content p {
    color: #e0e0e0;
    line-height: 1.8;
    margin: 15px 0;
    font-size: 14px;
}

.modal-content h3 {
    color: #FFD700;
    margin: 25px 0 15px 0;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-content ul {
    color: #e0e0e0;
    padding-left: 20px;
    margin: 10px 0;
}

.modal-content ul li {
    margin: 8px 0;
    line-height: 1.6;
}

.contact-email {
    background: rgba(0, 240, 240, 0.1);
    padding: 20px;
    border-left: 4px solid #00F0F0;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
}

.contact-email a {
    color: #00F0F0;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: #FFD700;
}

.modal-close-btn {
    background: linear-gradient(135deg, #00F0F0, #0080FF);
    color: #000;
    border: none;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-close-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 240, 240, 0.7);
}

.modal-close-btn:active {
    transform: scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .footer {
        bottom: auto;
        top: 0;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 15px;
    }

    .modal-content {
        padding: 20px;
    }

    .modal-content h2 {
        font-size: 22px;
    }

    .modal-content p {
        font-size: 13px;
    }

    .footer a {
        font-size: 11px;
    }
}