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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header and Navigation */
header {
    background-color: #E5E5E5;
    padding: 16px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Remove underline and prevent color change on click */
a.logo {
    text-decoration: none;  /* Removes the underline */
    color: inherit;         /* Keeps the default text color */
}

a.logo:visited {
    color: inherit;  /* Prevents the color from changing after being clicked */
}

a.logo:hover {
    text-decoration: none;  /* Ensures no underline on hover */
}

a.logo:focus, 
a.logo:active {
    text-decoration: none;  /* Ensures no underline on focus or active state */
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 16px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

.auth-buttons button {
    padding: 8px 16px;
    margin-left: 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-btn {
    background-color: #f4f4f4;
    color: #333;
}

/* Signup Page Styles */
#signup {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 32px;
    background-color: #F5F5F5;
}

.signup-container {
    background-color: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: center;
}

.signup-container h1, .signup-container h2, .signup-container h3 {
    color: #333;
    margin-bottom: 16px;
}

.signup-options {
    margin-bottom: 32px;
}

.signup-option-btn {
    padding: 12px 24px;
    margin: 8px;
    background-color: #14213D;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.signup-option-btn:hover {
    background-color: #fca311;
    color: #fff;
}

.signup-form form input,
.signup-form form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.signup-form form button {
    padding: 12px;
    width: 100%;
    background-color: #14213D;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.signup-form form button:hover {
    background-color: #fca311;
}

#description {
    width: 100%; 
    height: 150px; 
    resize: vertical; 
}

.cta-btn {
    background-color: #14213D; 
    color: white; 
    padding: 10px 20px; 
    border: none; 
    border-radius: 5px; 
    font-size: 16px; 
    cursor: pointer; 
    transition: background-color 0.3s; 
}

.terms-conditions {
    margin-top: 20px;
}

#terms-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.terms-checkbox {
    margin-top: 20px;
}

/* Financial Information Section */
#financial_stage, 
#funding_amount, 
output, 
.terms-conditions {
    display: block;            /* Ensures elements are block level */
    margin-bottom: 16px;       /* Adds space between each element */
    width: 100%;               /* Ensures full width of parent container */
}

#financial_stage {
    padding: 10px;             /* Adds padding to the select box */
    border-radius: 5px;        /* Rounded corners for consistency */
}

#funding_amount {
    width: 100%;               /* Ensures the range slider spans the full width */
}

output {
    display: block;            /* Ensures the output text (ZAR value) is on a new line */
    margin-top: 8px;           /* Adds some space after the range slider */
    font-weight: bold;         /* Highlights the output value */
}

label[for="financial_stage"],
label[for="funding_amount"] {
    font-weight: bold;         /* Makes labels more prominent */
    display: block;            /* Ensures labels are above the inputs */
    margin-bottom: 8px;        /* Space between the label and input */
}

label[for="terms"] {
    margin-top: 20px;          /* Adds space above the terms and conditions */
    display: block;            /* Places terms and conditions on a new line */
}

input[type="checkbox"] {
    margin-right: 8px;         /* Adds space between the checkbox and label */
}

/* Hover effect */
.cta-btn:hover {
    background-color: #fca311; 
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 16px;
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin: 16px 0;
    }
}

