:root {
  --mt-yellow: #ffcf33;
  --mt-dark: #111111;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
}


/* Services section */

/* HERO SECTION */
.services-hero {
    background-image: url('https://moontriam.com/services1/s15.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    color: #fff;
    font-family: "DM Sans", sans-serif;
    padding-left: 20px;
    padding-right: 20px;
}

/* TITLE */
.services-title {
    font-size: 72px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #FFFFFF;
}

/* SUBTITLE */
.services-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    max-width: 850px;
    margin-bottom: 0;
}

/* SECOND BLACK SECTION */
.services-black {
    background: #111;
    color: #fff;
}

.services-black-title {
    font-size: 48px;
    font-weight: 600;
    font-family: "DM Sans";
    line-height: 1.4;
    max-width: 1000px;
    margin: auto;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .services-title {
        font-size: 48px;
    }
    .services-subtitle {
        font-size: 18px;
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .services-hero {
        height: 55vh;
        text-align: center;
    }
    .services-title {
        font-size: 36px;
    }
    .services-subtitle {
        font-size: 16px;
    }
    .services-black-title {
        font-size: 28px;
    }
}

/* AML Section */

.aml-box {
    border: 2px solid #ffcf33;
    border-radius: 14px;
    padding: 40px;
    position: relative;
    background: #fff;
}


.aml-box-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.aml-box-list li img.icon {
    width: 20px;
    flex-shrink: 0;  /* icon fixed, kabhi compress nahi होगा */
    margin-top: 3px; /* text ke top se align */
}

.aml-box-list li span {
    display: block;
    flex: 1;
    line-height: 1.4;
}

@media (max-width: 576px) {

    .aml-box-list li {
        justify-content: flex-start !important; /* center mat karna */
        text-align: left !important;            /* text left aligned */
        align-items: flex-start !important;     /* icon top aligned */
    }

    .aml-box-list li img.icon {
        margin-top: 4px !important;             /* perfect alignment */
    }

    .aml-box-list li span {
        text-align: left !important;
    }
}


.aml-box:hover .aml-underline {
    background-color: #000 !important;
    transition: background-color 0.35s ease;
}

/* Image Yellow Background */
.aml-yellow-bg {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 85%;
    height: 85%;
    background: #ffcf33;
    border-radius: 12px;
    z-index: 1;
}


.aml-arrow {
    transition: filter 0.3s ease;
}

.aml-arrow-btn:hover .aml-arrow {
    filter: brightness(0) invert(68%) sepia(95%) saturate(600%) hue-rotate(1deg);
}

/* Main Image */
.aml-box-img {
    position: relative;
    border-radius: 12px;
    /* z-index: 2; */
}

/* Title */
.aml-box-title {
    font-size: 40px;
    font-weight: 500;
    font-family: "DM Sans";
}

/* Text */
.aml-box-text {
    font-size: 16px;
    font-family: "DM Sans";
    color: #333;
    font-weight: 400;
}

/* Yellow Underline */
.aml-underline {
    height: 1px;
    min-width: 100%;
    background: #ffcf33;
}

/* Bullet List */
.aml-box-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aml-box-list li {
    font-size: 15px;
    font-family: "DM Sans";
    color: #000;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* Icon */
.icon {
    width: 20px;
    color: black;
}

/* Bottom Right Arrow Button */
.aml-arrow-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #ffcf33;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.aml-arrow-btn:hover{

    background: #fff;

}

/* RESPONSIVE */
@media (max-width: 992px) {

    .aml-box {
        padding: 25px;
    }

    .aml-yellow-bg {
        width: 90%;
        height: 90%;
        left: 15px;
        top: 15px;
    }

    .aml-box-title {
        text-align: center;
        font-size: 28px;
    }

    .aml-box-text {
        text-align: center;
    }

    .aml-underline {
        margin-left: auto;
        margin-right: auto;
    }

    .aml-box-list li {
        justify-content: center;
        text-align: center;
    }

    .aml-arrow-btn {
        width: 40px;
        height: 40px;
    }

}

@media (max-width: 576px) {

    .aml-box-title {
        font-size: 24px;
    }

    .aml-underline {
        width: 200px;
    }

    
     .aml-box-list li {
        align-items: flex-start !important; /* icon top-align */
        text-align: left !important;
    }

    .aml-box-list .icon {
        margin-top: 3px !important; /* slight adjust */
    }
   

     .aml-arrow-btn {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 20px 0 0 auto !important;
        display: flex;
        justify-content: center;
    }

}
/* Wrap image so they stack */
.aml-image-wrapper {
    position: relative;
}

.img-main,
.img-hover {
    position: absolute;
    top: 0;
    left: 0;    
    /* width: 100%;
    border-radius: 12px; */
    /* transition: opacity 0.35s ease; */
}

/* Default */
.img-main { opacity: 1; }
.img-hover { opacity: 0; }

/* Hover → swap images */
.aml-box:hover .img-main {
    opacity: 0;
}
.aml-box:hover .img-hover {
    opacity: 1;
}

/* Hover background change ONLY */
.aml-box:hover {
    background-color: #ffcf33 !important;
    transition: background-color 0.35s ease;
}



/* change aml-icon color */

/* by default image original */
.amlAudit-icon {
    transition: filter 0.3s ease;
}

/* on hover → black */
.aml-box:hover .icon {
    filter: brightness(0) !important;
}


/* FIX: AML Box — 853 × 1280 Tablet Portrait */
@media only screen and (max-width: 870px) and (min-height: 1250px) {

    .aml-box {
        padding: 35px !important;
    }

    /* Make row equal height */
    .aml-box .row {
        display: flex !important;
        align-items: stretch !important;
    }

    /* LEFT IMAGE COLUMN */
    .aml-box .col-lg-5 {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .aml-box-img {
        height: 100% !important;
        width: auto !important;
        max-height: 92% !important;
        object-fit: contain !important;
        border-radius: 12px;
        margin: 0 auto;
    }

    /* RIGHT CONTENT COLUMN */
    .aml-box .col-lg-7 {
        display: flex !important;
        flex-direction: column;
        justify-content: center !important;
        padding-left: 25px !important;
    }

    /* TITLE */
    .aml-box-title {
        font-size: 32px !important;
        text-align: left !important;
        margin-bottom: 15px !important;
    }

    /* TEXT */
    .aml-box-text {
        font-size: 15px !important;
        line-height: 1.55 !important;
        text-align: left !important;
        margin-bottom: 20px !important;
    }

    .aml-underline {
        width: 160px !important;
        margin-bottom: 25px !important;
    }

    /* LIST STYLING */
    .aml-box-list {
        max-width: 90% !important;
        margin-top: 10px !important;
    }

    .aml-box-list li {
        font-size: 15px !important;
        line-height: 1.55 !important;
        text-align: left !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    .aml-box-list li img.icon {
        width: 20px !important;
        height: 20px !important;
        margin-top: 4px !important;
        flex-shrink: 0;
    }

    /* ARROW BUTTON */
    .aml-arrow-btn {
        bottom: 20px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
    }
}




/* AML Audit section */

.amlAudit-box {
    border: 2px solid #ffcf33;
    border-radius: 14px;
    padding: 40px;
    background: #fff;
    position: relative;
}
/* Box Hover → Yellow Background */
.amlAudit-box:hover {
    background-color: #ffcf33 !important;
    transition: background-color 0.35s ease;
}

/* Underline turns Black on hover */
.amlAudit-box:hover .amlAudit-underline {
    background-color: #000 !important;
    transition: background-color 0.35s ease;
}


/* TITLE */
.amlAudit-title {
    font-size: 40px;
    font-weight: 500;
    font-family: "DM Sans";
}

/* TEXT */
.amlAudit-text {
    font-size: 16px;
    color: #333;
    font-family: "DM Sans";
    font-weight: 400;
}

/* UNDERLINE */
.amlAudit-underline {
    min-width: 100%;
    height: 1px;
    background: #ffcf33;
}

/* LIST */
.amlAudit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amlAudit-list li {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    margin-bottom: 12px;
    font-family: "DM Sans";
}

.amlAudit-icon {
    width: 20px;
    margin-top: 3px;
}

/* IMAGE */
.amlAudit-imgWrapper {
    display: inline-block;
}

.amlAudit-img {
     position: relative;
    border-radius: 12px;
    z-index: 2;
}

/* DESKTOP ARROW */
.amlAudit-arrowBtn {
    position: absolute;
    bottom: 25px;
    left: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffcf33;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* MOBILE ARROW */
.amlAudit-arrowMobile {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #ffcf33;
    display: flex;
    justify-content: center;
    align-items: center;
}

.amlAudit-arrowMobile:hover{
       background: #fff;
}


.amlAudit-arrowMobile{
         transition: filter 0.3s ease;
}




.amlAudit-arrowBtn:hover{
       background: #fff;
}

.amlAudit-arrow{
    transition: filter 0.3s ease;
}

.amlAudit-arrowBtn:hover .amlAudit-arrow {
    filter: brightness(0) invert(68%) sepia(95%) saturate(600%) hue-rotate(1deg);
}






/* RESPONSIVE FIXES */
@media (max-width: 992px) {

    .amlAudit-box {
        padding: 25px;
    }

    .amlAudit-title {
        font-size: 26px;
        text-align: center;
    }

    .amlAudit-text {
        text-align: center;
    }

    .amlAudit-underline {
        margin-left: auto;
        margin-right: auto;
        width: 180px;
    }

    .amlAudit-list li {
        justify-content: center;
        text-align: center;
    }

    /* .amlAudit-img {
        max-width: 260px;
    } */

    .amlAudit-arrowBtn {
        display: none !important;
    }
}

@media (max-width: 576px) {

    .amlAudit-title {
        font-size: 22px;
        line-height: 1.3;
    }

    /* .amlAudit-img {
        max-width: 220px;
    } */

    .amlAudit-underline {
        width: 150px;
    }

    .cddBox-list li {
        align-items: flex-start !important; /* icon top-align */
        text-align: left !important;
    }

    .cddBox-list .cddBox-icon {
        margin-top: 3px !important; /* slight adjust */
    }
   

     .cddBox-arrow-btn {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 20px 0 0 auto !important;
        display: flex;
        justify-content: center;
    }
}


.amlAudit-icon {
    transition: filter 0.3s ease;
}

/* on hover → black */
.amlAudit-box:hover .amlAudit-icon {
    filter: brightness(0) !important;
}


/* FIX: amlAudit-section — 853 × 1280 Tablet Portrait */
@media only screen and (max-width: 870px) and (min-height: 1250px) {

    .amlAudit-box {
        padding: 35px !important;
    }

    /* Equal height fix */
    .amlAudit-box .row {
        display: flex !important;
        align-items: stretch !important;
    }

    /* LEFT CONTENT COLUMN */
    .amlAudit-box .col-lg-6:first-child {
        display: flex !important;
        flex-direction: column;
        justify-content: center !important; 
        padding-right: 25px !important;
    }

    .amlAudit-title {
        font-size: 32px !important;
        line-height: 1.25 !important;
        margin-bottom: 15px !important;
        text-align: left !important;
    }

    .amlAudit-text {
        font-size: 15px !important;
        line-height: 1.55 !important;
        text-align: left !important;
    }

    .amlAudit-underline {
        width: 170px !important;
        margin-bottom: 25px !important;
        margin-left: 0 !important;
    }

    /* BULLET LIST */
    .amlAudit-list {
        max-width: 90% !important;
    }

    .amlAudit-list li {
        font-size: 15px !important;
        line-height: 1.55 !important;
        justify-content: flex-start !important;
        text-align: left !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
    }

    .amlAudit-icon {
        width: 20px !important;
        height: 20px !important;
        margin-top: 4px !important;
        flex-shrink: 0;
    }

    /* RIGHT IMAGE COLUMN */
    .amlAudit-box .col-lg-6:last-child {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .amlAudit-img {
        height: 100% !important;
        width: auto !important;
        max-height: 92% !important;
        object-fit: contain !important;
        border-radius: 12px;
    }

    /* DESKTOP ARROW POSITION */
    .amlAudit-arrowBtn {
        width: 46px !important;
        height: 46px !important;
        left: 25px !important;
        bottom: 25px !important;
    }
}




/* CDD section */


.cddBox-box {
    border: 2px solid #ffcf33;
    border-radius: 14px;
    padding: 40px;
    position: relative;
    background: #fff;
    transition: 0.35s ease;
}

.cddBox-box:hover {
    background-color: #ffcf33 !important;
}


.cddBox-img {
    position: relative;
    border-radius: 12px;
    z-index: 2;
}


.cddBox-title {
    font-size: 40px;
    font-weight: 500;
    font-family: "DM Sans";
}


.cddBox-text {
    font-size: 15px;
    font-family: "DM Sans";
    color: #333;
}


.cddBox-underline {
    height: 1px;
    min-width: 100%;
    background: #ffcf33;
    transition: background-color 0.35s ease;
}


.cddBox-box:hover .cddBox-underline {
    background: #000 !important;
}


.cddBox-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cddBox-list li {
    font-size: 15px;
    color: #000;
    font-family: "DM Sans";
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* ICON */
.cddBox-icon {
    width: 20px;
    transition: filter 0.3s ease;
}

/* ICON BLACK ON HOVER */
.cddBox-box:hover .cddBox-icon {
    filter: brightness(0);
}

/* ARROW BUTTON */
.cddBox-arrow-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #ffcf33;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.cddBox-arrow-btn:hover{
     background: #fff;
}

.cdd-arrow{
    transition: filter 0.3s ease;
}

.cddBox-arrow-btn:hover .cdd-arrow {
    filter: brightness(0) invert(68%) sepia(95%) saturate(600%) hue-rotate(1deg);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .cddBox-box { padding: 25px; }

    .cddBox-title {
        font-size: 28px;
        text-align: center;
    }

    .cddBox-text {
        text-align: center;
    }

    .cddBox-list li {
        justify-content: center;
        text-align: center;
    }

    .cddBox-arrow-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .cddBox-title { font-size: 24px; }

    .cddBox-underline { width: 200px; margin: auto; }

     .cddBox-list li {
        justify-content: flex-start !important; 
        text-align: left !important;            
        align-items: flex-start !important; 
    
    }
     
}



/* FIX: cddBox-section — 853 × 1280 Tablet Portrait */
@media only screen and (max-width: 870px) and (min-height: 1250px) {

    .cddBox-box {
        padding: 35px !important;
    }

    /* Equal Height Layout */
    .cddBox-section .row,
    .cddBox-box .row {
        display: flex !important;
        align-items: stretch !important;
    }

    /* LEFT TEXT COLUMN */
    .cddBox-box .col-lg-6:first-child {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding-right: 25px !important;
    }

    /* TITLE */
    .cddBox-title {
        font-size: 32px !important;
        line-height: 1.25 !important;
        text-align: left !important;
        margin-bottom: 15px !important;
    }

    /* TEXT */
    .cddBox-text {
        font-size: 15px !important;
        line-height: 1.55 !important;
        text-align: left !important;
        margin-bottom: 20px !important;
    }

    /* UNDERLINE */
    .cddBox-underline {
        width: 160px !important;
        margin-bottom: 25px !important;
        margin-left: 0 !important;
    }

    /* BULLET LIST */
    .cddBox-list {
        max-width: 90% !important;
        margin-top: 10px !important;
    }

    .cddBox-list li {
        font-size: 15px !important;
        line-height: 1.55 !important;
        justify-content: flex-start !important;
        text-align: left !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
        align-items: flex-start !important;
    }

    .cddBox-icon {
        width: 20px !important;
        height: 20px !important;
        margin-top: 4px !important;
    }

    /* RIGHT IMAGE COLUMN */
    .cddBox-box .col-lg-6:last-child {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .cddBox-img {
        height: 100% !important;
        width: auto !important;
        max-height: 92% !important;
        object-fit: contain !important;
        border-radius: 12px !important;
    }

    /* ARROW BUTTON */
    .cddBox-arrow-btn {
        width: 46px !important;
        height: 46px !important;
        bottom: 25px !important;
        right: 25px !important;
    }
}



/* AML technology */

.amlTech-box {
    border: 2px solid #ffcf33;
    border-radius: 14px;
    padding: 40px;
    background: #fff;
    position: relative;
    transition: 0.35s ease;
}


.amlTech-box:hover {
    background-color: #ffcf33 !important;
}

.amlTech-box:hover .amlTech-underline {
    background-color: #000 !important;
}

/* TITLE */
.amlTech-title {
    font-size: 40px;
    font-weight: 500;
    font-family: "DM Sans";
}

/* TEXT */
.amlTech-text {
    font-size: 16px;
    color: #333;
    font-family: "DM Sans";
    font-weight: 400;
}

/* UNDERLINE */
.amlTech-underline {
    min-width: 100%;
    height: 1px;
    background: #ffcf33;
    transition: 0.35s ease;
}

/* LIST */
.amlTech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amlTech-list li {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    margin-bottom: 12px;
    font-family: "DM Sans";
    font-weight: 400;
}

/* ICON */
.amlTech-icon {
    width: 20px;
    margin-top: 3px;
    transition: filter 0.3s ease;
}


.amlTech-box:hover .amlTech-icon {
    filter: brightness(0);
}

.amlTech-imgWrapper {
    display: inline-block;
}

.amlTech-img {
    position: relative;
    border-radius: 12px;
    z-index: 2;
}

/* DESKTOP ARROW */
.amlTech-arrowBtn {
    position: absolute;
    bottom: 25px;
    left: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffcf33;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.amlTech-arrowBtn:hover{

     background: #fff;

}
.amltech-arrow {
    transition: filter 0.3s ease;
}

.amlTech-arrowBtn:hover .amltech-arrow {
    filter: brightness(0) invert(68%) sepia(95%) saturate(600%) hue-rotate(1deg);
}


/* MOBILE ARROW */
.amlTech-arrowMobile {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #ffcf33;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* RESPONSIVE FIXES */
@media (max-width: 992px) {

    .amlTech-box {
        padding: 25px;
    }

    .amlTech-title {
        font-size: 26px;
        text-align: center;
    }

    .amlTech-text {
        text-align: center;
    }

    .amlTech-underline {
        margin-left: auto;
        margin-right: auto;
        width: 180px;
    }

    .amlTech-list li {
        justify-content: center;
        text-align: center;
    }

    .amlTech-arrowBtn {
        display: none !important;
    }
}

@media (max-width: 576px) {

    .amlTech-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .amlTech-underline {
        width: 150px;
    }

    

    .amlTech-list li {
        align-items: flex-start !important; 
        text-align: left !important;
    }

    .amlTech-list .amlTech-icon {
        margin-top: 3px !important; /* slight adjust */
    }
   

     /* .amlTech-arrowMobile {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 20px 0 0 auto !important;
        display: flex;
        justify-content: center;
    } */

    .amlTech-list li {
        justify-content: flex-start !important; 
        text-align: left !important;            
        align-items: flex-start !important; 
    
    }
}


/* FIX: amlTech-section — 853 × 1280 Tablet Portrait */
@media only screen and (max-width: 870px) and (min-height: 1250px) {

    .amlTech-box {
        padding: 35px !important;
    }

    /* Equal height layout */
    .amlTech-section .row,
    .amlTech-box .row {
        display: flex !important;
        align-items: stretch !important;
    }

    /* LEFT TEXT COLUMN */
    .amlTech-box .col-lg-6:first-child {
        display: flex !important;
        flex-direction: column;
        justify-content: center !important;
        padding-right: 25px !important;
    }

    /* TITLE */
    .amlTech-title {
        font-size: 32px !important;
        line-height: 1.25 !important;
        margin-bottom: 15px !important;
        text-align: left !important;
    }

    /* TEXT */
    .amlTech-text {
        font-size: 15px !important;
        line-height: 1.55 !important;
        text-align: left !important;
        margin-bottom: 20px !important;
    }

    /* UNDERLINE */
    .amlTech-underline {
        width: 160px !important;
        margin-left: 0 !important;
        margin-bottom: 25px !important;
    }

    /* BULLET LIST */
    .amlTech-list {
        max-width: 90% !important;
        margin-top: 10px !important;
    }

    .amlTech-list li {
        font-size: 15px !important;
        line-height: 1.55 !important;
        justify-content: flex-start !important;
        text-align: left !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
        align-items: flex-start !important;
    }

    .amlTech-icon {
        width: 20px !important;
        height: 20px !important;
        margin-top: 4px !important;
        flex-shrink: 0;
    }

    /* RIGHT IMAGE COLUMN */
    .amlTech-box .col-lg-6:last-child {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .amlTech-img {
        height: 100% !important;
        width: auto !important;
        max-height: 92% !important;
        object-fit: contain !important;
        border-radius: 12px !important;
    }

    /* ARROW BUTTON */
    .amlTech-arrowBtn {
        width: 46px !important;
        height: 46px !important;
        left: 25px !important;
        bottom: 25px !important;
    }
}




/* AML Training section */

.amlTraining-box {
    border: 2px solid #ffcf33;
    border-radius: 14px;
    padding: 40px;
    position: relative;
    background: #fff;
    transition: 0.35s ease;
}

/* Hover background */
.amlTraining-box:hover {
    background-color: #ffcf33 !important;
}

/* Title */
.amlTraining-title {
    font-size: 40px;
    font-weight: 500;
    font-family: "DM Sans";
}

/* Underline */
.amlTraining-underline {
    height: 1px;
    min-width: 100%;
    background: #ffcf33;
    transition: background-color 0.35s ease;
}

/* Hover underline black */
.amlTraining-box:hover .amlTraining-underline {
    background-color: #000 !important;
}

/* Text */
.amlTraining-text {
    font-size: 16px;
    color: #333;
    font-family: "DM Sans";
    font-weight: 400;
}

/* List */
.amlTraining-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amlTraining-list li {
    font-size: 15px;
    font-family: "DM Sans";
    color: #000;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

/* Icon */
.amlTraining-icon {
    width: 20px;
    transition: filter 0.3s ease;
}

/* Hover icon -> black */
.amlTraining-box:hover .amlTraining-icon {
    filter: brightness(0) !important;
}

/* Image */
.amlTraining-img {
    position: relative;
    border-radius: 12px;
    z-index: 2;
}

/* Arrow Button */
.amlTraining-arrow-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #ffcf33;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Arrow color on hover */
.amlTraining-arrow {
    transition: filter 0.3s ease;
}

.amlTraining-arrow-btn:hover .amlTraining-arrow {
    filter: brightness(0) invert(68%) sepia(95%) saturate(600%) hue-rotate(1deg);
}

/* Arrow button hover background white */
.amlTraining-arrow-btn:hover {
    background: #fff;
}

/* Responsive */
@media (max-width: 992px) {

    .amlTraining-box {
        padding: 25px;
    }

    .amlTraining-title {
        text-align: center;
        font-size: 28px;
    }

    .amlTraining-text {
        text-align: center;
    }

    .amlTraining-underline {
        margin-left: auto;
        margin-right: auto;
    }

    .amlTraining-list li {
        justify-content: center;
        text-align: center;
    }

    .amlTraining-arrow-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {

    .amlTraining-title {
        font-size: 24px;
    }

    .amlTraining-underline {
        width: 200px;
    }

       .amlTraining-arrow-btn {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin: 20px 0 0 auto !important;
        display: flex;
        justify-content: center;
    } 

    .amlTraining-list li {
        justify-content: flex-start !important; 
        text-align: left !important;            
        align-items: flex-start !important; 
    
    }
}



/* FIX: amlTraining-section — 853 × 1280 Tablet Portrait */
@media only screen and (max-width: 870px) and (min-height: 1250px) {

    .amlTraining-box {
        padding: 35px !important;
    }

    /* EQUAL HEIGHT: ROW SAME HEIGHT */
    .amlTraining-section .row,
    .amlTraining-box .row {
        display: flex !important;
        align-items: stretch !important;
    }

    /* LEFT TEXT COLUMN */
    .amlTraining-box .col-lg-6:first-child {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding-right: 25px !important;
    }

    .amlTraining-title {
        font-size: 32px !important;
        line-height: 1.25 !important;
        margin-bottom: 15px !important;
        text-align: left !important;
    }

    .amlTraining-text {
        font-size: 15px !important;
        line-height: 1.55 !important;
        text-align: left !important;
        margin-bottom: 20px !important;
    }

    .amlTraining-underline {
        width: 160px !important;
        margin-left: 0 !important;
        margin-bottom: 25px !important;
    }

    /* BULLET LIST */
    .amlTraining-list {
        max-width: 90% !important;
    }

    .amlTraining-list li {
        font-size: 15px !important;
        line-height: 1.55 !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 10px !important;
        text-align: left !important;
        margin-bottom: 12px !important;
    }

    .amlTraining-icon {
        width: 20px !important;
        height: 20px !important;
        margin-top: 4px !important;
        flex-shrink: 0;
    }

    /* RIGHT IMAGE COLUMN */
    .amlTraining-box .col-lg-6:last-child {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .amlTraining-img {
        height: 100% !important;
        width: auto !important;
        max-height: 92% !important;
        object-fit: contain !important;
        border-radius: 12px !important;
    }

    /* ARROW BUTTON */
    .amlTraining-arrow-btn {
        width: 46px !important;
        height: 46px !important;
        bottom: 25px !important;
        right: 25px !important;
    }
}




/* -------------------------------------------
   MASTER RESPONSIVE PACK (912 × 1368)
   For:
   1) .aml-box
   2) .amlAudit-box
   3) .cddBox-box
   4) .amlTech-box
   5) .amlTraining-box
-------------------------------------------- */
@media only screen and (max-width: 930px) and (min-height: 1350px) {

    /* UNIVERSAL BOX PADDING */
    .aml-box,
    .amlAudit-box,
    .cddBox-box,
    .amlTech-box,
    .amlTraining-box {
        padding: 35px !important;
    }

    /* SAME HEIGHT ROW FOR ALL AML SECTIONS */
    .aml-box .row,
    .amlAudit-box .row,
    .cddBox-box .row,
    .amlTech-box .row,
    .amlTraining-box .row {
        display: flex !important;
        align-items: stretch !important;
    }

    /* LEFT CONTENT COLUMN (TEXT SIDE) */
    .aml-box .col-lg-7,
    .amlAudit-box .col-lg-6:first-child,
    .cddBox-box .col-lg-6:first-child,
    .amlTech-box .col-lg-6:first-child,
    .amlTraining-box .col-lg-6:first-child {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding-right: 25px !important;
    }

    /* RIGHT IMAGE COLUMN */
    .aml-box .col-lg-5,
    .amlAudit-box .col-lg-6:last-child,
    .cddBox-box .col-lg-6:last-child,
    .amlTech-box .col-lg-6:last-child,
    .amlTraining-box .col-lg-6:last-child {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* IMAGES — FULL HEIGHT, NO SHRINK */
    .aml-box-img,
    .amlAudit-img,
    .cddBox-img,
    .amlTech-img,
    .amlTraining-img {
        height: 100% !important;
        width: auto !important;
        max-height: 92% !important;
        object-fit: contain !important;
        border-radius: 12px !important;
    }

    /* TITLES */
    .aml-box-title,
    .amlAudit-title,
    .cddBox-title,
    .amlTech-title,
    .amlTraining-title {
        font-size: 32px !important;
        line-height: 1.25 !important;
        margin-bottom: 15px !important;
        text-align: left !important;
    }

    /* MAIN TEXT */
    .aml-box-text,
    .amlAudit-text,
    .cddBox-text,
    .amlTech-text,
    .amlTraining-text {
        font-size: 15px !important;
        line-height: 1.55 !important;
        margin-bottom: 20px !important;
        text-align: left !important;
        max-width: 90%;
    }

    /* UNDERLINES */
    .aml-underline,
    .amlAudit-underline,
    .cddBox-underline,
    .amlTech-underline,
    .amlTraining-underline {
        width: 160px !important;
        margin-bottom: 25px !important;
        margin-left: 0 !important;
    }

    /* BULLET LISTS */
    .aml-box-list li,
    .amlAudit-list li,
    .cddBox-list li,
    .amlTech-list li,
    .amlTraining-list li {
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    /* ICONS */
    .aml-box-list .icon,
    .amlAudit-icon,
    .cddBox-icon,
    .amlTech-icon,
    .amlTraining-icon {
        width: 20px !important;
        height: 20px !important;
        margin-top: 4px !important;
        flex-shrink: 0 !important;
    }

    /* ARROW BUTTONS */
    .aml-arrow-btn,
    .amlAudit-arrowBtn,
    .cddBox-arrow-btn,
    .amlTech-arrowBtn,
    .amlTraining-arrow-btn {
        width: 46px !important;
        height: 46px !important;
        bottom: 25px !important;
        right: 25px !important;
    }
}


/* -------------------------------------------
   MASTER RESPONSIVE PACK — 820 × 1180
   Applies ONLY to:
   1) .aml-box
   2) .amlAudit-box
   3) .cddBox-box
   4) .amlTech-box
   5) .amlTraining-box
-------------------------------------------- */
@media only screen and (max-width: 840px) and (min-height: 1150px) {

    /* UNIVERSAL BOX PADDING */
    .aml-box,
    .amlAudit-box,
    .cddBox-box,
    .amlTech-box,
    .amlTraining-box {
        padding: 32px !important;
    }

    /* SAME HEIGHT ROW FOR ALL AML SECTIONS */
    .aml-box .row,
    .amlAudit-box .row,
    .cddBox-box .row,
    .amlTech-box .row,
    .amlTraining-box .row {
        display: flex !important;
        align-items: stretch !important;
    }

    /* LEFT CONTENT COLUMN */
    .aml-box .col-lg-7,
    .amlAudit-box .col-lg-6:first-child,
    .cddBox-box .col-lg-6:first-child,
    .amlTech-box .col-lg-6:first-child,
    .amlTraining-box .col-lg-6:first-child {
        display: flex !important;
        flex-direction: column;
        justify-content: center !important;
        padding-right: 22px !important;
    }

    /* RIGHT IMAGE COLUMN */
    .aml-box .col-lg-5,
    .amlAudit-box .col-lg-6:last-child,
    .cddBox-box .col-lg-6:last-child,
    .amlTech-box .col-lg-6:last-child,
    .amlTraining-box .col-lg-6:last-child {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* IMAGES — FULL HEIGHT, HIGH QUALITY */
    .aml-box-img,
    .amlAudit-img,
    .cddBox-img,
    .amlTech-img,
    .amlTraining-img {
        height: 100% !important;
        width: auto !important;
        max-height: 90% !important;
        object-fit: contain !important;
        border-radius: 12px !important;
    }

    /* TITLES */
    .aml-box-title,
    .amlAudit-title,
    .cddBox-title,
    .amlTech-title,
    .amlTraining-title {
        font-size: 30px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        text-align: left !important;
    }

    /* MAIN TEXT */
    .aml-box-text,
    .amlAudit-text,
    .cddBox-text,
    .amlTech-text,
    .amlTraining-text {
        font-size: 15px !important;
        line-height: 1.55 !important;
        margin-bottom: 18px !important;
        text-align: left !important;
        max-width: 90%;
    }

    /* UNDERLINES */
    .aml-underline,
    .amlAudit-underline,
    .cddBox-underline,
    .amlTech-underline,
    .amlTraining-underline {
        width: 150px !important;
        margin-bottom: 22px !important;
        margin-left: 0 !important;
    }

    /* BULLET LISTS */
    .aml-box-list li,
    .amlAudit-list li,
    .cddBox-list li,
    .amlTech-list li,
    .amlTraining-list li {
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 9px !important;
        margin-bottom: 10px !important;
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    /* ICONS UNIFIED */
    .aml-box-list .icon,
    .amlAudit-icon,
    .cddBox-icon,
    .amlTech-icon,
    .amlTraining-icon {
        width: 18px !important;
        height: 18px !important;
        margin-top: 4px !important;
        flex-shrink: 0 !important;
    }

    /* ARROW BUTTONS */
    .aml-arrow-btn,
    .amlAudit-arrowBtn,
    .cddBox-arrow-btn,
    .amlTech-arrowBtn,
    .amlTraining-arrow-btn {
        width: 42px !important;
        height: 42px !important;
        bottom: 22px !important;
        right: 22px !important;
    }
}


/* -------------------------------------------
   MASTER RESPONSIVE PACK — 768 × 1024
   Applies ONLY to:
   1) .aml-box
   2) .amlAudit-box
   3) .cddBox-box
   4) .amlTech-box
   5) .amlTraining-box
-------------------------------------------- */
@media only screen and (max-width: 780px) and (min-height: 1000px) {

    /* UNIVERSAL BOX PADDING */
    .aml-box,
    .amlAudit-box,
    .cddBox-box,
    .amlTech-box,
    .amlTraining-box {
        padding: 30px !important;
    }

    /* EQUAL HEIGHT ROW FOR ALL */
    .aml-box .row,
    .amlAudit-box .row,
    .cddBox-box .row,
    .amlTech-box .row,
    .amlTraining-box .row {
        display: flex !important;
        align-items: stretch !important;
    }

    /* LEFT TEXT COLUMN */
    .aml-box .col-lg-7,
    .amlAudit-box .col-lg-6:first-child,
    .cddBox-box .col-lg-6:first-child,
    .amlTech-box .col-lg-6:first-child,
    .amlTraining-box .col-lg-6:first-child {
        display: flex !important;
        flex-direction: column;
        justify-content: center !important;
        padding-right: 20px !important;
    }

    /* RIGHT IMAGE COLUMN */
    .aml-box .col-lg-5,
    .amlAudit-box .col-lg-6:last-child,
    .cddBox-box .col-lg-6:last-child,
    .amlTech-box .col-lg-6:last-child,
    .amlTraining-box .col-lg-6:last-child {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* IMAGES — FULL HEIGHT, NO SHRINK */
    .aml-box-img,
    .amlAudit-img,
    .cddBox-img,
    .amlTech-img,
    .amlTraining-img {
        height: 100% !important;
        width: auto !important;
        max-height: 90% !important;
        object-fit: contain !important;
        border-radius: 12px !important;
    }

    /* TITLES */
    .aml-box-title,
    .amlAudit-title,
    .cddBox-title,
    .amlTech-title,
    .amlTraining-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        text-align: left !important;
    }

    /* MAIN TEXT */
    .aml-box-text,
    .amlAudit-text,
    .cddBox-text,
    .amlTech-text,
    .amlTraining-text {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 18px !important;
        text-align: left !important;
        max-width: 90%;
    }

    /* UNDERLINES */
    .aml-underline,
    .amlAudit-underline,
    .cddBox-underline,
    .amlTech-underline,
    .amlTraining-underline {
        width: 140px !important;
        margin-left: 0 !important;
        margin-bottom: 20px !important;
    }

    /* BULLET LISTS */
    .aml-box-list li,
    .amlAudit-list li,
    .cddBox-list li,
    .amlTech-list li,
    .amlTraining-list li {
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 8px !important;
        margin-bottom: 10px !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    /* ICONS */
    .aml-box-list .icon,
    .amlAudit-icon,
    .cddBox-icon,
    .amlTech-icon,
    .amlTraining-icon {
        width: 18px !important;
        height: 18px !important;
        margin-top: 4px !important;
        flex-shrink: 0 !important;
    }

    /* ARROW BUTTONS */
    .aml-arrow-btn,
    .amlAudit-arrowBtn,
    .cddBox-arrow-btn,
    .amlTech-arrowBtn,
    .amlTraining-arrow-btn {
        width: 40px !important;
        height: 40px !important;
        bottom: 20px !important;
        right: 20px !important;
    }
}




 /* Audit */
.ifscServe-imgWrap {
    position: relative;
    display: inline-block;
    margin: 10px;
}


.ifscServe-yellow {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 92%;
    height: 92%;
    background: #ffcf33;
    border-radius: 12px;
    z-index: 1;
    transition: 0.70s;
}



.ifscServe-img {
    position: relative;
    border-radius: 12px;
    z-index: 2;
}

/* RESPONSIVE FIXES */
@media (max-width: 992px) {
    .ifscServe-yellow {
        top: -20px;
        right: -20px;
        width: 88%;
        height: 88%;
    }
}

@media (max-width: 576px) {
    .ifscServe-yellow {
        top: -12px;
        right: -12px;
        width: 92%;
        height: 92%;
    }

    .ifscServe-img {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}


.amlAudit-box:hover .ifscServe-yellow{

     background-color: black;
}


/* AmlServe */
.amlServe-imgWrap {
    position: relative;
    display: inline-block;
    margin: 10px; /* optional */
}

/* YELLOW BACKGROUND BLOCK */
.amlServe-yellow {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 92%;
    height: 92%;
    background: #ffcf33;
    border-radius: 12px;
    z-index: 1;
    transition: 0.70s;
}

/* FOREGROUND IMAGE */
.amlServe-img {
    position: relative;
    border-radius: 12px;
    z-index: 2;
}

/* RESPONSIVE FIXES */
@media (max-width: 992px) {
    .amlServe-yellow {
        top: -20px;
        left: -20px;
        width: 88%;
        height: 88%;
    }
}

@media (max-width: 576px) {
    .amlServe-yellow {
        top: -12px;
        left: -12px;
        width: 92%;
        height: 92%;
    }

    .amlServe-img {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

/* HOVER EFFECT (your last line converted to AML version) */
.aml-box:hover .amlServe-yellow {
    background-color: black;
}



/* .cddServe */

.cddServe-imgWrap {
    position: relative;
    display: inline-block;
    margin: 10px; /* optional */
}

/* YELLOW BACKGROUND BLOCK */
.cddServe-yellow {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 92%;
    height: 92%;
    background: #ffcf33;
    border-radius: 12px;
    z-index: 1;
    transition: 0.70s;
}

/* FOREGROUND IMAGE */
.cddServe-img {
    position: relative;
    border-radius: 12px;
    z-index: 2;
}

/* RESPONSIVE FIXES */
@media (max-width: 992px) {
    .cddServe-yellow {
        top: -20px;
        left: -20px;
        width: 88%;
        height: 88%;
    }
}

@media (max-width: 576px) {
    .cddServe-yellow {
        top: -12px;
        left: -12px;
        width: 92%;
        height: 92%;
    }

    .cddServe-img {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

/* OPTIONAL HOVER EFFECT */
.cddBox-box:hover .cddServe-yellow {
    background-color: black;
}


/* AML Technology */



.ifscServe-imgWrap {
    position: relative;
    display: inline-block;
    margin: 10px;
}


.ifscServe-yellow {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 92%;
    height: 92%;
    background: #ffcf33;
    border-radius: 12px;
    z-index: 1;
    transition: 0.70s;
}



.ifscServe-img {
    position: relative;
    border-radius: 12px;
    z-index: 2;
}


@media (max-width: 992px) {
    .ifscServe-yellow {
        top: -20px;
        right: -20px;
        width: 88%;
        height: 88%;
    }
}

@media (max-width: 576px) {
    .ifscServe-yellow {
        top: -12px;
        right: -12px;
        width: 92%;
        height: 92%;
    }

    .ifscServe-img {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}


.amlAudit-box:hover .ifscServe-yellow{

     background-color: black;
}



/* AML Tech */


.amltech-imgWrap {
    position: relative;
    display: inline-block;
    margin: 10px;
}


.amltech-yellow {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 92%;
    height: 92%;
    background: #ffcf33;
    border-radius: 12px;
    z-index: 1;
    transition: 0.7s ease;
}

/* FOREGROUND IMAGE */
.amltech-img {
    position: relative;
    border-radius: 12px;
    z-index: 2;
    display: block;
}

/* RESPONSIVE FIXES */
@media (max-width: 992px) {
    .amltech-yellow {
        top: -20px;
        right: -20px;
        width: 88%;
        height: 88%;
    }
}

@media (max-width: 576px) {
    .amltech-yellow {
        top: -12px;
        right: -12px;
        width: 92%;
        height: 92%;
    }

    .amltech-img {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}


.amlTech-box:hover .amltech-yellow {
    background-color: black;
}



.amltraining-imgWrap {
    position: relative;
    display: inline-block;
    margin: 10px;
}


.amltraining-yellow {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 92%;
    height: 92%;
    background: #ffcf33;
    border-radius: 12px;
    z-index: 1;
    transition: 0.7s ease;
}

/* FOREGROUND IMAGE */
.amltraining-img {
    position: relative;
    border-radius: 12px;
    z-index: 2;
    display: block;
}

/* RESPONSIVE FIXES */
@media (max-width: 992px) {
    .amltraining-yellow {
        top: -20px;
        left: -20px;
        width: 88%;
        height: 88%;
    }
}

@media (max-width: 576px) {
    .amltraining-yellow {
        top: -12px;
        left: -12px;
        width: 92%;
        height: 92%;
    }

    .amltraining-img {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}


.amlTraining-box:hover .amltraining-yellow {
    background-color: black;
}
