.container {
  position: relative;
  text-align: center;
  color: white;
}
.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}
.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}
.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}
.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(-50%, -50%);
  position: absolute;
  top: 80%;
  left: 50%;
}
/*......................................Contact Us Section........................................*/
.contact-us {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 30px;

  width: 100%;
  padding: 20px 0;
}
.contact-us form {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 20px;
  width: 40vw;
}
.contact-us .imge {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 40vw;
}
.contact-us .form-group {
  display: flex;
  width: 100%;
  flex-direction: row;
  gap: 20px;
}
.contact-us .form-input {
  display: flex;
  flex-grow: 1;
  width: 100%;
}
.contact-us .form-input input,
.contact-us .form-input textarea {
  border: 2px solid #fff !important;
  background-color: #fff !important;
  color: #ffffff !important;
}
.contact-us .form-input input:hover,
.contact-us .form-input textarea:hover {
  border: 2px solid #fff !important;
  box-shadow: rgba(255, 255, 255, 0.8) 0 0 5px 1px;
  text-shadow: rgba(255, 255, 255, 0.8) 0 0 5px 1px;
  color: #ffffff !important;
}
.contact-us .form-input input:focus,
.contact-us .form-input textarea:focus {
  border: 2px solid #fff !important;
  background-color: #fff !important;
  color: #000 !important;
}
.contact-us .form-actions {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.contact-us .image-contact-us {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 60px;
}

.hr-or {
  display: flex;
  flex-direction: row;
  font-size: larger;
}
.hr-or:before,
.hr-or:after {
  content: "";
  flex: 1 1;
  border-bottom: 2px solid #ffffff;
  margin: auto;
}
@media (max-width: 767px) {
  .contact-us .imge {
    width: 70vw;
  }
  .contact-us form {
    width: 70vw;
  }
}
/*..............................................................................*/
/*......................................Service Tiles........................................*/
.service-tile {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-repeat: no-repeat;
  background-attachment: Fixed;
  background-size: 100% 100%;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s;
}
.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(hsl(0 0 0 / 0.4), hsl(0 0 0 / 0.4));
  border-radius: 10px;
  z-index: -1;
}
.service-tile:hover {
  transform: scale(1.05);
}
.service-tile p {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(208, 230, 232);
  font-size: 22px;
  font-weight: bold;
  transition: 0.2s;
}
.service-tile:hover p {
  color: #fff;
}

.service-tab {
  margin-top: 10px !important;
}
/*..............................................................................*/

/*......................................Hero Section.....................................*/
/*......................................Quote Card........................................*/
.card-quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 50px 10px 50px;
  border-radius: 10px;
  text-align: start;
  font-family: "Poppins", sans-serif;
}
.card-quote .quote {
  position: relative;
}
.card-quote .quote-icon {
  position: absolute;
  top: -30px;
  left: -55px;
  transform: scale(1.5) rotate(5deg);
  opacity: 0.1;
}
.card-quote .quote-content {
  font-weight: bold;
  font-size: 2rem;
  color: #fff;
  margin: 10px 0;
}
.card-quote .quote-author {
  font-size: 1.3rem;
  color: #0dcaf0;
  border-top: 1px solid #fff;
  padding: 16px 32px;
  margin-top: 20px;
  font-style: italic;
}
@media (max-width: 768px) {
  .card-quote {
    display: none;
  }
  .card-quote-container {
    flex-direction: column;
    align-items: center;
  }
}
@media (min-width: 769px) {
  .card-quote {
    margin-top: 75px;
    padding: 0px 80px;
  }
}

/*..............................................................................*/
/*......................................Solution List.....................................*/
.solutions-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
/*......................................Solution Card........................................*/
/*......................................Solution IMG with card........................................*/
.solution-card-carousel {
  height: 450px;
  overflow: hidden;
  position: relative;
}
.solution-img-card-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.solution-img {
  width: 500px;
  height: 500px;
  border-radius: 10px;
}

