/* Scroll Bar Style */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #007bb0;
    border-radius: 10px;
    border: 3px solid #2a2a2a;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #0095d0;
}

::-webkit-scrollbar-corner {
    background: #1a1a1a;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #007bb0 #2a2a2a;
}

.bolded{
    font-weight: bold;
}

/* Navbar Style */

.navbar {
    padding: 15px 30px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: auto;
    height: 70px;
    background: transparent;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: none;
    transition: background 0.4s ease-in-out,
                backdrop-filter 0.4s ease-in-out,
                -webkit-backdrop-filter 0.4s ease-in-out,
                box-shadow 0.4s ease-in-out;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a,
.nav-links .nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-links a:hover,
.nav-links .nav-link:hover {
    color: #0095d0;
}

.nav-links .nav-button {
    font-family: 'Inter', sans-serif;
    padding: 10px 20px;
    background-color: #0095d0;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-links .nav-button:hover {
    background-color: #007bb0;
    box-shadow: 0 4px 12px rgba(0, 149, 208, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
        height: 60px;
        transition: background 0.4s ease-in-out,
                    backdrop-filter 0.4s ease-in-out,
                    -webkit-backdrop-filter 0.4s ease-in-out,
                    box-shadow 0.4s ease-in-out;
    }

    .navbar.scrolled {
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .logo img {
        height: 35px;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);

        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding-top: 40px;
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: opacity 0.3s ease-in-out,
                    transform 0.3s ease-in-out,
                    background 0.4s ease-in-out,
                    backdrop-filter 0.4s ease-in-out,
                    -webkit-backdrop-filter 0.4s ease-in-out;
        overflow-y: auto;
    }

       .nav-links.active.scrolled {
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }


    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        background: rgba(26, 26, 26, 0.75);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .nav-links a,
    .nav-links .nav-link {
        font-size: 1.2rem;
        padding: 15px 0;
        width: 80%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

     .nav-links a:last-of-type,
     .nav-links .nav-link:last-of-type {
        border-bottom: none;
     }

    .nav-links .nav-button {
        display: block;
        width: 60%;
        margin: 20px auto 0 auto;
        padding: 12px 20px;
        font-size: 1rem;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 5px 15px;
    }
    .logo img {
        height: 30px;
    }
    .nav-links a,
    .nav-links .nav-link {
        font-size: 1.1rem;
    }
    .nav-links .nav-button {
        width: 70%;
    }
}

/* Footer Style */

.footer {
    background-color: #111;
    color: #aaa;
    padding: 40px 20px;
    text-align: center;
}

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

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0095d0;
}

.footer-social {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-social a {
    color: #aaa;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #0095d0;
    transform: translateY(-2px);
}

.footer-copy {
    font-size: 0.85rem;
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .footer-links {
        gap: 15px;
    }
    .footer-social {
        gap: 20px;
    }
}