/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures footer stays at bottom on short pages */
    background-color: #ffffff;
    color: #333;
}

/* FIXED HEADER */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000; /* Stays above everything */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-container {
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

/* NAVIGATION */
nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

nav a:hover {
    color: #007bff;
}

/* PAGE CONTENT AREA */
main {
    flex: 1; /* Pushes footer down */
    margin-top: 70px; /* IMPORTANT: Offsets the fixed header height */
    padding: 40px 5%;
    width: 100%;
}

/* SCROLLABLE FOOTER */
footer {
    background-color: #f8f9fa;
    padding: 30px 5%;
    border-top: 1px solid #eee;
    text-align: left; /* As per your sketch */
    font-size: 0.85rem;
    color: #666;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

/* UTILITY: NO-SCROLL (For Home Page) */
.no-scroll {
    overflow: hidden;
    height: 100vh;
}
