/* ========== Header Area ========== */
.header-shadow {
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    position: relative;
    z-index: 1000;
}

.header-top-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 0;
    position: relative;
    z-index: 1;
}

.header-logo-center {
    display: flex;
    justify-content: center;
}

.header-logo-center img {
    max-height: 60px;
    width: auto;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    max-width: 260px;
    border: 1px solid #eee;
    border-radius: 999px;
    background: #fff;
}

.header-search i {
    font-size: 14px;
    opacity: .7;
}

.header-search input {
    border: 0;
    outline: 0;
    width: 100%;
    background: transparent;
    font-size: 14px;
}

.header-right {
    display: flex;
    justify-content: flex-end;
}

.header-social {
    display: flex;
    gap: 10px;
}

.header-social a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 999px;
    transition: .2s;
    color: #1b1464;
}

.header-social a:hover {
    transform: translateY(-1px);
    color: #ed1c24;
}

.header-bottom-row {
    border-top: 1px solid #f1f1f1;
    padding: 6px 0 10px;
    position: relative;
    z-index: 10000;
}

.header-bottom-row .main-menu-ex {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.header-bottom-row .main-menu-ex .menu-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-bottom-row .main-menu-ex .menu-row>li>a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    white-space: nowrap;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.header-bottom-row .main-menu-ex .menu-row>li {
    position: relative;
}

/* First row dropdown opens downward */
.header-bottom-row .main-menu-ex .menu-row-first>li>ul.sub-menu {
    position: absolute;
    top: calc(100% + -7px);
    left: 0;
    transform: none;
    z-index: 99999;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    width: 350px;
}

.header-bottom-row .main-menu-ex .menu-row-first>li>ul.sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
    z-index: 1;
}

/* Second row dropdown opens downward */
.header-bottom-row .main-menu-ex .menu-row-second>li>ul.sub-menu {
    position: absolute;
    top: calc(100% + -7px);
    left: 0;
    transform: none;
    z-index: 99999;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    width: 350px;
}

.header-bottom-row .main-menu-ex .menu-row-second>li>ul.sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
    z-index: 1;
}

/* Show dropdown on hover */
.header-bottom-row .main-menu-ex .menu-row>li:hover>ul.sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header-submenu-scroll {
    width: 340px;
    max-width: 90vw;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
}

.header-submenu-scroll li a {
    display: block;
    padding: 9px 16px;
    line-height: 1.35;
    white-space: normal;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-submenu-scroll li a:hover {
    background-color: #f8f9fa;
}

.header-bottom-row .main-menu-ex ul.sub-menu li {
    position: relative;
}

.header-bottom-row .main-menu-ex ul.sub-menu li>ul.sub-menu {
    left: 100%;
    top: 0;
    transform: none;
}

.header-bottom-row .main-menu-ex .menu-row>li:not(:hover)>ul.sub-menu {
    pointer-events: none;
}

/* main menu active */
.main-menu-ex li.active>a {
    color: #ed1c24;
    font-weight: 600;
}

/* submenu active */
.main-menu-ex .sub-menu li.active>a {
    color: #ed1c24;
}


/* ========== Mobile-Header Area ========== */
.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list>li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    text-decoration: none;
}

.mobile-menu-list .sub-menu {
    display: none;
    list-style: none;
    padding-left: 14px;
    padding-bottom: 10px;
    margin: 0;
}

.mobile-menu-list .sub-menu li a {
    padding: 10px 0;
    font-size: 14px;
}

.mobile-menu-list li.open>a .mobile-drop-icon i {
    transform: rotate(180deg);
    transition: 0.2s ease;
}

.mobile-sidebar {
    transform: translateX(100%);
    transition: 0.3s;
}

.mobile-sidebar.active {
    transform: translateX(0);
}

.mobile-drop-icon {
    display: none;
}

