/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background-color: #f5f7fa;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Container */
.container {
    max-width: 100%;
    padding: 0 ;
}

/* Header */
header {linear-gradient(90deg, #1e3a8a 0%, #3b82f6 100%);
    background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo-group {
    display: flex;
    align-items: center;
    margin-left: 10px;
    gap: 12px;
}


.logo-img {
  height: 50px;
  width: auto;
  border-radius: 50px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
}

.logo i {
    margin-right: 12px;
    color: #60a5fa;
}

nav ul {
    display: flex;
    list-style: none;

}

nav ul li {
    margin-left: 32px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.2s ease;
    
}

nav ul li a:hover,
nav ul li a.active {
    color: #60a5fa;
    transform: translateY(-2px);
}

/* Main Content */
.terms-page {
    padding: 80px 0;
    margin: 20px;
}

.section {
    display: none;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 40px;
    min-height: 80vh;
    animation: fadeIn 1s ease-in;
}

.section.active-section {
    display: block;
}

#section1 {
    background-color: #f8fafc;
}

#section2 {
    background-color: #f0f4ff;
}

#section3 {
    background-color: #f9f5ff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.terms-page h1 {
    font-size: 40px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 24px;
    text-align: center;
}

.effective-date {
    font-size: 18px;
    font-weight: 500;
    color: #4b5563;
    text-align: center;
    margin-bottom: 48px;
}

.terms-page section {
    margin-bottom: 48px;
}

.terms-page h3 {
    font-size: 32px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 24px;
    margin-top: 48px;
    padding-left: 16px;
    border-left: 5px solid #2563eb;
    background-color: #f0f4ff;
    padding: 12px 16px;
    border-radius: 6px;
}

.terms-page h4 {
    font-size: 24px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 16px;
    margin-top: 32px;
    padding-left: 20px;
}

.terms-page p {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 16px;
    padding-left: 24px;
}

.terms-page ul {
    list-style: disc;
    margin-left: 48px;
    margin-bottom: 16px;
}

.terms-page ul li {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 12px;
}

.terms-page ul ul {
    list-style: circle;
    margin-left: 24px;
}

.terms-page a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-page a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.terms-page .emoji {
    font-weight: 600;
    margin-right: 8px;
}

.terms-page .emoji.success, .terms-page .emoji.note { color: #2f855a; }
.terms-page .emoji.warning { color: #d97706; }
.terms-page .emoji.danger { color: #dc2626; }
.terms-page .emoji.shield, .terms-page .emoji.legal { color: #2563eb; }
.terms-page .emoji.lock { color: #1e3a8a; }

/* Pagination Box */
.function-box {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    margin-top: 40px;
}

.pagination {
    display: inline-block;
}

.pagination a {
    color: #2563eb;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 5px;
    margin: 0 4px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    font-weight: 500;
}

.pagination a.active {
    background-color: #2563eb;
    color: #ffffff;
    border: 1px solid #2563eb;
}

.pagination a:hover:not(.active) {
    background-color: #e5e7eb;
    color: #60a5fa;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff;
    padding: 24px 0;
    margin-top: 48px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

footer p {
    font-size: 14px;
    font-weight: 500;
}

footer ul {
    display: flex;
    list-style: none;
}

footer ul li {
    margin-left: 24px;
}

footer ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    nav ul {
        margin-top: 16px;
    }

    nav ul li {
        margin: 0 10px 10px;
    }

    nav ul li a {
        font-size: 15px;
    }

    .terms-page {
        padding: 48px 16px;
        margin: 16px;
    }

    .section {
        padding: 24px;
        min-height: 60vh;
    }

    .terms-page h1 {
        font-size: 32px;
    }

    .terms-page h3 {
        font-size: 26px;
        margin-top: 32px;
        padding: 10px 12px;
    }

    .terms-page h4 {
        font-size: 20px;
        padding-left: 16px;
    }

    .terms-page p {
        padding-left: 16px;
    }

    .terms-page ul {
        margin-left: 32px;
    }

    .function-box {
        padding: 16px;
    }

    .pagination a {
        padding: 6px 12px;
        font-size: 14px;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    footer ul {
        margin-top: 12px;
    }

    footer ul li {
        margin: 0 12px;
    }
}
/* 🔒 Centered and Subtle Watermark */
body::after {
    content: "© CyberSNR - Unauthorized Copying Prohibited";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 5px;
    opacity: 0.3; /* 🔍 Lower visibility */
    pointer-events: none;
    z-index: 9998;
    font-weight: bold;
    text-align: center;
}