/* =====================================================
   TERMS & CONDITIONS PAGE
===================================================== */

/* Page Header */
.tc-page-header {
    text-align: center;
    padding: 60px 20px 20px 20px;
    background-color: #fffcfa;
}

.tc-main-title {
    font-size: 42px;
    font-family: "Playfair Display", serif;
    color: #000;
    margin-bottom: 10px;
}

.tc-subtitle {
    font-size: 15px;
    color: #777;
    letter-spacing: 0.5px;
}

/* Main Container */
.tc-container {
    max-width: 1300px;
    margin: 0 auto 80px auto;
    padding: 20px;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Sidebar Navigation */
.tc-sidebar {
    width: 280px;
    position: sticky;
    top: 110px; /* Adjust based on your site header height */
    background-color: #fffcfa;
    border-radius: 24px;
    padding: 30px 20px;
    border: 1px solid #f0ede8;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
}

.tc-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tc-nav-list a {
    display: block;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 14px;
    color: #555;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tc-nav-list a:hover {
    background-color: #efe9e1;
    color: #000;
    transform: translateX(4px);
}

.tc-nav-list a.active {
    background-color: #000;
    color: #fff;
    font-weight: 600;
}

/* Main Content */
.tc-content {
    flex: 1;
    background-color: #fffcfa;
    border-radius: 24px;
    padding: 50px 60px;
    border: 1px solid #f0ede8;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
}

.tc-section {
    margin-bottom: 50px;
    scroll-margin-top: 120px; /* Accounts for sticky header when scrolling to anchor */
}

.tc-section:last-child {
    margin-bottom: 0;
}

.tc-section h2 {
    font-size: 28px;
    font-family: "Playfair Display", serif;
    color: #000;
    margin-bottom: 20px;
    border-bottom: 1px solid #efe9e1;
    padding-bottom: 15px;
}

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

.tc-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.tc-section li {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

.tc-section strong {
    color: #000;
    font-weight: 600;
}

/* Contact Info Box */
.tc-contact-box {
    background-color: #efe9e1;
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
}

.tc-contact-box p {
    margin-bottom: 8px;
}
.tc-contact-box p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .tc-container {
        flex-direction: column;
    }
    .tc-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }
    .tc-nav-list {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .tc-nav-list a {
        padding: 10px 15px;
    }
}

@media (max-width: 600px) {
    .tc-content {
        padding: 30px 25px;
    }
    .tc-section h2 {
        font-size: 24px;
    }
    .tc-main-title {
        font-size: 32px;
    }
}