body {
    margin: 0;
    font-family: 'Urbanist', sans-serif;
}

header {
    background-color: #131517;
    color: white;
    padding: 1rem 0;
    position: relative; /* Ensure header's positioning context for the sticky nav */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: absolute; /* Position it relative to header */
    top: 0;
    width: 100%;
    background-color: #131517;
    z-index: 1000;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    font-family: 'Urbanist', sans-serif;
}

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

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(rgba(19, 21, 23, 0.8), rgba(19, 21, 23, 0.8)), url('hero-bg.jpg') no-repeat center center/cover;
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.25rem;
}

.hero .cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background-color: #9489F5;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

section {
    padding: 2rem;
    text-align: center;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

section p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

section .highlight {
    font-weight: bold;
    color: #9489F5;
}

.feature {
    margin-bottom: 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

form input,
form textarea,
form button {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #131517;
    color: white;
    cursor: pointer;
    border: none;
}

/*footer {
    background-color: #f0f0f0;
    text-align: center;
    padding: 1rem;
    font-size: 0.875rem;
}*/

/* Footer Styles */
footer {
    background-color: #f8f9fa; /* Optional: Change to match your design */
    padding: 10px 20px; /* Adjust the padding to make the footer less tall */
    margin-top: 20px; /* Adjust as needed */
    text-align: center;
}

footer p {
    margin: 0; /* Remove default margin */
    font-size: 14px; /* Adjust font size if needed */
}

footer a {
    color: #007bff; /* Link color */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline; /* Add underline on hover */
}


/* Response Message Styles */
#response-message {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}

.success-message {
    color: green;
}

.error-message {
    color: red;
}

/* Media Queries */
@media (max-width: 768px) {
    nav {
        position: fixed; /* Fixed position to keep it visible */
        top: 0;
        left: 0;
        padding: 0.5rem 1rem;
        background-color: #131517;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Optional: adds a subtle shadow */
    }

    nav .logo {
        font-size: 1.25rem;
        color: #bbb;
    }
    
        .nav-sticky .logo {
        color: #36c7d0; /* Change color when header is not visible */
        /*font-weight: normal; /* Adjust weight if needed */
    }

    nav ul {
        display: none;
    }

    .hero {
        padding: 2rem 1rem; /* Adjust padding to ensure content is well-spaced */
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .cta {
        margin-top: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Existing styles here */

/* Generic Styles for Policy Pages */
.policy-page {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.policy-page header {
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.policy-page header h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.policy-page header p {
    color: #666;
}

.policy-page main section {
    margin-bottom: 20px;
}

.policy-page main h2 {
    font-size: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.policy-page ul {
    margin-left: 20px;
}

.policy-page a {
    color: #007BFF;
    text-decoration: none;
}

.policy-page a:hover {
    text-decoration: underline;
}
