
.uxHub.image-text-block {
  background: #FDF5F2;
}
.uxHub .image-text-block__heading {
    font-weight: 600;
    font-size: 52px;
}
.uxHub .hero-btn {
   margin-top: 20px;
}
.cnctdev.image-text-block {
  padding: 90px 0 0;
}
.image-text-block {
  background: #fff;
}

.image-text-block-container {
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 0 20px;
}
.image-text-block-container h1 {
  color:  #2C180D;
  text-align: center;
  font-size: 52px;
  line-height: 60px;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 50px;
}

.image-text-block__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
  max-width: 1352px;
  margin: 0 auto;
  padding: 0 20px;
}
.image-text-block__image {
  flex: 1 1 50%; 
  max-width: 50%;
}
@media (max-width: 992px) {
  .image-text-block__container {
    flex-direction: column;
    gap: 40px;
  }
  .image-text-block__image {
  flex: 1; 
  max-width: 100%;
}
}

/* Image styles */
.image-text-block__image {
  flex: 1 1 50%;
}

.image-text-block__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.image-text-block i.fa {
  padding-left: 10px;
}

/* Content styles */
.image-text-block__content {
  flex: 1 1 50%;
  color: #2f3b56;
}

.image-text-block__content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 1.25em;
}

/* Heading styles */
.image-text-block__highlight {
  font-weight: 600;
  font-size: 16px;
  color: #EA580C;
  margin-bottom: 10px;
}
.image-text-block__heading {
  font-weight: 500;
  font-size: 36px;
  color: #2C180D;
  margin-bottom: 30px;
}
.image-text-block__content h4 {
  color:  #2C180D;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
}
@media (max-width: 768px) {
  .image-text-block__heading {
    font-size: 1.6rem;
  }
}

/* Text styles */


/* Reverse layout */
.image-text-block--reverse .image-text-block__container {
  flex-direction: row-reverse;
}

@media (max-width: 992px) {
  .image-text-block--reverse .image-text-block__container {
    flex-direction: column;
  }
}

/* ======================================
   Responsive: Force image below text
   ====================================== */
@media (max-width: 768px) {
  .image-text-block__container {
    flex-direction: column !important;
  }

  .image-text-block__content {
    order: 1;
            text-align: center;
  }

  .image-text-block__image {
    order: 2;
  }
}

.hero-circle-carousel {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: visible; /* FIX: allow circular motion */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Base image style */
.circle-img {
    position: absolute;
    max-width: 480px;
    opacity: 0;
    transform-origin: center center; /* FIX: rotate around itself */
    transform: translate(0,0);
    transition: opacity 0.4s ease-out;
}

/* Image entering in circular motion */
.circle-img.enter {
    animation: enterCircle 1.8s ease-out forwards;
}

/* Image exiting in opposite circular arc */
.circle-img.exit {
    animation: exitCircle 1.8s ease-in forwards;
}

/* PERFECT smooth circular INWARD */
@keyframes enterCircle {
    0%   { transform: translate(80px,80px); opacity: 0; }
    40%  { opacity: 1; }
    100% { transform: translate(0,0); opacity: 1; }
}

/* PERFECT smooth circular OUTWARD */
@keyframes exitCircle {
    0%   { transform: translate(0,0); opacity: 1; }
    100% { transform: translate(-80px,-80px); opacity: 0; }
}
/* Ensure right column stays 50% like original */
.image-text-block__image {
    flex: 1 1 50%;
    max-width: 50%;
    position: relative;
}

/* Wrapper ensures height and center align */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
   /*   min-height: 520px;       REQUIRED FIX */
}

/* Slider respects column sizing */
.hero-image-slider {
    width: 100%;
}

/* Slide image sizing */
.hero-image-slider img {
    max-width: 520px;
    width: 100%;
    height: auto;
    display: block;
    padding-top: 50px;
}

/* MOBILE FIX */
@media (max-width: 992px) {
    .image-text-block__image {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .hero-image-wrapper {
        min-height: 0;
    }
}
/* Hide slides before slick initializes */
.hero-image-slider .hero-slide {
    opacity: 0;
    position: absolute;
    width: 100%;
}

/* When Slick initializes, show them */
.hero-image-slider.slick-initialized .hero-slide {
    opacity: 1;
    position: relative;
}
.hero-slide img {
    animation: zoomOut 2.5s ease-out forwards;
}

@keyframes zoomOut {
    0% {
        transform: scale(1.06);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes rotateAnti {
    0%   { transform: rotate(-0deg) scale(1.05); }
    100% { transform: rotate(-8deg) scale(1); }
}

.hero-slide.rotate img {
    animation: rotateAnti 1.4s ease-out forwards;
}
@media (max-width:768px) {
.image-text-block {
    padding: 40px 0;
}
}