.solution-card-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  transition: transform 0.5s ease;
  gap: 20px;
}
.solution-card {
  width: auto;
  height: 60px;
  background-color: transparent;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: large;
  font-weight: lighter;
  padding: 20px;
  gap: 20px;
}
/* .solution-info {
  padding-bottom: 20px;
} */
@media (max-width: 440px) {
  .solution-card {
    font-size: 15px;
    font-weight: 600;
  }
}
@media (max-width: 379px) {
  .solution-card {
    font-size: 12px;
    font-weight: 500;
  }
}
@media (max-width: 1000px) {
  .solution-img-card-container {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 450px) {
  .solution-img {
    width: 60vw !important;
    height: auto !important;
  }
}
@media (max-width: 580px) {
  .solution-img {
    width: 60vw !important;
    height: auto !important;
  }
}

/*......................................Custom Tabs........................................*/
.nav-link.service-cat {
  height: max-content;
  border-radius: 5px !important;
  background-color: #a0a0a04b !important;
  color: #ffffff !important;
  border: none !important;
}
.nav-link.service-cat:hover {
  background-color: #a0a0a0 !important;
  color: #000000 !important;
}
.nav-link.service-cat.active {
  background-color: #fff !important;
  color: #000000 !important;
}
.nav {
  margin-bottom: 10px !important;
}
.nav-tabs {
  border-bottom: none !important;
}

/*..............................................................................*/
/*......................................work Section........................................*/
.work-section {
  padding: 50px 0;
  width: 100%;
  /* height: 85vh; */
}
.work-section .swiper {
  width: 100%;
  height: 100%;
}
.swiper-container {
  width: 100%;
  height: 60vh;
  padding: 10px 0px;
}
.work-section .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.work-section .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-section .swiper-slide {
  width: auto;
}
.work-section .swiper-slide:nth-child(2n) {
  width: auto;
}
.work-section .swiper-slide:nth-child(3n) {
  width: auto;
}
.work-section .swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  color: #000;
  opacity: 1;
  background: rgba(0, 0, 0, 0.2);
}
.work-section .swiper-pagination-bullet-active {
  color: #000000;
  font-weight: 900;
  background: #ffffff;
}
.tab-content.index {
  padding: 0px 40px !important;
  margin-top: 10px !important;
}
@media (width: 1024px) {
  .swiper-container {
    height: 50vh;
  }
  .service-tile {
    margin-bottom: 8px;
  }
}
@media (width: 768px) {
  .swiper-container {
    height: 48vh;
  }
}
@media (max-width: 450px) and (min-width: 320px) {
  .swiper-container {
    height: 38vh;
  }
}
/*..............................................................................*/
/*......................................Media queries........................................*/
@media (width: 1440px) {
  .nav-link.service-cat {
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tab-content.index {
    height: 1000px;
  }
}
@media (width: 1024px) {
  .nav-link.service-cat {
    height: 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 992px) {
  .nav {
    padding: 0px 40px !important;
  }
  .nav-link.service-cat {
    height: 85px !important;
  }
}
@media (min-width: 993px) {
  .nav {
    padding: 0px 40px !important;
  }
  .nav-link.service-cat {
    height: 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 767px) {
  .nav {
    flex-direction: column;
    padding: 0px 40px !important;
  }
  .nav-link.service-cat {
    width: 100% !important;
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) and (min-width: 320px) {
  .contact-us {
    flex-direction: column;
    height: auto;
    width: auto;
    justify-content: flex-start;
  }
}
@media (width: 768px) {
  .contact-us .imge {
    width: 60vh;
  }
  .contact-us form {
    width: 60vh;
  }
}

@media (max-width: 450px) and (min-width: 320px) {
  .contact-us {
    flex-direction: column;
    height: auto;
    width: auto;
  }
  .contact-us form {
    width: 100%;
  }
  .contact-us .imge {
    width: 100%;
  }
  .contact-us .form-group {
    flex-direction: column;
  }
}

/*..............................................................................*/

.about-us-content {
  height: 600px;
  width: 400px;
  background-color: #25252586;
  border: 2px solid rgb(255, 255, 255, 0.1);
  border-bottom: 6px solid #0dcaf0;
  overflow: hidden;
  border-radius: 12px;
  border-top: 4px solid #0dcaf0;
  padding: 0px 5px;
}
.about-us-content img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}
.about-us {
  height: fit-content;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.about-us-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-us-text h3 {
  font-size: 28px !important;
  font-weight: 500 !important;
  color: #fff !important;
  margin-bottom: 10px;
  margin-top: 20px;
}
.about-us-text h4 {
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #0dcaf0 !important;
  margin-bottom: 10px;
}
.about-us-text p {
  max-width: 350px;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #fff !important;
  text-align: center;
  line-height: 1.5;
}
#about-cta {
  background: url("../img/about-us.webp") center/cover no-repeat;
  position: relative;
  min-height: 50vh;
  padding: 50px 0px;
}

#about-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65); /* overlay for readability */
  z-index: 0;
}

#about-cta .container {
  position: relative;
  z-index: 1;
}

#about-cta h2 {
  font-weight: 600;
}

