/* Hero section styling */
.terms-hero {
    padding-top: 3rem;
}

/* Table of Contents */
.terms-toc {
    border-left: 4px solid var(--bs-primary);
}

.terms-nav .nav-link {
    color: #495057;
    border-left: 2px solid transparent;
    border-radius: 0;
    padding: 0.4rem 0.75rem;
    transition: all 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .terms-nav .nav-link:hover {
        color: var(--bs-primary);
        border-left-color: var(--bs-primary);
        background-color: rgba(13, 110, 253, 0.05);
		padding-left: 10px !important;
    }
}

.terms-nav .nav-link.active {
    color: var(--bs-primary);
    font-weight: 500;
    border-left-color: var(--bs-primary);
    background-color: rgba(13, 110, 253, 0.1);
	padding-left: 10px !important;
}

/* Terms content styling */
.terms-content {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Section styling */
.terms-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.terms-section:last-child {
    border-bottom: none;
}

.section-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(13, 110, 253, 0.2);
    margin-bottom: 0.5rem;
}

.section-title {
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #212529;
}

/* Custom list styling */
.terms-list {
    padding-left: 1.25rem;
}

.terms-list li {
    margin-bottom: 0.75rem;
    position: relative;
}

.terms-list li::marker {
    color: var(--bs-primary);
}

.terms-numbered-list {
    padding-left: 1.25rem;
    counter-reset: item;
    list-style-type: none;
}

.terms-numbered-list li {
    margin-bottom: 0.75rem;
    position: relative;
    counter-increment: item;
}

.terms-numbered-list li:before {
    content: counter(item) ".";
    color: var(--bs-primary);
    font-weight: 600;
    position: absolute;
    left: -1.25rem;
}

/* Alert styling */
.alert-info {
    background-color: rgba(13, 110, 253, 0.1);
    border: none;
    border-radius: 0.5rem;
}

/* Contact section */
.terms-contact {
    background-color: rgba(13, 110, 253, 0.03);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .terms-toc {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 2rem;
    }
    
    .terms-content {
        font-size: 1rem;
    }
}