*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Segoe UI, sans-serif;
}

body{
    background:#f5f8ff;
    color:#002b5c;
    line-height:1.6;
}

/* NAVBAR */
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    background:#003f88;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    color:white;
    font-size:22px;
    font-weight:bold;
}

nav a{
    color:white;
    margin:0 10px;
    text-decoration:none;
    font-weight:600;
    padding:8px 16px;
    border-radius:5px;
    transition:0.3s;
}

nav a:hover{
    background:#dc3545;
}

/* BUTTONS */

.btn.home{
    background:white;
    color:#003f88;
}

.btn.join{
    background:#dc3545;
    color:white;
    border:none;
}

/* HEADER */

.terms-header{
    text-align:center;
    padding:60px 20px 40px;
    background:linear-gradient(to right, #0d6efd, #003f88);
    color:white;
}

.terms-header h1{
    font-size:42px;
    margin-bottom:10px;
}

.terms-header p{
    font-size:18px;
}

/* HR LINE */

.faded-hr{
    border:none;
    height:1px; 
    background:linear-gradient(to right, rgba(13,110,253,0), rgba(13,110,253,0.6), rgba(13,110,253,0));
    margin:15px 0 20px;
    opacity:0;
    animation:fadeLine 1s forwards;
    animation-delay:0.3s;
}

@keyframes fadeLine{
    to{opacity:1;}
}

/* TERMS CONTENT */

.terms-container{
    padding:40px 20px;
    display:flex;
    justify-content:center;
}

.terms-card{
    background:white;
    padding:40px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
    max-width:900px;
    width:100%;
}

.terms-card h2{
    margin-top:25px;
    color:#0d6efd;
}

.terms-card ul{
    margin:10px 0 20px 20px;
}

.note{
    font-style:italic;
    color:#555;
    margin-bottom:20px;
}

/* ACCEPT BOX */

.accept-box{
    display:flex;
    align-items:center;
    gap:15px;
    background:#ffe5e7;
    border-left:4px solid #dc3545;
    padding:15px 20px;
    margin-top:30px;
    border-radius:8px;
}

.accept-box i{
    font-size:28px;
    color:#dc3545;
}

/* FOOTER */

.terms-footer{
    background:#003f88;
    color:white;
    text-align:center;
    padding:25px 20px;
    margin-top:40px;
}

/* RESPONSIVE */

@media(max-width:768px){
    .terms-card{
        padding:25px;
    }

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