body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  background: #f8fbff;
  font-family: 'Inter', sans-serif;
  color: #0a1b32;
}

html {
  overflow-x: hidden;
}

.pagina-serviciu {
  padding: 160px 0 100px;
  background: #f0f6ff;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 100%;
}

.header-blur-box {
  background: linear-gradient(135deg, #e3f0ff, #ffffff);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 40px;
  margin: 0 auto 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  text-align: center;
  max-width: 1200px;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.header-blur-box h1 {
  font-size: 2.6rem;
  margin: 16px 0;
  color: #1f4ba5;
}

.header-blur-box h3 {
  font-weight: 400;
  color: #333;
}

.badge {
  display: inline-block;
  background-color: #1f4ba5;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.continut-serviciu {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.full-width {
  width: 100%;
}

.continut-serviciu ul,
.continut-serviciu ol {
  margin: 20px 0;
  padding-left: 24px;
}

.continut-serviciu ul li,
.continut-serviciu ol li {
  margin-bottom: 12px;
}

.continut-serviciu h3 {
  margin-top: 50px;
  font-size: 1.7rem;
  color: #1f4ba5;
  position: relative;
  padding-bottom: 10px;
}

.continut-serviciu h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #1f4ba5;
  border-radius: 2px;
}

.continut-serviciu h4 {
  margin-top: 30px;
  font-size: 1.3rem;
  color: #14397c;
}

.continut-serviciu p {
  margin-bottom: 18px;
}

.continut-serviciu strong {
  color: #1f4ba5;
}

.continut-serviciu a {
  color: #1f4ba5;
  font-weight: 600;
  text-decoration: none;
}

.continut-serviciu a:hover {
  text-decoration: underline;
}

.imagine-centru {
  text-align: center;
  margin: 50px 0;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.imagine-centru img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.imagine-centru img:hover {
  transform: scale(1.03);
}

.footer {
  background-color: #0a1b32;
  color: #e0e0e0;
  padding: 60px 20px 30px;
  text-align: center;
}

.footer a {
  color: #aad4ff;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer .footer-bottom {
  font-size: 0.85rem;
  margin-top: 30px;
}

#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  background-color: #1f4ba5;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition: opacity 0.4s ease;
}

#btn-back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .pagina-serviciu {
    padding: 100px 16px 60px;
  }

  .header-blur-box {
    padding: 24px;
    border-radius: 12px;
  }

  .header-blur-box h1 {
    font-size: 1.8rem;
  }

  .header-blur-box h3 {
    font-size: 1rem;
  }

  .continut-serviciu h3 {
    font-size: 1.4rem;
  }

  .continut-serviciu h4 {
    font-size: 1.15rem;
  }

  .imagine-centru {
    margin: 30px 0;
  }

  .imagine-centru img {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  }

  .imagine-centru img:hover {
    transform: none;
  }

  .footer {
    padding: 40px 16px 20px;
  }

  #btn-back-to-top {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
}
