/* 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 #e5e7eb;
}

.terms-header h1 {
    color: #1f2937;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.terms-header .last-updated {
    color: #6b7280;
    font-size: 0.95rem;
}

.company-info {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
}

.company-info h3 {
    color: #166534;
    margin-bottom: 10px;
}

.company-info p {
    margin: 5px 0;
    color: #374151;
}

.terms-nav {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    position: sticky;
    top: 80px;
}

.terms-nav h3 {
    color: #374151;
    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: #10b981;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.terms-nav a:hover {
    color: #059669;
    padding-left: 10px;
}

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

.terms-section h2 {
    color: #1f2937;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #10b981;
}

.terms-section h3 {
    color: #374151;
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.terms-section p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 15px;
}

.terms-section ul, 
.terms-section ol {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 15px;
    margin-left: 30px;
}

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

.terms-section strong {
    color: #1f2937;
}

.contact-box {
    background: #eff6ff;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.contact-box h4 {
    color: #1e40af;
    margin-bottom: 10px;
}

.contact-box a {
    color: #2563eb;
    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;
    }
}