html {
    scroll-behavior: smooth; 
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fcfaf2; 
    color: #3e2723;            
}

/* ==========================================================
   FIXED NAVIGATION BAR
   ========================================================== */
.navbar {
    position: fixed;   /* Fixes navbar to the top of the viewport */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #3e2723; /* Deep coffee brown */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;              /* Keeps navbar floating above sections */
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    color: #d7ccc8; /* Soft almond cream tone */
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.nav-links a {
    color: #fcfaf2;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #b0bec5; /* Muted accent highlight */
}

/* ==========================================================
   CONTENT LAYOUT & FORM STYLING
   ========================================================== */
.content-wrapper {
    max-width: 700px;
    margin: 120px auto 60px auto; /* 120px top margin prevents navbar from blocking sections */
    padding: 0 20px;
}

/* Consistent design pattern for all 7 form sections */
.form-section {
    background-color: #ffffff;
    border-left: 5px solid #8d6e63; /* Warm terracotta/latte colored accent edge */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(141, 110, 99, 0.08);
    margin-bottom: 40px; /* Space between each form container */
}

.form-section h2 {
    margin-top: 0;
    font-size: 1.6rem;
    color: #4e342e;
    border-bottom: 1px solid #efebe9;
    padding-bottom: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.form-group label {
    font-weight: 600;
    font-size: 1rem;
}

/* Styled Select Dropdown Control */
select {
    padding: 12px;
    font-size: 1rem;
    border: 1.5px solid #d7ccc8;
    border-radius: 6px;
    background-color: #fafafa;
    color: #3e2723;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

select:focus {
    border-color: #8d6e63; /* Accent color change on focus click */
}

/* Styled Form Action Button */
.btn-submit {
    background-color: #8d6e63;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: #6d4c41; /* Darkens on hover */
}

/* Temporary testing class to give space below for scrolling */
.dummy-section {
    min-height: 500px; 
}