@charset "UTF-8";
html body header {
  margin: 0;
  padding: 0;
}

.xl-text {
  font-size: 65px;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url("../images/hero_car_service.jpeg") center center no-repeat;
  background-size: cover;
  height: 450px;
}

.despre-noi {
  background: linear-gradient(rgba(62, 104, 117, 0.7), rgba(62, 104, 117, 0.9)), url("../images/sample3.jpg") center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.contact {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url("../images/contact-bg.jpg") center center no-repeat;
  background-size: cover;
  height: 300px;
}

.hero .fw-bold {
  letter-spacing: 2px;
}

.hero .lead {
  width: 500px;
}

.vertical-decoration {
  top: 10%;
  height: 400px;
  width: 48px;
}

.hr-heading {
  display: inline-block;
  width: 3.5rem;
  height: 0.124rem;
  margin-top: 0.625rem;
  border: none;
  background-color: var(--bs-primary);
  opacity: 1;
}

.navbar {
  padding: 0;
  margin-top: 0 !important;
  transition: all 0.5s ease-in-out;
}

.sticky-top {
  opacity: 0.8;
}

.navbar-togler-icon {
  color: var(--bs-primary) !important;
}

.vertical-decoration {
  top: 5%;
  right: 0;
  width: 48px;
}

.video-play-button {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 0%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 44px;
  border-radius: 50%;
  display: block;
  box-sizing: content-box;
  cursor: pointer;
}

.video-play-button:before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 0%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: block;
  background: var(--bs-primary);
  cursor: pointer;
  animation: pulse-border 1500ms ease-in-out infinite;
}

.video-play-button:after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 0%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: block;
  background: var(--bs-primary);
  cursor: pointer;
  transition: all 200ms;
}

.video-play-button span {
  position: absolute;
  display: block;
  z-index: 10;
  top: 50%;
  right: 38px;
  transform: translate(-50%, -50%);
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
    opacity: 0;
  }
}
.pulse {
  animation: pulse 2s infinite;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
  100% {
    -webkit-transform: scale(2.5);
    transform: scale(2.5);
  }
}
@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
  100% {
    -webkit-transform: scale(2.5);
    transform: scale(2.5);
  }
}
.project-modals .modal-dialog {
  max-width: 1150px;
}

.project-modals .modal-content .btn-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
}

.project-modals .modal-content .btn-close:hover,
.project-modals .modal-content .btn-close:focus {
  color: white !important;
  text-decoration: none;
  cursor: pointer;
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 30%; /* Aspect ratio 16:9 */
  height: 0;
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
}

.map-iframe {
  border: 0;
}

.overlay-block {
  position: absolute;
  top: 0px; /* Poți ajusta aceste valori pentru a schimba poziția blocului */
  left: 20%;
  background: rgba(0, 0, 0, 0.8); /* Fundal semitransparent */
  padding: 10px;
  border: none;
  width: 340px;
  height: 380px;
}

.slider {
  width: 100%;
  overflow: hidden;
  border: none;
  position: relative;
}

.slides {
  display: flex;
  height: 40px;
  animation: slide 30s infinite;
  width: 200%;
}

.slide {
  width: 90%;
  flex: 1 0 100%;
  box-sizing: border-box;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
@media (max-width: 992px) {
  .xl-text {
    font-size: 50px;
    text-align: center;
  }
  .hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9)), url("../images/hero_car_service.jpeg") center center no-repeat;
    text-align: center;
    align-items: center;
  }
  .hero .lead {
    width: 100%;
  }
  .contact {
    height: 350px;
  }
  .servicii {
    text-align: center;
    align-items: center;
    justify-content: center;
  }
  .asigurari {
    text-align: center;
  }
  .video-points .col-lg-4 {
    margin-bottom: 20px;
  }
}
@media (max-width: 425px) {
  .hero .lead {
    font-size: 1rem !important;
  }
  .hero .xl-text {
    font-size: 40px !important;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
  }
  .hero .btn {
    font-size: 0.8rem !important;
  }
  .asigurari .fa-handshake {
    display: none;
  }
  .asigurari .toti-asig {
    font-size: 1rem;
    font-weight: bold !important;
  }
  .contact {
    background: 400px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .slides {
    display: none;
  }
  .carousel-item {
    float: inherit !important;
    margin-right: -70% !important;
  }
}
@media (max-width: 375px) {
  .navbar-brand img {
    width: 200px;
  }
  .hero .xl-text {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }
  .hero .butoane {
    margin-top: 20px !important;
  }
}
@media (max-width: 345px) {
  .navbar-brand img {
    width: 175px;
  }
}
