.header-section {
  /* background: #4b36ac; */
  background-image: url("../images/portfolio/idds_graphic1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /* background-size: center contain; */
  color: white;
  padding: 50px 20px;
  min-height: 400px;
}



.bgcolor {
  background-color: #f7f7f7
}

.card-icon {
  font-size: 50px;
  color: #00a2ff;
  margin-bottom: 15px;
}

.info-section {
  margin-top: -100px;
}

.card-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  min-height: 240px;
}

font-d {
  font-family: -webkit-body !important;
}

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

.card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 0px;
  padding: 20px;
  padding-top: 0px;
  padding-bottom: 0px;
  background-color: white;
  flex: 1;
  /* Ensures cards are of equal width */
}

@media (max-width:766px) {
  .card-row {
    /* border-right: 1px solid rgba(0, 0, 0, 0.1); */
    /* Divider between rows */
    padding: 8px;

  }

  .img-values {
    width: 100%;
  }

  .section-padd {
    display: flex;
    justify-content: center;
    padding-left: 4vw !important;
    padding-right: 4vw !important;
  }
}

@media (min-width:767px) {
  .card-row {
    border-right: 1px solid rgba(0, 0, 0, 0.1) !important;
    /* Divider between rows */
    padding: 8px;
  }

  .img-values {
    width: 80%;
  }

  .card-row:last-child {
    border-right: none !important;
    /* Remove border from the last row */
  }

  .section-padd {
    display: flex;
    justify-content: center;
    padding-left: 12vw !important;
    padding-right: 12vw !important;
  }
}





.card h5 {
  font-weight: bold;
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #00a2ff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
}

.back-to-top:hover {
  background-color: #008cd7;
}

.no-gap {
  margin: 0;
  /* Remove row margin */
  gap: 0;
  /* Remove grid gap */
}

.inside-column {
  padding-left: 2vw;
  padding-right: 2vw;
}

.img-container {
  position: relative;
  overflow: hidden;
  height: 250px;
  border-radius: 8px !important;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px !important;

}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  /* Black with transparency */
  color: white;
  border-radius: 8px !important;
  opacity: 0;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: opacity 0.5s ease, visibility 0.5s ease, background-color 0.5s ease;
}

.overlay1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.725);
  border-radius: 8px;
  /* Black with transparency */
  color: white;
  opacity: 1;
  visibility: visible;

  justify-content: center;
  align-items: center;
  text-align: center;
  transition: opacity 0.5s ease, visibility 0.5s ease, background-color 0.5s ease;
}

.img-container:hover .overlay {
  opacity: 1;
  visibility: visible;
  border-radius: 8px !important;

  /* background-color: #E43A3A */
  /* background-color: rgb(220 53 69);
   */
  background-color: #4b36ac;
  /* Blue on hover */
}

.img-container:hover .overlay1 {
  opacity: 0;
  visibility: hidden;
}

.icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.text {
  font-size: 20px;
}



.portfolio .portfolio__single img {
  width: 100%;
  height: 100px !important;
}

.section {
  padding: 50px 0px;

}

.video-container {
  width: 90%;
  height: 80vh;
  overflow: hidden;
  position: relative;
}

.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

/* Rotation Container */
.rotate-container {
  transition: transform 0.9s ease-out;
  /* Smooth rotation transition */
}

.rotate {
  transform: rotateY(0deg);
  /* No rotation initially */
  transition: transform 0.9s ease-out;
  /* Smooth transition back */
}

/* Rotate the icon on hover */
.rotate-container:hover .rotate {
  transform: rotateY(180deg);
  /* Full Y-axis rotation */
  transition: transform 0.9s ease-out;
  /* Animation duration and ease */
}


.carousel-inner img {
  max-width: 100%;
  /* Ensure images fit within the container */
  height: auto;
  /* Maintain aspect ratio */
  object-fit: cover;
  /* Ensure proper image fit */
}

/* Container styles */

