.hero-section{
  position: relative;
  overflow: hidden;
  padding: 120px 100px 100px;
}

.hero-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-left{
  text-align: left;
  display: grid;
  gap: 14px;
}

.hero-logo img{ width: 120px; height: auto; }

.hero-title h1{
  position: relative;
  font-size: 60px;
  line-height: 1.1;
  font-weight: 500;
  color: #175082;
  margin: 0;
}


.hero-desc{
  font-size: 28px;
  line-height: 1.4;
  color: #175082;
  font-weight: 400;
}


.pink-btn .arrow{ margin-left:8px; }

.hero-right{ width:100%; }

.hero-video-wrap{
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  aspect-ratio: 1 / 1;           /* gives the video a height */
  border-radius: 9999px;
  overflow: hidden;
  /* box-shadow: 0 10px 40px rgba(0,0,0,.08); */
}

.hero-video-wrap video{
  display:block;
  width:100%;
  height:100%;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 1200px){
.hero-section{ 
      padding: 120px 50px 50px;
 }

 .hero-title h1{
  font-size: 50px;
  
}

}

@media (max-width: 900px){
 .hero-section{ 
    padding: 110px 50px 50px;
 }

   .hero-title h1{ 
    font-size: 35px; 
}

  .hero-desc{ 
    font-size: 20px; 
}
}

@media (max-width: 767px){
  .hero-section{ 
    padding: 110px 30px 30px;
 }

  .hero-inner{ 
    grid-template-columns: 1fr; 
}

.hero-left {
    text-align: center;
}

  .hero-video-wrap{ 
    margin: 10px auto 0; 
    max-width: 520px; 
}

   .hero-title h1{ 
    font-size: 45px; 
}

  .hero-desc{ 
    font-size: 22px; 
}
}

@media (max-width: 500px){
.hero-title h1{ 
    font-size:32px; 
}

  .hero-desc{ 
    font-size: 18px; 
}

.hero-desc br{
    display:none;
}

.hero-left {
    gap: 10px;
}
}


