/* Terms of Service Page Styles */

.terms-hero {
    background: linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)), url('../Images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.terms-section {
    padding: 60px 0 100px;
    background-color: var(--ma-white);
}

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

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    transition: color 0.3s;
}

.back-to-home:hover {
    color: var(--ma-type-primary);
}

.terms-header {
    margin-bottom: 50px;
}

.terms-header h1 {
    margin-bottom: 10px;
}

.terms-header .last-updated {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.terms-card {
    background-color: #F9FAFB;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 24px;
    border: 1px solid #F3F4F6;
}

    .terms-card h2 {
        margin-bottom: 20px;
        font-size: var(--ma-section-title);
    }

.terms-card p {
    margin-bottom: 20px;
}

.terms-card p:last-child {
    margin-bottom: 0;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.terms-list li {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.terms-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    background-color: var(--ma-type-primary);
    border-radius: 50%;
    display: inline-block;
    margin-top: 8px;
    flex-shrink: 0;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 10px;
}

.contact-info-list li strong {
    color: var(--dark-slate);
    font-weight: 600;
    margin-right: 5px;
}

.contact-info-list a {
    color: var(--ma-type-primary);
    text-decoration: none;
    font-weight: 500;
}

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

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

    .terms-header h1 {
        font-size: 2.5rem;
    }
    
    .terms-card {
        padding: 25px;
    }
}
