/* #region Slider */
#carouselExampleDark {
  overflow: hidden;
  border-radius: 40px;
  margin-top: 40px;
  height: auto; /*ONLY BECAUSE I MADE THE PICTURES THE SAME SIZE*/
  width: calc(100% - 6%);
  max-width: 1600px;
  margin-left: auto; 
  margin-right: auto; 
  box-shadow: 0px 10px 20px black;
}

.custom-caption-1 p {
  font-family: 'Arial', sans-serif;
  font-size: clamp(14px, 3vw, 45px);
  color: white;
  width: 80%;
}


.custom-caption-1 {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%; 
  backdrop-filter: blur(0px); 
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: all 0.4s ease;
}

.carousel-item:hover .custom-caption-1{
  backdrop-filter: blur(10px); /* Apply blur effect smoothly */
  background-color: rgba(0, 0, 0, 0.3); /* Fade in background */
  opacity: 1;
}

.carousel-item {
  position: relative;
}

.custom-caption-2 {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%; 
  backdrop-filter: blur(0px); 
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: all 0.4s ease;
}

.carousel-item:hover .custom-caption-2{
  backdrop-filter: blur(10px); /* Apply blur effect smoothly */
  background-color: rgba(0, 0, 0, 0.3); /* Fade in background */
  opacity: 1;
}
.custom-caption-2 p{
  font-family: 'Arial', sans-serif;
  font-size: clamp(14px, 3vw, 45px);
  color: white;
  width: 80%;
}
/* #endregion */

/* #region Form */
.contact-form {
  background-color: white;
  padding: 20px;
  border-top-right-radius: 250px;
  border-bottom-right-radius: 250px;
  box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.5);
  width: 92%;
  margin-bottom: 60px;
  margin-top: 100px;
}

.contact-form, .google-maps {
  position: relative; /* To override the opacity of the background */
  z-index: 1; /* Ensures that the contact form and map are displayed above the background */
}

.google-maps .ratio-16x9 {
  border-radius: 30px;
  overflow: hidden;
  height: 500px;
}

.form-background {
  margin-top: 50px;
  height: auto;
  padding-top: 10px;
  display: block;
  align-items: center;
  padding-bottom: 50px;
  position: relative; /* For positioning pseudo-element */
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 1);
}

.form-background::before {
  content: '';
  background: url(Gaddtech_Fotos/Form_Background_image.avif) no-repeat center center/cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.7; 
  z-index: -1; /* Ensure the background stays behind content */
}
#name-surname .information {
  position: absolute;
  color: rgb(60, 75, 135);
  right: 15%;
  font-family: 'Arial', sans-serif;
}
.contact-us-block {
  display: flex;
}
.contact-form input, .contact-form textarea {
  display: block;
}

.contact-form h1 {
  font-family: 'Arial', sans-serif;
  margin-left: 10px;
  margin-bottom: 20px;
  margin-left: 2%;
  font-weight: bold;
  font-size: clamp(16px, 3vw, 30px);
}

.contact-form textarea {
  font-family: 'Arial', sans-serif;
  width: 30vw;
  padding: 10px;
  max-width: 450px;
  margin-top: 5px;
  margin-left: 2%;
  border: none;
  border-bottom: 1px solid #000000;
  border-radius: 5px;
}

.contact-form input {
  font-family: 'Arial', sans-serif;
  /* height: fit-content; */
  width: 20vw;
  padding: 10px;
  max-width: 200px;
  margin-top: 5px;
  margin-left: 2%;
  border: none;
  border-bottom: 1px solid #000000;
  border-radius: 5px;
}
#name-surname {
  display: flex;
}
#name, #surname {
  font-weight: 500;
  color: rgb(0, 0, 0);
}
#name::placeholder, #subject::placeholder, #surname::placeholder, #email::placeholder, #message::placeholder {
  font-weight: bold;
}
#email {
  font-weight: 500;
}

#subject {
  font-weight: 500;
}

#message {
  font-weight: 500;
}

.contact-form button {
  font-family: 'Arial', sans-serif;
  width: 150px;
  padding: 10px;
  background: #85ABD8;
  font-weight: 500;
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 5px;
  margin-top: 15px;
  cursor: pointer;
  font-size: 18px;
  margin-left: 2%;
}

.contact-form button:hover {
  background: rgb(237, 85, 35, 0.8);
}
/* #endregion */