@media screen and (max-width: 769px) {
    .mobile-header {
        background: #fff;
        border-bottom: 1px solid #eaeaea;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    }
}

/* ========== Footer Area ========== */
.row.footer4-border {
    padding-bottom: 0;
}

@media screen and (max-width: 769px) {

    .footer-right-padding {
        padding-right: 0;
    }

    .single-footer.footer-right-padding.single-footer4.mr50 {
        text-align: center;
    }

    .social.social {
        text-align: center;
        margin-top: 0;
    }

    .single-footer.single-footer4 {
        padding-top: 30px;
    }

    .single-footer.footer-right-padding.single-footer4.mr50 {
        padding-top: 0;
    }

    .single-footer h3 {
        padding-bottom: 0;
    }

    .single-footer ul li {
        padding: 3px 0;
    }
}


/* ========== Hero Area ========== */
.hero10 {
    position: relative;
    margin-bottom: 100px
}

.hero-slide {
    width: 100%;
    overflow: hidden
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center
}

@media (min-width:992px) {
    .hero-slide {
        height: 70vh
    }
}

@media (min-width:768px) and (max-width:991px) {
    .hero-slide {
        height: 280px
    }
}

@media (max-width:767px) {
    .hero10._relative {
        margin-top: 100px
    }

    .hero-slide {
        height: 180px
    }
}

.hero10-slider-perrent .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none
}

.hero10-slider-perrent .owl-nav button {
    pointer-events: auto
}

.hero10-slider-perrent .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    text-align: center
}

@media (max-width:767px) {

    .hero10-slider-perrent .owl-nav .owl-prev {
        transform: translateX(-50px) translateY(-50%) scale(0.65)
    }

    .hero10-slider-perrent .owl-nav .owl-next {
        transform: translateX(40px) translateY(-50%) scale(0.65)
    }

    .hero10-slider-perrent .owl-nav {
        top: 50%;
        transform: translateY(-50%)
    }
}

/* ========== Service Area ========== */
.service2 .col-lg-4,
.service2 .col-md-6 {
    display: flex;
}

.service2 .blog5-box {
    display: flex;
    flex-direction: column;
    height: 450px;
}

.service2 .blog5-img {
    height: 220px;
    overflow: hidden;
}

.service2 .blog5-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service2 .blog5-hadding {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service2 .blog5-hadding p {
    flex-grow: 1;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;

    text-align: left;
}

.service2 .blog5-learn {
    margin-top: auto;
}

.service2 .blog5-box {
    border: 1px solid #eee;
}

.service2 .blog5-box:hover {
    box-shadow: 0 0 20px #ddd;
}

/* ========== Service Details Area ========== */
.serice-dtials-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    color: #111;
    background: #f5f6fa;
    transition: all 0.3s ease;
    border-radius: 4px;
}

/* Hover effect */
.serice-dtials-list li a:hover {
    background-color: #ed1c24;
    color: #fff;
}

/* Active page */
.serice-dtials-list li.active>a {
    background-color: #1b1464;
    color: #fff;
}

/* icon color */
.serice-dtials-list li a span i {
    transition: all 0.3s ease;
}

.serice-dtials-list li a:hover span i,
.serice-dtials-list li.active a span i {
    color: #fff;
}


.view-all-services {
    display: block;
    margin-top: 16px;
    font-weight: 500;
    color: #0E1681;
    text-align: right;
    text-decoration: none;
}

.view-all-services:hover {
    color: #ed1c24;
}

.training-card {
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #0b1620 0%, #0b141c 100%);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35)
}

.training-card__head {
    padding: 18px 18px 14px;
    background: linear-gradient(180deg, rgba(0, 166, 255, .08) 0%, rgba(0, 166, 255, 0) 100%)
}

.training-card__title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #fff
}

.training-card__sub {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .75)
}

.training-card__sub span {
    color: rgba(255, 255, 255, .95);
    font-weight: 600
}

.training-card__body {
    padding: 16px 18px 18px
}

.training-card__meta {
    display: grid;
    gap: 14px
}

.training-meta {
    display: flex;
    gap: 12px;
    align-items: flex-start
}

.training-meta__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .85);
    flex: 0 0 34px
}

