@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}
body{
    font-family: "Roboto", sans-serif;
    overflow-x: hidden;
}
.text-center {
  text-align: center;
}

.d-flex {
  display: flex;
}

.d-block {
  display: block;
}

.d-none {
  display: none;
}
.deskBlock{
    display: block;
}
.mbBlock{
    display: none;
}
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--headingText);
}

.w-100 {
  width: 100%;
}
p{
    font-family: "Open Sans", sans-serif;
}

*,
::after,
::before {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
header{
    position: absolute;
    width: 100%;
    top: 0px;
    left: 0;
    background-color: #FFFFFF;
    z-index: 999;   
    padding: 12px 30px;
    transition: all ease 0.4s;
}
header .container{
     display: flex;
}

header .mainLogo img{
    height: 88px;
    width: auto;
    transition: height ease 0.4s;
}
.rightSideLogo {
    max-width: 642px;
    margin-left: auto;
    display: inline-block;
}
.rightSideLogo img{
    height: 76px;
    width: auto;
    transition: height ease 0.4s;
}

@media screen and (min-width: 768px) {
    header.sticky {
        position: fixed;
        max-width: 100%;
        width: 100%;
        top: 0;
        border-radius: 0;
        border: 0;

        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    }
    header.sticky .mainLogo img{
        height: 60px;
    }
    header.sticky .rightSideLogo img{
        height: 50px;
    }
}
.container{
    max-width: 1750px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}
.sectionHeading{
    font-weight: 700;
    font-size: 48px;
    line-height: 150%;
    text-align: center;
    color: #000000;
    margin-bottom: 30px;
}
.btnPrimary{
    background-color: #BCCF17;
    color: #000C28;
}
.btnSecondary{
    background-color: #133E79;
    color: #ffffff;
    border: 1px solid #000000;
}
.btnWhite{
    background-color: #FFFFFF;
    color: #000C28;
}
/* heroSection css */
.heroSection{
    background:url(../images/bgHero.webp) no-repeat bottom center, #FFFEFB;
    backdrop-filter: blur(30px);
    background-size: cover;
}
.heroSection .d-flex{
    gap: 56px;
}
.leftSide{
    max-width: 733px;
    width: 100%;
    padding: 200px 0 200px;
}
.leftSide h1{
    font-weight: 700;
    font-size: 58px;
    line-height: 120%;
    text-shadow: 0px 8px 10px #00000026;
    color: #133E79;
    margin-bottom: 70px;
}
.leftSide h4{
    font-weight: 300;
    font-size: 40px;
    line-height: 120%;
    color: #000000;
    margin-bottom: 30px;
}
.leftSide h4 span{
    font-weight: 700;
    font-size: 40px;
    line-height: 120%;
    color: #133E79;
}
.leftSide .buttonHero{
    display: inline-flex;
    padding: 20px;
    border: 1px solid #000000;
    gap: 6px;
    margin-bottom: 30px;
    border-radius: 88px;
}
.leftSide .buttonHero a{
    width: 267px;
    max-width: 100%;
    padding: 13px 30px;
    font-weight: 700;
    font-size: 20px;
    line-height: 34px;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    border-radius: 88px;
}
.leftSide p{
    color: #222222;
    font-weight: 700;
    font-size: 32px;
    line-height: 130%;
    font-family: "Roboto", sans-serif;
}
.leftSide p span{
    font-weight: 500;
    font-size: 24px;
    line-height: 130%;
    display: block;
}

.rightSide{
    max-width: 888px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 135px;
    transition: background ease 4s;
}
.heroCard1, .heroCard2 {
    box-shadow: 0px 16px 16px 0px #00000040;
    padding: 10px;
    background-color: #FFFFFF;
    max-width: 323px;
    width: 100%;
    transition: 
        transform 0.8s ease-in-out,
        opacity 0.8s ease-in-out,
        background-color 0.8s ease-in-out;
}
.heroCard3{
    max-width: 323px;
    width: 100%;
    transition: 
        transform 0.8s ease-in-out,
        opacity 0.8s ease-in-out,
        background-color 0.8s ease-in-out;
}
.rightSideInner {
    display: flex;
    max-width: 323px;
    position: relative;
    width: 100%;
    margin-top: 164px;
}

.rightSideInner img {
    width: 100%;
}

.heroCard1 {
    position: relative;
}

.heroCard2,
.heroCard3 {
    position: absolute;
    opacity: 0;
}

.herosection2{
    width: 100%;
    padding-top: 80px;
}
.herosection2 img{
    width: 100%;
}

/* ===== When animation activates ===== */
.rightSide.animateActive .heroCard1 {
    position: absolute;
    transform: translateX(75%) rotate(7.73deg) scale(0.9);
    background-color: #BCCF17;
    bottom: 0;
    z-index: 99;
}

.rightSide.animateActive .heroCard2 {
    position: absolute;
    transform: translateX(-75%) rotate(-7.73deg) scale(0.9);
    opacity: 1;
    bottom: 0;
    z-index: 99;
}

.rightSide.animateActive .heroCard3 {
    position: relative;
    transform: scale(1.4) translateY(-15%);
    opacity: 1;
}

.rightSide.animateActive{
    background: url(../images/bg_vector.webp) no-repeat center center;
    background-size: 90% auto;
}

.heroSlider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.heroSlide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out;
}

