.company_overview_con {
  display: flex;
  padding: 0 1rem;
  gap: 5rem;
  margin-bottom: 5rem;
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
}
.over_view_1 {
  flex-basis: 48%;
  font-size: clamp(1rem, .5vw + 0.5rem, 1.2rem);
}
.over_view_2 {
  flex-basis: 48%;
  font-size: clamp(1rem, 1vw + 0.5rem, 1.2rem);
  line-height: 1.4rem;
  color: #555555;
}
.over_view_title,
.over_view_mis_vis_con h3 {
  color: var(--brown);
  font-weight: 900;
  text-transform: uppercase;
}
.over_view_wr_up {
  color: var(--blue);
}

.over_view_mis_vis_con {
  padding: 2rem 0;
  display: flex;
  gap: 2rem;
}
.over_view_mis_title h3{
  font-size: clamp(1rem, 1vw + 0.6rem, 1.2rem);
  font-weight: 900;
}
.over_view_mis_vis_con h3 {
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1rem, 1vw + 0.6rem, 1.2rem);
  font-weight: 500;
}
.over_view_mis_vis_con p {
  font-size: clamp(0.9rem, 1vw + 0.4rem, 1.1rem);
}
@media screen and (max-width: 768px) {
  .company_overview_con {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }
  .over_view_mis_vis_con {
    flex-direction: column;
  }
}

/* ===========================journey so far=========================== */
.journey_so_far_con {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Container for Image */
.image-container {
  position: relative;
  width: 90%;
  height: 60vh; /* Set image height */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5rem;
}
.image-container::before {
  border-radius: 1rem;
  content: ""; /* Required for pseudo-elements */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15); /* Semi-transparent black overlay */
}
/* Ensure Image Fills Container */
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire container without distortion */
  border-radius: 1rem;
}

.hand-gesture {
  position: absolute;
  bottom: 80px; /* adjust as needed */
  font-size: 2rem;
  opacity: 0; /* starts hidden */
  pointer-events: none;
  animation: bounce 2s infinite;
  color: var(--brown);
  z-index: 100;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.jny_so_far_wp {
  position: absolute; /* Position over the image */
  font-family: var(--font-mons);
  color: #e6e7e8;
  font-weight: 100;
  top: 6rem;
  text-align: center;
}
.jny_so_far_wp p {
  text-transform: uppercase;
  font-size: clamp(1rem, 1vw + 0.5rem, 1.2rem);;
  margin-bottom: 1rem;
}
.jny_so_far_wp h3 {
  font-weight: 300;
  text-transform: uppercase;
  font-size: clamp(1rem, 1vw + 0.5rem, 1.2rem);;
}
/* Button to Open Modal (optional styling) */
.journey-open-btn {
  position: absolute; /* Position over the image */
  background: var(--brown);
  background: transparent; /* Semi-transparent dark blue */
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--brown);
  border-radius: 2px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 100;
  font-family: var(--font-gara);
  bottom: 8rem;
  transition: background .5s ease;
}
/* Hover Effect */
.journey-open-btn:hover {
  background: rgb(20, 43, 84, 0.6); /* Darker shade on hover */
}

