/* Terms of Service Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    /* Main color palette - matching main website */
    --primary-color: #2c6e49;
    --secondary-color: #4c956c;
    --accent-color: #d68c45;
    --dark-color: #2d3142;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --danger-color: #e63946;

    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-md);
}

/* Header Styles */
header {
    background-color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.nav-links li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Terms Content Styles */
.terms-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.terms-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.terms-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--gray-color);
    font-style: italic;
}

.terms-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.terms-section {
    margin-bottom: 2.5rem;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
    margin-bottom: 1.2rem;
}

.terms-section h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.terms-section p {
    margin-bottom: 1rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Footer Styles */
.terms-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .terms-header h1 {
        font-size: 2rem;
    }

    .terms-content {
        padding: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem;
    }

    .terms-container {
        margin: 1rem auto;
    }

    .terms-header h1 {
        font-size: 1.75rem;
    }

    .terms-content {
        padding: 1rem;
    }

    .terms-section h2 {
        font-size: 1.25rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
