/* =========================================================
   T.K BUSINESS CONSULTING
   PREMIUM VISION / MISSION / GOALS CARDS
========================================================= */

.certificate-modern {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 280px;
    height: 100%;
    padding: 34px 28px 30px;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid rgba(23, 33, 58, 0.08);
    border-radius: 22px;

    box-shadow:
        0 8px 30px rgba(23, 33, 58, 0.06),
        0 2px 8px rgba(23, 33, 58, 0.03);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* ---------------------------------------------------------
   TOP ACCENT
--------------------------------------------------------- */

.certificate-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;

    background: linear-gradient(
        90deg,
        #1d43fe,
        #5b7cff,
        #1d43fe
    );

    border-radius: 0 0 10px 10px;

    opacity: 0;
    transform: scaleX(0.5);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

/* ---------------------------------------------------------
   DECORATIVE CORNER
--------------------------------------------------------- */

.certificate-modern::after {
    content: "";
    position: absolute;

    width: 110px;
    height: 110px;

    top: -55px;
    right: -55px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(29, 67, 254, 0.10) 0%,
        rgba(29, 67, 254, 0.04) 45%,
        transparent 70%
    );

    pointer-events: none;
}

/* ---------------------------------------------------------
   HOVER
--------------------------------------------------------- */

.certificate-modern:hover {
    transform: translateY(-8px);

    border-color: rgba(29, 67, 254, 0.16);

    box-shadow:
        0 22px 50px rgba(23, 33, 58, 0.11),
        0 8px 20px rgba(29, 67, 254, 0.07);
}

.certificate-modern:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

/* =========================================================
   ICON
========================================================= */

.certificate-avatar {
    position: relative;

    width: 76px;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 24px;

    flex-shrink: 0;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #f4f7ff 0%,
            #eef2ff 100%
        );

    border: 1px solid rgba(29, 67, 254, 0.08);

    box-shadow:
        0 8px 20px rgba(29, 67, 254, 0.08);

    transition:
        transform 0.35s ease,
        border-radius 0.35s ease,
        box-shadow 0.35s ease;
}

/* Small glow behind icon */

.certificate-avatar::before {
    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    border-radius: inherit;

    background: rgba(29, 67, 254, 0.08);

    filter: blur(12px);

    opacity: 0;

    transition: opacity 0.35s ease;
}

.certificate-modern:hover .certificate-avatar {
    transform: translateY(-3px) scale(1.05);
    border-radius: 50%;

    box-shadow:
        0 12px 28px rgba(29, 67, 254, 0.14);
}

.certificate-modern:hover .certificate-avatar::before {
    opacity: 1;
}

/* Icon */

.certificate-avatar i {
    position: relative;
    z-index: 1;

    font-size: 28px;
    line-height: 1;

    transition:
        transform 0.35s ease,
        font-size 0.35s ease;
}

.certificate-modern:hover .certificate-avatar i {
    transform: scale(1.08);
}

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

.certificate-box {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    flex: 1;

    text-align: center;
}

/* ---------------------------------------------------------
   TITLE
--------------------------------------------------------- */

.certificate-box .name {
    margin: 0 0 13px;

    color: #17213a;

    font-size: 20px;
    line-height: 1.35;

    font-weight: 600;

    letter-spacing: -0.25px;

    transition: color 0.3s ease;
}

.certificate-modern:hover .name {
    color: #1d43fe;
}

/* ---------------------------------------------------------
   DESCRIPTION
--------------------------------------------------------- */

