/* Global Dark Theme */
body { 
    font-family: 'Segoe UI', sans-serif; 
    margin: 0; 
    padding: 0; 
    background-color: #121212; 
    color: #e0e0e0; 
}

.container { 
    width: 90%; 
    max-width: 1100px; 
    margin: auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

/* Header & Nav */
header { 
    background: #1f1f1f; 
    padding: 15px 0; 
    border-bottom: 2px solid #00d4ff; 
}

.logo img { 
    height: 50px; 
    width: auto; 
    display: block; 
}

nav ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    align-items: center; 
}

nav ul li { 
    margin-left: 25px; 
    position: relative; /* Essential for dropdown positioning */
}

nav ul li a { 
    color: #ffffff; 
    text-decoration: none; 
    transition: 0.3s; 
    padding: 10px 0;
    display: block;
}

nav ul li a:hover { 
    color: #00d4ff; 
}

/* --- Dropdown Logic (The missing part!) --- */
.dropdown-content {
    display: none; /* Hides the menu by default */
    position: absolute;
    background-color: #1f1f1f;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.5);
    z-index: 100;
    border: 1px solid #333;
    border-top: 2px solid #00d4ff;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    text-align: left;
}

.dropdown-content a:hover { 
    background-color: #2a2a2a; 
    color: #00d4ff; 
}

/* Shows the menu only when hovering over the parent LI */
nav ul li:hover .dropdown-content { 
    display: block; 
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 2rem 0;
    margin-top: 50px;
    border-top: 1px solid #333;
}

footer a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: bold;
}

footer p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* Contact Form Styles */
.contact-form {
    background: #1f1f1f;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #333;
    margin-top: 40px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: #121212;
    border: 1px solid #444;
    color: #fff;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

.contact-form button {
    background: #00d4ff;
    color: #121212;
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #008fb3;
}