/* ==================== Terms & Conditions Page Styles ==================== */

.terms-page {
    min-height: 100vh;
    background: #f7f7f5;
    padding: 100px 0 60px;
}

.terms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

/* Header */
.terms-header {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #6C5CE7 0%, #8B7CEE 100%);
    border-radius: 16px;
    color: #ffffff;
    margin-bottom: 40px;
}

.terms-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #ffffff;
}

.last-updated {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* Navigation Sidebar */
.terms-nav {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.terms-nav h3 {
    font-size: 14px;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px 0;
}

.terms-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-nav li {
    margin-bottom: 12px;
}

.terms-nav a {
    display: block;
    font-size: 14px;
    color: #656464;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.terms-nav a:hover {
    background: #f7f7f5;
    color: #6C5CE7;
    padding-left: 16px;
}

/* Content Area */
.terms-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.terms-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #e6e6e6;
}

.terms-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 24px 0;
    padding-top: 20px;
    margin-top: -20px;
}

.terms-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111111;
    margin: 32px 0 16px 0;
}

.terms-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin: 0 0 16px 0;
}

.terms-section ul,
.terms-section ol {
    margin: 16px 0;
    padding-left: 28px;
}

.terms-section li {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 12px;
}

.terms-section a {
    color: #6C5CE7;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.terms-section a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Info Box */
.info-box {
    background: #e8f4f8;
    border-left: 4px solid #2196f3;
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-box i {
    color: #2196f3;
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.info-box strong {
    color: #111111;
}

/* Contact Info */
.contact-info {
    background: #f7f7f5;
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
}

.contact-info p {
    margin: 8px 0;
    font-size: 15px;
}

.contact-info strong {
    color: #111111;
}

/* Terms Footer */
.terms-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e6e6e6;
    text-align: center;
}

.terms-footer p {
    font-size: 14px;
    color: #656464;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .terms-container {
        grid-template-columns: 200px 1fr;
        gap: 30px;
    }
    
    .terms-nav {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .terms-page {
        padding: 80px 0 40px;
    }
    
    .terms-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .terms-header {
        padding: 30px 20px;
    }
    
    .terms-header h1 {
        font-size: 32px;
    }
    
    .terms-nav {
        position: static;
        order: -1;
    }
    
    .terms-content {
        padding: 30px 24px;
    }
    
    .terms-section h2 {
        font-size: 26px;
    }
    
    .terms-section h3 {
        font-size: 18px;
    }
    
    .terms-section p,
    .terms-section li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .terms-header h1 {
        font-size: 28px;
    }
    
    .terms-content {
        padding: 24px 20px;
    }
    
    .terms-section {
        margin-bottom: 32px;
        padding-bottom: 32px;
    }
    
    .terms-section h2 {
        font-size: 22px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .terms-nav {
        display: none;
    }
    
    .terms-container {
        grid-template-columns: 1fr;
    }
    
    .terms-page {
        padding: 0;
    }
    
    .terms-content {
        box-shadow: none;
    }
    
    .terms-section {
        page-break-inside: avoid;
    }
}