/* MODAL OVERLAY */
.journey-modal {
  transition: 0.3s ease-in-out;
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

/* MODAL CONTENT */
.journey-modal-content {
  position: relative;
  background-color: var(--white);
  margin: 5% auto;
  padding: 2rem;
  width: 80%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* CLOSE BUTTON */
.journey-modal-close {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.8rem;
  color: var(--black);
  cursor: pointer;
  z-index: 9999; /* higher than the modal’s z-index so it’s on top */
}

/* WRAPPER FOR TIMELINE */
.journey-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* EACH TIMELINE ITEM */
.journey-item {
  display: flex;
  gap: 2rem;
  font-family: var(--font-main);
}

/* LEFT SECTION: DATE, CIRCLE, LINE */
.journey-left {
  position: relative;
  width: 100px; /* Adjust as needed */
  flex-shrink: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.journey-date-range {
  color: var(--brown);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.journey-circle {
  width: 40px;
  height: 40px;
  background-color: var(--brown);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 1.2rem;
  z-index: 1;
  margin-bottom: 0.5rem;
}
.journey-vertical-line {
  flex: 1;
  width: 2px;
  background-color: var(--brown);
  margin-top: -0.5rem; /* to connect seamlessly with the circle */
}

/* RIGHT SECTION: TITLE, IMAGE, DESCRIPTION */
.journey-right {
  flex: 1;
}

.journey-right h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.3rem;
  font-family: var(--font-alt);
}

.journey-right img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.journey-right p {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.2rem);;
  line-height: 1.6;
  margin: 0;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .image-container {
    height: 50vh;
    width: 100%;
    margin-bottom: 5rem;
  }
  .image-container img {
    border-radius: 0;
    object-position: 80% center; /* Adjusts the image position */
  }
  .image-container::before {
    border-radius: 0;
  }
  .journey-modal-content {
    width: 90%;
    padding: 1rem;
  }
  .journey-modal-close {
    margin-right: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center; /* Centers the X vertically */
    justify-content: center; /* Centers the X horizontally */
    width: 2.5rem; /* Adjust to your preferred size */
    height: 2.5rem; /* Make it a perfect circle */
    font-size: 1.5rem;
    background-color: rgba(35, 35, 35, 0.2);
    border-radius: 2rem;
  }
  .journey-item {
    flex-direction: column;
  }
  .journey-left {
    flex-direction: row;
    width: auto;
    /* margin-bottom: 1rem; */
    align-items: center;
  }
  .journey-circle {
    order: -1;
    margin-right: 0.5rem; /* Optional: adjust spacing as needed */
  }
  .journey-date-range {
    margin-right: 1rem;
    margin-bottom: 0;
  }
  .journey-vertical-line {
    display: none; /* Hide the vertical line on mobile for simplicity */
  }
}

/* ===========================core values=========================== */
.core_values_main_con {
  background-image: url(../Pictures/bg1-h1.jpg);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 5rem;
}
.core_values_text {
  text-align: center;
  margin-top: 5rem;
  color: var(--white);
  font-size: 1.2rem;
  text-transform: uppercase;
  /* font-family: var(--font-mons); */
}.core_values_con {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 4rem 3%;
}

.core_values_images {
  display: flex;
  justify-content: center;
}

.core_values_images img {
  width: 3rem;
  padding-bottom: 1rem;
}

.core_values_card {
  margin-bottom: 3rem;
}

.core_values_card h2 {
  text-align: center;
  color: var(--white);
  font-size: 1rem;
  padding-bottom: 1rem;
  font-weight: 100;
  text-transform: uppercase;
}

.core_values_card p {
  text-align: center;
  color: var(--white);
  line-height: 1.5rem;
  font-size: clamp(1rem, 1vw + 0.5rem, 1rem);;
}

@media screen and (max-width: 900px) {
  .core_values_con {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 500px) {
  .core_values_con {
    grid-template-columns: 1fr;
  }
}
/* ============================services values===========================  */
.ab_mdt_se_hd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--black);
  padding: 3rem 3rem;
}
.ab_mdt_se_hd h1{
  text-transform: uppercase;
  font-weight: 100;

}
.ab_mdt_se_hd p{
  color: var(--black);
  text-align: center;
  font-weight: 500;
}
.ov_services_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 0 6% 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.ov_serv_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ov_serv_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ov_serv_card i {
  font-size: 2.5rem;
  color: var(--brown);
  margin-bottom: 1.2rem;
}

.ov_serv_card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ov_serv_card p {
  font-size: 1rem;
  color: var(--ash);
  line-height: 1.75rem;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .ov_services_grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1rem 3rem;
    gap: 1rem;
  }
  .ov_serv_card {
    padding: 1.5rem 1rem;
  }
}

@media screen and (max-width: 992px) {
  .thumbnail {
    display: none;
  }
}

/* Show on small screens */
@media screen and (max-width: 768px) {
  .ab_mdt_se_hd {
    padding: 2rem 2rem;
  }
  .containerr {
    display: block;
  }
  .containerr .swiper-button-prev {
    font-size: 2rem;
  }
  .containerr .swiper-button-next {
    font-size: 2rem;
  }
}

@media screen and(max-width: 320px) {
  .card__data {
    padding: 1rem;
  }
}
