* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-color: #0A0A0A;
    --secondary-color: #161616;
    --border-color: #A6A6A6;
    --title-light: 0 0 50px rgba(255, 255, 255, 0.541);
    --field-color: linear-gradient(135deg, #272727, #555555);
}

header nav {
    font-family: cairo, sans-serif;
    background-color: black;
    color: white;
    border-bottom: rgba(255, 255, 255, 0.534) 1px solid;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    padding: 0 5%;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: auto;
}

.logo span {
    font-size: large;
    font-weight: bold;
}

header ul {
    display: flex;
    justify-content: flex-end;
}

header ul li {
    padding: 20px;
    display: inline-block;
}

header a {
    text-decoration: none;
    color: white;
    position: relative;
}

header a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

header a:hover::after {
    width: 100%;
}



footer {
    background-color: black;
    text-align: center;
    padding: 10px;
    position: relative;
    font-family: "kanit", sans-serif;
}

footer::before {
    content: "";
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #161616, #555555, #161616);
    position: absolute;
    top: 0;
    left: 0;
}

footer p {
    font-family: kanit, sans-serif;
    color: white;
    font-size: 15px;
    margin-bottom: 10px;
}

footer ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    font-size: 20px;
    gap: 5px;
}

.copy-right {
    font-family: "kanit", sans-serif;
    color: white;
    position: relative;
    margin-top: 25px;
    font-size: 15px;
}

.copy-right::before {
    content: "";
    width: 80%;
    max-width: 800px;
    height: 0.5px;
    background-color: white;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav {
        flex-direction: row;
        height: 70px;
        padding: 0 5%;
    }

    .menu-toggle {
        display: block;
    }

    header ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: black;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease;
        z-index: 999;
        margin: 0;
        padding: 0;
        border-top: rgba(255, 255, 255, 0.11) 1px solid;
    }

    header ul.active {
        left: 0;
    }

    header ul li {
        padding: 20px;
        width: 100%;
        text-align: center;
    }
}

.logo span {
    font-size: medium;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}