/* linear-gradient(135deg, #000 0%, #9315e2 100%) */
body {
  max-width: 3000px;
  min-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

body,
html {
  //font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#case-studies{
    /* background: rgba(58, 63, 189, 0.10); */
    background: #f9faff;
}
.contact-us-text {
    color: var(--dark-3);
}

.text-primary {
    color: #3a3fbd !important;
}

.btn-primary {
    background-color: #3a3fbd !important;
}

.btn.btn-primary.btn-lg.rounded-pill.px-4:hover {
    background-color: white !important;
    border: 2px solid #3a3fbd !important;
    color: #3a3fbd !important;
}

.sub-section-text {
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    color: #3a3fbd;
    text-transform: capitalize;
    position: relative;
    line-height: 14px;
    box-sizing: border-box;
}

.sub-section-text::before {
    position: absolute;
    content: "";
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    width: 15px;
    background-color: #3a3fbd;
    border-radius: 8px;
}

.sub-section-text::after {
    position: absolute;
    content: "";
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    width: 15px;
    background-color: #3a3fbd;
    border-radius: 8px;
}

.text-orange {
    color: #ff6600 !important;
    height:2px;
}

.custom-divider {
    color: #ff6600 !important;
    height:2px;
}

.navbar-one {
    background-color: white !important;
    margin-left: 1em;
    margin-right: 1em;
    margin-top: 1em;

}

@media (max-width: 991px) {
    #navbarOne {
        background-color: #3a3fbd !important;
    }
}


.rc-menu {
    background: linear-gradient(135deg, #3a3fbd 0%, #ff6600 100%);
    border-radius: 1em;
}

.banner-section {
    position: relative;
    overflow: hidden;
}

.rc-banner {
    background: #f9faff;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
}

.rc-banner .container {
    position: relative;
    overflow: hidden;
}

.rc-banner img.rounded-end {
    border-radius: 0.5em !important;
    object-fit: cover;
}


@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


.col-lg-6.text-center img {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.26);
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block; /* Removes gaps below images due to inline-block spacing */
  background: #fff;

}


/**
 * For Clients Section
 */

.logo-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    background: white !important;
    padding: 20px 0;
}

.logo-slide-track {
    display: flex;
    width: calc(250px * 10);
    /* logo width × number of logos (adjust) */
    animation: scroll 25s linear infinite;
}

.logo-slide {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.logo-slide img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    transition: filter 0.3s;
}

.logo-slide img:hover {
    filter: grayscale(40%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.section-primary-bg {
    background-color: #3a3fbd;
    color: white;
    padding: 4rem 1rem;
}

.image-slant-left {
    width: 100%;
    height: 400px;
    object-fit: cover;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    border-radius: 0.8rem;
}

/* Responsive behavior
@media (max-width: 991.98px) {
  .data-engineering-section .row {
    display: flex;
    flex-direction: column;
  }
  .data-engineering-section .content-text {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
  }
  .data-engineering-section .col-3 {
    display: none !important;
  }
  .data-engineering-section .col-9 {
    width: 100%;
    flex-basis: 100%;
  }
}
*/
// Data Engineering Section
.data-engineering-section {
  background: #fff;
  padding: 24px 0;
  width: 100%;
  margin-bottom: 24px !important;
}

.data-engineering-section .container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(58,63,189,0.11), 0 2px 8px rgba(255,102,0,0.12);
  padding: 40px 36px;
  margin-bottom: 2em !important;
}


.data-engineering-section .primary-btn-outline {
  display: block;
  align-self: center; /* Center the button horizontally */
  text-align: center;
  flex-basis: fit-content;
  margin: auto !important;
}
.data-engineering-section .content-text h2 {
  font-size: 2.05rem;
  font-weight: 700;
  color: #3a3fbd;
  margin-bottom: 16px;
}

.data-engineering-section .content-text p {
  font-size: 1.11rem;
  line-height: 1.66;
}

.section-image-parent {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Original image style */
.main-image {
  border-radius: 14px !important;
  max-width: 100%;
  display: block;
  object-fit: cover;
  /* Optional: drop-shadow for extra polish */
  box-shadow: 14px 14px 0 -2px #ff6600;
}


.left-main-image {
  border-radius: 14px !important;
  max-width: 100%;
  display: block;
  object-fit: cover;
  box-shadow: -12.5px -10px 0 0px #ff6600
}




.cover-image-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 40px 0;           /* Comfort padding for the text */
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-image-animate {
  position: absolute;
  inset: 0 0 0 0;            /* Stretches image to section edges */
  width: 100%;
  height: 150%;               /* Tall enough for clear pan effect */
  min-height: 350px;          /* Ensures a minimum image visibility */
  object-fit: cover;
  object-position: top;
  z-index: 1;
  animation: panDownImageLoop 14s linear infinite alternate;
}

/* Text block stays above the image, naturally centered */
.cover-content-center {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 800px;
  background: rgba(0,0,0,0.58); /* Optional overlay for readability */
  padding: 32px 16px;
  border-radius: 14px;
  margin: 0 auto;
  text-shadow: 0 2px 14px rgba(34,34,34,0.4);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .cover-content-center { padding: 16px 8px; }
  .cover-image-animate { min-height: 200px; }
}

/* Pan down animation: moves image from top to lower portion */
@keyframes panDownImageLoop {
  0%   { object-position: top; }
  100% { object-position: bottom; }
}

.white-text{
    color: #fff;
}

.carousel-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
}

.carousel-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  position: absolute;
  left: 0;
  top: 0;
  background: #fff;
}
.carousel-img-2{

  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  position: absolute;
  left: 0;
  top: 0;
  background: #fff;
}
.carousel-img[style*="display:block"] {
  position: relative;
}
.carousel-img-2[style*="display:block"] {
  position: relative;
}


.carousel-container {
  position: relative;
  height: 400px;
}