/* #region Supplier/Client slider */
.client-heading {
  font-family: 'Arial', sans-serif;
  margin-top: 24px;
  font-size: 45px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.supplier-heading {
  font-family: 'Arial', sans-serif;
  margin-top: 80px;
  font-size: 45px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

/* @media screen and (max-width: 1025px) {
  .logos-slide {
    white-space: nowrap;
    animation: 5s logo-slide infinite linear;
  }
} */

@keyframes logo-slide {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes logo-slide-clients {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}


.logos {
  display: flex;
  height: 110px;
  background-color: rgb(255, 255, 255);
  /* background-color: #3b3b3b2f; */
  overflow: hidden;
  align-items: center;
  position: relative;
  box-shadow: 0px 10px 40px rgb(60, 75, 135);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos:hover #logos-slide-clients {
  animation-play-state: paused;
}

.logos-slide {
  white-space: nowrap;
  animation: 30s logo-slide infinite linear;
}

#logos-slide-clients {
  white-space: nowrap;
  animation: 50s logo-slide infinite linear;
}

.logos::before, .logos::after {
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  content: "";
  z-index: 2; 
}

.logos::before {
  left: 0;
  background: linear-gradient(to right, rgb(255, 255, 255), rgba(133, 170, 216,0));
}

.logos::after {
  right: 0;
  background: linear-gradient(to left, rgb(255, 255, 255), rgba(133, 170, 216,0));
}

.supplier-logo1 {
  height: 80px;
  margin-right: 20px;
}
.supplier-logo2 {
  height: 130px;
  margin-right: 25px;
}
.supplier-logo3 {
  height: 250px;
  margin-right: 60px;
}
.supplier-logo4 {
  height: 150px;
  margin-right: 40px;
}
.supplier-logo5 {
  height: 150px;
  margin-right: 40px;
}
.supplier-logo6 {
  height: 250px;
  margin-right: 40px;
}
.supplier-logo7 {
  height: 90px;
  margin-right: 40px;
}


.client-logo1 {
  height: 160px;
  margin-right: 40px;
}
.client-logo2 {
  height:70px;
  margin-right: 60px;
}
.client-logo3 {
  height: 90px;
  margin-right: 25px;
}
.client-logo4 {
  height: 110px;
  margin-right: 30px;
}
.client-logo5 {
  height: 100px;
  margin-right: 40px;
}
.client-logo6 {
  height: 200px;
  margin-right: 10px;
}
.client-logo7 {
  height: 90px;
  margin-right: 20px;
}
.client-logo8 {
  height: 150px;
}
.client-logo9 {
  height: 130px;
  margin-right: 25px;
}
.client-logo10 {
  height: 170px;
  margin-right: 60px;
}
.client-logo11 {
  height: 80px;
  margin-right: 40px;
}
.client-logo12 {
  height: 60px;
  margin-right: 40px;
}
.client-logo13 {
  height: 70px;
  margin-right: 40px;
}
.client-logo14 {
  height: 180px;
  margin-right: 30px;
}
.client-logo15 {
  height: 40px;
  margin-right: 80px;
}
/* #endregion */

/* #region Interaction Images*/
.interaction-heading {
  font-family: 'Arial', sans-serif;
  margin-top: 24px;
  margin-bottom: 30px;
  font-size: 45px;
  text-align: center;
  font-weight: bold;
}

.interaction-products {
  padding: 50px 0; /* Adjust as needed */
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.interaction-products::before {
  content: "";
  background: url('Products/HS\ Macro\ Cell\ Towers\ .avif') no-repeat center center fixed; 
  opacity: 0.5;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;  
  background-position: center;
}

.interactions-services {
  padding: 50px 0; 
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.interactions-services::before {
  content: "";
  background: url('Industries/Background.avif') no-repeat center center fixed; 
  opacity: 0.5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  position: absolute;
  background-size: cover;  
  background-position: center;
}

.interaction-top-bottom {
  position: relative;
  display: block;
  width: 96%;
  margin-left: auto;
  margin-right: auto;
}

.interaction-inner {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.interaction-image {
  position: relative;
  max-width: 350px;
  max-height: 350px;
  width: clamp(200px,20vw, 300px);
  height: clamp(200px,20vw, 300px);;
  overflow: hidden;
  box-shadow: 0px 10px 20px rgb(0, 0, 0);
}

#services-interaction-image {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns */
  grid-template-rows: 1fr 1fr;
  max-width: 583px;
  max-height: 583px;
  width: clamp(333px,33vw, 500px);
  height: clamp(333px,33vw, 500px);;
  overflow: hidden;
}

.interaction-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}


#services-interaction-image img:nth-child(3) {
  grid-column: 1 / 3; 
  grid-row: 2; 
}

.interaction-image p {
  position: absolute;
  width: 101%;
  text-align: center;
  height: 80px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(0, 0, 0);
  background-color: white;
  height: fit-content;
  /* background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)); */
  font-size: clamp(14px,2.2vw,30px);
  font-weight: bold;
}


.interaction-image:hover img {
  transform: scale(1.1);
  filter: blur(10px);
}

.hover-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  text-wrap: nowrap;
}

.interaction-image:hover .hover-button {
  opacity: 1;
  visibility: visible;
}

.hover-button button {
  padding: 10px 20px;
  background-color: rgb(237, 85, 35, 0.8);
  color: rgba(255, 255, 255);
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

.hover-button button:hover {
  background-color: rgba(133, 171, 216);
}


.rectifier-interaction-image {
  margin-top: 20px;
}
/* #endregion */

/* #region Pop-up*/
.popup {
  font-family: 'Arial', sans-serif;
  position: fixed;
  right: -500px; /* Hide off the screen to the right */
  top: 20%;
  transform: translateY(-50%);
  background-color: rgb(237, 85, 35, 1);
  padding: 20px;
  border-radius: 60px 0px 0px 60px;
  color: white;
  font-size: 24px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: right 1s ease; 
  z-index: 3;
}

/* Popup shows up from the right */
.popup.show {
  right: 0; /* Show on the screen with a little margin from the right */
  text-align: center;
}
/* #endregion */

.terms-and-conditions {
  font-family: 'Arial', sans-serif;
  background-color: rgb(237, 85, 35, 0.9);
  padding: 6px;
  border-radius: 30px;
  color: black;
  margin-left: -6px;
}


/* #region Interaction Images for smaller screens */
@media screen and (max-width: 1025px) {

  .interaction-image:hover img {
    transform: none;
    filter: none;
  }

  .hover-button button:hover {
    background-color: transparent;
  }

  .hover-button {
    position: absolute;
    width: 100%; 
    height: 100%;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    text-wrap: nowrap;
  }

  .hover-button button {
    width: 100%; /* Make the button take full width */
    height: 100%; /* Make the button take full height */
    border: none; /* Remove default border */
    background: transparent; /* Make background transparent */
    color: rgba(255, 255, 255, 0); /* Change text color */
    font-weight: bold;
    font-size: 16px; /* Adjust font size */
    cursor: pointer; /* Change cursor to pointer */
    border-radius: 0px;
  }
}
/* #endregion */

