/* --- HERO & CAROUSEL --- design diagonal cu două culori */
.service-hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #1e54c0;
  padding: 0;
  min-height: 350px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  overflow: hidden;
  gap: 30px;
  padding-left: 10%;
  padding-right: 0;
}

/* Overlay diagonal */
.service-hero:before {
  display: none;
}

/* Galerie imagine */
.service-gallery, .service-gallery-static, .service-gallery-container {
  overflow: hidden;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
  border-radius: 0;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  transform: none;
  transition: all 0.5s ease;
}

.service-gallery:hover, .service-gallery-static:hover, .service-gallery-container:hover {
  transform: none;
  box-shadow: none;
}

.service-gallery-static img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center center;
  transform: none;
  transition: transform 0.5s ease;
  min-height: 350px;
}

@media (max-width: 768px) {
  .service-hero {
    width: 100% !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 !important;
  }
  
  .service-gallery, .service-gallery-static, .service-gallery-container {
    height: 200px;
    width: 100% !important;
  }
  
  .service-benefits {
    justify-content: center;
  }
  
  .service-benefits li {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }
  
  .service-cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .service-cta .btn {
    width: 80%;
    text-align: center;
    margin-bottom: 10px;
  }
  
  .service-hero-content {
    padding: 30px 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .service-hero-content h1 {
    font-size: 1.8rem;
    text-align: center;
    width: 100%;
  }
  
  .service-hero-content .service-subtitle {
    text-align: center;
    width: 100%;
  }
}

/* Galerie cu navigare */
.service-gallery-slider {
  height: 100%;
  width: 100%;
  position: relative;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 2;
}

.gallery-controls {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  z-index: 3;
}

.gallery-prev,
.gallery-next {
  background-color: rgba(255, 255, 255, 0.7);
  color: #333;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.gallery-counter {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 14px;
}

/* Swiper specific */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Conținut text */
.service-hero-content {
  flex: 1 1 0;
  min-width: 320px;
  max-width: 520px;
  color: #ffffff;
  padding: 40px 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  width: 45%;
}

/* Titlu */
.service-hero-content h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #ffffff;
  display: block;
  width: 100%;
}

/* Subtitlu */
.service-hero-content .service-subtitle {
  font-size: 1.1rem;
  margin-bottom: 22px;
  color: #ffffff;
  text-align: left;
  font-weight: 400;
  line-height: 1.5;
}

.service-subtitle p {
  color: #ffffff;
  margin-bottom: 12px;
}

/* Asigură că textul bold din subtitle este alb */
.service-subtitle strong,
.service-subtitle b {
  color: #ffffff;
  font-weight: 700;
}

/* Link-uri în subtitle cu culoarea verde a site-ului */
.service-subtitle a {
  color: #38d996;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.service-subtitle a:hover {
  color: #ffffff;
  text-decoration: none;
}
/* Listă beneficii */
.service-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0 24px 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.service-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #fff;
  width: calc(50% - 8px);
  box-sizing: border-box;
  margin-bottom: 5px;
  padding: 6px 8px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.1);
}

.service-benefits li img,
.service-benefits li i {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4CAF50;
  font-size: 20px;
  flex-shrink: 0;
}

/* Butoane CTA */
.service-cta {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.service-cta .btn {
  padding: 12px 20px;
  font-size: 15px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-cta .btn-green {
  background: #4CAF50;
  color: white;
  border: none;
}

.service-cta .btn-outline {
  background: transparent;
  border: 1px solid white;
  color: white;
}

/* --- SERVICE NAV STICKY --- */
#service-nav-sticky {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  z-index: 1000;
  width: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#service-nav-sticky.sticky {
  position: fixed;
  top: 76px; /* Space from top to avoid overlapping with main menu */
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#service-nav-placeholder {
  display: none;
}

.service-nav {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: max-content;
  width: 100%;
  position: relative;
}

.service-nav li {
  margin: 0;
  padding: 0;
}

.service-nav a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

/* Active indicator for navigation links */
.service-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 3px;
  background-color: #1e54c0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.service-nav a:hover {
  color: #1e54c0;
}

.service-nav a.active {
  color: #1e54c0;
  font-weight: 600;
}

