/* ==========================================================================
   1. Global CSS Variables & Reset
   ========================================================================== */


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

.legacy-leaders img {
    width: 100%;
    max-width: 100%;
}

.divider {
    width: 100%;
    padding: 25px 0;
}

/* ==========================================================================
   2. Global Typography Utility Classes
   ========================================================================== */
.legacy-leaders {
    width: 100%;
    height: auto;
    background: url(../media/home/bg.jpg) top left no-repeat;
    background-size: cover;
}

.ll_heading {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: var(--roman-bold);
  color: var(--third);
}

.headingBtMargin{
    margin-bottom: 1.5rem;
}

.textmb {
    margin-bottom: 1.5rem;
}
.blockqoute {
    color: #177abb;
    border-left: 5px solid #177abb;
    padding-left: 15px;
}
p.blockqoute span {
    text-transform: uppercase;
    display: block;
    font-family: var(--roman-bold);
}
.heading_1 {
    font-size: 30px;
    line-height: 1;
}
.heading_4 {
    font-size: 16px;
    line-height: 1;
}
.text-bold-lg {
  font-size: 1.125rem; /* 1.125rem = 18px */
  font-weight: 700;
  line-height: 1.6;
}

.ll_text {
    font-family: var(--roboto);
    letter-spacing: 0.04rem;
    line-height: 1.6;
    color: var(--primary);
}

/* ==========================================================================
   3. Layout & Section Styling
   ========================================================================== */

.two-column-section, .behind-legacy {
  padding: 2rem 1.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.flex-wrapper {
  display: flex;
  flex-direction: column; /* Mobile by default: single column stacked */
  gap: 2.5rem;
  align-items: center;
}

/* Both Columns */
.col {
  width: 100%;
}

/* Image Wrapper and Fluid Responsive Images */
.image-wrapper {
  margin-bottom: 1.5rem;
}

.image-wrapper img {
  height: auto;
  display: block;
}

.news18 img {
    max-width: 160px;
    margin-top: 10px;
}

.lotusFlower {
    position: relative;
}

.wht-define-legacy {
    background-color: #003a63;
    padding: 25px 0;
    overflow: hidden;
    position: relative;
}
.wht-define-legacy h2 {
    text-align: center;
    color: #fff;
    font-size: 25px;
    font-family: var(--roman-bold);
}

.legacyTextWrap {
    position: relative;
}
.legacy-leaers-personality {
    background-image: unset;
    background-size: 80% auto;
    background-repeat: no-repeat;
    background-position: bottom right;
    position: relative;
}
.heading_wrapper h2{
    margin-left: 18px;
}
.heading_wrapper h3 {
    background-color: var(--primary);
    color: #fff;
    margin-top: 3px;
    padding: 5px 30px 5px;
}
.moreThanReco p {
    text-align: center;
    margin-top: 15px;
}
.grid-container {
display: grid;
gap: 24px;
margin-top: 60px;
}

.grid-col-2 {
    grid-template-columns: 1fr;
}

.overlayTextWrap {
   position: absolute;
    bottom: 70px;
    left: 25px;
}
.overlayTextWrap p{
    font-family: var(--roman-bold);
}
.overlayTextWrap p.legacyTitle {
    font-size: 35px;
    max-width: 200px;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.overlayTextWrap p.legacyTitle span {
    color: #257eb9;
    font-family: var(--roman-bold);
}

.overlayTextWrap p.legacyTitle:after {
    content: "";
    position: absolute;
    width: 100px;
    height: 2px;
    background-color: #257eb9;
    bottom: 0;
    left: 0;
}

.overlayTextWrap p:last-child {
    font-size: 20px;
}
.marquee-track-wrap {
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
}
.marquee-track-wrap::before, .marquee-track-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
}
.marquee-track-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--deep), transparent);
}
.marquee-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    flex-shrink: 0;
    animation: marqueeMove 26s linear infinite;
    width: max-content;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 0 34px;
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.3px;
}
.marquee-item .sep {
    color: var(--primary);
    font-size: 20px;
}

 @keyframes marqueeMove{
    0%{transform:translateX(0);}
    100%{transform:translateX(-50%);}
  }

.the_platform, .shape-india, .legacy-story, .callToAction {
    padding: 2rem 1.5rem;
}

