/* ==========================================================================
   Terms of Service Page Styles
   ========================================================================== */
.terms-template {
    background: #fdfdfd;
}

.terms-template .current {
    color: #4facfe !important;
}

.terms-content-wrap {
    padding: 100px 0;
}

.terms-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
}

/* Banner Text Overrides */
.terms-template .about-ref-banner {
    background-image: linear-gradient(rgba(11, 24, 48, 0.85), rgba(11, 24, 48, 0.85)), url('../images/terms-banner.png');
    background-size: cover;
    background-position: center;
}

.terms-template .about-ref-banner .ref-title,
.terms-template .about-ref-banner .ref-breadcrumb,
.terms-template .about-ref-banner .ref-breadcrumb a,
.terms-template .about-ref-banner .ref-breadcrumb .current,
.terms-template .about-ref-banner .ref-breadcrumb .slash {
    color: #ffffff !important;
}

/* Sidebar Navigation */
.terms-sidebar .sticky-box {
    position: sticky;
    top: 120px;
}

.terms-sidebar h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b1830;
    margin-bottom: 30px;
    padding-left: 10px;
}

.terms-sidebar ul {
    list-style: none;
    border-left: 2px solid #e2e8f0;
}

.terms-sidebar li a {
    display: block;
    padding: 12px 25px;
    font-size: 0.95rem;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.terms-sidebar li a:hover {
    color: #1a84c9;
}

.terms-sidebar li a.active {
    color: #1a84c9;
    font-weight: 700;
}

.terms-sidebar li a.active::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    height: 100%;
    width: 2px;
    background: #1a84c9;
}

/* Document Body */
.terms-body {
    max-width: 850px;
}

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

.terms-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0b1830;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.terms-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a84c9;
    margin: 30px 0 20px;
}

.terms-section p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 25px;
}

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

.terms-section ul li {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 12px;
}

.terms-section ul li strong {
    color: #0b1830;
}

.terms-contact-card {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.terms-contact-card p {
    margin-bottom: 10px;
}

@media (max-width: 1024px) {
    .terms-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .terms-sidebar {
        display: none;
    }
}
