/* --- GLOBAL STYLES --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

#ee-header {
    position: relative;
    padding: 30px 0;
    background-color: #3308d1;
    color: white;
}

/* --- UPDATED SIDEBAR NAVIGATION --- */

#hamburger-lines {
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 1001; /* Higher than nav to stay visible */
}

.line {
    background-color: white;
    height: 3px;
    width: 100%;
    position: absolute;
    transition: all 0.3s ease;
}

.line1 { top: 0; }
.line2 { top: 50%; transform: translateY(-50%); }
.line3 { bottom: 0; }

#hamburger-lines.active .line1 {
    transform: rotate(45deg) translate(5px, 5px);
}
#hamburger-lines.active .line2 {
    opacity: 0;
}
#hamburger-lines.active .line3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

#ee-nav {
    position: fixed;
    top: 0;
    left: -280px; /* Hidden off-screen to the left */
    background-color: #2c3e50;
    width: 280px;
    height: 100vh; /* Full screen height */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 80px; /* Space for the hamburger icon */
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.3);
    transition: left 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    z-index: 1000;
}

/* When the menu is toggled (hidden class removed) */
#ee-nav:not(.hidden) {
    left: 0;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.nav-menu li {
    margin: 0;
    width: 100%;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 18px 25px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-menu a:hover {
    background-color: #3498db;
    padding-left: 35px; /* Subtle slide effect on hover */
    color: white;
}

/* --- MAIN CONTENT STYLES --- */

#ee-content {
    padding: 20px;
    text-align: center;
}

.section-heading {
    font-size: 2rem;
    margin-bottom: 20px;
}

.electrical-content {
    width: 90%;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.electrical-content ul {
    list-style-type: disc;
    margin-left: 20px;
    text-align: left;
}

.electrical-content ul li {
    margin: 10px 0;
}

/* --- RESPONSIVE DESIGN --- */

@media screen and (max-width: 768px) {
    .electrical-content {
        width: 95%;
        font-size: 1rem;
    }
    .electrical-content ul {
        margin-left: 10px;
    }
    #ee-nav {
        width: 230px;
        left: -230px; /* Match width for mobile hiding */
    }
    .nav-menu a {
        font-size: 1rem;
        padding: 15px 20px;
    }
}