/* Legal Pages Styles - Terms of Service & Privacy Policy */

:root {
    --primary-green: #2E8B57;
    --primary-green-dark: #1e6b47;
    --brand-yellow: #FFD700;
    --text-dark: #2d3748;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e2e8f0;
}

.legal-page {
    background: var(--bg-light);
    padding: 4rem 0;
    min-height: 100vh;
}

.legal-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Legal Header */
.legal-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    text-align: center;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.last-updated {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.breadcrumb span {
    opacity: 1;
    font-weight: 600;
}

/* Table of Contents */
.table-of-contents {
    background: var(--bg-white);
    border: 2px solid var(--primary-green);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.table-of-contents h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-of-contents h3::before {
    content: "📋";
    font-size: 1.5rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 0.75rem;
}

.table-of-contents a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.table-of-contents a:hover {
    background: var(--bg-light);
    color: var(--primary-green);
    transform: translateX(5px);
}

/* Legal Content */
.legal-content {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--brand-yellow);
    display: inline-block;
}

.legal-section h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
}

.legal-section h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.legal-section p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-medium);
}

.legal-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.legal-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-section a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.legal-section a:hover {
    border-bottom-color: var(--primary-green);
}

/* Important Notice Box */
.important-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%);
    border-left: 4px solid #ff9800;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.important-notice h4 {
    color: #e65100;
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.important-notice i {
    font-size: 1.2rem;
}

.important-notice p {
    color: #5d4037;
    margin-bottom: 1rem;
}

.important-notice ul {
    margin-left: 1.5rem;
    color: #5d4037;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #e1f5fe 100%);
    border-left: 4px solid #2196f3;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.info-box h4 {
    color: #1565c0;
    margin-top: 0;
    margin-bottom: 1rem;
}

.info-box p {
    color: #37474f;
    margin-bottom: 0.5rem;
}

/* Success Box */
.success-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-left: 4px solid #4caf50;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.success-box h4 {
    color: #2e7d32;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

.contact-section h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-medium);
    font-size: 1rem;
}

.contact-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-page {
        padding: 2rem 0;
    }

    .legal-page .container {
        padding: 0 1rem;
    }

    .legal-header {
        padding: 2rem 1.5rem;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-content {
        padding: 2rem 1.5rem;
    }

    .table-of-contents {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-section h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 1.75rem;
    }

    .legal-content {
        padding: 1.5rem 1rem;
    }

    .table-of-contents {
        padding: 1rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }
}


/* Footer Links Styles */
.footer-links {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--brand-yellow);
}

.footer-links span {
    color: rgba(255, 255, 255, 0.5);
}