.header-style1 .logo-header-inner img {
    max-width: 150px;
    max-height: 100%;
}

.header-style1 .main-bar .container.header-nav-wide {
    max-width: 100%;
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
}

@media (min-width: 992px) {
    .header-style1 .main-bar .container.header-nav-wide {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        min-height: 72px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .header-style1 .main-bar .container.header-nav-wide::after {
        display: none;
    }

    .header-style1 .logo-header {
        float: none;
        display: flex;
        align-items: center;
        height: auto;
        width: auto;
        flex: 0 0 auto;
    }

    .header-style1 .logo-header-inner {
        display: flex;
        align-items: center;
        height: auto;
    }

    .header-style1 .header-nav.navbar-collapse {
        display: flex !important;
        float: none;
        flex: 1 1 auto;
        width: auto;
        max-width: none;
        align-items: center;
        justify-content: flex-end;
    }

    .header-style1 .header-nav .nav.header-menu-row {
        float: none;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
        margin: 0;
    }

    .header-style1 .header-nav .nav.header-menu-row > li {
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
    }

    .header-style1 .header-nav .nav.header-menu-row > li > a {
        display: inline-flex;
        align-items: center;
        padding: 0 11px;
        font-size: 13px;
        line-height: 1.2;
        margin: 0;
        white-space: nowrap;
        height: 72px;
    }

    .header-style1 .extra-nav {
        float: none;
        display: flex;
        align-items: center;
        height: auto;
        margin-left: 12px;
        flex: 0 0 auto;
    }

    .header-style1 .extra-nav .sx-bnr-readmore,
    .header-style1 .extra-nav .site-button.sx-btn-primary {
        display: inline-flex;
        align-items: center;
        font-size: 13px;
        white-space: nowrap;
        line-height: 1.2;
    }
}

.header-style1 .header-nav .nav>li>a {
    font-size: 15px;
}

.right-btn {
    width: 30px;
    height: 30px;
    background-color: #0f4bb9;
    border-radius: 50%;
    padding: 7px;
    color: #fff;
}

.quote-btn {
    font-family: var(--common-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-transform: capitalize;
    color: var(--secondary-light);
    border-radius: 100px;
    padding: 7px 20px;
    display: inline-flex;
    align-items: center;
    background-color: none;
    border: 1px solid #333;

}

.owl-carousel .owl-dots .owl-dot.active {
    background-color: #005495;
}

.site-button.sx-btn-primary {
    background-color: #fff;
    color: #000;
    border: 1px solid #d5d5d5;
}

.quote-border {
    padding: 7px 10px;
}

.sx-bnr-1-wrap-outer .sx-bnr-1-wrap .site-button {
    display: inline-flex;
    padding: 10px 15px;
    margin-right: 50px;
}

.title-heading p {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: #fff;
    font-weight: 500;
    font-size: 18px;
}

.sx-icon-bx-4 p {
    margin-bottom: 25px;
    color: #000;
    font-weight: 500;
}

.sx-icon-bx-4 .sx-tilte {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 14px;
    color: #053c66;
}

a {
    color: #09345e;
    outline: 0 none;
    text-decoration: none;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
    color: #005495;
}

.sx-bg-primary {
    background-color: #ededed;
}

.bg-gradient {
    background: linear-gradient(75deg, #30c9f4, #015798) !important;
}

.bg-blogs {
    background-color: #f3f3f3;
}

.sx-latest-post-st-1 .sx-post-title .post-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.sx-latest-post-st-1 .sx-post-title {
    margin-bottom: 10px;
}

.owl-carousel .item-video {
    height: 300px;
}

.item-video {
    border-radius: 10px;
}

.logo-footer a {
    width: 175px;
    display: block;
}

.sx-f-social {
    float: right;
}

.footer-dark.site-footer {
    background-color: #053e6a;
}

.sx-f-bottom-section {
    margin: 0px;
}

.sx-f-bottom-section {
    background: #003156;
}

.sx-f-social ul li a {
    color: #0070c7;
}

.sx-f-nl-section .row .sx-f-title {
    font-weight: 600;
    font-size: 26px;
}

.contact {
    font-size: 46px;
    padding-top: 15px;
}

.profile-image {
    border-radius: 10px;
}

.img-br {
    border-radius: 10px;
}

.video-call {
    border-radius: 10px;
}


.card{
    border-radius: 0px;
}

/*.carousel-left{
    margin-left: 370px;
}*/

.sx-icon-box-wraper{
    height: 300px;
}


.sx-bnr-inr {
    height: 272px;
}

.sx-bnr-inr-entry .banner-title-outer h2 {
    font-size: 36px;
}

.sx-breadcrumb{
    padding: 18px 20px;
}

.comment-respond {
    background-color: #efefef;
}

.contact-info .section-head .sx-head-l-title .sx-title {
    font-size: 27px;
}

.ht-simple-job-listing .item {
    border-radius: 5px;
    padding: 33px 50px 36px;
}
.ht-simple-job-listing .item:nth-child(2n) {
    background: #f6f2ed;
}

.sx-btn-lg {
    padding: 10px 20px;
}

@media only screen and (max-width: 1024px) {
    .carousel-left{
        margin-left: 0px;
    }
  }





  
/*_______________________by Shashank___________________________*/

body {
    font-family: "Ubuntu", sans-serif;
}

.s-over-layer {
    position: absolute;
    background-image: linear-gradient(327deg, #080808 0%, #16151500 100%);
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
    border-radius: 10px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #abe0f9;
    background-color: #00549552;
    width: 48px;
    height: 48px;
    border-radius: 53%;
    transition: var(--transition);
}

.sx-bnr-1-wrap-outer .sx-bnr-1-info {
    font-size: 18px;
}

.section-head .sx-head-l-title .sx-title {
    font-size: 40px;
}

.sx-bnr-1-wrap-outer .sx-bnr-1-large-title {

    font-size: 48px;

}

.sx-bnr-1-wrap-outer .swiper-slide {
    min-height: 600px;
    ;
}

.q-product-icon {
    height: 80px;
    width: auto !important
}

.sx-icon-bx-4 .sx-tilte {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #053c66;
    line-height: 1.2;
    height: 43px;
}

.sx-icon-bx-4 .sx-icon-bx-icon {
    text-align: left;
    margin-bottom: 4px;
}

.sx-icon-bx-4 p {
    margin-bottom: 12px;
    color: #000;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s-pro-tilte {
    color: #003156;
}


.carousel-control-prev {
    left: -100px;
}

.carousel-control-next {
    right: -100px;
}

.ytp-large-play-button {
    visibility: hidden !important;
}

.contact-footer {
    background-image: url(/images/Quaere_services/Footer_contact.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sx-f-nl-section {
    background-color: #291f3b;
    padding: 43px 0px 43px 0px;
}




@media only screen and (max-width: 1024px) {
    .carousel-left {
        margin-left: 0px;
    }

    iframe.iframe-video {
        width: 306px;
    }
}

@media only screen and (max-width: 460px) {
    .sx-bnr-1-wrap-outer .sx-bnr-1-large-title {
        font-size: 20px;
    }

    .sx-bnr-1-wrap-outer .sx-bnr-1-large-title {
        font-size: 20px;
    }

    .sx-bnr-1-wrap-outer .sx-bnr-1-wrap .site-button {

        margin-right: 10px;
    }

    .right-btn {

        padding: 10px;

    }

    .site-button.sx-btn-primary {
        background-color: #fff;
        color: #000;
        border: 1px solid #d5d5d5;
        padding-left: 10px;
        line-height: 1;
    }

    .quote-border {
        padding: 2px 1px;
    }

    .contact {
        font-size: 25px;
        padding-top: 0px;
    }

    .sx-f-nl-section .row .sx-f-title {
        font-weight: 400;
        font-size: 19px;
        margin-bottom: 9px;
    }

    .carousel-indicators {
        margin-bottom: -2rem;

    }


    .sx-bnr-1-wrap-outer .swiper-slide {
    min-height: 140px;
}

.sx-bnr-1-wrap-outer .sx-bnr-1-info {
    font-size: 13px;
}

.section-head p {
    font-size: 13px!important;
}

}

/*09-07-2024*/

.recent-posts-entry .post-date {
    color: #262626;
}

.comment-form .form-submit input:active, .comment-form .form-submit input:focus, .comment-form .form-submit input:hover {
    background: #ffffff;
}

input.site-button.sx-btn-primary.icon.quote-border {
    padding: 10px 20px;
}

.widget_about-call-section {
    margin-top: 0px;
}   


.side-bar .widget .widget-title:before {
   display: none;
}

.side-bar .widget .widget-title {
    position: relative;
    padding-left: 0px;
    }

    .widget .post-title {
    margin: 1px 0px 5px 0px;
}

.widget .widget-post img {
    width: 100%;
    height: 70px;
}

a.capital {
    text-transform: capitalize;
}

.section-head p {
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 16px;
}

.recent-posts-entry .widget-post:last-child{
    padding-bottom: 10px;
}



@media screen and (min-width: 1024px) and (max-width: 1440px) { 
    .sx-icon-box-wraper {
    height: 311px;
}
    }



@media only screen and (max-width: 575px) {
    .sx-bnr-1-wrap-outer .sx-bnr-1-content {
        margin: 20px 50px;
        text-align: center;
    }
}


/*05-08-2024*/


button.owl-prev {
    float: left;
    margin-left: -58px;
    margin-top: -241px;
}


.owl-carousel .owl-nav button.owl-prev {
    width: 50px!important;
    height: 50px!important;
}


.owl-carousel .owl-nav button.owl-next {
    width: 50px;
    height: 50px;
/*    display: none;*/
}

h4.main-title {
        font-size: 16px !important;
    font-weight: 500 !important;
    color: #062c70;
}



/* width */
::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #fff;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #0f4bb9;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #1f89bb;
}


button.owl-next {
    float: right;
    margin-right: -58px;
    margin-top: -241px;
}

.training-radio-group .form-check,
.training-checkbox-group .form-check {
    margin-bottom: 8px;
}

/* Training Registration - Premium Container UI */
.training-form-page {
    --tf-ink: #06243c;
    --tf-blue: #0b4f8a;
    --tf-accent: #1a7ac4;
    --tf-sky: #e8f3fc;
    --tf-line: rgba(11, 79, 138, 0.12);
    font-family: "Outfit", "Ubuntu", system-ui, sans-serif;
    background:
        radial-gradient(ellipse 80% 50% at 10% -10%, rgba(26, 122, 196, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(6, 36, 60, 0.1), transparent 50%),
        linear-gradient(165deg, #eef5fb 0%, #f7fafc 42%, #eaf2f8 100%);
    padding: 40px 0 56px !important;
    margin: 0;
    min-height: calc(100vh - 80px);
}

.page-content:has(.training-form-page) {
    padding: 0;
    margin: 0;
    background: transparent;
}

.training-form-page .comment-respond {
    background-color: transparent !important;
}

.training-form-container-wrap {
    max-width: 1100px;
}

.training-form-shell {
    background: #fff;
    border: 1px solid var(--tf-line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 8px 24px rgba(6, 36, 60, 0.06),
        0 28px 64px rgba(6, 36, 60, 0.1);
    animation: tfShellIn 0.55s ease both;
}

@keyframes tfShellIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.training-form-hero {
    position: relative;
    background:
        linear-gradient(125deg, #041e33 0%, #0a3d6b 48%, #1565a8 100%);
    padding: 32px 36px 28px;
    color: #fff;
    overflow: hidden;
}

.training-form-hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto auto;
    width: 420px;
    height: 420px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.16), transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(26, 122, 196, 0.35), transparent 60%);
    pointer-events: none;
    animation: tfOrb 12s ease-in-out infinite alternate;
}

.training-form-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
    pointer-events: none;
}

@keyframes tfOrb {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-24px, 16px) scale(1.08); }
}

.training-form-hero-inner {
    position: relative;
    z-index: 1;
}

.training-form-hero-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.training-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.training-form-fee-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--tf-ink);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.training-form-brand {
    margin: 0 0 6px !important;
    font-size: clamp(28px, 4.5vw, 40px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.6px;
    line-height: 1.1 !important;
    color: #fff !important;
    max-width: none !important;
}

.training-form-hero h2 {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.training-form-hero > .training-form-hero-inner > p:not(.training-form-brand) {
    color: rgba(255, 255, 255, 0.86);
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.55;
    max-width: 560px;
    font-weight: 400;
}

.training-form-hero .required {
    color: #ffcdd2;
}

.training-form-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.training-step {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.training-step.is-active {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.training-step.is-done {
    background: rgba(72, 187, 120, 0.25);
    border-color: rgba(72, 187, 120, 0.55);
}

.training-step span {
    width: 22px;
    height: 22px;
    background: #fff;
    color: #0a3d6b;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.training-form-body {
    padding: 28px 30px 32px;
    background: linear-gradient(180deg, #f6fafd 0%, #ffffff 28%);
}

.training-form-alert {
    border-radius: 12px;
    margin: 0 0 18px;
    border: 1px solid #f5c2c7;
}

.training-form-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.training-form-container.comment-respond {
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.training-section-card {
    background: #fff;
    border: 1px solid var(--tf-line);
    border-radius: 16px;
    padding: 22px 24px 24px;
    margin-bottom: 0;
    box-shadow: 0 2px 10px rgba(6, 36, 60, 0.03);
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    display: block;
    clear: both;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.training-section-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #0a3d6b, #1a7ac4);
    opacity: 0.85;
}

.training-section-card:hover {
    border-color: rgba(26, 122, 196, 0.28);
    box-shadow: 0 10px 28px rgba(6, 36, 60, 0.08);
}

.training-form-easy > .training-section-card {
    animation: tfCardIn 0.5s ease both;
}

.training-form-easy > .training-section-card:nth-child(1) { animation-delay: 0.05s; }
.training-form-easy > .training-section-card:nth-child(2) { animation-delay: 0.12s; }
.training-form-easy > .training-section-card:nth-child(3) { animation-delay: 0.19s; }
.training-form-easy > .training-section-card:nth-child(4) { animation-delay: 0.26s; }
.training-form-easy > .training-section-card:nth-child(5) { animation-delay: 0.33s; }
.training-form-easy > .training-form-footer { animation: tfCardIn 0.5s ease 0.4s both; }

@keyframes tfCardIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.training-form-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.training-form-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 20px;
    padding: 0 0 16px;
    border-bottom: 1px solid #eef3f8;
    position: relative;
    z-index: 1;
}

.training-form-panel-copy {
    flex: 1;
    min-width: 0;
}

.training-section-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tf-accent);
    margin-bottom: 4px;
}

.training-form-panel-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(145deg, #0a3d6b, #1a7ac4);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(26, 122, 196, 0.28);
}

.training-form-panel-head h3 {
    color: var(--tf-ink);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 3px;
    letter-spacing: -0.25px;
}

.training-section-desc {
    margin: 0;
    font-size: 13px;
    color: #5f7388;
    line-height: 1.45;
}

.training-cascade-rail {
    display: none;
    gap: 5px;
    align-items: center;
    margin-left: auto;
    padding-top: 6px;
}

@media (min-width: 768px) {
    .training-cascade-rail {
        display: flex;
    }
}

.training-cascade-rail span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c5d8ea;
    position: relative;
}

.training-cascade-rail span:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 3px;
    width: 10px;
    height: 2px;
    background: #c5d8ea;
}

.training-cascade-rail span:nth-child(1) { background: #1a7ac4; }
.training-cascade-rail span:nth-child(1)::after { background: #1a7ac4; }
.training-cascade-rail span:nth-child(2) { background: #3d8fc9; }
.training-cascade-rail span:nth-child(2)::after { background: #3d8fc9; }

.training-form-easy {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.training-section-card .row > [class*="col-"] {
    margin-bottom: 10px;
}

.training-details-row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
    align-items: stretch;
}

.training-details-row > [class*="col-"] {
    display: flex;
    margin-bottom: 0;
}

.training-details-row .training-form-field {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.training-details-row .training-form-field > label {
    min-height: 20px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.training-details-row .training-select,
.training-details-row .training-inline-options {
    width: 100%;
}

.training-form-field {
    margin-bottom: 0;
}

.training-form-field > label {
    display: block;
    font-weight: 600;
    color: #1a2d3f;
    margin-bottom: 7px;
    font-size: 13px;
}

.training-form-field .required {
    color: #d93025;
}

.training-input-wrap {
    position: relative;
}

.training-input-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #1a7ac4;
    font-size: 14px;
    z-index: 2;
}

.training-input-wrap .form-control {
    padding-left: 36px;
    min-height: 36px;
    border: 1px solid #d8dee8;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.training-input-wrap .form-control:focus {
    border-color: #1a7ac4;
    box-shadow: 0 0 0 4px rgba(26, 122, 196, 0.14);
}

.training-option-grid {
    display: grid;
    gap: 6px;
}

.training-option-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.training-option-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.training-option-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.training-option-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.training-option-stack-compact .training-option-card {
    min-height: 34px;
    padding: 6px 10px;
}

.training-option-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid #e3e8ef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    background: #fff;
    min-height: 34px;
}

.training-option-card:hover {
    border-color: #1a7ac4;
    background: #f5faff;
}

.training-option-card.is-selected {
    border-color: #1a7ac4;
    background: #eaf4fc;
    box-shadow: 0 2px 8px rgba(26, 122, 196, 0.12);
}

.training-option-card input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #1a7ac4;
}

.training-option-card span {
    font-size: 13px;
    line-height: 1.35;
    color: #202124;
    font-weight: 500;
}

.training-option-card-sm {
    min-height: 34px;
    padding: 6px 10px;
}

.training-option-card-check.is-selected span {
    color: #0a3d6b;
}

.training-form-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
    padding: 18px 22px;
    margin-top: 4px;
    background: linear-gradient(135deg, #0a3d6b 0%, #1565a8 100%);
    border: none;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(10, 61, 107, 0.28);
}

.training-form-footer .site-button {
    background: #fff !important;
    color: #0a3d6b !important;
    border: none !important;
    padding: 14px 28px !important;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    min-width: 220px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.training-form-footer .site-button:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.training-btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 150px;
}

.training-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: #fff;
}

.training-form-field.has-error .training-input-wrap .form-control,
.training-form-field.has-error .training-option-card,
.training-form-field.has-error .training-select,
.training-form-field.has-error .training-input {
    border-color: #e57373 !important;
}

.training-form-field .error-message {
    color: #d93025;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.training-form-field .error-message:empty {
    display: none;
}

@media (max-width: 1199px) {
    .training-option-grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .training-option-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .training-form-page {
        padding: 24px 0 36px !important;
    }

    .training-form-hero {
        padding: 24px 20px 20px;
    }

    .training-form-body {
        padding: 18px 16px 20px;
    }

    .training-section-card {
        padding: 18px 16px 20px;
    }

    .training-form-easy {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .training-form-brand {
        font-size: 26px !important;
    }

    .training-form-hero h2 {
        font-size: 16px;
    }

    .training-form-steps {
        width: 100%;
    }

    .training-step {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
        font-size: 11px;
        padding: 5px 10px;
    }

    .training-option-grid-2,
    .training-option-grid-3,
    .training-option-grid-4 {
        grid-template-columns: 1fr;
    }

    .training-form-footer {
        flex-direction: column;
    }

    .training-form-footer .site-button,
    .training-btn-secondary {
        width: 100%;
        min-width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    .training-form-page {
        padding: 16px 0 24px !important;
    }

    .training-form-shell {
        border-radius: 14px;
    }

    .training-form-body {
        padding: 14px 12px 16px;
    }

    .training-section-card {
        padding: 16px 14px 18px;
        border-radius: 12px;
    }

    .training-form-easy {
        gap: 14px;
    }

    .training-form-panel-head {
        margin-bottom: 14px;
        padding-bottom: 12px;
    }

    .training-inline-options {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .training-inline-option {
        width: auto;
        flex: 1 1 0;
    }
}

/* Easy-fill form controls */
.training-form-easy .training-input,
.training-form-easy .training-select {
    width: 100%;
    height: 46px;
    min-height: 46px;
    border: 1.5px solid #d3e0ec;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
    background: #f8fbfe;
    color: var(--tf-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    appearance: none;
    line-height: 1.25;
    box-sizing: border-box;
}

.training-form-easy .training-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230a3d6b' d='M1.4 0.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.training-form-easy .training-input:hover,
.training-form-easy .training-select:hover {
    border-color: #9cbddc;
    background: #fff;
}

.training-form-easy .training-input:focus,
.training-form-easy .training-select:focus {
    border-color: #1a7ac4;
    box-shadow: 0 0 0 4px rgba(26, 122, 196, 0.14);
    background: #fff;
    outline: none;
}

.training-form-easy .training-select:disabled,
.training-form-easy .training-input:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background: #eef3f7;
}

.training-form-easy .training-form-field {
    margin-bottom: 0;
}

.training-form-easy > .training-form-footer {
    margin-top: 6px;
}

.training-inline-options {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    align-items: stretch;
}

.training-inline-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 0;
    min-width: 0;
    height: 46px;
    min-height: 46px;
    padding: 0 10px;
    border: 1.5px solid #d3e0ec;
    border-radius: 11px;
    background: #f8fbfe;
    cursor: pointer;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.training-inline-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.training-inline-option span {
    white-space: nowrap;
}

.training-inline-option:hover {
    border-color: #1a7ac4;
    background: #f0f7fd;
}

.training-inline-option.is-selected {
    border-color: #1a7ac4;
    background: linear-gradient(135deg, #e7f3fc 0%, #f3f9fd 100%);
    color: #0a3d6b;
    box-shadow: 0 4px 14px rgba(26, 122, 196, 0.16);
}

.training-payment-panel {
    background: linear-gradient(145deg, #f7fbfe 0%, #eef6fc 100%);
    border-color: rgba(26, 122, 196, 0.2);
}

.training-payment-summary {
    background: #fff;
    border: 1px solid #d7e6f4;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 16px;
    max-width: 100%;
    box-shadow: 0 4px 14px rgba(6, 36, 60, 0.04);
}

.training-payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    font-size: 14px;
    color: #4a5568;
}

.training-payment-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 2px solid #e4eef8;
    font-size: 16px;
    color: var(--tf-ink);
    font-weight: 600;
}

.training-payment-total strong {
    color: #0a3d6b;
    font-size: 24px;
    font-weight: 800;
}

.training-gateway-note {
    margin-top: 4px;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px dashed #b9d2e8;
    color: #4a6178;
    font-size: 13px;
    line-height: 1.6;
}

.training-gateway-note p {
    margin: 0 0 6px;
}

.training-gateway-note p:last-child {
    margin-bottom: 0;
}

.training-result-card {
    background: #fff;
    border: 1px solid #e4eef8;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(6, 36, 60, 0.04);
}

.training-result-meta {
    display: grid;
    gap: 10px;
    text-align: left;
    max-width: 420px;
    margin: 0 auto 20px;
    padding: 16px 18px;
    background: #f7fbfe;
    border: 1px solid #e4eef8;
    border-radius: 12px;
}

.training-result-meta p {
    margin: 0;
    font-size: 14px;
    color: #334155;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.training-result-meta strong {
    color: #0a3d6b;
    font-weight: 600;
}

.training-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.training-result-actions .site-button {
    background: linear-gradient(135deg, #0a3d6b, #1565a8) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 22px !important;
    font-weight: 700;
}

.training-result-actions .training-btn-secondary {
    color: #0a3d6b;
    border-color: #b9d2e8;
    background: #fff;
}

.training-result-actions .training-btn-secondary:hover {
    background: #f0f7fd;
    color: #0a3d6b;
    border-color: #1a7ac4;
}

.training-form-hero.is-failed {
    background: linear-gradient(125deg, #3b1218 0%, #7f1d1d 48%, #b91c1c 100%);
}

.training-qr-box {
    background: #fff;
    border: 1px solid #dce8f8;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(5, 60, 102, 0.06);
    height: 100%;
}

.training-qr-title {
    font-weight: 700;
    color: #053c66;
    margin: 0 0 12px;
    font-size: 15px;
}

.training-qr-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid #eef4fc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.training-qr-merchant {
    font-size: 11px;
    font-weight: 700;
    color: #053c66;
    margin: 12px 0 8px;
    line-height: 1.35;
    letter-spacing: 0.2px;
}

.training-upi-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.training-upi-wrap code {
    font-size: 10px;
    word-break: break-all;
    background: #f0f5fc;
    padding: 8px 10px;
    border-radius: 6px;
    color: #333;
    border: 1px solid #dce8f8;
}

.training-copy-btn {
    border: none;
    background: linear-gradient(135deg, #053c66, #0f4bb9);
    color: #fff;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.training-copy-btn:hover {
    opacity: 0.9;
}

.training-qr-note {
    font-size: 12px;
    color: #6b7a90;
    margin: 0;
    line-height: 1.5;
}

.training-file-upload {
    background: #fff;
    border: 2px dashed #b8cce8;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.training-file-upload:hover {
    border-color: #0f4bb9;
    background: #f8fbff;
}

.training-file-hint {
    font-size: 12px;
    color: #777;
    margin: 6px 0 0;
}

.training-file-name {
    font-size: 13px;
    color: #053c66;
    font-weight: 600;
    margin: 6px 0 0;
}

.training-form-field.has-error .training-input,
.training-form-field.has-error .training-select,
.training-form-field.has-error .training-inline-option {
    border-color: #e57373;
}

/* Legal / policy pages */
.legal-page-content {
    max-width: 900px;
    margin: 0 auto;
    color: #334155;
    line-height: 1.75;
    font-size: 15px;
}

.legal-page-content h3 {
    color: #053c66;
    font-size: 18px;
    font-weight: 700;
    margin: 28px 0 10px;
}

.legal-page-content p {
    margin-bottom: 14px;
}

.legal-page-content ul {
    margin: 0 0 16px 1.25rem;
    padding: 0;
}

.legal-page-content li {
    margin-bottom: 8px;
}

.legal-page-content a {
    color: #0f4bb9;
    text-decoration: underline;
}

.legal-updated {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px !important;
}

.sx-f-legal-links {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.sx-f-legal-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.sx-f-legal-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.sx-f-legal-sep {
    color: rgba(255, 255, 255, 0.45);
    margin: 0 8px;
}

@media (max-width: 767px) {
    .sx-f-legal-links {
        margin-top: 12px;
    }

    .sx-f-legal-sep {
        display: none;
    }

    .sx-f-legal-links a {
        display: block;
        margin-bottom: 4px;
    }
}
