/* Terms of Service Page Styles */

.terms-page {
    background-color: var(--background-color);
}

.terms-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-top: 80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .terms-hero {
        padding: 60px 20px;
        margin-top: 70px;
    }
}

.terms-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.terms-hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .terms-hero-content h1 {
        font-size: 2rem;
    }

    .terms-hero-content p {
        font-size: 1rem;
    }
}

.terms-container {
    padding: 60px 20px;
}

@media (max-width: 768px) {
    .terms-container {
        padding: 40px 15px;
    }
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .terms-content {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .terms-content {
        padding: 20px;
    }
}

.last-updated {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.last-updated p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

.terms-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e9ecef;
}

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

.terms-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.terms-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.terms-section ul {
    list-style-position: inside;
    margin: 15px 0;
}

.terms-section li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 20px;
}

.terms-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .terms-section h2 {
        font-size: 1.3rem;
    }

    .terms-section p,
    .terms-section li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .terms-hero-content h1 {
        font-size: 1.5rem;
    }

    .terms-hero-content p {
        font-size: 0.9rem;
    }

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

    .terms-section p,
    .terms-section li {
        font-size: 0.9rem;
    }
}