*{
    font-family: 'Josefin Sans', sans-serif;
    /* background-color: #f9f9f9; */
}

.head {
    min-height: 300px;
    overflow: hidden;
}

.bg-image {
    top: 0;
    left: 0;
    z-index: 0;
}

.bg-image img {
    object-fit: cover;
    object-position: center;
}

.career-img {
    max-width: 306px;
    width: 313px;
    height: auto;
    /* left: 10px; */
    position: absolute;
    top: 50px;
    right: -116px;
    z-index: 1;
    opacity: 0.9;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .career-img {
        max-width: 120px;
        top: 10px;
        right: 10px;
    }

    .head h1 {
        font-size: 2rem;
    }

    .head .breadcrumb {
        font-size: 0.9rem;
    }
}

.h4t {
  font-size: 30px;
  color: #0121f0;
  font-family: 'Josefin Sans', sans-serif;
}

.title {
  font-size: 50px;
  font-weight: 800;
  color: #020d51;
  line-height: 1.3;
  font-family: 'Josefin Sans', sans-serif;
}

.para {
  color: #020d51;
  font-family: 'Josefin Sans', sans-serif;
  max-width: 600px;
}

/* 👇 Mobile overrides */
@media (max-width: 768px) {
  .h4t {
    font-size: 22px;
    text-align: center;
    width: 100%;
  }

  .title {
    font-size: 28px;
    text-align: center;
    width: 100%;
  }

  .para {
    font-size: 14px;
    text-align: center;
    width: 100%;
  }

  .image-wrapper {
    text-align: center;
  }
}
.values{
  position: relative;
  top: 31px;
}
.testimonial{
  background-color: #f2f2f2;
  height: 780px;
  /* top: -31px; */
  position: relative;
}
.testimonial-slider {
  max-width: 100%;
  width: 95%;
  left: 40px;
  top: 70px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.card {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 30px;
  box-sizing: border-box;
  background: #fff;
  margin: 0 1px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  opacity: 0.5;
  transform: scale(0.95);
  transition: all 0.4s ease;
}

.card.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.stars {
  color: #ffc107;
  font-size: 1.2em;
  margin-bottom: 10px;
}

h3 {
  color: #2e2e6f;
  margin: 10px 0;
}

p {
  font-size: 1em;
  color: #555;
  min-height: 30px;
}

strong {
  display: block;
  font-size: 1.1em;
  color: #2e2e6f;
  margin-top: 10px;
}

.position {
  color: #5a55e3;
  font-size: 0.9em;
}

.texts{
  text-align: center;
  position: relative;
  top: 50px;
  font-family: 'Josefin Sans', sans-serif;
}

.texts h6{
  margin-top: 30px;
  font-size: 30px;
  font-weight: 500;
  color: #5a55e3;
}

.texts h1{
  margin-top: 22px;
  font-size: 70px;
  font-weight: 700;
  color: #080632;
}
.texts p{
  font-size: 18px;
  font-weight: 400;
  line-height: 60px;
  color: #080632;
}

.arrows {
  margin-top: 20px;
  position: relative;
  left: 5px;

}

.arrows button {
  background: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 1.2em;
  color: #5a55e3;
  border-radius: 8px;
  cursor: pointer;
  margin: 0 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
  .card {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}

.image-txt {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.image-txt .card-img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .image-txt .card-img {
        width: 100%;
        height: auto;
    }
}

.cards{
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Reusable image tweaks for both sections */
.image-wrapper img,
.card-img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* For About Us section image */
@media (max-width: 768px) {
    .image-wrapper {
        padding: 1rem;
    }

    .custom-image {
        width: 100%;
        height: auto;
    }

    .mid .text-center {
        padding: 1rem !important;
    }
}

/* For card layout spacing on mobile */
@media (max-width: 768px) {
    .image-txt.cards {
        text-align: center;
    }

    .image-txt .text-content {
        margin-left: 0 !important;
        text-align: center !important;
    }

    .card-img {
        margin-bottom: 1rem;
    }
}
