/* ========== HEADER ========== */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-left: 10px;
}

.logo span {
    color: #ff9933;
}

/* Desktop Navigation Menu */
.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: #333;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    text-decoration: none;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff9933;
    transition: 0.3s;
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

/* Hamburger Icon for Mobile */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #2c3e50;
}

/* Close Button - Hidden by Default */
.nav-menu .close-btn {
    display: none;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    body.no-scroll {  /* Fixed class name */
        overflow: hidden; /* Prevent scrolling when menu is open */
    }

    /* Hide main nav menu initially */
    .nav-menu {
        position: fixed;
        top: 0;  /* Changed from 80px */
        left: -100%;
        width: 100%;
        height: 100vh;  /* Full viewport height */
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;  /* Center vertically */
        gap: 20px;
        padding: 20px 0;
        transition: 0.3s ease;
        z-index: 999;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    /* Show menu when active */
    .nav-menu.active {
        left: 0;
    }

    /* Display close button when menu is open */
    .nav-menu .close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        cursor: pointer;
        color: #2c3e50;
        margin-bottom: 0;
        z-index: 1000;
    }

    .nav-menu li {
        margin: 15px 0;
        text-align: center;
    }

    .mobile-toggle {
        display: block;
    }
}

@media (min-width: 769px) {
  .close-btn {
    display: none;
  }
}