.the_platform .flex-wrapper {
    gap: 25px;
    flex-wrap: wrap;
}

.the_platform .ll_heading {
    text-align: center;
    margin-bottom: 4rem;
}
.col-box {
    flex-basis: 100%;
    background-color: #f2f7fb;
    padding: 38px;
    border-radius: 15px;
    border: 1px solid #dfe9ef;
    position: relative;
    transition: 0.2s ease-in-out;
    overflow: hidden;
}

.col-box:hover {
    background-color: #fff;
    box-shadow: 0px 0px 50px -9px rgb(0,0,0,0.3);
}

.col-box:before {
    content: "";
    position: absolute;
    width: 0;
    height: 4px;
    background-color: #003a63;
    top: 0;
    left: 0;
    transition: 0.4s width ease-in-out;
}
.col-box:hover:before{
    width: 100%;
}
.the_platform .col-box span {
    display: block;
}
.the_platform .col-box .number {
    font-size: 18px;
    color: #177abb;
    margin-bottom: 1rem;
}
.the_platform .col-box .icon{
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(319deg, #257eb9, #13407c);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.the_platform .col-box h3 {
    font-size: 25px;
    font-family: var(--roman-bold);
    margin-bottom: 10px;
    margin-top: 24px;
    color: var(--third);
}

.shape-india h2, .sm-text-width > .ll_text {
    text-align: center;
}

.testimonial_slider{
    box-shadow: 0px 0px 45px -9px rgb(0,0,0,0.3);
}

.testimonials-slide {
    background-color: #fff;
    border-radius: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden;
    position: relative;
    border: 1px solid #f6fafd;
    transition: 0.3s ease-in-out;
}
.testimonials-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 40px -9px rgb(0, 0,0, 0.2);
}
.testimonials-slide .testimonial-content img {
 max-width: 25px;
}
.testimonial-content {
    padding: 22px;
    position: relative;
    z-index: 1;
}

.testimonial-content h3 {
    font-size: 25px;
    margin-top: 10px;
    margin-bottom: 8px;
    color: var(--third);
}

.testimonial-content span.occupation {
    font-size: 15px;
    color: #257eb9;
    display: inline-block;
    margin-bottom: 15px;
    font-family: var(--roboto);
}

.testimonial_slider {
    margin-top: 4rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 25px;
}

.testimonials-slide figure{
    width: 100%;
}

.testimonials-slide figure img {
    width: 100%;
    display: block;
}

/* .testimonials-slide:after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: #257eb9;
    border-radius: 100%;
    right: -65px;
    bottom: -55px;
} */

.testimonial_slider img.slick-arrow {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    bottom: -100px;
    max-width: 35px;
}

.testimonial_slider img.slick-arrow:first-child{
    left: 30%;
}
.testimonial_slider img.slick-arrow:last-child{
    right: 30%;
}

.legacy-story .legacy-storybox{
      background-color: #257eb9;
    border-radius: 35px;
    text-align: center;
    max-width: 992px;
    width: 100%;
    margin: auto;
    padding: 2rem 1rem;
    margin-top: 4rem;
}

.legacy-story h2 {
    font-size: 30px;
    margin-bottom: 2rem;
}
.legacy-story h2, .legacy-story p {
    color: #fff;
}

.button-container a {
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    transition: 0.2s ease-in-out;
    padding: 15px 25px;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: #257eb9;
    color: #257eb9;
    text-decoration: none;
    font-family: var(--roboto);
}

.button-container a:first-child {
    background-color: #fff;
}

.button-container a:first-child:hover{
    background-color: #257eb9;
    color: #fff;
    border-color: #fff;
}

.button-container a:last-child {
    background-color: #257eb9;
    color: #fff;
    border-color: #fff;
}
.button-container a:last-child:hover{
    background-color: #fff;
    color: #257eb9;
}

