
.hero_section{
    padding: 70px 0px;
}

.hero_heading{
    width: 95%;
    line-height: 1.4em;
    font-size: 45px;
}

.hero_text{
    line-height: 1.9em;
    width: 90%;
}

.hero_btn{
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    margin-top: 50px;
}

.hero_btn:hover{
    background: var(--primary);
    color: #fff;
}

.zupain_partnership_image{
    height: 450px;
    border-radius: 20px 20px 0px 0px;
    object-fit: contain;
    object-position: center;
}

.profession_partner_btn{
    background: #DCDCFF;
    color: #000;
    padding: 15px;
    font-size: 18px;
}

.profession_partner_btn:hover{
    background: #DCDCFF;
}

.professional_squad_btn{
    background: var(--primary);
    color: #fff;
    padding: 15px;
    font-size: 18px;
}

.professional_squad_btn:hover{
    background: var(--primary);
    color: #fff;
}


.professional_partner_sec, .zupain_professional_partner_sec, .testimonial_sec{
    padding: 80px 0px;
}

.custom-gutter {
    --bs-gutter-x: 80px; /* Adjust horizontal spacing */
    --bs-gutter-y: 40px; /* Adjust vertical spacing */
}

.flip-card {
    perspective: 1000px;
    height: 480px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    min-height: 100px;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(-180deg); /* Flip from the right */
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.flip-card-front {
    background-color: #fff;
    overflow: hidden;
}

.flip-card-front .img_sec{
    position: relative;
} 

.flip-card-front .img_sec .overlay{
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(transparent 45%, #fff);
}

.flip-card-front img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.flip-card-front h2 {
    font-weight: 600;
    line-height: 1.6em;
}

.flip-card-back {
    background-color: #fff;
    background-image: url("/assets/images/flip_card_g.webp");
    transform: rotateY(-180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.flip-card:hover .flip-card-back {
    opacity: 1;
}

.flip-card-back h5 {
    font-weight: 600;
    margin-bottom: 6px;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.5s ease-out 0.3s, opacity 0.5s ease-out 0.3s;
}

.flip-card-back p{
    padding: 0;
}

.flip-card:hover .flip-card-back h5 {
    transform: translateY(0);
    opacity: 1;
}

.flip-card-back h5, .flip-card-back p {
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.5s ease-out 0.5s, opacity 0.5s ease-out 0.5s;
}

.flip-card:hover .flip-card-back h4, .flip-card:hover .flip-card-back p {
    transform: translateY(0);
    opacity: 1;
}


.zupain_professional_partner_sec .partner_image{
    height: 650px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* animated cards  */

.process_cards-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 550px;
    margin: 0 auto;
    perspective: 1000px;
  }
  
  .process_card {
    position: absolute;
    width: 420px;
    height: 480px;
    padding: 40px 30px 30px 30px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    left: 0;
    bottom: 0;
  }
  
  .process_card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .process_card h4 {
    font-weight: bold;
    margin-bottom: 20px;
  }

  .process_card p, .process_card li {
    margin-bottom: 5px;
    font-size: 15px;
  }
  
  .arrow-circle {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  .arrow-circle:hover {
    transform: scale(1.1);
  }
  

  /* Stacking effect with bottom-left alignment */
  .process_card_1 {
    background-color: #BFC3FF;
    z-index: 4;
    transform-origin: bottom left;
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  
  .process_card_2 {
    background-color: #dfe1ff;
    z-index: 3;
    transform-origin: bottom left;
    transform: translateX(15px) translateY(-10px) rotate(2deg);
  }
  
  .process_card_3 {
    background-color: #dfe1ff;
    z-index: 2;
    transform-origin: bottom left;
    transform: translateX(30px) translateY(-20px) rotate(4deg);
  }
  
  .process_card_4 {
    background-color: #dfe1ff;
    z-index: 1;
    transform-origin: bottom left;
    transform: translateX(45px) translateY(-30px) rotate(6deg);
  }
  
  /* Animation classes */
  .process_card.move-left {
    transform: translateX(-400px) rotate(-15deg);
    opacity: 0;
    z-index: 0;
  }
  
  .process_card.move-up {
    z-index: 4;
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  
  .process_card.position-2 {
    z-index: 3;
    transform: translateX(15px) translateY(-10px) rotate(2deg);
  }
  
  .process_card.position-3 {
    z-index: 2;
    transform: translateX(30px) translateY(-20px) rotate(4deg);
  }
  
  .process_card.position-4 {
    z-index: 1;
    transform: translateX(45px) translateY(-30px) rotate(6deg);
  }


  /* testimonial css */

  #testimonialCarousel .carousel-inner{
    max-width: 800px;
    margin: auto;
    padding: 100px 0px 100px 0px;
}

.testimonial-card {
    max-width: 90%;
    margin: auto;
    padding: 30px 60px;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    text-align: center;
    background: #fff;
}

.testimonial-card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: -80px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.6em;
    color: var(--black);
    margin-top: 35px;
}

.testimonial-name ,.testimonial-role{
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}

.stars .star_icon{
    height: 25px;
    width: 25px;
}

.stars .filled_star path{
    fill: var(--primary);
}

.stars .empty_star path{
    fill: #ADB1FF;
}


/* iPad Pro (Large Tablets) */
@media (min-width: 1024px) and (max-width: 1365px) {
    
    .custom-gutter {
        --bs-gutter-x: 30px; /* Adjust horizontal spacing */
        --bs-gutter-y: 15px; /* Adjust vertical spacing */
    }

    .flip-card {
        height: 650px;
    }

  }

/* iPad Mini & iPad Air (Tablets) */
@media (min-width: 768px) and (max-width: 1023px) {

    .hero_heading{
        width: 100%;
        line-height: 1.4em;
        font-size: 40px;
    }

    .zupain_partnership_image{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero_btn{
        margin-top: 20px;
    }

    .custom-gutter {
        --bs-gutter-x: 30px; /* Adjust horizontal spacing */
        --bs-gutter-y: 30px; /* Adjust vertical spacing */
    }

    .process_cards-container {
        max-width: 350px;
        height: 600px;
        margin: 0 auto;
        perspective: 1000px;
      }
      
      .process_card {
        position: absolute;
        width: 350px;
        height: 550px;

      }


    #testimonialCarousel .carousel-inner{
        max-width: 700px;
    }


  }

  /* Mobile (Portrait & Small Screens) */
@media (max-width: 767px) {
    
    .hero_heading{
        width: 100%;
        line-height: 1.4em;
        font-size: 32px;
        text-align: center;
    }

    .hero_text{
        text-align: center;
        width: 100%;
    }

    .hero_btn{
        margin-top: 10px;
    }

    .zupain_partnership_image{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #testimonialCarousel .carousel-inner{
        max-width: 100%;
        padding: 100px 0px 20px 0px;
    }

    .testimonial-card {
        max-width: 93%;
        padding: 30px;
    }

    .testimonial-text{
        font-size: 16px;
    }

    .custom-gutter {
        --bs-gutter-x: 0px; /* Adjust horizontal spacing */
        --bs-gutter-y: 30px; /* Adjust vertical spacing */
    }

    .process_cards-container {
        max-width: 100%;
        height: 620px;
        margin: 0 auto;
        perspective: 1000px;
      }
      
      .process_card {
        position: absolute;
        width: 100%;
        height: 570px;

      }


      .process_card_1 {
        transform-origin: bottom left;
        transform: translateX(0) translateY(0) rotate(0deg);
      }
      
      .process_card_2 {
        transform-origin: bottom left;
        transform: translateX(0px) translateY(-10px) rotate(0deg);
      }
      
      .process_card_3 {
        background-color: #dfe1ff;
        z-index: 2;
        transform-origin: bottom left;
        transform: translateX(0px) translateY(-20px) rotate(0deg);
      }
      
      .process_card_4 {
        transform-origin: bottom left;
        transform: translateX(0px) translateY(-30px) rotate(0deg);
      }

  }