* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f8f9fa;
}

/* Navigation Bar Styles */
.topnov {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topnov a.active {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

.topnov button {
    background-color: rgb(242,200,80);
    color: black;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.topnov button:hover {
    background-color: rgba(208,183,78);
}

/* Terms and Conditions Box Styles */
.term-box {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.term-text {
    padding: 1rem;
}

.term-text h2 {
    color: #333;
    margin: 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

/* First heading (Terms and Conditions) */
.term-text h2:first-child {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.term-text p {
    color: #666;
    line-height: 1.6;
    margin: 1rem 0;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.term-text p:hover {
    transform: translateX(10px);
    color: #333;
}

/* Strong text styling */
.term-text strong {
    color: #dc3545;
    font-weight: 600;
}

/* Section styles */
.term-text h2:not(:first-child) {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .term-box {
        margin: 1rem;
        padding: 1rem;
    }

    .topnov {
        padding: 1rem;
    }

    .topnov button {
        width: 150px;
        font-size: 11px;
    }

    .term-text h2:first-child {
        font-size: 1.8rem;
    }

    .term-text h2:not(:first-child) {
        font-size: 1.3rem;
    }

    .term-text p {
        font-size: 0.9rem;
    }
}

/* Animation for content */
.term-box {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Optional: Add a back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    background-color: #0056b3;
}