.training-meta__label {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, .92);
    line-height: 1.1
}

.training-meta__value {
    margin-top: 3px;
    font-size: 13px;
    color: rgba(255, 255, 255, .72)
}

.training-divider {
    height: 1px;
    margin: 14px 0;
    background: rgba(255, 255, 255, .10)
}

.training-fee {
    display: grid;
    gap: 10px;
    margin-bottom: 12px
}

.training-fee__row {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.training-fee__label {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, .92)
}

.training-fee__price {
    font-size: 15px;
    font-weight: 800;
    color: rgba(255, 255, 255, .95)
}

.training-fee__row--muted .training-fee__label,
.training-fee__row--muted .training-fee__price {
    color: rgba(255, 255, 255, .65)
}

.training-fee__row--muted del {
    opacity: .85
}

.training-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, .78);
    background: rgba(0, 166, 255, .10);
    border: 1px solid rgba(0, 166, 255, .18)
}

:root {
    --nx-bg: #f6f8fc;
    --nx-card: #ffffff;
    --nx-text: #0f172a;
    --nx-muted: #64748b;
    --nx-border: rgba(15, 23, 42, .10);
    --nx-line: rgba(15, 23, 42, .10);
    --nx-soft: #f1f5f9;
    --nx-soft2: #eef2ff;

    --nx-red: #ef4444;
    --nx-red2: #dc2626;
    --nx-shadow: 0 10px 30px rgba(2, 6, 23, .06);
}

.service-details.sp3 {
    background: var(--nx-bg);
}

/* Training sidebar card */
.tcardL {
    background: var(--nx-card);
    border: 1px solid var(--nx-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--nx-shadow);
}

.tcardL__head {
    padding: 16px 18px;
    background: linear-gradient(180deg, rgba(37, 99, 235, .08) 0%, rgba(37, 99, 235, 0) 100%);
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tcardL__title {
    margin: 0;
    font-size: 18px;
    font-weight: 950;
    color: var(--nx-text);
    letter-spacing: .2px;
}

.tpill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 950;
    font-size: 12px;
    background: var(--nx-soft2);
    border: 1px solid rgba(99, 102, 241, .16);
    color: #1e1b4b;
    white-space: nowrap;
}

.tcardL__body {
    padding: 14px 18px 18px;
}

.tmetaL {
    display: grid;
    gap: 12px;
    margin-top: 2px;
}

.tmetaL__row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
}

.tmetaL__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nx-soft);
    border: 1px solid rgba(15, 23, 42, .08);
    color: var(--nx-text);
    flex: 0 0 40px;
}

.tmetaL__icon i {
    font-size: 16px;
    opacity: .9;
}

.tmetaL__label {
    font-size: 13px;
    font-weight: 950;
    color: var(--nx-muted);
    margin-bottom: 2px;
    line-height: 1.1;
}

.tmetaL__value {
    font-size: 13px;
    font-weight: 950;
    color: var(--nx-text);
    line-height: 1.35;
}

.tdividerL {
    height: 1px;
    background: var(--nx-line);
    margin: 14px 0;
}

.tfeeL {
    display: grid;
    gap: 10px;
}

.tfeeL__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .10);
}

.tfeeL__label {
    font-size: 13px;
    font-weight: 950;
    color: var(--nx-muted);
}

.tfeeL__price {
    font-size: 14px;
    font-weight: 950;
    color: var(--nx-text);
    text-align: right;
}

.tfeeL__row--muted {
    background: var(--nx-soft);
    border-color: rgba(15, 23, 42, .08);
}

.tfeeL__tag {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .10);
    border: 1px solid rgba(37, 99, 235, .16);
    color: #1e40af;
    font-size: 12px;
    font-weight: 950;
}

.tfeeL__row--muted del {
    color: var(--nx-muted);
    font-weight: 900;
}

.tenrollL {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    text-decoration: none !important;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--nx-red), var(--nx-red2));
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(239, 68, 68, .18);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.tenrollL:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(239, 68, 68, .22);
    filter: brightness(1.02);
}

