/*==================================
TERMS & CONDITIONS
==================================*/

.terms-page{
    background:#f5f7fb;
    padding:80px 0;
    min-height:100vh;
}

.terms-container{
    max-width:1000px;
    margin:auto;
    background:#fff;
    padding:60px;
    border-radius:18px;
    box-shadow:0 12px 40px rgba(0,0,0,.08);
}

/*==================================
HEADER
==================================*/

.terms-header{
    text-align:center;
    margin-bottom:50px;
    border-bottom:1px solid #e5e7eb;
    padding-bottom:30px;
}

.terms-header h1{
    font-size:42px;
    color:#0f172a;
    margin-bottom:15px;
    font-weight:700;
}

.terms-header p{
    color:#64748b;
    font-size:17px;
    line-height:1.7;
}

.last-updated{
    display:inline-block;
    margin-top:20px;
    background:#eff6ff;
    color:#2563eb;
    padding:10px 18px;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
}

/*==================================
SECTIONS
==================================*/

.terms-section{
    margin-bottom:45px;
}

.terms-section h2{
    font-size:28px;
    color:#1e293b;
    margin-bottom:20px;
    position:relative;
    padding-left:20px;
}

.terms-section h2::before{
    content:"";
    position:absolute;
    left:0;
    top:4px;
    width:6px;
    height:30px;
    background:#2563eb;
    border-radius:20px;
}

.terms-section h3{
    margin:30px 0 15px;
    color:#334155;
    font-size:22px;
}

.terms-section p{
    color:#475569;
    line-height:1.9;
    margin-bottom:18px;
    font-size:16px;
}

/*==================================
LISTS
==================================*/

.terms-section ul,
.terms-section ol{
    margin:20px 0 20px 30px;
}

.terms-section li{
    margin-bottom:12px;
    line-height:1.8;
    color:#475569;
}

/*==================================
LINKS
==================================*/

.terms-section a{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}

.terms-section a:hover{
    text-decoration:underline;
}

/*==================================
NOTICE BOXES
==================================*/

.notice-box{
    background:#eff6ff;
    border-left:5px solid #2563eb;
    padding:20px 25px;
    border-radius:10px;
    margin:30px 0;
}

.notice-box h4{
    color:#1d4ed8;
    margin-bottom:10px;
}

.notice-box p{
    margin:0;
}

/*==================================
WARNING BOX
==================================*/

.warning-box{
    background:#fff7ed;
    border-left:5px solid #ea580c;
    padding:20px 25px;
    border-radius:10px;
    margin:30px 0;
}

.warning-box h4{
    color:#c2410c;
    margin-bottom:10px;
}

/*==================================
CONTACT CARD
==================================*/

.contact-card{
    background:#f8fafc;
    border:1px solid #e2e8f0;
    border-radius:15px;
    padding:30px;
    margin-top:40px;
}

.contact-card h3{
    margin-top:0;
    margin-bottom:15px;
}

.contact-card p{
    margin:10px 0;
}

.contact-card i{
    width:28px;
    color:#2563eb;
}

/*==================================
TABLES
==================================*/

table{
    width:100%;
    border-collapse:collapse;
    margin:30px 0;
}

table th{
    background:#2563eb;
    color:#fff;
    text-align:left;
    padding:15px;
}

table td{
    padding:15px;
    border:1px solid #e2e8f0;
}

table tr:nth-child(even){
    background:#f8fafc;
}

/*==================================
BACK BUTTON
==================================*/

.back-home{
    margin-top:50px;
    text-align:center;
}

.back-home a{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:#2563eb;
    color:#fff;
    padding:14px 30px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.back-home a:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}

/*==================================
SCROLL TO TOP
==================================*/

.scroll-top{
    position:fixed;
    right:25px;
    bottom:25px;
    width:50px;
    height:50px;
    border-radius:50%;
    background:#2563eb;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    font-size:20px;
    box-shadow:0 10px 25px rgba(37,99,235,.35);
    transition:.3s;
}

.scroll-top:hover{
    background:#1d4ed8;
    transform:translateY(-3px);
}

/*==================================
RESPONSIVE
==================================*/

@media(max-width:992px){

    .terms-container{
        padding:40px;
    }

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

    .terms-section h2{
        font-size:24px;
    }

}

@media(max-width:768px){

    .terms-page{
        padding:40px 15px;
    }

    .terms-container{
        padding:25px;
        border-radius:12px;
    }

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

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

    .terms-section h2{
        font-size:22px;
    }

    .terms-section h3{
        font-size:19px;
    }

    .terms-section p,
    .terms-section li{
        font-size:15px;
    }

    table{
        display:block;
        overflow-x:auto;
    }

}