.certificate-box .role {
    flex-grow: 1;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    margin: 0;

    color: #6c757d;

    font-size: 14.5px;
    line-height: 1.75;

    font-family: inherit;
    font-weight: 400;

    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   ICON COLOR TREATMENT
========================================================= */

.certificate-avatar .text-primary {
    color: #1d43fe !important;
}

.certificate-avatar .text-success {
    color: #198754 !important;
}

.certificate-avatar .text-info {
    color: #0dcaf0 !important;
}

.certificate-avatar .text-warning {
    color: #f0a500 !important;
}

/* =========================================================
   OPTIONAL BOTTOM INDICATOR
========================================================= */

.certificate-box::after {
    content: "";

    width: 28px;
    height: 3px;

    margin: 22px auto 0;

    border-radius: 10px;

    background: #e9edf7;

    transition:
        width 0.35s ease,
        background 0.35s ease;
}

.certificate-modern:hover .certificate-box::after {
    width: 48px;
    background: #1d43fe;
}

/* =========================================================
   ROW / COLUMN
========================================================= */

.row.g-4.align-items-stretch {
    align-items: stretch;
}

.row.g-4.align-items-stretch > [class*="col-"] {
    display: flex;
}

.row.g-4.align-items-stretch .certificate-modern {
    flex: 1;
}

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

@media (max-width: 991.98px) {

    .certificate-modern {
        min-height: 270px;
        padding: 30px 24px 28px;
        border-radius: 20px;
    }

    .certificate-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .certificate-avatar i {
        font-size: 26px;
    }

    .certificate-box .name {
        font-size: 19px;
    }

    .certificate-box .role {
        font-size: 14px;
        line-height: 1.7;
    }
}

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

@media (max-width: 767.98px) {

    .row.g-4.align-items-stretch {
        row-gap: 18px !important;
    }

    .row.g-4.align-items-stretch > [class*="col-"] {
        width: 100%;
    }

    .certificate-modern {
        min-height: auto;
        padding: 28px 24px 26px;

        border-radius: 18px;
    }

    .certificate-modern::before {
        left: 22px;
        right: 22px;
    }

    .certificate-avatar {
        width: 68px;
        height: 68px;

        margin-bottom: 19px;

        border-radius: 20px;
    }

    .certificate-avatar i {
        font-size: 25px;
    }

    .certificate-box .name {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .certificate-box .role {
        max-width: 100%;

        font-size: 14px;
        line-height: 1.7;
    }

    .certificate-box::after {
        margin-top: 18px;
    }

    .certificate-modern:hover {
        transform: translateY(-4px);
    }
}

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

@media (max-width: 480px) {

    .certificate-modern {
        padding: 25px 20px 24px;
    }

    .certificate-avatar {
        width: 64px;
        height: 64px;
    }

    .certificate-avatar i {
        font-size: 23px;
    }

    .certificate-box .name {
        font-size: 17px;
    }

    .certificate-box .role {
        font-size: 13.5px;
        line-height: 1.7;
    }
}

/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .certificate-modern,
    .certificate-modern *,
    .certificate-modern::before,
    .certificate-modern::after {
        transition: none !important;
        animation: none !important;
    }
}

.government-card {
    display: block;
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    text-decoration: none;
    transition: 0.35s;
    height: 100%;
    border: 1px solid #eef2f7;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
}

.government-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: #0d6efd;
}

.government-logo {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
}

.government-logo img {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
}

.government-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
    font-family: "Kantumruy Pro", sans-serif !important;
}

.government-card p {
    color: #6c757d;
    min-height: 48px;
    margin-bottom: 20px;
    font-size: 15px;
}

.government-card span {
    color: #0d6efd;
    font-weight: 600;
}

.government-card:hover span {
    letter-spacing: 0.5px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    position: relative;

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* subtle background accent */
.testimonial-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    background: rgba(0, 123, 255, 0.08);
    border-radius: 50%;
}

/* ===== TOP SECTION ===== */
.testimonial-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* ===== BIG CIRCLE IMAGE ===== */
.avatar {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    overflow: hidden;

    border: 4px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.avatar:hover img {
    transform: scale(1.08);
}

/* ===== USER INFO ===== */
.user-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.user-info span {
    font-size: 13px;
    color: #777;
}

/* ===== RATING ===== */
.rating {
    margin: 10px 0;
}

.rating i {
    color: #ddd;
    font-size: 14px;
}

.rating i.active {
    color: #f5b50a;
}

/* ===== TEXT ===== */
.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-top: 10px;
}

/* ===== QUOTE ICON ===== */
.quote-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0.08;
}

.quote-icon img {
    width: 60px;
}
.choose__img-wrap-two {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin: 0 auto;
    transform: translateX(10%);
}

.choose__img-wrap-two .img-title {
    margin-top: 15px;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    line-height: 1.4;
    font-family: "Kantumruy Pro", sans-serif !important;
}

/* Large Tablet */
@media (max-width: 991px) {
    .choose__img-wrap-two {
        transform: translateX(0);
    }

    .choose__img-wrap-two .img-title {
        font-size: 22px;
    }
}

