/* =====================================================
   TERMS & CONDITIONS PAGE
   Web System Infotech | Bootstrap 3 | No JavaScript
===================================================== */

/* =====================================================
   HERO BANNER
===================================================== */

.terms-hero {
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url('../img/terms-conditions-banner.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.terms-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(3, 24, 53, 0.18) 0%,
        rgba(3, 31, 65, 0.10) 50%,
        rgba(3, 31, 65, 0.02) 100%
    );
}

.terms-hero-content {
    position: relative;
    z-index: 1;
    padding-top: 28px;
    padding-bottom: 30px;
}

.terms-breadcrumb {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 27px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

.terms-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-breadcrumb a:hover {
    color: #00c6bd;
}

.terms-breadcrumb i {
    color: #00c6bd;
    font-size: 17px;
}

.terms-hero h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 55px;
    font-weight: 800;
    line-height: 1.12;
}

.terms-hero h1 span {
    color: #00c6bd;
}

.terms-hero p {
    max-width: 650px;
    margin: 0 0 24px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
}

.terms-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 25px;
    border-radius: 30px;
    background: linear-gradient(135deg, #00a99f, #00c6ad);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 169, 159, 0.20);
    transition: all 0.3s ease;
}

.terms-hero-btn:hover,
.terms-hero-btn:focus {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 169, 159, 0.30);
}


/* =====================================================
   CONTENT BACKGROUND
===================================================== */

.terms-section {
    padding: 42px 0 65px;
    background: linear-gradient(
        135deg,
        #f3fbff 0%,
        #eaf7ff 48%,
        #e1f4ff 100%
    );
}


/* =====================================================
   MAIN CONTENT CARD
===================================================== */

.terms-content-card {
    padding: 30px 32px 22px;
    border: 1px solid rgba(220, 238, 250, 0.9);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 35px rgba(33, 91, 130, 0.07);
}

.terms-content-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 17px;
}

.terms-main-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #e0f7f6;
    color: #00a99f;
    font-size: 37px;
}

.terms-content-header h2 {
    margin: 0 0 8px;
    color: #101d40;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.terms-updated {
    margin: 0;
    color: #43516d;
    font-size: 14px;
    font-weight: 500;
}

.terms-intro {
    margin: 0 0 15px;
    color: #43516d;
    font-size: 15px;
    line-height: 1.85;
}


/* =====================================================
   INDIVIDUAL TERMS
===================================================== */

.terms-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 19px 0;
    border-top: 1px solid #e8eef3;
    scroll-margin-top: 25px;
}

.terms-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #e5f8f7;
    color: #00a99f;
    font-size: 26px;
}

.terms-item-content {
    flex: 1;
    min-width: 0;
}

.terms-item-content h3 {
    margin: 3px 0 6px;
    color: #101d40;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.35;
}

.terms-item-content p {
    margin: 0;
    color: #43516d;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

.terms-item-content a {
    color: #009e9b;
    font-weight: 700;
    text-decoration: none;
}

.terms-item-content a:hover {
    color: #007f7b;
    text-decoration: underline;
}

.terms-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    font-size: 13px;
}

.terms-contact-item {
    border-bottom: none;
    padding-bottom: 5px;
}


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

@media (max-width: 991px) {

    .terms-hero {
        min-height: 280px;
    }

    .terms-hero h1 {
        font-size: 45px;
    }

    .terms-content-card {
        padding: 25px 24px 20px;
    }

    .terms-content-header h2 {
        font-size: 26px;
    }

    .terms-item-content h3 {
        font-size: 17px;
    }

    .terms-item-icon {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        font-size: 23px;
    }

    .terms-main-icon {
        flex-basis: 65px;
        width: 65px;
        height: 65px;
        font-size: 32px;
    }

}


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

@media (max-width: 767px) {

    .terms-hero {
        min-height: 290px;
        background-position: 65% center;
    }

    .terms-hero-overlay {
        background: rgba(3, 24, 53, 0.58);
    }

    .terms-hero-content {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .terms-breadcrumb {
        margin-bottom: 22px;
        font-size: 13px;
    }

    .terms-hero h1 {
        font-size: 37px;
    }

    .terms-hero p {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.7;
    }

    .terms-section {
        padding: 30px 0 45px;
    }

    .terms-content-card {
        padding: 22px 17px;
        border-radius: 17px;
    }

    .terms-content-header {
        gap: 12px;
    }

    .terms-main-icon {
        flex-basis: 55px;
        width: 55px;
        height: 55px;
        font-size: 27px;
    }

    .terms-content-header h2 {
        font-size: 23px;
    }

    .terms-updated {
        font-size: 12px;
    }

    .terms-intro {
        font-size: 14px;
        line-height: 1.8;
    }

    .terms-item {
        gap: 12px;
        padding: 16px 0;
    }

    .terms-item-icon {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        font-size: 19px;
    }

    .terms-item-content h3 {
        margin-top: 1px;
        font-size: 16px;
    }

    .terms-item-content p {
        font-size: 13px;
        line-height: 1.75;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 420px) {

    .terms-hero h1 {
        font-size: 33px;
    }

    .terms-content-header {
        align-items: flex-start;
    }

    .terms-main-icon {
        flex-basis: 47px;
        width: 47px;
        height: 47px;
        font-size: 23px;
    }

    .terms-content-header h2 {
        font-size: 21px;
    }

    .terms-item {
        gap: 10px;
    }

    .terms-item-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 17px;
    }

}
