.max-width-custom {
  max-width: 85vw;
  margin: auto;
}

.hero-section {
  position: relative;
  width: 100vw;
  height: 70vh;
  margin-bottom: 50px;
  overflow: hidden; /* Ensure images slide inside the container */
}

.image-slider {
  display: flex;
  transition: transform 0.8s ease-in-out; /* Smooth slide transition */
  height: 100%;
}

.slide {
  min-width: 100%; /* Ensures each slide takes 100% width */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  flex-direction: column;
}

.inner-hero {
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: rgba(35, 75, 100, 0.4);
  border-radius: 36px;
  backdrop-filter: blur(10px);
  padding: 30px;
  min-height: 150px;
  width: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.circle-container {
  display: flex;
  gap: 60px;
  margin-top: 20px;
}

.each-circle-div {
  display: flex;
  gap: 10px;
  cursor: pointer;
  align-items: center;
}

.circle {
  width: 25px;
  height: 25px;
  border: 1px solid #eca906;
  border-radius: 50%;
}

.slider-heading,
.slider-text {
  transition: opacity 0.5s ease;
  opacity: 1;
}

.slider-heading {
  margin-bottom: 20px;
}

.fade-out {
  opacity: 0;
}

/* our consulting heading and parahgraph  */

.consulting-service {
  margin-bottom: 50px;
}

.inner-consulting-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.inner-consulting-service p {
  max-width: 70%;
  color: #828282;
}

.service-heading {
  margin-bottom: 20px;
}

/* card consulting service  */

.slider-container {
  overflow: hidden; /* Hide overflowing cards */
  margin-left: 50px; /* Left margin for the entire slider */
  margin-bottom: 50px;
  -webkit-tap-highlight-color: transparent; /* For Safari */
  touch-action: manipulation; /* Prevent default touch behavior */
}

.inner-slide {
  display: flex; /* Flexbox for horizontal layout */
  position: relative; /* Relative positioning for inner-slide */
  transition: left 0.3s ease-in-out; /* Smooth transition */
}

.card {
  position: relative; /* Ensure overlay is positioned correctly */
  min-width: 350px; /* Minimum width for cards */
  margin-right: 10px; /* Gap between cards */
  overflow: hidden; /* Hide overflow for the card */
  border-radius: 40px; /* Optional: Add border radius to cards */
  cursor: pointer; /* Add pointer cursor for better UX */
  user-select: none; /* Prevent text selection */
  -webkit-user-select: none; /* For Safari */
  -moz-user-select: none; /* For Firefox */
}

.card-image {
  width: 100%; /* Full width of the card */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Prevent bottom spacing */
  filter: brightness(0.7); /* 50% brightness */
}

/* Styling for the title */
.card-title {
  position: absolute; /* Position the title absolutely */
  bottom: 20px; /* Default position: 20px from the bottom */
  left: 20px; /* Align title to the left */
  font-weight: bold; /* Title font weight */
  padding: 5px 10px; /* Padding around the title */
  border-radius: 5px; /* Rounded corners for the background */
  color: white; /* White color for title */
  z-index: 2; /* Ensure it stays above the image */
  transition: top 0.5s ease, opacity 0.5s ease; /* Smooth transition for title */
}

/* Overlay styling */
.overlay-card {
  position: absolute; /* Position overlay absolutely within the card */
  top: 0; /* Align to the top of the card */
  left: 0; /* Align to the left of the card */
  right: 0; /* Stretch to the right of the card */
  bottom: 0; /* Stretch to the bottom of the card */
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  color: white; /* Text color for overlay */
  display: flex; /* Flexbox for alignment */
  flex-direction: column; /* Arrange children vertically */
  justify-content: center; /* Center content vertically */
  align-items: center; /* Center content horizontally */
  padding: 10px; /* Add some padding */
  transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transitions */
  transform: translateY(100%); /* Initially hide the overlay */
  opacity: 0; /* Initially hidden */
}

.card:hover .overlay-card {
  transform: translateY(0); /* Show overlay on hover */
  opacity: 1; /* Fade in overlay */
}

.card:hover .card-title {
  top: 60px; /* Move title up above the text on hover */
  transition: top 0.5s ease; /* Smooth transition for title movement */
}

.card-text {
  margin-top: 25px; /* Space between title and text */
  /* text-align: center; */
  opacity: 0; /* Initially hidden */
  transition: opacity 0.9s ease, transform 0.9s ease; /* Smooth transition */
  transform: translateY(20px); /* Start below the title */
}

.card:hover .card-text {
  opacity: 1; /* Fade in the text */
  transform: translateY(0); /* Move text into view */
  left: 30px;
  position: absolute;
  width: 90%;
  font-size: 1.4rem !important;
}

.multi-btns {
  display: flex;
  align-items: center;
  margin-top: 50px;
  gap: 20px;
}

.btns {
  width: 50px;
  height: 50px;
  background-color: #eca906;
  color: white; /* Change text color if needed */
  border-radius: 50%; /* Makes the button circular */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px; /* Adjust size of the arrow */
  cursor: pointer; /* Change cursor to pointer on hover */
  transition: background-color 0.3s;
}

.btns:hover {
  background-color: #d99a06; /* Optional: change background on hover */
}

/* images infinite slider  */

.carousel {
  position: relative;
  overflow: hidden;
  padding: 80px 0px;
  margin-bottom: 50px;
}

.carousel__slider {
  display: flex;
  width: 100%;
  height: 100%;
  margin-top: 80px;
}

.carousel__images {
  display: flex;
  animation: slide 120s linear infinite; /* Adjust duration for speed */
  align-items: center;
}

.carousel__image {
  height: 100%;
  flex-shrink: 0; /* Prevent images from shrinking */
  margin-right: 20px; /* Gap between images */
}

/* Keyframes for sliding animation */
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* Move images to the left */
  }
}

