* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #4A90E2;
    --dark-blue: #2C5AA0;
    --light-blue: #E8F1F8;
    --teal-blue: #5BA4C9;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --gray-light: #f8f9fa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER & NAVIGATION ========== */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    max-height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

nav a:hover,
nav a.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.cta-link {
    background-color: var(--primary-blue);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: 4px;
}

.cta-link:hover {
    background-color: var(--dark-blue);
    border-bottom: none;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        display: none;
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }

    nav.active ul {
        display: flex;
    }

    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    background: linear-gradient(135deg, #5BA4C9 0%, #7DB5D4 100%);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(91, 164, 201, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-logo {
    max-height: 100px;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* ========== SECTIONS ========== */
section {
    padding: 60px 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-blue);
}

/* ========== RISK MITIGATION SECTION ========== */
.risk-section {
    background-color: var(--gray-light);
    text-align: center;
    padding: 80px 20px;
}

.risk-section h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-blue);
    font-style: italic;
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== VILLAGE SECTION ========== */
.village-section {
    background-color: var(--white);
}

.village-section h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 50px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.feature-card {
    padding: 30px;
    background: var(--gray-light);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: linear-gradient(135deg, #5BA4C9 0%, #7DB5D4 100%);
    color: var(--white);
    padding: 60px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    font-weight: 500;
}

.stats-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== TESTIMONIAL SECTION ========== */
.testimonial-section {
    background-color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.testimonial-section h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.disclaimer {
    font-size: 14px;
    color: var(--text-light);
}

/* ========== REGISTERED BUYERS SECTION ========== */
.buyers-section {
    background-color: var(--gray-light);
    text-align: center;
    padding: 60px 20px;
}

.buyers-section h2 {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.5;
}

.buyers-cta {
    margin-top: 30px;
}

/* ========== FORM SECTION ========== */
.form-section {
    background-color: var(--white);
    padding: 80px 20px;
}

.form-container {
    max-width: 600px;
}

.form-section h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.form-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-form {
    background: var(--white);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-disclaimer {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 15px;
    text-align: center;
}

.form-success {
    display: none;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.form-success.show {
    display: block;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.modal-close:hover {
    color: var(--primary-blue);
}

.modal h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.modal p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

.footer-section address {
    font-style: normal;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #999;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }

    .risk-section h2 {
        font-size: 24px;
    }

    .stat-number {
        font-size: 36px;
    }

    nav ul {
        gap: 15px;
    }
}