/* Slide styles */
.carousel-slide {
  position: absolute;
  top: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.carousel-slide img {
  width: 70%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Active slide */
.carousel-slide.active {
  transform: translateX(0) scale(1);
  z-index: 2;
  opacity: 1;
}

/* Previous slide */
.carousel-slide.prev {
  transform: translateX(-98%) scale(0.9);
  z-index: 1;
  opacity: 0.7;
}

/* Next slide */
.carousel-slide.next {
  transform: translateX(98%) scale(0.9);
  z-index: 1;
  opacity: 0.7;
}

/* Navigation buttons */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 3;
}

.carousel-control.prev-btn {
  left: 10px;
}

.carousel-control.next-btn {
  right: 10px;
}

/* Description block styles */
.image-description {
  position: absolute;
  bottom: -40px;
  left: 5px;
  transform: translateX(-50%);
  width: 55%;
  /* Adjust width as needed */
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
  opacity: 0;
  transform: translateY(20px);
}

.carousel-slide.active .image-description {
  opacity: 1;
  transform: translateY(0);
}

.carousel-slide .image-description h5 {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.carousel-slide .image-description p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #666;
}

/* Adjust carousel height to account for description */

@media (max-width:490px) {
  .custom-carousel {
    height: 210px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 1200px;
    /* Set maximum carousel width */
    width: 100%;
    /* Make it responsive */
    margin: 0 auto;
  }

  .solution-icons {
    width: 75px !important;
    height: 75px !important;
  }
}

@media (min-width: 492px) and (max-width: 769px) {
  .custom-carousel {
    height: 280px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 1200px;
    width: 100%;
    /* Make it responsive */
    margin: 0 auto;
  }

  .solution-icons {
    width: 75px !important;
    height: 75px !important;
  }
}

@media (min-width: 770px) and (max-width: 989px) {
  .custom-carousel {
    height: 350px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 1200px;
    width: 100%;
    /* Make it responsive */
    margin: 0 auto;
  }

  .solution-icons {
    width: 75px !important;
    height: 75px !important;
  }
}

@media (min-width:990px) {
  .custom-carousel {
    height: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 1200px;
    /* Set maximum carousel width */
    width: 100%;
    /* Make it responsive */
    margin: 0 auto;

  }

  .solution-icons {
    width: 80px !important;
    height: 80px !important;
  }
}








.webminds01:after {
  content: "";
  display: block;
  clear: both;
}

.webminds01 .timeline {
  width: 50%;
  padding: 0 70px 0 0;
  margin: 0 5px 55px 0;
  float: left;
}

.webminds01 .timeline-content {
  color: #061871;
  min-height: 120px;
  padding: 0 30px 0 0;
  border-right: 2px solid var(--color1);
  display: block;
  position: relative;
  z-index: 1;
}

.webminds01 .timeline-content:hover {
  text-decoration: none;
}

.webminds01 .timeline-content:before,
.webminds01 .timeline-content:after {
  content: "";
  background-color: var(--color2);
  height: 8px;
  width: 8px;
  border-radius: 50%;
  position: absolute;
  right: -5px;
  top: 0;
}

.webminds01 .timeline-content:after {
  top: auto;
  bottom: 0;
}

.webminds01 .timeline-icon {
  color: #fff;
  background-color: var(--color1);
  font-size: 40px;
  text-align: center;
  line-height: 150px;
  height: 150px;
  width: 150px;
  border-radius: 30px;
  box-shadow: -5px -5px 5px rgba(0, 0, 0, 0.2), -8px -8px 0 var(--color2);
  transform: translateY(-50%);
  position: absolute;
  right: -200px;
  top: 50%;
}

.webminds01 .timeline-year {
  font-size: 18px;
  font-weight: 300;
}

.webminds01 .title {
  color: var(--color1);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 7px;
}

.webminds01 .description {
  color: #061871;
  font-size: 16px;
  font-weight: 500;
  line-height: 21px;
  letter-spacing: 0.5px;
  margin: 0;
}

.webminds01 .timeline:nth-child(even) {
  padding: 0 0 0 70px;
  margin: 0 0 55px 5px;
  float: right;
}

.webminds01 .timeline:nth-child(even) .timeline-content {
  padding: 0 0 0 30px;
  border-left: 2px solid var(--color1);
  border-right: none;
}

.webminds01 .timeline:nth-child(even) .timeline-content:before,
.webminds01 .timeline:nth-child(even) .timeline-content:after {
  right: auto;
  left: -4.5px;
}

.webminds01 .timeline:nth-child(even) .timeline-icon {
  box-shadow: 5px -5px 5px rgba(0, 0, 0, 0.2), 8px -8px 0 var(--color2);
  left: -200px;
  right: auto;
}

.webminds01 .timeline:nth-child(2n + 1) {
  --color1: #ef3f3f;
  --color2: #ef3f3f;
}

.webminds01 .timeline:nth-child(2n + 2) {
  --color1: #5b47b9;
  --color2: #5b47b9;
}

@media screen and (max-width: 767px) {

  .webminds01 .timeline,
  .webminds01 .timeline:nth-child(even) {
    width: 100%;
    padding: 115px 0 0;
    margin: 0 0 50px;
  }

  .webminds01 .timeline-content,
  .webminds01 .timeline:nth-child(even) .timeline-content {
    text-align: center;
    padding: 15px 0 0 0;
    border: none;
    border-top: 2px solid var(--color1);
  }

  .webminds01 .timeline-content:before {
    right: auto;
    left: 0;
    top: -5px;
  }

  .webminds01 .timeline-content:after,
  .webminds01 .timeline:nth-child(even) .timeline-content:after {
    left: auto;
    right: 0;
    top: -5px;
  }

  .webminds01 .timeline-icon,
  .webminds01 .timeline:nth-child(even) .timeline-icon {
    transform: translateY(0) translateX(-50%);
    top: -115px;
    left: 50%;
  }
}

@media (max-width: 450px) {
  .webminds01 .timeline-icon {
    line-height: 100px;
    width: 100px;
    height: 100px;
  }
}


.hidden {
  display: none;
}