.crm-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0px 60px 0px;
    background: #DFE7EE;

    .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .content-pricing {
        flex: 1;
        max-width: 50%;
        
        h1 {
            font-family: Inter;
            font-weight: 500;
            font-size: 42px;
            margin-bottom:20px;
            color: #000000;
            line-height: 50px;

            .highlight {
                color: #0076FF;
            }
        }

        p {
            font-family: Inter;
            font-weight: 500;
            font-size: 17px;
        }

        .cta-button {
            display: inline-block;
            background: #0076FF;
            color: #fff;
            /* margin-top: 20px; */
            border-radius: 50px;
            text-decoration: none;
            font-weight: 400;
            margin-bottom: 40px;
            margin-top: 20px;
        }

        .note {
            font-size: 0.9rem;
            margin-top: 10px;
            color: #666;
        }
    }

    .image-wrapper {
        flex: 1;
        max-width: 50%;

        img {
            width: 100%;
            height: 100%;
            display: block;
        }
    }
}

.pioneerSection{
     height: auto;
    padding: 50px 0px 40px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #FFFFFF;
    
    .btn-blue{
        margin-top: 30px;
    }
}

.text-CRM-title {
            font-family: Inter;
            font-weight: 500;
            font-size: 36px;
            margin-bottom:20px;
            color: #000000;
            line-height: 50px;

            .highlight {
                color: #0076FF;
            }
}

.pioneerSection__images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;

    img {
      width: 30%;
      height: auto;
      object-fit: cover;
    }
}

.pt-5{
  padding-top: 20px;
}

.why-kylas {
  position: relative;
  /* background-color: #0076FF; */
  padding: 80px 0px 50px 0px;

  .container {
    position: relative;
  }

  .why-kylas__container {
    position: relative;
  }

  .why-kylas__bg-image {
    width: 100%;
    height: 500px; 
    object-fit: cover;
    display: block;
    border-radius: 10px;
  }

  .why-kylas__content {
    position: absolute;
    top: 50%;
    left:0;
    transform: translateY(-50%);
    z-index: 2;
    color: white;
    max-width: 550px;
    padding-left: 20px;
  }
}

.mb-20{
      margin-bottom: 20px;
    }

.mb-tp{
  margin-top: 30px;
}


 .pioneerSection__boxes {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 50px;
  }

.pioneerSection__box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; 
  align-items: flex-start;
  background: #F1F8FF;
  padding: 30px 20px;
  border-radius: 12px;
  max-width: 390px;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pioneerSection__box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 0;
  height: 0;
  background: #007bff; /* Blue color - adjust as needed */
  border-radius: 50%;
  transition: all 0.6s ease;
  z-index: 1;
}

.pioneerSection__box:hover::before {
  width: 200%;
  height: 200%;
}

.pioneerSection__box img {
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  transition: filter 0.3s ease 0.3s; /* Delay to sync with circle animation */
  width: 100px;
  height: auto;
  display: block;
  max-width: 100%;
}

.pioneerSection__box:hover img {
  filter: brightness(0) invert(1); /* Changes image to white */
}

.pioneerSection__box .pioneerSection__box-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease 0.3s; /* Delay to sync with circle animation */
}

.pioneerSection__box:hover .pioneerSection__box-title {
  color: white;
}

.pioneerSection__box .pioneerSection__box-desc {
  font-size: 16px;
  font-weight: 400;
  color: #555;
  text-align: left;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease 0.3s; /* Delay to sync with circle animation */
}

.pioneerSection__box:hover .pioneerSection__box-desc {
  color: white;
}

/* .pioneerSection__grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;

    .pioneerSection__grid-item {
        flex: 1 1 48%;
        max-width: 48%;
        text-align: center;

        video {
            width: 100%;
            max-height: 300px; 
            object-fit: cover; 
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .pioneerSection__grid-title {
            margin-top: 20px;
            font-size: 20px;
            font-weight: 600;
            color: #222;
        }

        .pioneerSection__grid-desc {
            font-size: 14px;
            color: #555;
            margin-top: 10px;
            max-width: 90%;
            margin-left: auto;
            margin-right: auto;
        }
    }
} */



.pioneerSection__grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;

     .pioneerSection__grid-item {
        position: relative;
        flex: 1 1 48%;
        max-width: 50%;
        text-align: center;
        overflow: hidden;

        video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
        }

        .pioneerSection__grid-title {
            margin-top: 20px;
            font-size: 20px;
            font-weight: 600;
            color: #222;
        }

        .pioneerSection__overlay {
            position: absolute;
            bottom:0px;
            left: 0;
            width: 100%;
            height: 0;
            background-color: #0056b3;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            opacity: 0;
            transition: height 0.4s ease, opacity 0.4s ease;
            font-size: 16px;
            padding: 20px 20px 20px 20px;
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;

            .pioneerSection__overlay-text {
                text-align: center;
                line-height: 18px;
            }
        }

        &:hover .pioneerSection__overlay {
            height: 30%;
            opacity: 1;
        }
    }
}