.button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    gap: 20px;
}
.action-container {
    max-width: 1110px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.content-area, .action-area {
    width: 100%;
}
.content-area img {
    max-width: 100%;
    width: auto;
}

.action-area {
    background-color: #fff;
    border-radius: 25px;
    border: 2px solid #257eb9;
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content-area h2.ll_heading {
    font-size: 30px;
}

span.bold-area {
    background-color: #257eb9;
    position: relative;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

span.bold-area svg {
    fill: #fff;
}

span.bold-area:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px dashed #257eb9;
    border-radius: 100%;
}

h3.contact-heading {
    position: relative;
    font-size: 25px;
    color: #257eb9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

h3.contact-heading:before, h3.contact-heading:after {
    content: "";
    position: absolute;
}

h3.contact-heading:before{
    background-color: #fff;
    width: 160px;
    height: 100%;
    z-index: 1;
}
h3.contact-heading:after{
    width: 330px;
    height: 2px;
    background: linear-gradient(
    to right, 
    transparent 0%, 
    #257eb9 50%, 
    transparent 100%
  );
}

.action-area p.ll_text {
    text-align: center;
}

.action-area a {
    display: flex;
    background-color: #257eb9;
    color: #fff;
    border-radius: 5px;
    padding: 15px 12px;
    margin-top: 15px;
    text-decoration: none;
    align-items: center;
    gap: 10px;
    font-family: var(--roboto);
    font-size: 13px;
}

.contact-heading span {
    position: relative;
    z-index: 2;
    font-family: var(--roman-bold);
}

.action-area a svg {
fill: #fff;
}



/* ==========================================================================
   4. Desktop Responsive Breakpoint
   ========================================================================== */
   @media (min-width: 768px) {
  .two-column-section, .behind-legacy, .the_platform, .shape-india, .legacy-story, .callToAction {
    padding: 4rem 2rem;
  }

  section.two-column-section.behind-legacy .flex-wrapper {
    flex-direction: column;
}
.action-area a {
    padding: 15px 30px;
    font-size: 15px;
}

 .flex-wrapper {
    flex-direction: row; 
    align-items: center;
    gap: 4rem;
  }
  
  .col {
    flex: 1; 
  }
  .lotusFlower img{
        position: absolute;
       left: -27%;
       top: -100px;
        width: 435px;
    }
    .overlayTextWrap p.legacyTitle{
        font-size: 60px;
    }
    .testimonials-slide {
        flex-wrap: nowrap;
    }
    .testimonials-slide figure{
    width: 35%;
}
.testimonials-slide .testimonial-content{
    width: 65%;
}


.testimonial_slider img.slick-arrow:first-child{
    left: 42%;
}
.testimonial_slider img.slick-arrow:last-child{
    right: 42%;
}

.legacy-story .legacy-storybox {
        padding: 4rem 8rem;
}

.legacy-story h2, .content-area h2.ll_heading {
    font-size: 55px;
}
.col-box {
    flex-basis: 48%;
}
.action-container {
    padding: 0 15px;
}
.legacy-leaers-personality {
    background-image: url(../media/legacy-leaders/legacy-leaders-image.webp);
        height: 1400px;
}
.moreThanReco {
    position: absolute;
    bottom: -160px;
}
.moreThanReco p {
    padding-right: 14%;
}
.heading_wrapper h2{
    margin-left: 70px;
}
.heading_wrapper h3 {
    padding: 5px 150px 5px;
}
}

@media (min-width: 992px){
        .lotusFlower img{
            left: -18%;
            width: 510px;
        }
        section.two-column-section.behind-legacy .flex-wrapper {
        flex-direction: row;
    }
    .grid-col-2 {
    grid-template-columns: repeat(2, 1fr);
}
    }
@media (min-width: 1024px){
    .lotusFlower img{
        left: -27%;
        width: 600px;
    }
    .ll_heading {
        font-size: 55px;
    }
    .sm-text-width {
    max-width: 830px;
    margin: auto;
}
.testimonial_slider img.slick-arrow:first-child{
    left: 44%;
}
.testimonial_slider img.slick-arrow:last-child{
    right: 44%;
}
.col-box{
    flex-basis: 31.5%;
}
 .content-area {
            width: 52%;
        }
    .action-area {
        width: 45%;
    }
    .divider {
    padding: 150px 0;
}
    .heading_1 {
        font-size: 50px;
    }
    .heading_4 {
        font-size: 22px;
    }
}
@media (min-width: 1366px){
    .ll_heading {
        font-size: 75px;
    }
    .lotusFlower img{
        left: -27%;
        width: 800px;
    }
    .content-area {
            width: 60%;
        }
    .action-area {
        width: 38%;
    }
}
