/* Terms and Conditions Page Styles */

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

.terms-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 3px solid #e53935;
}

.terms-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.terms-header h1 i {
    color: #e53935;
}

.last-updated {
    color: #64748b;
    font-size: 0.95rem;
    font-style: italic;
}

.terms-content {
    line-height: 1.8;
    color: #334155;
}

.terms-section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #e53935;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

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

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

.terms-section ul {
    margin: 15px 0;
    padding-left: 30px;
}

.terms-section li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.terms-section li strong {
    color: #1e293b;
    font-weight: 600;
}

.contact-info {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e2e8f0;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #e53935;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #c62828;
    text-decoration: underline;
}

.terms-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: #e53935;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background-color: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(229, 57, 53, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .terms-container {
        padding: 20px 15px;
    }

    .terms-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .terms-section {
        padding: 20px;
    }

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

    .terms-section h3 {
        font-size: 1.2rem;
    }

    .terms-section ul {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .terms-header h1 {
        font-size: 1.75rem;
    }

    .terms-section {
        padding: 15px;
    }

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

