/* ___________________SECTION-1 CAROUSEL PART__________________ */

/*.content {*/
/*  display: none;*/
/*}*/
.container-fluid {
  padding: 0;
  margin: 0;
  position: relative;
}

.carousel-item {
  background-color: var(--color-blue-1);
}

.carousel-img {
  width: 100%;
  height: 45rem;
  opacity: 0.8;
}

.carousel-caption {
  font-family: var(--font-family-subtitle);
  font-size: 1.15rem;
  font-weight: 500;
  border-radius: 0.5rem;
  box-shadow: 2px 2px 2px 2px var(--color-blue-1);
  backdrop-filter: blur(20px);
}

.carousel-arrow {
  width: 2rem;
  height: 2rem;
  /* transition: width 0.5s ease-in, height 0.5s ease-in; */
  transition: all 0.75s;
}

.carousel-arrow:hover {
  width: 3rem;
  height: 3rem;
  background-color: rgb(203, 193, 193);
  border-radius: 0.25rem;
}

/* ___________________SECTION-2 BEFORE ANIMATION__________________ */

.heading-1 {
  min-height: 4rem;
  background-color: orange;
  padding: 1rem;
}

.heading-1 h2 {
  font-family: var(--font-family-title);
  font-size: var(--font-size-3);
  font-weight: 550;
  text-align: center;
}

.offersDiv {
  background-color: var(--color-white-1);
  display: flex;
}

.offersDiv:hover {
  background-color: var(--color-blue-2);
  border-top-left-radius: 25px;
  border-bottom-right-radius: 25px;
  box-shadow: 5px 5px 5px 5px var(--color-blue-4);
}

.offerTextTitle {
  color: var(--color-blue-6);
  font-weight: 600;
  font-family: var(--font-family-title);
  font-size: var(--font-size-2);
  line-height: 2rem;
}

.offericons {
  color: var(--color-blue-2);
  font-size: 6rem;
}

.offertext {
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 500;
  color: var(--color-blue-1);
  font-family: var(--font-family-subtitle);
}
.iconsServices {
  background-color: var(--color-blue-2);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  margin-bottom: 15px;
  position: relative;
}
.iconsServices span {
  font-size: 64px;
  line-height: 1.2;
  position: absolute;
  top: 14%;
  left: 19%;
}

/* ___________________SECTION-3 ANIMATION__________________ */

.card-container {
  background-color: var(--color-blue-1);
  color: var(--color-white-1);
  height: 6.5rem;
  box-sizing: border-box;
}

.animation-container {
  margin-left: 1rem;
  font-size: var(--font-size-3);
  font-weight: 450;
  min-width: 5rem;
  font-family: var(--font-family-title);
  text-align: center;
  padding-top: 2rem;
}

.animated-text {
  position: relative;
}

.animated-text::before {
  content: "Excellence";
  color: var(--color-orange);
  animation: words 20s infinite;
}

.animated-text::after {
  content: "";
  position: absolute;
  width: calc(100% + 8px);
  height: 3rem;
  background-color: var(--color-blue-1);
  border-left: 2px solid var(--color-orange);
  right: -8px;
  animation: cursor 0.8s infinite, typing 20s steps(14) infinite;
}

@keyframes cursor {
  to {
    border-left: 2px solid var(--color-blue-3);
  }
}

@keyframes words {
  0%,
  20% {
    content: "Excellence!";
  }
  21%,
  40% {
    content: "Discipline!";
  }
  41%,
  60% {
    content: "Ethics!";
  }
  61%,
  80% {
    content: "Integrity!";
  }
  81%,
  100% {
    content: "Quality!";
  }
}

@keyframes typing {
  10%,
  15%,
  30%,
  35%,
  50%,
  55%,
  70%,
  75%,
  90%,
  95% {
    width: 0;
  }
  5%,
  20%,
  25%,
  40%,
  45%,
  60%,
  65%,
  80%,
  85%,
  100% {
    width: calc(100% + 8px);
  }
}

/* ___________________SECTION-4 AFTER ANIMATION__________________ */

.heading-2 {
  height: 6rem;
  background-color: var(--color-blue-3);
}

.heading-2 h2 {
  font-family: var(--font-family-title);
  font-size: var(--font-size-3);
  font-weight: 500;
  text-align: center;
  padding: 1rem;
  color: white;
  background-color: var(--color-blue-6);
}

.innerServiceDivs {
  transition: transform 1.5s;
  width: 500px;
  box-shadow: 5px 5px 5px 5px var(--color-blue-4);

  /* margin-top: 1rem; */
}

.innerServiceDivs:hover {
  transform: scale(1.05, 1.05);
}

.iconsServices span {
  color: var(--color-white-1);
}

.heading-3 {
  max-height: 40rem;
  background-image: url("bg-2.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  filter: grayscale(20%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.heading-3:hover {
  filter: grayscale(0%);
}

.heading-3 h2 {
  font-family: var(--font-family-title);
  font-size: var(--font-size-3);
  font-weight: 500;
  padding: 1rem;
  color: white;
  text-shadow: 2px 2px 2px black;
}

#button-primary {
  background-color: yellow;
  height: 3rem;
  width: 8rem;
  font-family: var(--font-family-footer);
  font-weight: 525;
  font-size: var(--font-size-2);
  border-radius: 2rem 2rem;
  transition: 0.5s;
}

#button-primary i {
  display: none;
  font-weight: 600;
  color: var(--color-blue-1);
  font-size: var(--font-size-1);
}

#button-primary:hover {
  padding-right: 1rem;
  font-size: var(--font-size-1);
  box-shadow: 2px 2px 2px 2px var(--color-blue-4);
  padding-bottom: 0.5rem;
}

#button-primary:hover i {
  display: inline;
}

/* ___________________SECTION-5 MEDIA QUERY__________________ */

@media screen and (min-width: 1400px) {
  .blogsContainer {
    max-width: 2132px;
  }
  .footerContainer {
    max-width: 2033px;
  }
}

@media screen and (max-width: 1400px) {
  .offersDiv {
    display: block;
  }
}

@media screen and (max-width: 500px) {
  .carousel-img {
    height: 25rem;
  }

  .carousel-caption {
    font-size: 0.6rem;
    font-weight: 400;
  }

  .carousel-arrow {
    width: 1rem;
    height: 1rem;
    transition: width 0.5s ease-in, height 0.5s ease-in;
  }

  .carousel-arrow:hover {
    width: 2rem;
    height: 2rem;
  }

  .card-container {
    height: 5rem;
  }

  .heading-2 {
    height: 4rem;
  }
}