/* Tablet */
@media (max-width: 767px) {
    .choose__img-wrap-two {
        transform: translateX(0);
        padding: 0 15px;
    }

    .choose__img-wrap-two .mask__img img {
        width: 100%;
        max-width: 420px;
        height: auto;
    }

    .choose__img-wrap-two .img-title {
        font-size: 20px;
        margin-top: 18px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .choose__img-wrap-two {
        transform: none;
        padding: 0 12px;
    }

    .choose__img-wrap-two .mask__img {
        margin-bottom: 8px; /* reduce gap */
    }

    .choose__img-wrap-two .mask__img img {
        width: 100%;
        max-width: 320px;
        height: 100%;
        display: block; /* removes inline image whitespace */
    }

    .choose__img-wrap-two .img-title {
        margin-top: -18px;
        margin-bottom: 26px;
        font-size: 18px;
        line-height: 1.4;
        text-align: center;
    }
}
/* =========================================
   T.K BUSINESS CONSULTING
   CUSTOM CTA SECTION
========================================= */

.cta__area-two .cta__inner-wrap-two {
    position: relative;
    overflow: hidden;
    padding: 55px 60px;
    border-radius: 20px;

    background: linear-gradient(135deg, #1d43fe 0%, #1636d8 55%, #102a9e 100%);

    box-shadow: 0 20px 50px rgba(29, 67, 254, 0.18);
}

/* =========================================
   LEFT CONTENT
========================================= */

.cta__area-two .cta__content-three {
    position: relative;
    z-index: 2;
}

.cta__area-two .cta__content-three .sub-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 15px;

    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.cta__area-two .cta__content-three .sub-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    color: #1d43fe;
    background: #ffffff;

    border-radius: 50%;
    font-size: 11px;
}

.cta__area-two .cta__content-three .title {
    margin-bottom: 18px;

    color: #ffffff;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
}

.cta__area-two .cta__content-three .title span {
    color: #dce4ff;
}

.cta__area-two .cta__content-three p {
    max-width: 570px;
    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 16px;
    line-height: 1.7;
}

/* =========================================
   RIGHT CONTENT
========================================= */

.cta__area-two .cta__content-right {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

/* =========================================
   PHONE CONTACT
========================================= */

.cta__area-two .cta__contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Phone Icon */

.cta__area-two .cta__contact .icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;

    font-size: 21px;

    transition: all 0.3s ease;
}

.cta__area-two .cta__contact:hover .icon {
    color: #1d43fe;
    background: #ffffff;
    transform: translateY(-3px);
}

/* Phone Text */

.cta__area-two .cta__contact .content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cta__area-two .cta__contact .content span {
    color: rgba(255, 255, 255, 0.72);

    font-size: 13px;
    font-weight: 500;
}

.cta__area-two .cta__contact .content a {
    color: #ffffff;

    font-size: 21px;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;
}

.cta__area-two .cta__contact .content a:hover {
    color: #dce4ff;
}

/* =========================================
   BUTTON
========================================= */

.cta__area-two .tg-border-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 54px;
    padding: 0 25px;

    color: #1d43fe;
    background: #ffffff;

    border: 1px solid #ffffff;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: all 0.3s ease;
}

.cta__area-two .tg-border-btn img {
    width: 17px;

    transition: transform 0.3s ease;
}

.cta__area-two .tg-border-btn:hover {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.8);

    transform: translateY(-2px);
}

.cta__area-two .tg-border-btn:hover img {
    transform: translateX(4px);
}

/* =========================================
   DECORATIVE SHAPE
========================================= */

.cta__area-two .cta__shape-three {
    position: absolute;
    inset: 0;

    pointer-events: none;
    z-index: 1;
}

.cta__area-two .cta__shape-three img {
    position: absolute;

    right: -40px;
    bottom: -80px;

    width: 430px;

    opacity: 0.18;
}

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

@media (max-width: 1199px) {
    .cta__area-two .cta__inner-wrap-two {
        padding: 50px 45px;
    }

    .cta__area-two .cta__content-three .title {
        font-size: 36px;
    }
}

@media (max-width: 991px) {
    .cta__area-two .cta__content-right {
        margin-top: 35px;
    }

    .cta__area-two .cta__content-three .title {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    .cta__area-two .cta__inner-wrap-two {
        padding: 40px 30px;
        border-radius: 16px;
    }

    .cta__area-two .cta__content-three .title {
        font-size: 30px;
    }

    .cta__area-two .cta__content-three p {
        font-size: 15px;
    }

    .cta__area-two .cta__contact .content a {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .cta__area-two .cta__inner-wrap-two {
        padding: 35px 22px;
    }

    .cta__area-two .cta__content-three .title {
        font-size: 27px;
    }

    .cta__area-two .cta__content-right {
        gap: 20px;
    }

    .cta__area-two .cta__contact .icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }

    .cta__area-two .cta__contact .content a {
        font-size: 17px;
    }

    .cta__area-two .tg-border-btn {
        width: 100%;
    }
}
