/* Terms of Service page specific styles */
.terms-hero {
    background: linear-gradient(135deg, #1a2a6c 0%, #43aff2 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    margin-bottom: 3rem;
    overflow: hidden;
}

.terms-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 42, 108, 0.75);
}

.terms-section {
    padding: 3rem 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a2a6c;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1a2a6c, #43aff2);
    margin: 1rem 0 0;
    border-radius: 2px;
}

.terms-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.terms-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.terms-card h3 {
    color: #1a2a6c;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.terms-card h3 i {
    margin-right: 0.75rem;
    font-size: 1.5rem;
    color: #43aff2;
}

.terms-card h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.terms-card p,
.terms-card li {
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.terms-card ul,
.terms-card ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.terms-card li {
    margin-bottom: 0.75rem;
}

.info-box {
    background: #f8f9fa;
    border-left: 4px solid #43aff2;
    padding: 1.25rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.info-box p {
    margin-bottom: 0;
}

.warning-box {
    background: #fff8e1;
    border-left: 4px solid #ffa726;
    padding: 1.25rem;
    border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.warning-box p {
    margin-bottom: 0;
  color: #5a6c7d;
}

.acceptance-section {
    background: linear-gradient(135deg, #1a2a6c 0%, #43aff2 100%);
    color: white;
    padding: 3rem;
    border-radius: 0.75rem;
    margin-top: 2rem;
}

.acceptance-section h3 {
    color: white;
  margin-bottom: 1.5rem;
}

.acceptance-section p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}

.acceptance-section a {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.acceptance-section a:hover {
    opacity: 0.8;
}

.toc {
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 3rem;
    position: sticky;
    top: 20px;
}

.toc h4 {
    color: #1a2a6c;
    font-weight: 600;
 margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.toc ul {
    list-style: none;
    padding: 0;
  margin: 0;
}

.toc li {
    margin-bottom: 0.75rem;
}

.toc a {
    color: #5a6c7d;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.toc a:hover {
color: #1a2a6c;
    background: white;
    padding-left: 1rem;
}

.last-updated {
    color: #6c757d;
    font-style: italic;
    margin-bottom: 2rem;
}

.definition-term {
    font-weight: 600;
    color: #1a2a6c;
}

/* Animation classes */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive styles */
@media (max-width: 991px) {
    .toc {
        position: static;
    }
}