#about-cta p {
  color: #ccc;
}

@media (min-width: 993px) {
  #about-cta h2 {
    font-size: 2.1rem;
  }
  #about-cta p {
    font-size: 1.3rem;
  }
  #modal-body h3 {
    font-size: 2rem !important;
    font-weight: 600 !important;
  }
  #modal-body h5 {
    font-size: 1.3rem !important;
    font-weight: 500 !important;
  }
  #modal-body p {
    font-size: 1rem !important;
  }
}
@media (max-width: 992px) {
  #about-cta h2 {
    font-size: 2.8vw;
  }
  #about-cta p {
    font-size: 2.2vw;
  }
}
@media (max-width: 425px) {
  .cta h3 {
    font-size: 1.5rem;
  }
  #about-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #about-cta h2 {
    font-size: 1.5rem;
  }
  #about-cta p {
    font-size: 1rem;
  }
  .modal {
    padding-top: 75px !important;
  }
  .modal-content {
    width: 95% !important;
  }
  #modal-body h3 {
    font-size: 1.7rem !important;
    font-weight: 600 !important;
  }
  #modal-body h5 {
    font-size: 1rem !important;
    font-weight: 500 !important;
  }
  #modal-body p {
    font-size: 0.875rem !important;
  }
  .swiper-slide.main-swiper img {
    width: 100% !important;
    height: auto !important;
    max-height: 250px;
  }
  .projectSwiperMain {
    max-height: 250px;
  }
}

/* Modal (Popup) */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7) !important;
  animation: fadeIn 0.3s ease;
}

/* Modal Content Box */
.modal-content {
  background-color: #121212 !important;
  margin: auto;
  padding: 20px 30px;
  border-radius: 12px;
  width: 80%;
  max-width: 800px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
  animation: slideUp 0.3s ease;
}

/* Close button */
.close-btn {
  width: 40px;
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
}
.close-btn:hover {
  color: #f00;
}

/* work modal */

.project-swiper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide .main-swiper {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}

.projectSwiperMain {
  width: 100%;
  height: 360px;
}

.projectSwiperThumbs {
  width: 100%;
  height: 90px;
  box-sizing: border-box;
  padding: 10px 0;
  overflow: hidden;
}

.projectSwiperThumbs .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
}

.projectSwiperThumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* cropped thumbnails */
  border-radius: 6px;
}

.projectSwiperThumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.swiper-slide.main-swiper img {
  display: block;
  /* width: 100%; */
  /* max-height: auto; */
  width: auto;
  height: 100%;
  object-fit: contain; /* keeps full image visible */
  border-radius: 8px;
  margin: auto;
  display: block;
}
