
*{
    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;
    flex-wrap:wrap;
}

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

nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

nav a{
    color:white;
    margin:5px 8px;
    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;
}

/* ================= TABLET ================= */
@media(max-width:992px){

    .navbar{
        padding:15px 20px;
    }

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

    .terms-card{
        padding:30px;
    }
}

/* ================= MOBILE ================= */
@media(max-width:768px){

    /* NAVBAR STACK */
    .navbar{
        flex-direction:column;
        align-items:center;
        padding:15px;
    }

    nav{
        margin-top:10px;
    }

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

    /* HEADER */
    .terms-header{
        padding:40px 15px;
    }

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

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

    /* CARD */
    .terms-card{
        padding:20px;
        border-radius:10px;
    }

    /* ACCEPT BOX STACK */
    .accept-box{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .accept-box i{
        font-size:24px;
    }

    /* TEXT SIZE */
    .terms-card h2{
        font-size:18px;
    }

    .terms-card p,
    .terms-card li{
        font-size:14px;
    }
}

/* ================= SMALL MOBILE ================= */
@media(max-width:480px){

    .logo{
        font-size:18px;
    }

    nav a{
        margin:4px;
        font-size:13px;
    }

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

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

    .terms-card{
        padding:15px;
    }
}

