/* =====================================
   LEGAL PAGES (TERMS / PRIVACY / ETC.)
   ===================================== */

/* Page spacing */
section.container {
    max-width: 100%;
}

/* Main Card */
.terms-card {
    border-radius: 10px;
    background-color: #ffffff;
}

/* Card Header */
.terms-card .card-header {
    background-color: #003358 !important;
    color: #ffffff;
    padding: 16px 24px;
    border-bottom: none;
}

.terms-card .card-header h1,
.terms-card .card-header h2,
.terms-card .card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* Card Body */
.terms-card .card-body {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
}

/* Paragraphs */
.terms-card p {
    margin-bottom: 14px;
    color: #444;
}

/* Section Headings */
.terms-card h5 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #003358;
}

/* Lists */
.terms-card ul {
    padding-left: 1.25rem;
    margin-bottom: 16px;
}

.terms-card ul li {
    margin-bottom: 8px;
    color: #444;
}

/* Alert / Important Note */
.terms-card .alert {
    font-size: 0.9rem;
    border-radius: 6px;
}

/* Links (if any inside content) */
.terms-card a {
    color: #0d6efd;
    text-decoration: none;
}

.terms-card a:hover {
    text-decoration: underline;
}

/* =====================================
   RESPONSIVE FIXES
   ===================================== */

/* Mobile devices */
@media (max-width: 576px) {

    .terms-card .card-header {
        padding: 14px 16px;
    }

    .terms-card .card-header h1 {
        font-size: 1.1rem;
    }

    .terms-card .card-body {
        padding: 20px 18px !important;
        font-size: 0.92rem;
    }

    .terms-card h5 {
        font-size: 1rem;
        margin-top: 22px;
    }

    .terms-card ul {
        padding-left: 1.1rem;
    }
}

/* Tablet devices */
@media (min-width: 577px) and (max-width: 991px) {

    .terms-card .card-body {
        font-size: 0.94rem;
    }

    .terms-card h5 {
        font-size: 1.05rem;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .terms-card .card-body {
        font-size: 0.96rem;
    }
}

/* =====================================
   OPTIONAL UTILITIES
   ===================================== */

/* Soft shadow override (Bootstrap-safe) */
.terms-card.shadow-sm {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
}

/* Smooth readability */
.terms-card {
    word-wrap: break-word;
}
