/* Terms of Service Page Styles */

.terms-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.terms-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--warm-200);
}

.terms-header h1 {
    color: var(--navy);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.terms-header .last-updated {
    color: var(--warm-500);
    font-size: 0.95rem;
}

.company-info {
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
}

.company-info h3 {
    color: var(--success-dark);
    margin-bottom: 10px;
}

.company-info p {
    margin: 5px 0;
    color: var(--warm-700);
}

.terms-nav {
    background: var(--warm-50);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    position: sticky;
    top: 80px;
}

.terms-nav h3 {
    color: var(--warm-700);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.terms-nav ul {
    list-style: none;
    padding: 0;
}

.terms-nav li {
    margin-bottom: 10px;
}

.terms-nav a {
    color: var(--green);
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.terms-nav a:hover {
    color: var(--primary-600);
    padding-left: 10px;
}

.terms-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

.terms-section h2 {
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green);
}

.terms-section h3 {
    color: var(--warm-700);
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.terms-section p {
    color: var(--warm-600);
    line-height: 1.8;
    margin-bottom: 15px;
}

.terms-section ul,
.terms-section ol {
    color: var(--warm-600);
    line-height: 1.8;
    margin-bottom: 15px;
    margin-left: 30px;
}

.terms-section li {
    margin-bottom: 8px;
}

.terms-section strong {
    color: var(--navy);
}

.contact-box {
    background: var(--info-bg);
    border: 1px solid var(--info-border);
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.contact-box h4 {
    color: var(--info-dark);
    margin-bottom: 10px;
}

.contact-box a {
    color: var(--info);
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Responsive layout for navigation and content */
@media (min-width: 768px) {
    .terms-layout {
        display: grid;
        grid-template-columns: 250px 1fr;
        gap: 40px;
        align-items: start;
    }

    .terms-nav {
        position: sticky;
        top: 100px;
    }
}
