/* ===================================================
   ROYA PLATFORM
   CARDS
=================================================== */

.custom-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border: 1px solid rgba(13, 43, 75, 0.08);
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 12px 30px rgba(13, 43, 75, 0.09);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.custom-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(30, 136, 229, 0.18);

    box-shadow:
        0 20px 45px rgba(13, 43, 75, 0.16);
}


/* ===================================================
   CARD IMAGE
=================================================== */

.custom-card img,
.custom-card-image {
    display: block;

    width: 100%;
    height: 245px;

    object-fit: cover;
    object-position: center;

    flex-shrink: 0;

    transition:
        transform 0.4s ease;
}

.custom-card:hover img,
.custom-card:hover .custom-card-image {
    transform: scale(1.03);
}


/* ===================================================
   CARD BODY
=================================================== */

.custom-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;

    width: 100%;

    padding: 25px 22px 24px;

    text-align: center;
}

.custom-card h5 {
    margin: 0 0 12px;

    color: #0D2B4B;

    font-size: 23px;
    font-weight: 800;
    line-height: 1.5;
}

.custom-card p {
    flex: 1;

    margin: 0 0 20px;

    color: #64748B;

    font-size: 17px;
    line-height: 1.9;
}


/* ===================================================
   BUTTON
=================================================== */

.read-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 135px;
    min-height: 48px;

    margin-top: auto;

    padding: 10px 22px;

    border-radius: 10px;

    background: #1E88E5;

    color: #ffffff !important;

    font-size: 16px;
    font-weight: 800;

    text-decoration: none;

    box-shadow:
        0 10px 22px rgba(30, 136, 229, 0.20);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.read-btn:hover {
    background: #156FC0;

    color: #ffffff !important;

    transform: translateY(-2px);

    box-shadow:
        0 14px 28px rgba(30, 136, 229, 0.28);
}


/* ===================================================
   SECTION TITLES
=================================================== */

.section-title {
    margin-bottom: 44px;

    text-align: center;
}

.section-title h2 {
    margin: 0;

    color: #1E88E5;

    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
}

.gold-line {
    width: 82px;
    height: 4px;

    margin: 15px auto 0;

    border-radius: 20px;

    background: #F2B705;
}


/* ===================================================
   SECTIONS
=================================================== */

.light-section {
    padding: 75px 0;

    background: #F7FAFF;
}

.white-section {
    padding: 75px 0;

    background: #FFFFFF;
}

.empty-message {
    padding: 35px;

    color: #64748B;

    font-size: 18px;

    text-align: center;
}


/* ===================================================
   BOOTSTRAP ROW FIX
=================================================== */

.row > [class*="col-"] {
    display: flex;
}

.row > [class*="col-"] > .custom-card {
    width: 100%;
}


/* ===================================================
   TABLET
=================================================== */

@media (max-width: 991.98px) {

    .custom-card img,
    .custom-card-image {
        height: 225px;
    }

    .custom-card h5 {
        font-size: 22px;
    }
}


/* ===================================================
   MOBILE
=================================================== */

@media (max-width: 575.98px) {

    .light-section,
    .white-section {
        padding: 55px 0;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .custom-card {
        border-radius: 16px;
    }

    .custom-card img,
    .custom-card-image {
        height: 210px;
    }

    .custom-card-body {
        padding: 21px 17px 22px;
    }

    .custom-card h5 {
        font-size: 21px;
    }

    .custom-card p {
        font-size: 16px;
        line-height: 1.8;
    }

    .read-btn {
        min-height: 46px;

        padding: 9px 19px;
    }
}