.ranking-section {
    background: #f4f7fb;
    position: relative;
    overflow: hidden;
    margin-top: 145px;
}

.section-heading .sub-title {
    background: #cc0000;
    color: #fff;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-heading h3 {
    font-size: 42px;
    font-weight: 700;
    color: #00448b;
    margin-bottom: 15px;
    font-family: 'Saira', sans-serif;
}

.section-heading p {
    max-width: 760px;
    margin: auto;
    color: #666;
    font-size: 16px;
    line-height: 28px;
}

.ranking-card {
    background: #fff;
    border-radius: 24px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    height: 100%;
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e7edf5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.ranking-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #00448b, #cc0000);
}

.ranking-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.10);
}

.ranking-img {
    min-width: 140px;
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #edf1f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.ranking-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ranking-content {
    flex: 1;
}

.ranking-content h4 {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
    line-height: 32px;
    font-family: 'Saira', sans-serif;
}

.ranking-content p {
    margin-bottom: 0;
    font-size: 15px;
    color: #555;
    line-height: 28px;
}

.ranking-content a {
    color: #00448b;
    font-weight: 600;
    text-decoration: none;
}

.ranking-content a:hover {
    color: #cc0000;
}

@media(max-width:991px){

    .ranking-card{
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .ranking-img{
        width: 120px;
        min-width: 120px;
        height: 120px;
    }

    .section-heading h3{
        font-size: 34px;
    }
}

@media(max-width:767px){

    .ranking-section{
        padding: 60px 0;
        margin-top: 100px;
    }

    .section-heading h3{
        font-size: 28px;
        line-height: 40px;
    }

    .ranking-content h4{
        font-size: 20px;
        line-height: 30px;
    }

    .ranking-content p{
        font-size: 14px;
        line-height: 26px;
    }
}