/* Terms and Conditions Page Styles */

.terms-and-conditions-page {
    background-color: #ffffff;
}

.terms-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 100px 20px 0px 20px;
    background-color: #ffffff;
}

.terms-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.terms-container h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.terms-container .last-updated {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h2 {
    font-size: 1.75rem;
    color: #2c3e50;
    margin-bottom: 20px;
    margin-top: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 600;
}

.terms-section h3 {
    font-size: 1.35rem;
    color: #34495e;
    margin-bottom: 15px;
    margin-top: 25px;
    font-weight: 600;
}

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

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

.terms-section ul li {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 10px;
    list-style-type: disc;
}

.terms-section a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-section a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.terms-section strong {
    font-weight: 600;
    color: #2c3e50;
}

.table-of-contents {
    background-color: #f8f9fa;
    padding: 30px 40px;
    border-radius: 8px;
    margin: 20px 0;
}

.table-of-contents li {
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.6;
}

.table-of-contents a {
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.table-of-contents a:hover {
    color: #3498db;
    transform: translateX(5px);
}

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

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

    .terms-container h1 {
        font-size: 2rem;
    }

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

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

    .terms-section p,
    .terms-section ul li {
        font-size: 0.95rem;
        text-align: left;
    }

    .table-of-contents {
        padding: 20px 25px;
    }
}

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

    .terms-container h1 {
        font-size: 1.75rem;
    }

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

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

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

    .table-of-contents {
        padding: 15px 20px;
    }
}