@media (max-width: 768px) {
  #service-nav-sticky.sticky {
    top: 73px; /* Space for mobile menu */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  .service-nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 10px;
    -webkit-overflow-scrolling: touch;
  }
  
  .service-nav a {
    padding: 8px 15px;
    white-space: nowrap;
    font-size: 0.95rem;
  }
  
  /* Mobile step cards adjustments */
  .steps-list {
    flex-direction: column;
    gap: 36px;
  }
  
  .step-card {
    max-width: 90%!important;
    width: 90%;
    margin: 0 auto;
  }
  
  .step-card:not(:last-child)::after {
    display: block;
  }
}

/* --- FLEXIBLE SECTIONS --- */
.service-sections { margin: 48px 0; }

/* Step cards arrow between items */
.step-card:not(:last-child)::after {
  content: '';
  display: none;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #1e54c0;
}

.service-steps {
  text-align: center;
  margin-bottom: 40px;
}
.steps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  justify-content: center;
  position: relative;
}
.step-card {
  flex: 1 1 160px;
  background: #fff;
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-width: 180px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #eaeaea;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.step-number {
  background: #4169e1;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 8px;
}

/* Forțează layout side-by-side pe desktop */
.service-text-image {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  min-width: 0;
  overflow: hidden;
}
.text-image-content {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 0 0 0;
}
.text-image-img {
  flex: 0 0 340px;
  max-width: 380px;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-image-img img {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Secțiuni de conținut */
.service-sections {
  padding: 0 20px;
}

/* Eliminat flex-direction: column pe desktop pentru .service-text-image.service-text-section */
.service-text-image.service-text-section {
  padding: 0;
  overflow: hidden;
  display: flex;
  /* flex-direction: row vine din .service-text-image */
}

.service-text-image .text-image-content {
  padding: 32px 32px 20px 32px;
}

.service-text-image .text-image-text {
  color: #444;
  line-height: 1.6;
}

.service-text-image .text-image-text h3 {
  color: #333;
  font-size: 1.3rem;
  margin-top: 24px;
  margin-bottom: 12px;
  font-weight: 600;
  position: relative;
  padding-left: 15px;
}

.service-text-image .text-image-text h3:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #1e54c0;
  border-radius: 2px;
}

.text-image-content { flex: 1; }
.text-image-img img { border-radius: 10px; max-width: 380px; }

.service-price-cards {
  text-align: center;
  margin-bottom: 40px;
}
.price-cards-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.price-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 28px 18px 18px 18px;
  width: 260px;
  position: relative;
  text-align: left;
}
.price-card.recommended {
  border: 2px solid #38d996;
}
.badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #38d996;
  color: #fff;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}