@media (max-width: 1024px) {
.crm-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 125px 0px 60px 0px;
    background: #DFE7EE;

    .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .content-pricing {
        flex: 1;
        max-width: 50%;
       
        
        h1 {
            font-family: Inter;
            font-weight: 500;
            font-size: 42px;
            margin-bottom:20px;
            color: #000000;
            line-height: 42px;

            .highlight {
                color: #0076FF;
            }
        }

        p {
            font-family: Inter;
            font-weight: 500;
            font-size: 17px;
        }

        ul {
                list-style: none;
                padding: 0;
                text-align:left;
                font-family: Inter;
                font-weight: 500;
                font-size: 14px;
                
                li {
                    font-size: 14px;
                    width: 100%;
                    margin: 5px 0;
                    display: -webkit-inline-box;

                    span {
                        margin-top: 5px;
                        align-items: flex-start;

                        img {
                            height: 25px;
                            width: 25px;
                        }
                    }
                }
            }

        .cta-button {
            display: inline-block;
            background: #0076FF;
            color: #fff;
            margin-top: 20px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            margin-bottom: 40px;
        }

        .note {
            font-size: 0.9rem;
            margin-top: 10px;
            color: #666;
        }
    }

    .image-wrapper {
        flex: 1;
        max-width: 50%;

        img {
            width: 100%;
            height: 100%;
            display: block;
        }
    }
}

  .why-kylas {
    padding: 40px 0px 40px !important;
    .why-kylas__bg-image {
      content: url('../images/WhySectionImgMB.png'); 
      height: 1000px; 
      object-position: bottom;
    }

    .why-kylas__content {
      position: absolute;
      top: 80px;
      transform: none; 
      padding: 0 20px;
      max-width: 100%;
      text-align: center;
    }
  }

   .pioneerSection{
        height: auto;
        padding: 40px 0px 20px !important;
    }

  .pioneerSection__boxes {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
  }

  .pioneerSection__box {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    min-height: 280px;
    padding: 25px 18px;
  }

  .pioneerSection__box img {
    width: 90px;
    margin-bottom: 18px;
  }

  .pioneerSection__box .pioneerSection__box-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .pioneerSection__box .pioneerSection__box-desc {
    font-size: 15px;
  }

  .pioneerSection__grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;

     .pioneerSection__grid-item {
        position: relative;
        flex: 1 1 48%;
        max-width: 50%;
        text-align: center;
        overflow: hidden;

        video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
        }

        .pioneerSection__grid-title {
            margin-top: 20px;
            font-size: 20px;
            font-weight: 600;
            color: #222;
        }

        .pioneerSection__overlay {
            position: absolute;
            bottom:0px;
            left: 0;
            width: 100%;
            height: 0;
            background-color: #0056b3;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            opacity: 0;
            transition: height 0.4s ease, opacity 0.4s ease;
            font-size: 16px;
            padding: 20px;
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;

            .pioneerSection__overlay-text {
                text-align: center;
                line-height: 18px;
            }
        }

        &:hover .pioneerSection__overlay {
            height: 30%;
            opacity: 1;
        }
    }
}
}


@media (max-width: 767px) {

      .crm-section {
        margin-top:40px;
        padding: 50px 0 20px 0;

        .container {
            flex-direction: column-reverse;
            text-align: center;
        }

        .image-wrapper {
            max-width: 100%;
            order: -1;
            margin-bottom: 20px;
        }

        .content-pricing {
            max-width: 88%;
             text-align: center;
            
            h1 {
                text-align: center;
                font-family: Inter;
                font-weight: 600;
                font-size: 32px;
                line-height:42px;
                margin-bottom:5px;
                color: #000000;
            }

            p {
                font-size: 18px;
                text-align: center;
                font-family: Inter;
                font-weight: 600;
                font-size: 18px;
                margin-bottom:10px;
            }

            .cta-button {
                display: none; 
            }

            .note {
                display:none !important;
            }
        }
    }

    .pioneerSection{
        height: auto;
        padding: 40px 0px 40px;
    }

    .mg-bt-xs-50{
      margin-bottom: 20px !important;
    }


    .mb-tp{
  margin-top: 15px;
}

    .mb-20{
      margin-bottom: 15px;
    }

 .pioneerSection__boxes {
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
  }

  .pioneerSection__box {
    max-width: 100%;
    width: 100%;
    min-height: 220px;
    padding: 20px 16px;
    background: #F1F8FF;

    img {
      width: 80px;
      margin-bottom: 16px;
      transition: filter 0.3s ease;
    }

    .pioneerSection__box-title {
      font-size: 17px;
      margin-bottom: 6px;
      color: #222;
      transition: color 0.3s ease;
    }

    .pioneerSection__box-desc {
      font-size: 14px;
      color: #555;
      transition: color 0.3s ease;
    }
  }

  .pioneerSection__box:nth-child(2) {
    background: #007bff;

    img {
      filter: brightness(0) invert(1);
    }

    .pioneerSection__box-title,
    .pioneerSection__box-desc {
      color: white;
    }
  }

  .pioneerSection__images {
    flex-direction: column;
    gap: 15px;

    img {
      width: 100%;
    }
  }



    .why-kylas {
       padding: 40px 0px 40px;
    .why-kylas__bg-image {
      content: url('../images/WhySectionImgMB.png'); 
      height: 95vh;
      object-position: bottom; 
      
    }

    .why-kylas__content {
      position: absolute;
      top: 20px;
      transform: none;
      padding: 0 16px;
      max-width: 100%;
      text-align: center;
    }
  }

   .pioneerSection__grid {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;

    .pioneerSection__grid-item {
       display: flex;
      flex-direction: column;
      height: 100%;
      max-width: 100%;


      video {
        flex: 1;
        width: 100%;
        object-fit: cover;
        border-radius: 8px;
      }


      .pioneerSection__grid-title {
        font-size: 18px;
        margin-top: 16px;
      }

      .pioneerSection__overlay {
        font-size: 14px;
        padding: 15px;
        border-radius: 0 0 8px 8px;

        .pioneerSection__overlay-text {
          font-size: 13px;
        }
      }
    }
  }
}