/* =========================================================
   RTI MODERN SECTION
========================================================= */

.rti-modern-section {
    background: #f5f8fc;
    padding-bottom: 70px;
    overflow: hidden;
}

/* =========================================================
   HERO SECTION
========================================================= */

.rti-hero {
    background: linear-gradient(135deg,#002b5c,#00448b);
    padding: 90px 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    margin-top: 145px;
}

.rti-hero::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -120px;
    right: -100px;
}

.rti-hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.rti-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 40px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.rti-hero-content h1 {
    color: #fff;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 15px;
    font-family: 'Saira', sans-serif;
}

.rti-hero-content p {
    color: rgba(255,255,255,0.88);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* =========================================================
   MAIN BOX
========================================================= */

.rti-main-box {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.05);
}

.rti-main-box h2 {
    color: #002b5c;
    font-size: 24px;
    line-height: 1.7;
    font-weight: 700;
    margin-bottom: 35px;
    font-family: 'Saira', sans-serif;
}

/* =========================================================
   GRID FIX
========================================================= */

.rti-main-box .row {
    display: flex;
    flex-wrap: wrap;
}

.rti-main-box .col-lg-4 {
    display: flex;
    margin-bottom: 25px;
}

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

.rti-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    border: 1px solid #edf2f7;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    transition: all .3s ease;
    position: relative;
}

.rti-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    left: 0;
    top: 0;
    background: linear-gradient(90deg,#00448b,#0d6efd);
    border-radius: 20px 20px 0 0;
}

.rti-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.rti-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg,#00448b,#0d6efd);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.rti-icon i {
    color: #fff;
    font-size: 22px;
}

.rti-card h3 {
    color: #002b5c;
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 16px;
    font-weight: 700;
    font-family: 'Saira', sans-serif;
}

.rti-card p {
    color: #5f6c7b;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 0;
}

.rti-card strong {
    color: #002b5c;
    font-weight: 700;
}

/* =========================================================
   LINK STYLE
========================================================= */

.rti-card a {
    color: #00448b;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all .3s ease;
}

.rti-card a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #00448b;
    left: 0;
    bottom: -3px;
    transition: width .3s ease;
}

.rti-card a:hover {
    color: #0d6efd;
}

.rti-card a:hover::after {
    width: 100%;
}

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

@media(max-width:991px){
    .rti-hero{margin-top: 100px;}

    .rti-hero-content h1 {
        font-size: 34px;
    }

    .rti-main-box {
        padding: 30px;
    }

    .rti-main-box h2 {
        font-size: 21px;
    }

}

@media(max-width:767px){

    .rti-modern-section {
        padding-bottom: 50px;
    }

    .rti-hero {
        padding: 70px 0;
        margin-bottom: 35px;
    }

    .rti-tag {
        font-size: 10px;
        padding: 7px 14px;
    }

    .rti-hero-content h1 {
        font-size: 28px;
    }

    .rti-hero-content p {
        font-size: 14px;
    }

    .rti-main-box {
        padding: 22px;
        border-radius: 18px;
    }

    .rti-main-box h2 {
        font-size: 18px;
        line-height: 1.8;
        margin-bottom: 25px;
    }

    .rti-card {
        padding: 22px;
        border-radius: 18px;
    }

    .rti-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .rti-icon i {
        font-size: 20px;
    }

    .rti-card h3 {
        font-size: 19px;
    }

    .rti-card p {
        font-size: 14px;
        line-height: 1.8;
    }

}