:root {
    --primary: #FF8C42;
    --text: #333;
    --background: #fff;
}

*,
*::after,
*::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: "Helvetica", Arial, sans-serif;
    /* padding-top: 90px; */
}

/* Header - Full Width */
.headermain {
    position: fixed;
    background: #fff;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* Container - Content Width */
.nav-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0.5rem 0;
}

.navbar {
    width: 100%;
    color: #000;
}

.newclass {
    border-bottom: 1px solid #eee;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    position: relative;
}

/* Logo */
.logo {
    order: 1;
    width: 180px;
    margin: 0;
    padding: 0;
}

.logo a {
    display: block;
}

.logo img {
    width: 150%;
    height: 100%;
    display: block;
}

/* Menu Items */
.menu-items {
    order: 2;
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
}

.menu-items::-webkit-scrollbar {
    display: none;
}

.menu-items li {
    font-size: 1.1rem;
    margin: 0;
}

.navbar a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
    font-family: "Helvetica", Arial, sans-serif;
}

.navbar a:hover {
    color: var(--primary);
}

/* Hide Hamburger on Desktop */
.navbar input[type="checkbox"],
.navbar .hamburger-lines {
    display: none;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet and Mobile */
@media (max-width: 768px) {
    body {
        /* padding-top: 75px; */
    }

    .navbar-container {
        height: 64px;
    }

    /* Hamburger Checkbox */
    .navbar-container input[type="checkbox"] {
        display: block;
        position: absolute;
        height: 32px;
        width: 30px;
        top: 16px;
        right: 0;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    /* Hamburger Lines */
    .navbar-container .hamburger-lines {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 24px;
        width: 30px;
        position: absolute;
        top: 20px;
        right: 0;
        z-index: 2;
    }

    .navbar-container .hamburger-lines .line {
        display: block;
        height: 3px;
        width: 100%;
        border-radius: 10px;
        background: #333;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .hamburger-lines .line1 {
        transform-origin: 0% 0%;
    }

    .navbar-container .hamburger-lines .line3 {
        transform-origin: 0% 100%;
    }

    /* Logo Mobile */
    .logo {
        width: 140px;
        position: relative;
        z-index: 1;
    }

    /* Mobile Menu */
    .navbar .menu-items {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: #333;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 5rem 2rem 2rem;
        transform: translateX(-100%);
        transition: transform 0.4s ease-in-out;
        /* box-shadow: 5px 0px 15px rgba(0, 0, 0, 0.3); */
        overflow-y: auto;
    }

    .navbar .menu-items li {
        margin: 0 0 1.8rem 0;
        font-size: 1.2rem;
        width: 100%;
    }

    .navbar .menu-items a {
        color: #fcfcfc !important;
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }

    /* Menu Open State */
    .navbar-container input[type="checkbox"]:checked ~ .menu-items {
        transform: translateX(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        transform: rotate(-45deg);
    }
}

/* Small Mobile Devices */
@media (max-width: 500px) {
    .nav-container {
        width: 95%;
    }

    .logo {
        width: 120px;
    }

    .navbar .menu-items {
        width: 260px;
        padding: 4rem 1.5rem 2rem;
    }

    .navbar .menu-items li {
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
    }

    .navbar .menu-items a {
        font-size: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 375px) {
    .logo {
        width: 100px;
    }

    .navbar .menu-items {
        width: 240px;
    }
}