section.main-section {
        position: relative;
        overflow: hidden;
    }

    .why-join-section {
        position: relative;
        overflow: hidden;
        padding: 0 100px;
        z-index: 1;
    }

    .why-join-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: center;
    }

    .why-join-left {
        display: grid;
        place-content: baseline;
        gap: 20px;
    }

    .why-join-right{
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 20px;
        align-items: center;
    }

    .cards {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px;
    }

    .card {
        text-align: center;
        border: 1px solid #d63f76;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        margin: 10px;
        padding: 10px;
        background: #fff;
        transform: scale(1);
    transition: transform 2s, visibility 2s ease-in;
    }

    .card:hover {
    transform: scale(1.1);
    transition: transform 2s, visibility 2s ease-in;
}

    .single-card{
    display: grid;
    grid-template-columns:1fr;
    }

    .card-icon img{
        width: 60px;
        height:100%;
    }

    .card-title{
        font-size: 18px;
        color: #d63f76;
        font-weight: 400;
    }

    .card-text{
    font-size: 14px;
        color: #175082;
        font-weight: 400;
    }

    .logo-bg{
    background: url('../images/logo-bg.png') 50% 50% no-repeat;
    background-size: contain;
    background-position: right center;
    position: absolute;
    width: 100%;
    height: 700px;
    top: 14%;
    right: 0;
    z-index: 0;
    }


    .made-simple-section {
    text-align: center;
    position: relative;
    padding: 100px;
    z-index: 1;
    }

    .made-simple-desc{
        width: 60%;
        margin:0 auto;
        margin-top: 20px;
    }

    .made-simple-cards{
        position: relative;
        margin-top: 50px;
    }


    .simple-cards {
    display: grid;
        grid-template-columns: 150px 150px 150px 150px 150px;
        place-content: center;
        gap: 30px;
    }

    .simple-card{
        text-align: center;
        border: 1px solid #d63f76;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        padding: 10px;
        height: 150px;
        display: grid;
        place-content: center;
        gap: 10px;
        position: relative;
        margin: 0;
    }


    .simple-card-icon img{
    width: 50px;
        height:100%;
    }

    .simple-card-title{
    font-size: 16px;
        color: #fff;
        font-weight: 400;
    }

    .card1{
    margin-top: 280px;
    }

    .card2{
        margin-top: 210px;
    }

    .card3{
        margin-top: 140px;
    }

    .card4{
        margin-top: 70px;
    }

   .card1::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 75px;
    width: 180px;
    height: 150px;
    border-radius: 20px 20px 0 0; 
    background: 
        /* top */
        linear-gradient(90deg, #d63f76 50%, transparent 50%) repeat-x,
        /* left */
        linear-gradient(0deg, #d63f76 50%, transparent 50%) repeat-y,
        /* right */
        linear-gradient(0deg, #d63f76 50%, transparent 50%) repeat-y;
    background-size: 15px 3px, 3px 15px, 3px 15px;
    background-position: 
        0 0,     /* top */
        0 100%,  /* left starts at bottom */
        100% 0;  /* right */
    background-repeat: repeat-x, repeat-y, repeat-y;
    animation: border-dance 4s infinite linear;
    z-index: -1;
    }

    .card2::before {
    content: "";
    position: absolute;
    top: 70px;
    left: 75px;
    width: 180px;
    height: 150px;
    border-radius: 0 0 20px 20px;
    z-index: -1;
    background: 
        linear-gradient(90deg, #d63f76 50%, transparent 50%) repeat-x, 
        linear-gradient(0deg, #d63f76 50%, transparent 50%) repeat-y,  
        linear-gradient(0deg, #d63f76 50%, transparent 50%) repeat-y;  
    background-size: 15px 3px, 3px 15px, 3px 15px;
    background-position: 0 100%, 0 0, 100% 0;
    background-repeat: repeat-x, repeat-y, repeat-y;
    animation: border-move 4s infinite linear;
    }

    .card3::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 75px;
    width: 180px;
    height: 150px;
    border-radius: 20px 20px 0 0; 
    z-index: -1;
    background: 
        linear-gradient(90deg, #d63f76 50%, transparent 50%) repeat-x,
        linear-gradient(0deg, #d63f76 50%, transparent 50%) repeat-y,
        linear-gradient(0deg, #d63f76 50%, transparent 50%) repeat-y;
    background-size: 15px 3px, 3px 15px, 3px 15px;
    background-position: 0 0, 0 100%, 100% 0; 
    background-repeat: repeat-x, repeat-y, repeat-y;
    animation: border-dance 4s infinite linear;
    }

    .card4::before {
    content: "";
    position: absolute;
    top: 70px;
    left: 75px;
    width: 180px;
    height: 150px;
    border-radius: 0 0 20px 20px;
    z-index: -1;
    background: 
        linear-gradient(90deg, #d63f76 50%, transparent 50%) repeat-x, /* bottom */
        linear-gradient(0deg, #d63f76 50%, transparent 50%) repeat-y,  /* left */
        linear-gradient(0deg, #d63f76 50%, transparent 50%) repeat-y;  /* right */
    background-size: 15px 3px, 3px 15px, 3px 15px;
    background-position: 0 100%, 0 0, 100% 0;
    background-repeat: repeat-x, repeat-y, repeat-y;
    animation: border-move 4s infinite linear;
    }

    @keyframes border-dance {
    0% {
        background-position: 
        0 0,        /* top start */
        0 100%,     /* left start (bottom) */
        100% 0;     /* right start (top) */
    }
    100% {
        background-position: 
        165px 0,    /* top (moved) */
        0 0,        /* left now goes UP */
        100% 150px; /* right goes down */
    }
    }

    @keyframes border-move {
    0% {
        background-position: 
        0 100%,    /* bottom line start (left to right) */
        0 0,       /* left line start (top to bottom) */
        100% 0;    /* right line start (bottom to top) */
    }
    100% {
        background-position: 
        165px 100%, /* bottom moves right */
        0 150px,    /* left moves down */
        100% -150px;/* right moves up */
    }
    }


    .blue{
    background: #175082;
    }

    .pink{
    background: #d63f76;
    }

    .simple-btn {
        margin-top: 50px;
        text-align: center;
    }

    .logo-bg-left{
        background: url('\../images/logo-bg.png') 50% 50% no-repeat;
        background-size: contain;
        background-position: left center;
        position: absolute;
        width: 100%;
        height: 700px;
        bottom: 17%;
        left: -5%;
        z-index: 0;
    }

    .card-m{
        display:none;
    }

    .back-line-cover{
        display:none;
    }

@media (max-width: 1200px) {
    .why-join-section{
        padding: 0 50px;
    }

    .why-join-right{
        gap: 0px;
    }

    .card {
        margin: 5px;
    }

    .cards{
        gap: 0px;
    }

    .made-simple-desc {
        width: 100%;
    }

    .made-simple-section {
        padding: 50px;
    }

    .logo-bg {
    height: 500px;
    top: 14%;
    right: 0;
    z-index: 0;
}

.logo-bg-left {
    height: 600px;
    bottom: 17%;
    left: -5%;
    z-index: 0;
}
}

@media (max-width: 900px) {
    .why-join-section {
        padding: 30px;
    }

    .why-join-container {
        grid-template-columns: 1fr;
    }

    .why-join-left{
        text-align: center;
    }

    .single-card{
        display:none;
    }

    .card-m{
        display:block;
    }

    .why-join-right{
        grid-template-columns:1fr;
    }

    .cards {
    display: grid;
    grid-template-columns:1fr;
    gap: 10px;
    }

    .card-icon img {
        width: 60px;
        height: 100%;
        margin: 0 auto;
    }

    .card {
        height: 160px;
        display: grid;
        place-content: center;
        gap: 10px;
    }

    .card-title{
        margin: 5px 0;
    }

    .logo-bg {
        background-position: left;
        width: 100%;
    height: 500px;
        top: 8%;
    }

    .simple-cards{
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .card1{
        margin-top: 0;
    }

    .card2{
        margin-top: 0;
    }

    .card3{
        margin-top: 0;
    }

    .card4{
        margin-top: 0;
    }

    .card1::before{
        display:none;
    }

    .card2::before{
        display:none;
    }

    .card3::before{
        display:none;
    }

    .card4::before{
        display:none;
    }

    .simple-card-icon img {
        display: none;
    }

    .simple-card{
        height: 100%;
        gap: 0;
    }

    .slick-prev:before, .slick-next:before{
        color: #175082;
    }

        .made-simple-section {
            padding: 30px;
        }

        .made-simple-cards {
        margin-top: 30px;
    }

    .back-line-cover{
        display: block;
            position: absolute;
            top: 3%;
            background: transparent;
            width: 100%;
            height: 100%;
            z-index: -1;
    }

        .back-line {
            display: block;
            background: transparent;
            border-right: 2px dashed #59a4e5;
            width: 10px;
            height: 100%;
            z-index: -1;
            margin: 0 auto;
        }

        .logo-bg-left {
        background-position: right;
        position: absolute;
        width: 100%;
        height: 500px;
    bottom: 28%;
            left: 0;
            right: 0;
        z-index: 0;
    }
}

@media (max-width: 500px) {
    .logo-bg {
    height: 300px;
        /* top: 22%; */
    }

        .logo-bg-left {
    height: 400px;
           bottom: 28%;
        left: 15%;
    }
}


/* Map section  */
  .map-section{
       position: relative;
    padding: 0px 100px;
    padding-bottom: 50px;
    text-align: center;
        }

    .section-image {
        margin-top: 30px;
    }


      .section-image .map-d{
        width: 1000px;
        height:100%;
    }

    .section-image .map-m{
        display:none;
        width: 100%;
        height:100%;
    }

    .section-image .mini-m{
        display:none;
        width: 100%;
        height:100%;
    }

    @media (max-width: 1200px) {
    .map-section{
        position: relative;
        padding: 0px 50px 50px;
    }

    .section-image .map-d{
        width: 800px;
    }
    }

    @media (max-width: 900px) {
    .map-section{
        position: relative;
        padding: 30px 30px;
    }

    .section-image .map-d{
        display:none;
    }

      .section-image .map-m{
            display:block;
        width: 100%;
        height:100%;
    }
    }

    @media (max-width: 500px) {
    .section-image .mini-m{
        display:block;
        width: 100%;
        height:100%;
    }

    .section-image .map-m{
            display:none;
    }
}


/* partnership-section  */
    .partnership-section {
        position: relative;
    padding: 0px 100px;
    padding-bottom: 50px;
    text-align: center;
    overflow: hidden;
    }

    .logo-card a{
        text-decoration: none;
        }
        
        .logo-card img {
        width: 100%;
        max-width: 100%;
        height: 100px;
        object-fit: contain;
        }

        .partners-slider .partner-item {
        padding: 20px;
        }


        .partners-slider {
        margin: 50px;
        position: relative;
        z-index: 9;
        }

        .logo-desc{
          text-align:center;
          padding:0 100px;
        }

          .partners-slider .slick-prev:before, .slick-next:before{
          font-size: 30px;
          color: #1d5689;
          }

    @media (max-width: 1200px) {
    .partnership-section{
    padding: 0px 50px 50px;
    }
    }

     @media (max-width: 900px) {
 .partnership-section{
    padding: 0px 30px 30px;
    }

    .partners-slider {
        padding: 0 0px;
        margin: 40px 0px;
        }

        .partners-slider .partner-item {
          padding: 5px;
        }

         .partners-slider .slick-prev:before, .slick-next:before{
          font-size: 20px;
          color: #1d5689;
          }

         .logo-card img{
            height:70px;
         }
     }

/* Agency section  */
.agency-section{
     position: relative;
    text-align: center;
    overflow: hidden;
}

.agency-container {
    padding:0 100px 50px;
}

.agency-cards-container {
   margin: 30px 0;
}

.agency-cards{
display: grid;
    gap: 10px;
}

.agency-card{
     text-align: center;
    border: 1px solid #d63f76;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin: 10px;
    padding: 10px;
    background: #fff;
    height: 160px;
    display: grid;
    place-content: center;
    gap: 10px;
     transform: scale(1);
    transition: transform 2s, visibility 2s ease-in;
    }

    .agency-card:hover {
    transform: scale(1.1);
    transition: transform 2s, visibility 2s ease-in;
}


.agency-card-icon img{
    width: 70px;
    height:100%;
    margin: 0 auto;
}

.agency-card-title {
    font-size: 18px;
   color: #175082;
    font-weight: 400;
}

.agency-section-title {
    font-size: 50px;
    color: #fff;
    font-weight: 400;
}

.agency-section-desc {
    font-size: 18px;
    color: #fff;
    font-weight: 400;
    width: 50%;
    margin: 20px auto;
}

.agency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 60%;
    margin: 0 auto;
}

.agency-label {
    font-size: 18px;
    color: #175082;
    font-weight: 400;
    background: #fff;
    padding: 10px 5px;
    border: 1px solid #aaa;
    border-radius: 5px;
}


.agency-bg{
 background: url('../images/agency-bg.png') 50% 50% no-repeat;
   background-size: cover;
    background-position: bottom;
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    z-index: -1;
}

  @media (max-width: 1200px) {
.agency-container {
    padding:0 50px 50px;
}
  }

    @media (max-width: 900px) {
    .agency-container {
    padding:0 30px 30px;
}

.agency-grid {
    width: 100%;
}

.agency-section-title {
    font-size: 30px;
}

.agency-section-desc {
    font-size: 16px;
    width:100%;
    margin: 10px auto;
}
  }

   @media (max-width: 500px) {
  .agency-label {
    font-size: 14px;
    padding: 5px;
  }

  .slick-prev:before, .slick-next:before{
     color: #175082;
  }
}


/* Team section  */
.team-section{
     position: relative;
    padding: 50px 100px;
    text-align: center;
    overflow:hidden;
}

.team-slider{
    display: grid;
 margin-top: 50px;
}

.team-line {
    border: 1px dashed;
}

.team-container {
  display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.team-container:last-child {
margin-bottom: 0px;
}

.team-card1 {
   padding: 20px;
    text-align: center;
}

.team-card1 img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  margin-bottom: 15px;
  border: 1px solid #00529b;
  cursor: pointer;
}

.team-title {
   display: grid;
    grid-template-columns: 2fr 1.3fr 2fr;
    justify-content: center;
    align-items: center;
    color: #d63f76;
    margin-bottom: 40px;
}

h2.team-category-title{
font-size: 30px;
    margin: 0;
    color: #d63f76;
    font-weight: 400;
}

.card-inner {
    width: 300px;
}

.team-name{
font-size: 18px;
  margin: 0;
  color: #1d5689;
  display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.team-name p{
    margin:0;
}

.team-position{
  font-size: 16px;
  color: #1d5689;
  line-height: 1.5;
  margin: 0;
}

@media screen and (max-width: 1200px) {
.team-section{
padding: 50px;
}

.team-slider {
    width: 100%;
}
}

@media screen and (max-width: 1050px) {
.card-inner {
    width: 230px;
}

.team-title {
    grid-template-columns: 2fr 1.8fr 2fr;
}
}

@media screen and (max-width: 850px) {
.team-section{
padding: 30px;
}

.team-card1 img {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
    }


.team-line {
    border: 1px dashed transparent;
    display:none;
}

    .team-title {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
    }

    .team-slider {
    margin-top: 30px;
}

    .section-title {
        font-weight: 400;
    }

    h2.team-category-title {
    font-size: 25px;
    }

    .team-container {
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    width: 60%;
    margin: 0 auto;
    margin-bottom: 50px;
}

.card-inner {
    width: 100%;
}

    .team-card1 {
        padding: 0px;
        text-align: left;
        display: grid;
        grid-template-columns: 60px 1fr;
        gap: 20px;
        align-items: center;
    }

    h3.team-name {
    justify-content: left;
}

}

@media screen and (max-width: 550px) {
.team-container {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 50px;
}

.team-card1{
    grid-template-columns: 50px 1fr;
}

.team-card1 img {
        width: 50px;
        height: 50px;
    }

    .team-name {
    font-size: 16px;
    }

    .team-position {
    font-size: 14px;
    }
}