.tenrollL:active {
    transform: translateY(1px);
}

.tenrollL.is-disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
    filter: none !important;
}



.view-all-services {
    display: block;
    margin-top: 16px;
    font-weight: 900;
    color: #1e40af;
    text-align: right;
    text-decoration: none;
}

.view-all-services:hover {
    color: #ef4444;
}

/* ========== Blog Area ========== */
.blog2 .blog2-box-all {
    border: 1px solid #EEE;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.blog2 .blog2-box-all:hover {
    border-color: #ddd;
}

.blog2 .col-lg-4 {
    display: flex;
}

.blog2 .blog2-box-all {
    display: flex;
    flex-direction: column;
    height: 520px;
}

.blog2 .blog2-box-img {
    height: 220px;
    overflow: hidden;
}

.blog2 .blog2-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog2 .blog2-hadding {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog2 .blog2-hadding p {
    flex-grow: 1;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;

    text-align: left;
}

.blog2 .read-more-btn {
    margin-top: auto;
}

/* ========== Blog Details Area ========== */
.blog-sidebar-left-all article .page-hadding h2 {
    font-size: 35px;
    line-height: normal;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 10px 0 6px 0;
}

.blog-meta ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-meta ul li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 1;
    color: #555;
}

.blog-meta ul li i {
    font-size: 14px;
    color: #1b1464;
    /* আপনার brand color */
}

@media (max-width: 576px) {
    .blog-meta ul {
        gap: 12px;
    }

    .blog-meta ul li {
        font-size: 14px;
    }
}

/* =====================================
WHY CHOOSE US – MOBILE OPTIMIZATION
===================================== */
@media (max-width: 767px) {

    .choose2 .hadding2 div {
        text-align: justify;
        font-size: 15px;
        line-height: 1.7;
    }

    .choose2 .hadding2 div p {
        margin-bottom: 14px;
    }

    .choose2 .hadding2 div br {
        content: "";
        display: block;
        margin-bottom: 12px;
    }
}

/* ========== Custom CSS ========== */
.header-area {
    background: #fff;
    position: inherit;
    z-index: 22;
    width: 100%;
}

.header-area {
    padding: 0;
}

.main-menu-ex li a {
    font-size: 14px;
}

.main-menu-ex.main-menu-ex2 li li a:hover {
    color: #fff;
    background: #ed1c24;
}

.hero10-slider-perrent .owl-dots {
    display: none;
}

.custom_description h2,
.custom_description h3,
.custom_description h4,
.custom_description h5,
.custom_description h6,
.custom_description p>b {
    color: #1b1464;
    margin: 22px 0 11px 0;
    font-weight: 500;
}

.custom_description p {
    color: #4F545A;
    text-align: justify;
}

.custom_description ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.custom_description ul li {
    background: url("../../../uploads/static_images/check.png");
    background-repeat: no-repeat;
    background-size: 14px;
    background-position: left 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
    text-align: left;
    padding-left: 25px;
    color: #4F545A;
    letter-spacing: 0px;
    font-style: normal;
    background-size: 20px;
}

.need-help-all:hover {
    background-color: #ed1c24;
}

.contact-info-single .contact-info-text a:hover {
    color: #ed1c24;
}

.Conditions4 li a:hover {
    color: #ed1c24;
}

.recent-post-content a:hover {
    color: #ed1c24;
}

.search-button button:hover {
    background-color: #ed1c24;
}

.contact-hadding a:hover {
    color: #ed1c24;
}

.case6-learn:hover {
    color: #ed1c24;
}

.need-help {
    position: relative;
    border: 2px solid #ddd;
}


.need-help-img img {
    width: 100%;
    display: block;
}

.need-help-all {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #241b64;
    color: #fff;
    padding: 20px;
    width: 280px;
}

.need-border {
    height: 1px;
    background: #fff;
    margin: 10px 0;
}

