/* =========================================
   TERMS PAGE STYLES
========================================= */
:root {
    --primary: #4f46e5;
    --secondary: #7c3aed;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: 'Arial', sans-serif;
}

/* Header Section */
.terms-header {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 50px;
}

.terms-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

/* Layout Grid */
.terms-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* Sidebar Navigation */
.terms-sidebar {
    position: sticky;
    top: 100px; /* আপনার মেনুবারের উচ্চতা অনুযায়ী পরিবর্তন হতে পারে */
    height: fit-content;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.nav-link {
    display: block;
    padding: 12px 15px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: 0.3s;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    background: rgba(79, 70, 229, 0.1);
    color: #fff;
    padding-left: 20px;
}

.nav-link i {
    margin-right: 10px;
    width: 20px;
}

/* Content Area */
.terms-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.section-block {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
}

.section-block:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary);
}

.terms-content p, .terms-content li {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 15px;
}

.terms-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.terms-content li {
    margin-bottom: 10px;
}

.update-date {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--secondary);
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .terms-container {
        grid-template-columns: 1fr;
    }
    .terms-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
}