﻿
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Euclid Circular A", "Poppins", sans-serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 72px;
    padding: 0 20px;
    color: #fff;
    background: linear-gradient(135deg, #6a11cb, #9e5add);
    border-bottom: 1px solid #f2f2f2;
    z-index: 1000;
}

.logowelcome {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .logowelcome h2 {
        font-size: 20px;
        font-weight: 400;
    }

.links {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-left: 20px;
}

/* Navbar Links */
.navbar a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s;
}

    .navbar a:hover {
        color: #f9f9f9;
    }

a.join-link {
    display: grid;
    place-items: center;
    height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    color: #fff;
    background: #d70316;
    transition: background 0.3s;
}

    a.join-link:hover {
        background: #028f74;
    }

/* Dropdown */
.dropdown {
    position: relative;
    cursor: pointer;
}

    .dropdown > a {
        display: flex;
        align-items: center;
        gap: 2px;
        height: 72px;
    }

        .dropdown > a > img {
            width: 20px;
        }

    .dropdown:hover .menu {
        opacity: 1;
        visibility: visible;
    }

/* Dropdown Menu Styling */
.menu {
    position: absolute;
    top: 60px;
    right: 0;
    display: grid;
    width: 180px;
    padding: 8px 0;
    background: linear-gradient(135deg, #7b3fbb, #a28cb6);
    border-radius: 10px;
    box-shadow: 0 40px 40px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

    .menu::before {
        content: "";
        background: inherit;
        position: absolute;
        top: -7px;
        right: 22px;
        width: 12px;
        height: 12px;
        transform: rotate(-45deg);
    }

    .menu.open {
        opacity: 1;
        visibility: visible;
    }

    .menu > a {
        font-size: 14px;
        padding: 12px 20px;
        color: #fff;
    }

        .menu > a:hover {
            background: #443333;
        }

/* Burger Menu */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 28px;
    color: #fff;
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .burger {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        right: 0;
        width: 100%;
        background: linear-gradient(135deg, #6a11cb, #9e5add);
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

        .links.active {
            display: flex;
        }

    .dropdown {
        text-align: center;
        width: 100%;
    }

    /* Ensure dropdown menus are visible in mobile */
    .menu {
        opacity: 0;
        visibility: hidden;
        position: static;
        width: 100%;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
    }

        .menu.open {
            opacity: 1;
            visibility: visible;
        }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 10px;
    }

    .logowelcome h2 {
        font-size: 16px;
    }

    .links {
        width: 100%;
    }

    .menu {
        width: 100%;
    }
}
/*//in page css//*/
.form-control-sm {
    font-family: 'Times New Roman';
    font-size: small;
    font-style: normal;
    color: black;
    font-weight: normal;
    border: none;
    border-bottom: solid;
    border-bottom-width: 2px;
    border-bottom-color: purple;
    background-color: transparent;
}

.mylabel {
    font-family: 'Times New Roman';
    font-size: small;
    font-weight: bold;
    font-style: normal;
    color: rebeccapurple;
}

.btn {
    align-content: end;
    text-align: center
}

a, h2 {
    font-family: Century
}
