/* styles/terms-and-conditions.css */

.terms-main {
    padding: 3rem 0; /* Adjusted padding */
    background-color: var(--bg-color);
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

.terms-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.terms-container .last-updated {
    text-align: center;
    margin-bottom: 2.5rem;
    opacity: 0.7;
}

.terms-container h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.terms-container h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.terms-container p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.terms-container ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.terms-container li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.terms-container a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.terms-container a:hover {
    text-decoration: underline;
}

/* Dark Mode Readability */
.dark-mode .terms-container h1 {
    color: #a5d6a7;
}

.dark-mode .terms-container h2,
.dark-mode .terms-container h3 {
    color: #e6edf3;
}

.dark-mode .terms-container p,
.dark-mode .terms-container li {
    color: #e6edf3;
}

.dark-mode .terms-container a {
    color: #a5d6a7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-main {
        padding: 2rem 0;
    }
    .terms-container {
        padding: 2rem;
    }
    .terms-container h1 {
        font-size: 2rem;
    }
    .terms-container h2 {
        font-size: 1.5rem;
    }
    .terms-container h3 {
        font-size: 1.2rem;
    }
}
