*{
    box-sizing: border-box;
    margin: 0;
    font-family: poppins;
}
html{
    scroll-behavior: smooth;
}

.d-flex{
    display: flex;
}
.justify-content-between{
    justify-content: space-between;
}
.justify-content-center{
    justify-content: center;
}
.align-items-center{
    align-items: center;
}
.flx-col{
    flex-direction: column;
}
.flx-wrp{
    flex-wrap: wrap;
}
.gap-40{
    gap: 40px;
}
.gap-20{
    gap: 20px;
}
.gap-10{
    gap: 10px;
}
.text-center{
    text-align: center;
}
.clr-white{
    color: #fff;
}
.mt-40{
    margin-top: 40px;
}
img{
    display: block;
    max-width: 100%;
}
.blbg{
    background: url(https://images.emtcontent.com/refer-img/new/refbg.png) no-repeat,linear-gradient(180deg, #00326C 0%, #0061D2 40.38%, #FFFFFF 88.07%);
}
.ref-cont{
    max-width: 1100px;
    margin: 0 auto;
    width: 95%;
}
.secmar{
    padding-top: 90px;
}
.emtrp{
    background: linear-gradient(-46.1deg, rgba(0, 0, 0, 0) 10%, #00000091 80.02%),url(https://images.emtcontent.com/refer-img/new/emtpro-bg.webp) no-repeat;
    ;
    background-size: cover;
    width: 100%;
    padding: 25px;
    border-radius: 25px;
    flex:1;
    aspect-ratio: 532/477;
}
.emtptl{
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}
.emtrp>img{
    display: block;
}
.sbtl{
    font-size: 16px;
    color: #fff;
}
.explr-btn{
    font-size: 16px;
    font-weight: 600;
    color: #000;
    background: #fff;
    border-radius: 100px;
    border: 1px solid #fff;
    outline: 0;
    padding: 12px 20px;
    margin-top: 25px;
    gap: 5px;
    width: fit-content;
    cursor: pointer;
    text-decoration: none;
}
.explr-btn:hover{
    color: #0061D2;
    border: 1px solid #0061D2;
}

.refern{
    background: linear-gradient(51.2deg, rgba(0, 91, 155, 0) 0%, rgba(0, 91, 155, 0.8) 94.01%);
    justify-content: center;
    padding: 25px;
    border-radius: 25px;
    flex:1;
}
.referncnt{
    text-align: center;
}
.referncnt img{
animation: 3s flipanimate linear infinite;
}
@keyframes flipanimate{
    0%{
        transform: rotateY(0deg);
    }
    100%{
        transform: rotateY(360deg);
    }
}
.con_btn_py_n2 {
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    float: right;
    text-transform: capitalize;
    width: 35%;
    border-radius: 40px;
    background: #F06723;
    text-align: center;
    padding: 12px 0 11px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
}
.errored, #myDivZ {
    width: 100%;
    display: none;
    font-size: 12px;
    color: red;
    position: absolute;
    bottom: -2px;
    left: 15px;
}
.errorgrn {
    width: 100%;
    display: none;
    font-size: 12px;
    color: green;
    position: absolute;
    bottom: -2px;
    left: 15px;
}
.mnttl{
    font-size: 45px;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}
.mnttl em{
    font-family: "Playfair Display", serif !important;
    line-height: 1.1;
}
.lgn-btn{
    background: #EF6614;
    padding: 8px 50px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 40px;
    border: 0;
    cursor: pointer;
    margin-top: 25px;
}
.pgttl{
    font-size: 32px;
    font-weight: 600;
}
.pgttl em{
    font-family: "Playfair Display", serif !important;
}
.hwritm{
    background: #fff;
    border-radius: 25px;
    backdrop-filter: blur(95.376708984375px);
    box-shadow: 0 7px 6px 0px #0000002b;
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 270px;
}
.hwritm img{
    margin: auto;
}
.hwrbdy{
    text-align: start;
    margin-top: 15px;
}
.stp{
    font-family: "Playfair Display", serif !important;
    color: #0061D2;
    font-size: 16px;
    font-weight: 600;
}
.hwrttl{
    font-size: 20px;
    font-weight: 600;
    color: #252220;
}
.hwrbdy p{
    color: #252220B2;
    font-size: 16px;
}
.invfrm{
    width: 57%;
    min-width: 500px;
}
.initm{
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0px 16px 24px 0px #6061701F;
    background: #fff;
}
.inimgbx{
    aspect-ratio: 1;
}
.inby{
    font-size: 20px;
    font-weight: 600;
    color: #121212;
}
.inamnt{
    color: #636363;
    font-size: 16px;
}
.invbtn{
    padding: 8px 30px;
    font-size: 16px;
    background: #EF6614;
    color: #fff;
    border-radius: 40px;
    text-align: center;
    margin-left: auto;
    cursor: pointer;
    text-decoration: none;
}
.refigm {
   text-align: end;
   width: 38%;
}
.ernemtcvr{
    text-align: center;
    position: relative;
    flex: 1;
}
.ernemtcvr:nth-child(odd){
    margin-top: 130px;
}
.ernitm::after{
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
     aspect-ratio: 1;
     width: 151.4%;
    border: 10px solid #fff;
    border-radius: 50%;
    /* Halve the circle */
    border-bottom-color: transparent;
    border-left-color: transparent;
    /* Rotate the circle */
    transform: rotate(-45deg) translate(0%,-25%);
}
.ernemtcvr:nth-child(even) .ernitm::after {
    margin-top: 0;
    transform: rotate(135deg) translate(0%,25%);
}
.ernemtcvr:first-child .ernitm::before{
    content: '';
    height:45px;
    width: 45px;
    background: linear-gradient(90deg, #FFFFFF 36.7%, #FF5500 560.69%, #00BF9E 1221.36%, #0579FA 1813.69%, #FF3872 2314.89%);
    position: absolute;
    left: -10px;
    transform: translate(-145%, -50%);
    z-index: 2;
    border-radius: 50%;

}
.ernemtcvr:last-child .ernitm::before{
    content: '';
    height:45px;
    width: 45px;
    background: linear-gradient(170.78deg, #FFD100 -1924.12%, #FF5500 -1467.41%, #00BF9E -891.56%, #0579FA -375.28%, #FFFFFF 61.57%);
    position: absolute;
    right: -10px;
    transform: translate(135%, -50%);
    z-index: 2;
    border-radius: 50%;
    
}

.earnemt{
    background: url(https://images.emtcontent.com/refer-img/new/seabg.webp) no-repeat;
    background-size: cover;
    width: 100%;
    padding-top: 90px;
    overflow: hidden;
}
.ernitm{
    position: relative;
    width: 175px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 100%;
    padding: 25px;
    margin: 25px auto;
    box-shadow: 0 7px 6px 0px #0000002b;
}
.ernbdy{
    position: relative;
}
.ernbdy::after{
    content: '';
    background: #000;
    border: 0;
    display: block;
    height: 1px;
    width: 120px;
    margin: auto;
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translate(-50%,-50%);
}
.ernbdy:nth-child(odd)::after{
    top: auto;
    bottom: -10px;
}
.ernttl{
    font-size: 24px;
    font-weight: 600;
    color: #252220;
    margin-top: 10px;
}
.ernpr{
    color: #252220B2;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
}

.accordion__item{margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;}.accordion__item__header{padding:15px 0;cursor:pointer;position:relative;color:#000;font-weight:600;font-size:21px}.accordion__item__header::before{height:12px;width:12px;content:"";position:absolute;right:15px;top:15px;transition:.5s all;transform:rotate(45deg);border-right:2px solid #000;border-bottom:2px solid #000}.accordion__item__header.active{transition:.4s}.accordion__item__header.active::before{transform:rotate(-135deg);top:23px}.accordion__item__content{overflow-y:hidden;padding:0;display:none;color:#505050;margin-bottom: 10px}

    .greyBgn {
        background: #F6F6F6;
        padding: 25px 0;
    }
    .heading_smll_n {
        color: #000;
        text-align: left;
        font-size: 20px;
        margin: 0 0 10px 0;
        font-weight: 600;
        position: relative;
    }
    .bstl_n {
        font-size: 14px;
        font-weight: 500;
        padding-top: 7px;
    }
    .refrom{
        width: 90%;
        min-width: 300px;
        margin: 25px auto;
    }
    .refrom label{
        background: #fff;
        border-radius: 100px;
        overflow: hidden;
        margin: 15px 0;
        position: relative;
    }
    .refrom input{
        border: 0;
        outline: 0;
        width: 100%;
        font-size: 16px;
        white-space: break-spaces;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 11px 0 11px 15px;
    }
    .edtic{
        padding-right: 11px;
        cursor: pointer;
    }
    .cpybtn{
        min-width: fit-content;
        background: #EF6614;
        color: #fff;
        padding: 11px 15px;
        height: 100%;
        border-radius: 40px;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        position: relative;
    }
    .shropt{
        border-top: 1px solid #fff;
        position: relative;
        width: 70%;
        min-width: 320px;
        margin: 40px auto 0;
    }
    .shropt::before{
        content:"";
        height: 5px;
        width: 5px;
        background: #fff;
        transform: rotate(45deg);
        position: absolute;
        left: 0;
        top: -2.5px;
    }
    .shropt::after{
        content:"";
        height: 5px;
        width: 5px;
        background: #fff;
        transform: rotate(45deg);
        position: absolute;
        right: 0;
        top: -2.5px;
       
    }
    .shrtl{
        font-size: 16px;
        font-weight: 500;
        color: #fff;
        position: relative;
        top: -13px;
        background: #0057a6;
        width: fit-content;
        padding: 0 10px;
        margin: auto;   
    }
    .shrebx{
        height: 50px;
        width: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border-radius: 50%;
        cursor: pointer;
    }
   @media screen and  (max-width:1200px){
    .ernitm::after,.ernitm::before{
        display: none;
    }
   }
   @media screen and (max-width:800px){
    .mnttl{
        font-size: 40px;
    }
    .blbg .gap-40{
        gap: 20px;
    }
    .explr-btn{
        padding: 9px 15px;
    }
    .cpybtn,.refrom input,.sbtl{
        font-size: 15px;
    }
    .shrebx{
        height: 40px;
        width: 40px;
        padding: 5px;
    }
    .invfrm{
        min-width: max-content;
    }
  
    .ernemtcvr{
       min-width: 250px;
       display: flex;
       flex-direction: column;
    }
    .ernemtcvr:nth-child(odd){
        margin: 0;
    }
    .ernemtcvr:nth-child(even){
        flex-direction: column-reverse;
        display: flex;
    }
    .accordion__item__header{
        font-size: 16px;
        padding: 10px 0;
        max-width: 90%;
    }
    .accordion__item__header::before {
        height: 9px;
        width: 9px;
        right: -20px;
    }
    .accordion__item__content{
        font-size: 14px;
    }
    .initm{
        padding: 10px;
        gap: 10px;
    }
    .inamnt{
        font-size: 13px;
    }
    .inby{
        font-size: 15px;
    }
    .inimgbx{
        width: 32px;
    }
    .invbtn{
        padding: 6px 19px;
        font-size: 14px;
    }
   }
   @media screen and (max-width:500px){
    .invtres{
        flex-direction: column-reverse;
    }
    .explr-btn{
        font-size: 15px;
    }
    .pgttl{
        font-size: 23px;
    }
    .ernttl{
        font-size: 20px;
    }
    .ernpr{
        font-size: 14px;
    }
    .mnttl,.emtptl{
        font-size: 30px;
    }
    .referncnt>div{
        justify-content: center;
    }
    .refrom{
        min-width: auto;
        margin: auto;
    }
    .refern{
        padding: 15px;
        min-width: 100%;
        max-width: 100%;
    }
    .secmar,.earnemt{
        padding-top: 40px;
    }
    .mt-40{
        margin-top: 20px;
    }
    .ernitm{
        margin: 20px auto;
    }
    .hwrttl{
        font-size: 18px;
    }
    .hwrbdy p{
        font-size: 15px;
    }
    .refigm{
        min-width: auto;
        width: 100%;
    }
    .flxrl{
        flex-direction: column-reverse;
    }
    .shropt{
        min-width: 250px;
    }
    .inby{
        font-size: 4vw;
    }
    .bstl_n{
        font-size: 13px;
    }
    .invfrm{
        width: 100%;
    }
   }