.card-price { font-size: 1.6rem; color: #1d3b6c; font-weight: bold; margin: 8px 0; }
.card-thickness, .card-guarantee { font-size: 1rem; color: #222; }
.card-features { margin: 12px 0 0 0; padding: 0 0 0 20px; }
.card-features li { margin-bottom: 6px; }

.service-faq { max-width: 800px; margin: 0 auto 40px auto; }
.faq-list { margin-top: 24px; }
.faq-item { background: #fff; border-radius: 8px; margin-bottom: 14px; padding: 18px 22px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.faq-question { font-weight: bold; color: #1d3b6c; margin-bottom: 6px; }
.faq-answer { color: #333; }

.service-video { text-align: center; margin-bottom: 40px; }
/* Video list default: side by side (row) on desktop */
.video-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  align-items: flex-start;
}
.video-item {
  flex: 1 1 350px;
  max-width: 400px;
  min-width: 260px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.video-item iframe {
  width: 100%;
  max-width: 400px;
  min-width: 260px;
  aspect-ratio: 16/9;
  height: auto;
  border-radius: 10px;
  display: block;
}
.video-item iframe { border-radius: 10px; max-width: 100%; }

@media (max-width: 1200px) {
  .service-hero {
    flex-direction: column;
    padding: 0;
    min-height: auto;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  .service-gallery, .service-gallery-static, .service-gallery-container {
    width: 100%;
    height: 250px;
    clip-path: none;
    margin: 0;
    border-radius: 0;
    position: relative;
    order: 1;
    overflow: hidden;
  }
  
  .service-gallery-static img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .service-hero-content {
    max-width: 100%;
    width: 100%;
    padding: 30px 20px;
    order: 2;
    text-align: center;
    align-items: center;
  }
  
  .service-hero-content h1 {
    text-align: center;
    padding: 0 15px;
    font-size: 2rem;
  }
  
  .service-hero-content .service-subtitle {
    text-align: center;
    padding: 0 10px;
    color: #ffffff;
    font-size: 1.15rem;
  }
  
  .service-benefits {
    justify-content: center;
    gap: 14px;
    margin: 24px 0 28px 0;
    width: 90%;
  }
  
  .service-benefits li {
    padding: 8px 10px;
    background-color: rgba(255, 255, 255, 0.15);
  }
}

@media (max-width: 768px) {
  .service-hero {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    border-radius: 0;
  }
  
  .service-gallery, .service-gallery-static {
    margin: 0 0 24px 0;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    height: 220px;
    border-radius: 0;
  }
  
  .service-hero-content {
    padding: 0 20px 30px 20px;
    width: 100%;
    max-width: 100%;
    align-items: center;
  }
  
  .service-hero-content h1 {
    text-align: center;
    padding: 0 15px;
    font-size: 2rem;
  }
  
  .service-hero-content .service-subtitle {
    text-align: center;
    padding: 0 10px;
    color: #ffffff;
    font-size: 1.15rem;
  }
  
  .service-benefits {
    justify-content: center;
    gap: 14px;
    margin: 24px 0 28px 0;
    width: 90%;
  }
  
  .service-benefits li {
    padding: 8px 10px;
    background-color: rgba(255, 255, 255, 0.15);
  }
}

/* Mobile/tabletă: stack video și text+imagine pe coloană */
@media (max-width: 900px) {
  .service-hero { padding: 24px 0 0 0; }
  .service-gallery { margin: 0 0 28px 0; }
  .service-hero-content { padding: 0 0 30px 0; }
  .service-text-image {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-content {
    width: 100%;
    min-width: 0;
  }
  .text-image-img {
    width: 100%;
    justify-content: center;
    margin-bottom: 12px;
  }
  .text-image-img img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .service-text-section p, .text-image-text p {
    font-size: 1.01rem;
    line-height: 1.7;
  }
  .video-list {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .video-item {
    max-width: 100%;
    min-width: 0;
  }
  .video-item iframe {
    max-width: 100%;
    min-width: 0;
    aspect-ratio: 16/9;
    height: auto;
  }
}

/* Navigator de articol (cuprins) */
#service-nav-sticky {
  background: #fff;
  padding: 0;
  margin-bottom: 30px;
  border-bottom: 1px solid #eaeaea;
  position: relative;
  width: 100%;
}

/* Clasa adăugată prin JavaScript când navigatorul trebuie să devină sticky */
#service-nav-sticky.sticky-active {
  position: fixed;
  /* top va fi setat dinamic prin JavaScript */
  left: 0;
  right: 0;
  z-index: 99999; /* Z-index foarte mare pentru a fi deasupra header-ului */
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-nav {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  position: relative;
  scroll-behavior: smooth;
  height: 56px;
}

.service-nav::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.service-nav .nav-item {
  padding: 16px 20px;
  white-space: nowrap;
  color: #444;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.service-nav .nav-item:hover {
  color: #1e54c0;
}

.service-nav .nav-item.active {
  color: #1e54c0;
}

.service-nav .nav-indicator {
  position: absolute;
  bottom: 0;
  height: 3px;
  background-color: #1e54c0;
  transition: all 0.3s ease;
  display: none;
}

/* Indicator de scroll pentru mobil */
.service-nav:after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 30px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-nav.has-overflow:after {
  opacity: 1;
}

/* Încadrarea secțiunilor de text */
.service-text-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 32px;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  scroll-margin-top: 70px; /* Pentru a evita ca navigatorul să acopere conținutul când se face scroll */
}

.service-text-section h2 {
  color: #1e54c0;
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
  text-align: center;
}

.service-text-section h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #1e54c0;
}

.service-text-section h3 {
  color: #333;
  font-size: 1.3rem;
  margin-top: 24px;
  margin-bottom: 12px;
  font-weight: 600;
}

.service-text-section p, .text-image-text p {
  color: #444;
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 16px;
  font-family: inherit;
  word-break: break-word;
}

/* Typography and link color improvements for service text sections */
.service-text-section a,
.text-image-text a {
  color: #38d996;
  text-decoration: underline;
  transition: color 0.2s;
  word-break: break-word;
}
.service-text-section a:hover,
.text-image-text a:hover {
  color: #1e54c0;
  text-decoration: underline;
}

/* Modal pentru solicitare ofertă */
.modal-oferta {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  overflow-y: auto;
  padding: 20px;
}

.modal-oferta.active {
  display: block;
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 30px auto;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: color 0.2s;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f5f5f5;
}

.modal-close:hover {
  color: #000;
  background-color: #e0e0e0;
}

.modal-title {
  margin-top: 0;
  margin-bottom: 10px;
  margin-bottom: 12px;
  color: #333;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
}

.modal-subtitle {
  color: #666;
  margin-bottom: 28px;
  font-size: 18px;
  line-height: 1.5;
}

/* Form layout and styling */
.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-row .form-group {
  flex: 1;
}

.col-6 {
  width: 50%;
}

/* Stiluri pentru încărcarea de imagini */
.form-group input[type="file"] {
  padding: 12px;
  background-color: #f5f5f5;
  border: 2px dashed #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-group input[type="file"]:hover {
  border-color: #1e54c0;
  background-color: #f0f5ff;
}

/* Stiluri pentru checkbox de confidențialitate */
.so-accept-group label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.so-accept-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.so-accept-group a {
  color: #1e54c0;
  text-decoration: underline;
  transition: color 0.2s;
}

.so-accept-group a:hover {
  color: #0d3c8f;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: #333;
  font-size: 16px;
  line-height: 1.4;
}

.form-group .required {
  color: #e53935;
  font-size: 18px;
  vertical-align: middle;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 17px;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: #f9f9f9;
  line-height: 1.4;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1e54c0;
  box-shadow: 0 0 0 3px rgba(30, 84, 192, 0.1);
  outline: none;
  background-color: #fff;
}

.form-group textarea {
  resize: vertical;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #e53935;
  background-color: #fff6f6;
}

.form-group.has-error .form-feedback {
  color: #e53935;
  font-size: 13px;
  margin-top: 5px;
  display: block;
}

.form-feedback {
  font-size: 14px;
  color: #666;
  margin-top: 6px;
  display: block;
  line-height: 1.4;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
}

.form-notice {
  font-size: 15px;
  color: #666;
  line-height: 1.4;
}

/* Submit button */
.form-submit {
  background-color: #1e54c0;
  color: white;
  border: none;
  padding: 15px 28px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  line-height: 1.4;
}

.form-submit:hover {
  background-color: #1a479e;
  transform: translateY(-2px);
}

.form-submit:active {
  transform: translateY(0);
}

.btn-loading {
  display: none;
}

.form-submit.loading .btn-text {
  display: none;
}

.form-submit.loading .btn-loading {
  display: inline-block;
}

.form-submit:disabled {
  background-color: #7a9bd1;
  cursor: not-allowed;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 60px;
  color: #4caf50;
  margin-bottom: 20px;
  display: block;
}

.form-success h3 {
  color: #333;
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 600;
}

.form-success p {
  color: #666;
  margin-bottom: 28px;
  line-height: 1.6;
  font-size: 18px;
}

.close-success {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.close-success:hover {
  background-color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-benefits li {
    width: 100%;
  }
  
  .modal-content {
    padding: 25px 20px;
    width: 95%;
    margin: 15px auto;
  }
  
  .modal-title {
    font-size: 22px;
  }
  
  .modal-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-row .form-group {
    width: 100%;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px;
  }
  
  .form-footer {
    flex-direction: column;
    gap: 15px;
  }
  
  .form-submit {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
  }
  
  .form-notice {
    order: -1;
    margin-bottom: 10px;
    text-align: center;
  }
  
  /* Stiluri responsive pentru galeria de imagini */
  .service-gallery, .service-gallery-static, .service-gallery-container {
    width: 100%;
    max-width: 100%;
    height: 250px;
    position: relative;
    order: 2;
  }
  
  .gallery-prev,
  .gallery-next {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .gallery-counter {
    font-size: 12px;
    padding: 4px 8px;
  }
  
  .gallery-controls {
    bottom: 10px;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .modal-content {
    padding: 25px 20px;
    width: 95%;
    margin: 0 10px;
  }
  
  .modal-title {
    font-size: 26px;
    text-align: center;
  }
  
  .modal-subtitle {
    text-align: center;
    margin-bottom: 25px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .col-6 {
    width: 100%;
  }
  
  .form-group label {
    font-size: 17px;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 18px;
    padding: 15px 16px;
  }
  
  .form-footer {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  
  .form-submit {
    width: 100%;
    padding: 16px 20px;
    font-size: 18px;
  }
  
  .form-notice {
    order: 2;
    text-align: center;
    margin-top: 5px;
  }
  
  .form-success h3 {
    font-size: 22px;
  }
  
  .form-success p {
    font-size: 17px;
  }
  
  .close-success {
    padding: 14px 24px;
    font-size: 17px;
  }
}

.form-submit:hover {
  background: #1745a0;
}