.coll-help {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coll-help-icon {
    background: #fff;
    color: #241b64;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coll-help-text a {
    color: #fff;
    text-decoration: none;
}


/* ================= TRAINING CARD (Standard + Attractive Hover) ================= */
.tcard {
    background: #ffffff;
    border: 1px solid rgba(16, 24, 40, .08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(16, 24, 40, .08);
    height: 100%;
    display: flex;
    flex-direction: column;

    /* standard transition */
    transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
    will-change: transform;
}

.tcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(16, 24, 40, .14);
    border-color: rgba(16, 24, 40, .12);
}

.tcard__media {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #0b1220;
}

.tcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    /* smoother zoom */
    transform: scale(1.02);
    transition: transform .35s ease, filter .35s ease;
    filter: contrast(1.02) saturate(1.05);
}

.tcard:hover .tcard__media img {
    transform: scale(1.06);
    filter: contrast(1.03) saturate(1.10);
}

/* overlay: subtle reveal */
.tcard__overlay {
    position: absolute;
    inset: auto 14px 14px 14px;
    padding: 12px 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .30));
    backdrop-filter: blur(6px);
    color: #fff;
    transition: transform .28s ease, opacity .28s ease;
    opacity: .96;
}

.tcard:hover .tcard__overlay {
    transform: translateY(-2px);
    opacity: 1;
}

.tcard__overlayTitle {
    font-weight: 900;
    letter-spacing: .2px;
    font-size: 16px;
    line-height: 1.2;
}

.tcard__overlaySub {
    margin-top: 4px;
    font-weight: 700;
    font-size: 12px;
    opacity: .88;
}

/* ribbon */
.tcard__ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .6px;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .15);
    transition: transform .22s ease;
}

.tcard:hover .tcard__ribbon {
    transform: translateY(-1px);
}

.tcard__ribbon.is-online {
    background: linear-gradient(135deg, #2dd4bf, #0ea5e9);
}

.tcard__ribbon.is-offline {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

/* body */
.tcard__body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.tcard__title a {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin: 0;
}

.tcard__title a:hover {
    color: #d2232c;

}

.tcard__desc {
    margin: 0;
    color: #616976;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    transition: all.3s;
}

/* meta pills */
.tcard__meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tmeta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .08);
    color: #000;
    font-weight: bold;
    font-size: 12px;
    transition: background .2s ease, transform .2s ease;
}

.tcard:hover .tmeta {
    background: #f1f5ff;
}

.tmeta i {
    opacity: .9;
}

/* price box */
.tcard__priceBox {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 0;
    border-radius: 0;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, .10);
    transition: border-color .22s ease;
}

.tcard:hover .tcard__priceBox {
    border-color: rgba(37, 99, 235, .18);
}

.tprice {
    text-align: center;
    padding: 0;
    border-radius: 0;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .06);
    transition: transform .2s ease;
}

.tprice--mid {
    background: #f1f5ff;
    border: 1px solid rgba(37, 99, 235, .18);
}

.tcard:hover .tprice {
    transform: translateY(-1px);
}

.tprice__label {
    font-size: 11px;
    font-weight: 900;
    color: #64748b;
    margin-bottom: -8px;
}

.tprice__val {
    font-size: 13px;
    font-weight: 900;
    color: #000;
}