.zoom-out-small {
  width: 300px;
  height: 200px; /* 1, 3, 5 images */
}

.zoom-out-large {
  width: 300px;
  height: 300px; /* 2, 4 images */
}

/* pill noosa etc  */

.pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
  border-top-right-radius: 120px;
  border-bottom-right-radius: 120px;
  padding: 20px 20px;
  gap: 20px;
  box-sizing: border-box;
  transform: skew(10deg, 10deg); /* Default skew */
  opacity: 0; /* Start with opacity 0 */
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.pill.in-view {
  transform: skew(0deg, 0deg); /* Reset skew to 0 degrees */
  opacity: 1; /* Fade in to full opacity */
}

.pill:nth-child(even) {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.pill:nth-child(odd) {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.pill-1 {
  width: 100%;
}

.pill-2 {
  width: 100%;
}

.consultancy-pill {
  border-top-left-radius: 120px;
  border-bottom-left-radius: 120px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  margin-bottom: 50px;
  flex-direction: row-reverse;
}

.text {
  width: 80%;
}

.text h2 {
  margin-bottom: 20px;
  font-size: 6rem !important;
}

.img-sec {
  display: flex;
  justify-content: right;
  gap: 20px;
}

.img-sec img {
  width: 100%; /* Allow images to take the full width of their container */
  max-width: 200px; /* Set a maximum width */
  height: auto; /* Maintain aspect ratio */
  border-radius: 22px;
}

.img-sec .circle-img {
  border-radius: 50%;
}

/* future section  */

.future-section {
  padding: 80px 0px;
}

.future-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px; /* Space between rows */
  gap: 10px;
}

.first-row .future-card {
  width: 50%; /* Each card in the first row takes up 50% of the width */
}

.second-row .future-card {
  width: 30%; /* Each card in the second row takes up 30% of the width */
}

.future-card {
  border: 1px solid #ddd; /* Card border */
  border-radius: 8px; /* Rounded corners */
  padding: 20px; /* Padding inside cards */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Shadow for depth */
  position: relative; /* To position the image absolutely */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.future-card h3 {
  margin: 0 0 20px; /* Margin for title */
}

.future-card p {
  margin: 0 0 120px; /* Margin for paragraph */
}

.future-img {
  width: 100px;
  height: auto;
  /* float: right; */
}

.future-card-img {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.second-row .future-card:first-child {
  margin-left: 0; /* Remove margin from the first card */
}

.second-row .future-card:last-child {
  margin-right: 0; /* Remove margin from the last card */
}

.future-card-1,
.future-card-2 {
  display: flex;
  flex-direction: row !important;
  transform: translateY(50%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease; /* Adjust the duration and timing function as needed */
  padding: 50px 20px;
}

.future-card-1 p,
.future-card-2 p {
  width: 80%;
  margin: 0;
}

.future-card-2 {
  transform: translateY(-56%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease; /* Same transition settings */
}

.future-card-1.visible,
.future-card-2.visible {
  transform: translateY(0);
  opacity: 1;
}

.future-card-3 {
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease; /* Adjust the duration and timing function as needed */
}

.future-card-5 {
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease; /* Same transition settings */
}

.future-card-3.visible,
.future-card-5.visible {
  transform: translateX(0);
  opacity: 1;
}

.future-card-1-img,
.future-card-2-img {
  position: relative !important;
  display: flex;
  align-items: flex-end;
}

.font-size-14 {
  font-size: 1.4rem !important;
}

@media (min-width: 1600px) {
  p {
    font-size: 3rem !important;
  }

  .card {
    min-width: 550px;
  }

  .overlay {
    width: 100%;
  }

  .hero-section {
    width: 100%;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 5rem !important;
  }

  h2 {
    font-size: 4rem !important;
  }

  p {
    font-size: 1.7rem !important;
  }

  .inner-hero {
    width: 70%;
  }

  .future-row {
    flex-direction: column;
    align-items: center;
  }

  .first-row .future-card {
    width: 100%;
  }

  .second-row .future-card {
    width: 100%;
  }

  .future-card-3 {
    transform: translateY(-100%); /* Move up off the screen */
  }

  .future-card-5 {
    transform: translateY(100%); /* Move down off the screen */
  }

  .future-card-3.visible,
  .future-card-5.visible {
    transform: translateY(0); /* Move to original position */
  }

  .future-card-1,
  .future-card-2 {
    flex-direction: column !important;
  }

  .future-card-1 p,
  .future-card-2 p {
    width: 100%;
    margin: 0 0 120px;
  }

  .future-card-1-img,
  .future-card-2-img {
    position: absolute !important;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 4.5rem !important;
  }

  h2 {
    font-size: 3.5rem !important;
  }

  p {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 556px) {
  h1 {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }

  h3 {
    font-size: 2rem !important;
  }

  p {
    font-size: 1.4rem !important;
  }

  .each-circle-div {
    gap: 10px;
  }

  .inner-hero {
    width: auto;
  }

  .slider-container {
    margin-left: 5px;
    gap: 20px;
  }

  .inner-consulting-service {
    align-items: start;
    text-align: left;
  }

  /* pill nosa etc  */

  .pill {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .max-width-custom {
    max-width: 98vw;
  }

  .img-sec img {
    max-width: 150px;
  }

  .consultancy-pill {
    border-top-left-radius: 20px;
  }

  .pill:nth-child(even) {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 0px;
  }

  .pill:nth-child(odd) {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .text h2 {
    text-align: left;
  }

  .inner-consulting-service p {
    max-width: 100%;
  }
}

@media (max-width: 350px) {
  .card {
    min-width: 250px;
  }

  .card-title {
    left: 0px;
  }

  .card:hover .card-text {
    left: 0;
    padding: 10px;
  }
}

@media (max-width: 320px) {
  .each-circle-div p {
    display: none;
  }
}
