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

:root {
    --primary-color: #3F6F58;
    --primary-hover: #2d5240;
    --text-dark: #2c3e36;
    --text-light: #5a6c63;
    --bg-light: #f8f9f7;
    --white: #ffffff;
    --border-radius: 10px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

.lead {
    font-size: 1.15rem;
    color: var(--text-light);
}

header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(63, 111, 88, 0.1);
    padding: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: var(--primary-hover);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hero-section {
    position: relative;
    height: 100vh;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(63, 111, 88, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.content-section {
    padding: 75px 0;
}

.content-section.bg-light {
    background-color: var(--bg-light);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    padding: 12px 32px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(63, 111, 88, 0.3);
}

img.rounded {
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

.disclaimer-box,
.context-box {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

.disclaimer-box h4,
.context-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.disclaimer-box p,
.context-box p {
    margin-bottom: 0.75rem;
}

.context-box ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.context-box li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.form-control {
    border: 2px solid #e0e5e3;
    border-radius: var(--border-radius);
    padding: 12px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(63, 111, 88, 0.15);
}

footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 60px;
}

footer h5 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

footer p,
footer a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

footer a:hover {
    color: var(--white);
    text-decoration: none;
}

footer ul {
    padding-left: 0;
}

footer li {
    margin-bottom: 0.5rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 20px 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner p {
    color: var(--white);
    margin-bottom: 0;
}

.policy-modal,
.thank-you-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.policy-content,
.thank-you-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.policy-close,
.thank-you-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.policy-close:hover,
.policy-close:focus,
.thank-you-close:hover,
.thank-you-close:focus {
    color: var(--text-dark);
}

.thank-you-content {
    text-align: center;
    padding: 50px 30px;
}

.thank-you-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 50px 0;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.35rem;
    }

    .policy-content,
    .thank-you-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 80vh;
    }

    .content-section {
        padding: 40px 0;
    }
}