/* buttons */
.tbtn {
    width: 100%;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tbtn:active {
    transform: translateY(1px);
}

.tbtn--outline {
    background: #ffffff;
    border-color: rgba(15, 23, 42, .16);
    color: #0f172a !important;
}

.tbtn--outline:hover {
    background: #f8fafc;
    border-color: rgba(37, 99, 235, .25);
}

/* primary (Enroll) */
.tbtn--primary {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(220, 38, 38, .22);
}

.tbtn--primary:hover {
    box-shadow: 0 16px 30px rgba(220, 38, 38, .28);
    transform: translateY(-1px);
}

.tbtn.is-disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

/* responsive */
@media (max-width: 991px) {
    .tcard__media {
        height: 190px;
    }

    .tcard__priceBox {
        grid-template-columns: 1fr;
    }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {

    .tcard,
    .tcard * {
        transition: none !important;
        animation: none !important;
    }
}

/* ================= TRAINING Page ================= */
/* ===== Standard Light UI (Balanced Contrast) ===== */
:root {
    --nx-bg: #f6f8fc;
    --nx-card: #ffffff;
    --nx-border: rgba(15, 23, 42, .10);
    --nx-text: #0f172a;
    --nx-muted: #64748b;
    --nx-soft: #f1f5f9;
    --nx-soft2: #eef2ff;
    --nx-focus: rgba(37, 99, 235, .16);

    --nx-bkash: #e2136e;
    --nx-bkash-dark: #c91060;
    --nx-danger: #ef4444;
}

.enroll-wrap {
    padding: 42px 0;
    background: var(--nx-bg);
}

.enroll-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
    align-items: start;
}

@media(max-width: 991px) {
    .enroll-grid {
        grid-template-columns: 1fr;
    }
}

/* Card */
.cardx {
    border-radius: 16px;
    background: var(--nx-card);
    border: 1px solid var(--nx-border);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .06);
}

.cardx-h {
    padding: 16px 18px;
    background: linear-gradient(180deg, rgba(37, 99, 235, .08) 0%, rgba(37, 99, 235, 0) 100%);
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cardx-h h3 {
    margin: 0;
    color: var(--nx-text);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .2px;
}

.cardx-b {
    padding: 16px 18px 18px;
}

/* Form */
.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media(max-width: 600px) {
    .row2 {
        grid-template-columns: 1fr;
    }
}

.field {
    margin-bottom: 12px;
}

.field label {
    display: block;
    color: var(--nx-text);
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 6px;
}

.field input,
.field textarea {
    width: 100%;
    border-radius: 12px;
    padding: 12px 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .14);
    color: var(--nx-text);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 0 0 4px var(--nx-focus);
    background: #fff;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(100, 116, 139, .85);
    font-weight: 700;
}

/* Summary meta */
.meta {
    display: grid;
    gap: 10px;
}

.meta .r {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--nx-muted);
    font-weight: 900;
    font-size: 13px;
}

.meta .r span {
    color: var(--nx-text);
    font-weight: 900;
    text-align: right;
    max-width: 58%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.divider {
    height: 1px;
    background: rgba(15, 23, 42, .10);
    margin: 14px 0;
}

/* Buttons */
.btnx {
    height: 46px;
    border-radius: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
    cursor: pointer;
}

.btnx:active {
    transform: translateY(1px);
}

.btnx-bkash {
    background: linear-gradient(135deg, var(--nx-bkash), #ff3b8c);
    color: #fff;
    box-shadow: 0 14px 28px rgba(226, 19, 110, .18);
}

.btnx-bkash:hover {
    background: linear-gradient(135deg, var(--nx-bkash-dark), #ff2f82);
    box-shadow: 0 18px 36px rgba(226, 19, 110, .22);
    transform: translateY(-1px);
}

.btnx-outline {
    background: #fff;
    color: var(--nx-text);
    border-color: rgba(15, 23, 42, .16);
    text-decoration: none !important;
}

.btnx-outline:hover {
    background: var(--nx-soft);
    border-color: rgba(37, 99, 235, .25);
    transform: translateY(-1px);
}

.btnx-dis {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

.note {
    margin-top: 10px;
    color: var(--nx-muted);
    font-weight: 800;
    font-size: 13px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(239, 68, 68, .08);
    border: 1px solid rgba(239, 68, 68, .18);
}

/* Error alert */
.alertx {
    margin-bottom: 12px;
    color: var(--nx-text);
    background: rgba(239, 68, 68, .08);
    border: 1px solid rgba(239, 68, 68, .18);
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 900;
}

/* Small helper tag */
.pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 950;
    font-size: 12px;
    background: var(--nx-soft2);
    border: 1px solid rgba(99, 102, 241, .16);
    color: #1e1b4b;
}