.heroSlide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* rankingSection css */
.rankingSection{
    padding-bottom: 100px;
}
.legacyTable{ max-width: 1397px;width: 100%;margin: 0 auto; border: 3px solid #133E79;display: flex;flex-wrap: wrap;  background-color: #FFFFFF;}
.legacyTable > span{display: block; white-space: nowrap;max-width: 463.5px;text-align: center; width: 33.33%;font-weight: 500;font-size: 32px;line-height: 130%; color: #000000;padding: 10px 0 10px; border-right: 1px solid #B3B3B3; border-bottom: 1px solid #B3B3B3;}
.legacyTable span.full{max-width: 100%; border-bottom: 0; width: 100%;}
.legacyTable span.lightWord{font-weight: 400;}


/* rankingFlex Css */

.rankingFlex{
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 99px;
}

.rankingFlex .blockRank{
    max-width: 317px;
    background: url(../images/leaf.webp) no-repeat center center;
    background-size: contain;
    text-align: center;
    width: 100%;
}

.rankingFlex .blockRank .digit{
    background: linear-gradient(180deg, rgba(27, 78, 155, 0.1) 0%, rgba(27, 78, 155, 0.1) 100%);
    width: 86px;
    height: 86px;
    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    text-align: center;
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 100%;
}
.rankingFlex .blockRank .digit sup{
    font-size: 18px;
}

.rankingFlex .blockRank .text{
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    color: #000000;
    display: block;
    max-width: 200px;
    margin: 0 auto;
    font-family: "Open Sans", sans-serif;
    min-height: 81px;
}
.contentGlance{
    max-width: 1397px;
    width: 100%;
    margin: 0 auto;
}
.contentGlance p{
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    text-align: center;
    margin-bottom: 20px;
}
.imageGlance{
    display: flex;
    gap: 52px;
    align-items: flex-end;
    margin: 40px auto 0;
    justify-content: center;
}
.imageGlance > div{
    background: #FFFFFF;
    padding: 10px;
    box-shadow: 0px 16px 16px 0px #00000040;
}
.imageGlance img{
    width: 100%;
}
.imageGlance1{
    max-width: 371px;
    width: 100%;
}
.imageGlance2{
    max-width: 604px;
    width: 100%;
}

.whyChooseSection{
    padding: 100px 0 0px;
    background: url(../images/XLRIBg.webp) no-repeat center center;
    background-size: cover;
    overflow: hidden;
}
.whyChooseSection .sectionHeading{
    color: #FFFFFF;
    margin-bottom: 60px;
    text-align: left;
}
.whyChooseSection .sectionHeading span{
    white-space: nowrap;
}
.whyChooseSection .leftWhySide{
    max-width: 464px;
    width: 100%;
    padding-top: 80px;
}
.rightWhySide{
    max-width: 1256px;
    width: 100%;
}
.rightWhySlide{
    overflow: hidden;
}
.rightWhySlide h3{
    color: #FFFFFF;
    font-weight: 700;
    font-size: 24px;
    line-height: 38px;
    padding: 20px 16px;
    font-family: "Open Sans", sans-serif;
    transition: all 0.2s ease-in-out;
    position: relative;
    z-index: 99;
}
.rightWhySlide:hover h3{
    background-color: #FFFFFF;
    color: #000000;
}
.rightWhySlide img{
    transition: transform 0.4s ease-in-out;
}
.rightWhySlide:hover img{
    transform: scale(1.2);
}
.whyChooseFlex{
    flex-wrap: nowrap;
    display: flex;
    gap: 86px;
    margin-right: 0;
}
.whyButtonGroup{
    display: flex;
    flex-wrap: nowrap;
    gap: 23px;
}
.whyButtonGroup a{
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    padding: 18px 34px;
    border-radius: 88px;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #FFFFFF;
}
.rightWhyslider.owl-carousel .owl-stage-outer::before{
    content: "";
    max-width: 298px;
    width: 100%;
    position: absolute;
    background: linear-gradient(270deg, #133E79 0%, rgba(255, 255, 255, 0) 100%);
    height: 100%;
    z-index: 99;
    right: 0;
    top: 0;
}
.ratingSection{
    padding: 120px 0 87px;
}
.ratingInfo{
    max-width: 1398px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 87px;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
}
.ratingInfo::before{
    content: "";
    position: absolute;
    border: 1px dashed #BCCF17;
    width: 70%;
    height: 1px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
.ratingInfoBlck{
    background: linear-gradient(180deg, #184A8E 0%, #071528 100%);
    max-width: 408px;
    width: 100%;
    padding: 51.09px 29px 47px;
    border-radius: 7.28px;
}
.ratingInfoBlck h4{
    font-weight: 700;
    font-size: 64px;
    line-height: 140%;
    color: #FFFFFF;
    text-align: center;
    font-family: "Open Sans", sans-serif;
}
.ratingInfoBlck h4 span{
    font-size: 48px;
    display: block;
}
.ratingInfoBlck span.small{
    font-weight: 600;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFFC9;
    padding-top: 54px;
    margin-top: 30px;
    display: block;
    position: relative;
}
.ratingInfoBlck span.small::before{
    content: "";
    border: 1px solid #BCCF17;
    max-width: 159px;
    width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}
.recruiterMain {
    display: flex;
    gap: 20px;
}
.jobSection{
    background-color: #F6F7FA;
    padding: 74px 0 92px;
}
.groupInner{
    max-width: 320px;
    width: 100%;
}
.upperLevel{
    padding: 20px;
    background-color: #FFFFFF;
    height: 70px;
}
.upperLevel img{
    max-width: 100%;
    max-height: 100%;
}
.lowerLevel{
    background-color: #F6F7FA;
    padding: 20px;
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0%;
    font-family: "Open Sans", sans-serif;
}
.recruiterBlock{
    border: 1px solid #E3E3E3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* eligibilitySection css */

.eligibilitySection{
    padding: 83px 0 64px;
    background-color: #FFFFFF;
}
.eligibilitySection h5{
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 150%;
    text-align: center;
    color: #222222;
    margin-bottom: 28px;
}
.applyFlex{
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
    position: relative;
}
.applyFlex::before{
    content: "";
    position: absolute;
    border: 2px dashed #133E79;
    width: 80%;
    max-width: 1393px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    z-index: 1;
}

.applyBlock{
    text-align: center;
    max-width: 328px;
    width: 100%;
    display: flex;
    flex-direction: column;
    z-index: 9;
}
.applyBlock h4{
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 38px;
    letter-spacing: 0%;
    text-align: center;
    color: #000000;
    margin-bottom: 20px;
}
.applyBlock p{
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0%;
    text-align: center;
    color: #555555;
    padding-bottom: 16px;
}
.applyBlock .img{
    margin-top: auto;
}
.eligibilityFlex{
    display: flex;
    gap: 87px;
    max-width: 1398px;
    width: 100%;
    margin: 0 auto 40px;
    padding-top: 29px;
    position: relative;
}
.eligibilityFlex::before{
    content: "";
    background: url(../images/horiLine.svg) repeat center center;
    width: 75%;
    max-width: 994px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    top: 0;
}
.eligibilityFlex::after{
    content: "";
    background: url(../images/vertLine.svg) no-repeat center center;
    width: 5px;
    height: 27px;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
}
.eligibilityBlock{
    max-width: 408px;
    width: 100%;
    background-color: #EEF9FF;
    padding: 46px 57px 34px;
    text-align: center;
    position: relative;
    z-index: 9;
}
.eligibilityBlock span{
    display: block;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
    text-align: center;
}
.eligibilityBlock img{
    height: 83px;
    margin-bottom: 35px;
}
.eligibilityBlock::before{
    content: "";
    background: url(../images/dotLine.svg) no-repeat center bottom;
    background-size: contain;
    height: 28px;
    width: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    top: -28px;
    position: absolute;
}
.eligibilityBtnGroup{
    margin: 0 auto;
    max-width: 624px;
    width: 100%;
    text-align: center;
    background-color: #FFFFFF;
    box-shadow: 0px 6px 24px 0px #00000040;
    border-radius: 46.5px;
    padding: 23px 28px;
    display: flex;
    gap: 34px;
    justify-content: center;
}
.eligibilityBtnGroup a{
    flex: 1;
    padding: 8px 20px;
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 34px;
    text-align: center;
    text-decoration: none;
    border-radius: 40px;
}




/* Start  – Video text Css */
.bottomSection .sectionHeading{
    margin-bottom: 0;
    transform: translateY(30px);
} 
 .upLevelIndex{
    position: relative;
    text-align: center;
    z-index: 99;
}
.groupBtnInner{
    border: 5px solid #133E79;
    display: inline-flex;
    align-items: center;
    margin: 0 auto;
    border-radius: 12px;
}
.groupBtnInner .lightblk{
    font-weight: 600;
    font-size: 24px;
    font-family: "Open Sans", sans-serif;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 23px;
    color: #133E79;
}
.groupBtnInner .darkblk{
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 82px;
    padding: 0 20px;
    letter-spacing: 0%;
    background-color: #133E79;
    color: #FFFFFF;
}
.smallHighLight{
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #000000;
    margin: 30px 0;
}
.highlightLine{
    font-weight: 400;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000;
    background-color: #BCCF17;
    padding: 18px 42px;
    border-radius: 10px;
    display: inline-block;
}
.highlightLine span{
    font-weight: 600;
}




.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(24px, 5vw, 64px);
    padding-top:  clamp(24px, 5vw, 20px);
    background-image:url(../images/videoBg.webp);
    background-size: cover;
    background-position: center right;
}

.frame {
    max-width: 1720px;
    max-height: 545px;
    width: 100%;
    position: relative;
}
canvas {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px; /* optional, matches aesthetic */
}
.cta {
    margin-top: 18px;
    display: inline-block;
    padding: 12px 20px;
    border-radius: 999px;
    background: #1f2a44;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
.playback-overlay {
    position: absolute;
    inset: 0;
    display: none; /* shown only if autoplay fails */
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(2px);
}
.overlay-btn {
    padding: 12px 18px;
    border-radius: 999px;
    border: 0;
    font-weight: 700;
    cursor: pointer;
}

/* End  – Video text Css */
/* Start Horizontal Card Stacking CSS */

@media screen and (min-width: 768px){
    .stacking-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: #FFFFF7;
}

.stacking-cards {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  perspective: 1000px;
}

.card {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70%;
    height: 70%;
    max-height: 522px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    transition: transform 0.4s ease;
    background-color: #0E3C6F;
    border-right: 4px solid #FFFFFF;
    border-bottom: 4px solid #FFFFFF;
    padding: 30px 40px 0;
}

/* stacked-right look */
.card1 {    right: 25%; z-index: 5; }
.card2 {    top: 52%; right: 20%; z-index: 4; }
.card3 {    top: 54%; right: 15%; z-index: 3; }
.card4 {    top: 56%; right: 10%; z-index: 2; }
.card5 {    top: 58%; right: 5%; z-index: 1; }
.card h3{
    font-weight: 600;
    font-size: 32px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #FFFFFF;
    font-family: "Open Sans", sans-serif;
}
.cardContent{
    background: url(../images/cardBg.webp) no-repeat center center;
    background-size: cover;
    padding: 40px;
    height: 91%;
}
.cardContent ul{
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}
.cardContent ul li{
    max-width: 494px;
    width: calc(50% - 20px);
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #FFFFFF;
    background: url(../images/check.svg) no-repeat left top;
    padding-left: 40px;
    background-size: 24px 24px;
    margin-bottom: 30px;
}

.pager {
    position: fixed;
    bottom: 40px;
    left: 6%;
    font-size: 20px;
    font-family: monospace;
    color: #000000;
    z-index: 999;
    pointer-events: none;
}
.pager-current{
    font-size: 32px;
}

.stacking-section .section-heading {
  position: absolute;
  top: 5%;
  left: 5%;
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  z-index: 20;
}

/* Over Horizontal Card Stacking CSS */
}

.batchSection{
    padding-top: 85px;
}

.termOpenBtn, .termOpenBtn1 {
    padding: 10px 20px;
    background-color: #c9e94f;
    color: #000000;
    border: none;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
  }

  /* Popup overlay */
  .termPopupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  /* Popup content */
  .termPopupContent {
    background: #133E79;
    padding: 20px;
    max-width: 800px;
    width: 80%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 0px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    position: relative;
  }
  .termPopupContent h2{
    color: #FFFFFF;
  }
  /* Close button */
  .termCloseBtn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 21px;
    background: none;
    border: none;
    cursor: pointer;
    color: #FFFFFF;
  }

  ul.termList {
    margin-top: 20px;
    padding-left: 20px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
  }

  li.termItem {
    margin-bottom: 8px;
    background: url(../images/check.svg) no-repeat left top;
    padding-left: 40px;
    background-size: 24px 24px;
    margin-bottom: 30px;
     font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #ffffff;
    width: calc(50% - 20px);
  }
/*End  Popup content */
/* End Horizontal Card Stacking CSS */
  /* Footer */
  footer{
    background-color: #0E3C6F;
    padding: 18px 0;
  }

  footer p{
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
}

.apply-buttons {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 999;
}

/* --- Button Style --- */
.apply-btn {
    writing-mode: vertical-rl;          /* vertical text */
    transform: rotate(180deg);          /* reverse direction (bottom-to-top) */
    text-orientation: mixed;
    text-decoration: none;
    background: #c9e94f;
    color: #000;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 0px 8px 8px 0px;
    margin: 6px 0;
    transition: all 0.4s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    font-weight: 600;
    font-size: 20px;
    line-height: 80%;
    letter-spacing: 1%;
    text-align: center;
    padding: 69px 20px;
}

/* --- Different color for GMAT --- */
.apply-btn.gmat {
  background: #f5f5f5;
}

/* --- Hover effects --- */
.apply-btn:hover {
  transform: rotate(180deg) translateX(-6px); /* maintain text flip on hover */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* --- Scroll animation --- */

/* --- Smooth floating motion (applied dynamically) --- */
.apply-btn.float {
  transform: rotate(180deg) translateY(8px); /* moves slightly down but remains fixed */
}
.mbStckWrapper{
    display: none;
}
@media screen and (max-width: 1560px) {
    .heroCard1, .heroCard2, .heroCard3{
        max-width: 266px;
    }

    .rankingFlex{
        justify-content: center;
    }
    .rankingFlex .blockRank{
        max-width: 270px;
    }

    .lowerLevel{
        font-size: 16px;
        padding: 20px 10px;
    }

    .cardContent ul li{
        font-size: 18px;
        max-width: 400px;
        margin-bottom: 15px;
    }
}
@media screen and (max-width: 1440px) {
    header .mainLogo img{
        height: 72px;
    }
    .rightSideLogo img{
        height: 60px;
    }
    .sectionHeading{
        font-size: 42px;
    }
    .leftSide h1{
        font-size: 48px;
    }
    .heroCard1, .heroCard2, .heroCard3{
        max-width: 220px;
    }
    .leftSide{
        padding: 280px 0 200px;
    }
    .legacyTable > span{
        font-size: 24px;
    }
    /* .rankingFlex .blockRank{
        max-width: 300px;
    } */
    .imageGlance1{
        max-width: 290px;
    }
    .ratingInfoBlck h4{
        font-size: 60px;
    }
    .applyBlock h4{
        font-size: 24px;
    }
    .highlightLine{
        font-size: 28px;
    }
    .apply-btn{
        padding: 50px 20px;
        font-size: 14px;
    }
    .ratingSection{

        padding: 80px 0 60px;
    }
    .jobSection{
        padding: 60px 0 70px;
    }
    .batchSection{
        padding-top: 60px;
    }
    .rankingFlex .blockRank .text{
        font-size: 16px;
        max-width: 166px;
    }
    .rankingFlex{
        margin-bottom: 10px;
    }
    .contentGlance{
        max-width: 1100px;
    }
}
@media screen and (max-width: 1280px) {
    .leftSide{
        padding: 220px 0 160px;
    }
    .rightWhySlide h3{
        font-size: 18px;
        line-height: 30px;
    }
    .applyFlex{
        max-width: 90%;
        gap: 20px;
        margin: 0 auto;
    }
    .applyBlock h4{
        font-size: 20px;
        line-height: 28px;
    }
}
@media screen and (max-width: 1080px) {
    .heroCard1, .heroCard2, .heroCard3{
        max-width: 180px;
    }
    .leftSide .buttonHero a{
        width: 180px;
        padding: 13px 20px;
        font-size: 18px;
    }
    .leftSide h1{
        font-size: 42px;
        margin-bottom: 30px;
    }
    .leftSide h4{
        font-size: 32px;
    }
    .leftSide p{
        font-size: 28px;
    }
    .leftSide p span{
        font-size: 20px;
    }
    .legacyTable > span{
        font-size: 16px;
    }
    .ratingInfoBlck h4{
        font-size: 54px;
    }
    .ratingInfo{
        gap: 40px
    }
    .imageGlance{
        gap: 30px;
    }
    .imageGlance1{
        max-width: 240px;
    }
    .rightWhySlide h3{
        font-size: 18px;
        line-height: 120%;
    }
}
@media screen and (max-width: 767px) {
    .deskBlock{
        display: none;
    }
    .mbBlock{
        display: block;
    }
    header{
        position: fixed;
        top: 0;
        width: 100%;
        border: 0;
        border-radius: 0;
    }
    header .mainLogo img{
        height: 45px;
    }
    .heroSection{
        background: url(../images/bgHero_Mb.webp) no-repeat center bottom;
        background-size: cover;
    }
    .rightSideLogo img{
        height: 30px;
    }
    .sectionHeading{
        font-size: 28px;
        margin-bottom: 20px;
    }
    .heroSection .d-flex{
        flex-direction: column;
    }
    .leftSide{
        padding: 90px 0 30px;
    }
    .leftSide h1{
        font-size: 32px;
        max-width: 344px;
        text-align: center;
        margin: 0 auto;
        padding-bottom: 18px;
        margin-bottom: 15px;
        position: relative;
    }
    .leftSide h1::after{
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        border: 1px solid; /* Required for the border to exist */
        border-image-source: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 0, 0, 0) 100%
        );
        border-image-slice: 1; /* This tells the browser to use the full gradient */
        max-width: 342px;
        width: 100%;
        height: 1px;
        bottom: 0;
    }
  
    .leftSide h4, .leftSide h4 span{
        font-size: 22px;
        color: #000000;
        text-align: center;
    }
    .leftSide .buttonHero{
        padding: 0;
        border: 0;
        text-align: center;
        display: flex;
        justify-content: center;
    }
    .leftSide .buttonHero a{
        font-size: 14px;
        padding: 12px 24px;
    }
    .leftSide p{
        font-size: 24px;
        text-align: center;
    }
    .rightSide{
        margin-top: 0;
    }
    .rightSideInner{
        margin-top: 20px;
        max-width: 150px;
    }
 
    .legacyTable span{
        max-width: 209px;
        width: 50%;
        white-space: wrap;  
        text-align: center;    
        width: 50%;
    }
    .legacyTable span:first-child{
        max-width:100%;
        width: 100%;
        display: block;
    }
    .legacyTable{
        justify-content: center;
    }
    .rankingFlex {
        display: block;
    }
    .owl-carousel .blockRank {
        margin: 10px;
    }
    .rankingSection{
        padding-bottom: 40px;
    }
    .rankingFlex{
        margin-bottom: 30px;
    }
    .contentGlance p{
        font-size: 14px;
        text-align: left;
    }
    .imageGlance{
        gap: 10px;
    }
    .imageGlance > div{
        padding: 2px;
    }
    .imageGlance1{
        max-width: 100px;
    }
    .whyChooseSection{
        padding: 30px 0;
    }
    .whyChooseFlex{
        flex-direction: column;
        gap: 30px;
    }
    .whyChooseSection .leftWhySide{
        padding-top: 0;
    }
    .whyButtonGroup a{
        font-size: 14px;
        padding: 14px 24px;
    }
    .whyChooseSection .sectionHeading{
        margin-bottom: 20px;
    }
    .rightWhyslider.owl-carousel .owl-stage-outer::before{
        max-width: 120px;
    }
    .ratingSection{
        padding: 37px 0;
    }
    .ratingInfo{
        flex-wrap: wrap;
        gap: 16px;
    }
    .ratingInfoBlck:first-child{
        max-width: 100%;
    }
    .ratingInfoBlck{
        max-width: calc(50% - 16px);
        padding: 20px 0;
    }
    .ratingInfoBlck h4, .ratingInfoBlck h4 span{
        font-size: 24px;
    }
    .ratingInfoBlck span.small{
        font-size: 14px;
        padding-top: 16px;
        margin-top: 14px;
    }
    .ratingInfoBlck span.small::before{
        max-width: 100%;
    }
    .recruiterMain {
        display: block;
    }
    .owl-carousel .recruiterBlock {
        margin: 10px 0;
    }
    .owl-carousel .recruiterBlock img{
        width: unset;
    }
    .lowerLevel{
        font-weight: 600;
        font-size: 16px;
        line-height: 28px;
        padding: 2px 10px;
    }
    .jobSection{
        padding: 20px 0;
    }
    .batchSection{
        padding: 30px 0;
    }
    .eligibilitySection{
        padding: 23px 0 30px;
    }
    .eligibilitySection h5{
        font-size: 28px;
    }
    .applyFlex{
        flex-direction: column;
        margin-bottom: 20px;
    }
    .applyFlex::before{
        width: 1px;
        height: 100%;
        border: 0;
        border-left: 1px dashed #133E79;
        left: 24px;
        top: 0;
        transform: translate(0);
    }
    .applyBlock{
        max-width: 100%;
        position: relative;
        padding-left: 60px;
        margin-bottom: 30px;
    }
    .applyBlock h4{
        font-size: 15px;
        text-align: left;
        margin-bottom: 0;
    }
    .applyBlock p{
        font-size: 15px;
        text-align: left;
    }
    .applyBlock .img{
        height: 48px;
        position: absolute;
        left: 0;
        top: 0;
    }
     .applyBlock .img img{
        height: 100%;
     }
     .eligibilityFlex::after{
        display: none;
     }
     .eligibilityBlock::before{
        display: none;
     }
     .eligibilityFlex{
        flex-direction: column;
        gap: 0;
     }
     .eligibilityBlock{
        display: flex;
        margin-bottom: 30px;
        padding: 14px 12px;
        gap: 20px;
     }
     .eligibilityBlock img{
        height: 36px;
     }
     .eligibilityBlock span{
        font-size: 14px;
        text-align: left;
     }
     .eligibilityBtnGroup{
        padding: 10px;
        gap: 5px;
     }
     .eligibilityBtnGroup a{
        font-size: 14px;
        padding: 6px 5px;
     }
     .eligibilityFlex::before{
        display: none;
     }
     .eligibilityFlex{
        margin: 0;
     }
     .groupBtnInner .darkblk{
        font-size: 16px;
        line-height: 60px;
     }
     .groupBtnInner .lightblk{
        font-size: 16px;
        padding: 10px 20px;
     }
     .smallHighLight{
        font-size: 20px;
     }
     .highlightLine{
        font-size: 14px;
        padding: 8px;
     }
     .highlightLine span{
        display: block;
     }

     .mbStckWrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 0 30px;
    }

    .mbStckContainer {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: calc(100% - 30px);
        margin: 0 auto;
    }

    /* Common card styling */
    .mbStckBlock {
        position: sticky;
        top: 60px;
        width: 100%;
        border:0;
        border-radius: 0px;
        
        background-color: #0E3C6F;
        box-shadow: 5px 5px 0 #000;
        margin-bottom: 120px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        padding: 20px;
        color: #FFFFFF;
    }

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

    .mbStckTitle {
        font-size: 20px;
        text-align: center;
        margin-bottom: 10px;
    }
    .mbStckContent{
        background: url(../images/cardBg.webp) center center no-repeat;
        background-size: cover;
        min-height: 350px;
    }
    .mbStckContent .mbStckList {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mbStckContent .mbStckList li {
        font-size: 14px;
        margin: 4px 0;
    }

    /* Color variations and top stacking offsets */
    .mbStckBlock1 {
        top: 60px;
    }
    .mbStckBlock2 {
        top: 80px;
    }
    .mbStckBlock3 {
        top: 100px;
    }
    .mbStckBlock4 {
        top: 120px;
    }
    .mbStckBlock5 {
        top: 140px;
    }

    /* Button styling */
    .mbStckBtn {
        margin-top: 10px;
        background: #000;
        color: #fff;
        border: none;
        padding: 8px 16px;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.3s;
        }

    .mbStckBtn:hover {
        background: #333;
    }
    .mbStckContent .mbStckList{
        list-style: none;
        padding: 10px;
        margin: 0;
    }
    .mbStckContent .mbStckList li{
        font-family: "Open Sans", sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 150%;
        letter-spacing: 0%;
        color: #FFFFFF;
        background: url(../images/check.svg) no-repeat left top;
        padding-left: 40px;
        background-size: 24px 24px;
        margin-bottom: 20px;
    }
    .pager{
        display: none;
    }
    .apply-buttons {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        background: #fff;
        box-shadow: unset;
        padding: unset;
    }

    .apply-btn {
        writing-mode: horizontal-tb;
        transform: none;
        border-radius: 0px;
        padding: 15px 18px;
        font-size: 16px;
        flex: 1;
    }

    .apply-btn.float {
        transform: none;
    }
    li.termItem{
        font-size: 14px;
        background-size: 18px 18px;
        width: 100%;
    }
    .termOpenBtn1{
        font-size: 14px;
        padding: 12px 12px;
    }
    .mbStckWrapper{
        display: block;
    }
    .hero{
        min-height: 80vh;
    }
    footer{
        padding-bottom: 70px;
    }
    footer p{
        font-size: 12px;
    }
    .herosection2{
    padding-top: 00px;
}
}


@media screen and (max-width:400px) {
    header{
        padding: 12px 10px;
    }
    header .mainLogo img{
        height: 30px;
    }
    .sectionHeading{
        font-size: 24px;
    }
    .leftSide .buttonHero a{
        padding: 5px 24px;
    }
    .leftSide p span{
        font-size: 18px;
    }
    .heroCard1, .heroCard2, .heroCard3{
        max-width: 130px;
    }
    .imageGlance1{
        max-width: 80px;
    }
    .hero{
        min-height: 60vh;
    }
}