:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --bg-light: #f8f9fa;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-card: 0 5px 15px rgba(0,0,0,0.08);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero-section {
    background: var(--primary-gradient);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,100 1000,0"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.main-container {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    margin: -3rem auto 3rem;
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.sidebar {
    background: var(--bg-light);
    border-right: 1px solid #e9ecef;
    padding: 2rem 0;
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

    /* Scoped sidebar nav-link styles */
.sidebar .nav-link {
color: #333;
border-left: 3px solid transparent;
padding: 10px 15px;
transition: all 0.3s ease;
}

.sidebar .nav-link.active {
background-color: #f0f0f0;
border-left: 3px solid #007bff;
font-weight: bold;
color: #007bff;
}


    .content-section {
        padding: 3rem;
    }

    .section-title {
        color: var(--text-primary);
        font-weight: 700;
        margin-bottom: 2rem;
        position: relative;
        padding-left: 1rem;
    }

    .section-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--accent-gradient);
        border-radius: 2px;
    }

    .terms-section {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .terms-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .terms-list {
        list-style: none;
        padding: 0;
    }

    .terms-list li {
        background: var(--bg-light);
        margin: 1rem 0;
        padding: 1.25rem;
        border-radius: 10px;
        border-left: 4px solid var(--accent-gradient);
        transition: all 0.3s ease;
        position: relative;
    }

    .terms-list li:hover {
        background: #e9ecef;
        transform: translateX(5px);
    }

    .terms-list li::before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: #4facfe;
        margin-right: 1rem;
        font-size: 1.1em;
    }

    .highlight-box {
        background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
        border: 2px solid rgba(79, 172, 254, 0.2);
        border-radius: 15px;
        padding: 2rem;
        margin: 2rem 0;
        position: relative;
    }

    .highlight-box::before {
        content: '\f06a';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        top: -12px;
        left: 20px;
        background: var(--accent-gradient);
        color: white;
        padding: 8px 12px;
        border-radius: 50%;
        font-size: 0.9em;
    }

    .contact-card {
        background: var(--primary-gradient);
        color: white;
        border-radius: 15px;
        padding: 2rem;
        text-align: center;
        margin-top: 2rem;
    }

    .contact-card h4 {
        margin-bottom: 1rem;
    }

    .contact-info {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-primary-custom {
        background: var(--accent-gradient);
        border: none;
        border-radius: 50px;
        padding: 0.75rem 2rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .btn-primary-custom:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(79, 172, 254, 0.4);
    }

    .last-updated {
        background: #f8f9fa;
        border-radius: 10px;
        padding: 1rem;
        text-align: center;
        margin-bottom: 2rem;
        font-style: italic;
        color: var(--text-secondary);
    }

    @media (max-width: 768px) {
        .sidebar {
            position: static;
            height: auto;
            max-height: none;
            border-right: none;
            border-bottom: 1px solid #e9ecef;
        }
        
        .content-section {
            padding: 2rem 1.5rem;
        }
        
        .main-container {
            margin: -2rem 1rem 2rem;
        }
        
        .contact-info {
            flex-direction: column;
            align-items: center;
        }
    }

    .scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none; /* hidden by default */
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 16px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.scroll-to-top:hover {
    background-color: #0056b3;
}

