/* ===============================
   LEGAL PAGES (TERMS / PRIVACY)
   THEME: #30427F | WHITE | BLACK
================================ */

.terms-page {
    background: #ffffff;
    color: #000000;
}

/* ================= BANNER ================= */
.terms-page .inner_banner {
    position: relative;
    padding: 120px 0 100px;
    text-align: center;
    background: #ffffff;
    overflow: hidden;
}

.terms-page .inner_banner_contnet {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: auto;
}

.terms-page .contact-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(48, 66, 127, 0.1);
    color: #30427F;
    font-size: 13px;
    letter-spacing: 1px;
    border-radius: 30px;
    margin-bottom: 14px;
    font-weight: 600;
}

.terms-page h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.25;
    color: #000000;
    margin-bottom: 14px;
}

.terms-page h1 span {
    color: #30427F;
}

.terms-page .inner_banner_contnet p {
    font-size: 16.5px;
    color: #333333;
    max-width: 720px;
    margin: auto;
}

/* ================= SECTION ================= */
.terms-page .services-grid-section {
    padding: 80px 0;
    background: #ffffff;
}

/* ================= HEADING ================= */
.terms-page .projects-home-heading {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px;
}

.terms-page .projects-home-tag {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #30427F;
    font-weight: 600;
}

.terms-page .projects-home-title {
    font-size: 32px;
    margin-top: 10px;
    font-weight: 800;
    color: #000000;
}

/* ================= CONTENT ================= */
.terms-content {
    max-width: 900px;
    margin: auto;
}

/* ================= CARD ================= */
.terms-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 18px;
    position: relative;
    transition: all 0.35s ease;
}

.terms-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #30427F;
    opacity: 0;
    transition: 0.35s ease;
    border-radius: 14px 0 0 14px;
}

.terms-card:hover::before,
.terms-card:first-child::before {
    opacity: 1;
}

.terms-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.terms-card p {
    font-size: 15.5px;
    line-height: 1.85;
    color: #000000;
    margin: 0;
}

/* ================= LINKS ================= */
.terms-page a {
    color: #30427F;
    font-weight: 600;
    text-decoration: none;
}

.terms-page a:hover {
    text-decoration: underline;
}

/* ================= GRID BG ================= */
.terms-page .grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.25;
    z-index: 1;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .terms-page h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .terms-page .inner_banner {
        padding: 100px 0 80px;
    }

    .terms-page h1 {
        font-size: 30px;
    }

    .terms-page .projects-home-title {
        font-size: 26px;
    }

    .terms-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .terms-page h1 {
        font-size: 25px;
    }

    .terms-page .inner_banner_contnet p {
        font-size: 15px;
    }
}