body {
  margin: 0;
  padding-top: 80px;
  font-family: 'Inter', sans-serif;
  background: #f5faff;
  color: #0a1b32;
}
html, body {
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}


/* NAVIGATION */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #e3ecff, #f7faff);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  border-bottom: 1px solid #d8e3f2;
  backdrop-filter: blur(8px);
}

.logo {
  height: 180px;
  max-width: 540px;
  object-fit: contain;
  transition: transform 0.2s ease;
}


@media (max-width: 480px) {
  .logo {
    height: 110px;
    max-width: 280px;
  }
}


.logo:hover {
  transform: scale(1.05);
}

/* MENU BUTTON (MOBILE) */
.menu-toggle {
  display: none;
  background: #1f4ba5;
  border: none;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle svg rect {
  transition: all 0.3s ease;
}

.menu-toggle.active svg rect:nth-child(1) {
  transform: rotate(45deg) translate(17px, 17px);
}
.menu-toggle.active svg rect:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active svg rect:nth-child(3) {
  transform: rotate(-45deg) translate(17px, -17px);
}

/* NAVIGATION LINKS */
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: #1f4ba5;
  background-color: transparent;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background-color: #eaf1ff;
  color: #0a1b32;
  box-shadow: 0 2px 6px rgba(31, 75, 165, 0.1);
}

/* RESPONSIVE NAVIGATION */
@media (max-width: 768px) {
  .top-bar {
    padding: 10px 20px;
  }

   .logo {
    height: 140px;
    max-width: 360px;
  }
  .menu-toggle {
    display: flex;
  }

  .nav-desktop {
    display: none;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 15px;
    right: 15px;
    background: #ffffff;
    border-radius: 12px;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: max-height 0.4s ease, opacity 0.3s ease;
    z-index: 999;
  }

  nav.active {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
    padding: 5px 0;
  }

  .nav-link {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.05rem;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    background: white;
  }

  .nav-link:hover {
    background: #f0f4ff;
  }
   .servicii-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .servicii-header h2 {
    font-size: 1.8rem;
    color: #0a1b32;
  }

  .servicii-header h3 {
    font-size: 1.1rem;
    color: #1f4ba5;
  }

  .badge {
    background: #1f4ba5;
    color: white;
  }
}

@media (min-width: 769px) {
  .menu-toggle,
  .nav-mobile {
    display: none !important;
  }
}

.nav-desktop {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-desktop .nav-link {
  background-color: #edf3ff;
}

.nav-desktop .nav-link:hover {
  background-color: #d9e8ff;
  color: #0a1b32;
  box-shadow: 0 2px 6px rgba(31, 75, 165, 0.1);
}

/* ACASĂ / LOCAȚIE */
.location {
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(to right, #eef6fb, #d9ebff);
  border-bottom: 1px solid #c4dff8;
}

.location-title,
.location h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0a1b32;
  line-height: 1.4;
  margin-bottom: 20px;
}

.casmb-info {
  color: #e03a3a;
  font-weight: 600;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* SERVICII */


.services-header h2 {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.services-header h3 {
  font-size: 1.5rem;
  font-weight: 400;
}

.services-header h3 span {
  color: #cfd6ff;
}

.badge {
  background: #ffffff22;
  color: white;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
  text-transform: uppercase;
}







.servicii-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.servicii-header h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.servicii-header h3 {
  font-size: 1.5rem;
  font-weight: 400;
}

.servicii-header h3 span {
  color: #dce5ff;
}

.badge {
  background: #ffffff22;
  color: white;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
}

.servicii-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .servicii-grid {
    grid-template-columns: 1fr;
  }
}

.servicii-carduri {
  background: #2c5bbd url('img/texture.png') repeat;
  color: white;
  padding: 160px 20px 100px;
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.servicii-titlu {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px;
}

.servicii-titlu h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.servicii-titlu h3 {
  font-size: 1.6rem;
  font-weight: 400;
}

.servicii-titlu h3 span {
  color: #dce5ff;
}

.badge {
  background: #ffffff22;
  color: white;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
  text-transform: uppercase;
}

.servicii-carduri-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .servicii-carduri-grid {
    grid-template-columns: 1fr;
  }
  .servicii-carduri { padding-top: 200px; }
}



.card-serviciu {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-serviciu a.card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.card-serviciu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card-serviciu .card-label {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 20px 24px;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
}


.card-link {
  display: block;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-link:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.card-link img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-link:hover img {
  transform: scale(1.08);
}

.image-wrapper {
  position: relative;
}

.card-label {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 20px 24px;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
}


.card-serviciu:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.card-serviciu:hover img {
  transform: scale(1.12);
}

.servicii-titlu h3 span {
  color: #1f4ba5; /* sau white dacă vrei contrast pe fundalul blurat */
}


.serviciu-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.serviciu-card .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  padding: 24px;
  color: white;
  font-weight: 600;
  font-size: 1.3rem;
  backdrop-filter: blur(2px);
  text-align: left;
  line-height: 1.4;
}

.serviciu-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.serviciu-card:hover img {
  transform: scale(1.08);
}


.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card img {
  width: 100%;
  height: auto;
}



/* ECHIPA */
.echipa {
  padding: 40px 20px;
  text-align: center;
}

.doctor-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.doctor-card {
  background: white;
  border-radius: 20px;
  width: 230px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.doctor-card img {
  width: 100%;
  border-radius: 15px;
}

.doctor-card p {
  font-size: 0.9rem;
}

/* CONTACT */
.contact {
  padding: 40px 20px;
  text-align: center;
}

/* FOOTER */
footer {
  background: #eef6fb;
  padding: 40px 20px;
  text-align: center;
}

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
}

.footer-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-info div {
  text-align: left;
}

footer a {
  color: #1f4ba5;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

button {
  background: #1f4ba5;
  color: white;
  border: none;
  padding: 8px 12px;
  margin-top: 10px;
  border-radius: 6px;
  cursor: pointer;
}
button:hover {
  background: #14397c;
}

/* ANIMARE LA SCROLL */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.animate.visible {
  animation: fadeUp 0.6s ease forwards;
}

.acasa-hero {
  background: url('img/acasa.webp') center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
}

.hero-overlay {
  background: rgba(0, 32, 96, 0.6); /* optional: pentru contrast */
  padding: 40px 20px;
  border-radius: 12px;
  max-width: 800px;
}

.acasa-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

.acasa-hero .casmb-info {
  color: #ffcccc;
  font-size: 1.1rem;
}

.hero-button {
  display: inline-block;
  margin-top: 30px;
  background-color: #ffffff;
  color: #1f4ba5;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background-color: #dbe7ff;
  color: #0a1b32;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.servicii-modern {
  background: #2c5bbd url('img/texture.png') repeat;
  color: white;
  padding: 140px 20px 120px;
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}


.servicii-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 0 20px;
}


.servicii-header h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.servicii-header h3 {
  font-size: 1.5rem;
  font-weight: 400;
}

.servicii-header h3 span {
  color: #dce5ff;
}

.badge {
  background: #ffffff22;
  color: white;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
}

/* Grid și carduri */
.servicii-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .servicii-grid {
    grid-template-columns: 1fr;
  }
}

.serviciu-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.serviciu-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.serviciu-card .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  padding: 20px;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  backdrop-filter: blur(2px);
  text-align: left;
}

.serviciu-card:hover img {
  transform: scale(1.05);
}

/* Animatie fade-up la scroll */
@keyframes fadeUpSmooth {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.animate-up.visible {
  animation: fadeUpSmooth 0.8s ease forwards;
}

@media (max-width: 768px) {
  .header-blur-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 16px;
    margin: 0 10px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .header-blur-box h2,
  .header-blur-box h3 {
    color: #0a1b32;
  }

  .header-blur-box .badge {
    background: #1f4ba5;
    color: white;
  }
}


@keyframes fadeInUpSoft {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpSoft 0.9s ease-out forwards;
}


.hero-button {
  display: inline-block;
  margin-top: 30px;
  background-color: #ffffff;
  color: #1f4ba5;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-button:hover {
  background-color: #dbe7ff;
  color: #0a1b32;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.echipa-sectiune {
  background: #eef5ff;
  padding: 140px 20px 120px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 97%);
  text-align: center;
}

.echipa-header {
  margin-bottom: 60px;
}

.echipa-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #0a1b32;
}

.grid-echipa {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .grid-echipa {
    grid-template-columns: 1fr;
  }
}

.card-doctor {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-doctor img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-doctor:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-doctor:hover img {
  transform: scale(1.04);
}

.doctor-info {
  padding: 20px;
  background: #f8fbff;
}

.doctor-info strong {
  display: block;
  font-size: 1.2rem;
  color: #1f4ba5;
  margin-bottom: 6px;
}

.doctor-info p {
  font-size: 0.95rem;
  color: #333;
}


.marquee-container {
  background: #2c5bbd;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 20s linear infinite;
  font-weight: 600;
  font-size: 1.2rem;
  color: white;
}

.marquee-track span {
  padding-right: 4rem;
}

@keyframes scroll-left {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

.echipa-header .badge {
  background: #1f4ba5;
  color: white;
}

@keyframes fadeInBounce {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.badge.fade-bounce.visible {
  opacity: 1;
  animation: fadeInBounce 1s ease forwards;
}

.contact-section {
  background: #f3f8ff;
  padding: 140px 20px;
  text-align: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  flex: 1 1 400px;
  max-width: 500px;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin: 20px 0 10px;
  color: white;
}

.contact-info p {
  font-size: 1rem;
  color: white;
  line-height: 1.5;
}

.contact-button {
  margin-top: 20px;
  display: inline-block;
  background-color: #1f4ba5;
  color: white;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-button:hover {
  background-color: #13357e;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.contact-map {
  flex: 1 1 400px;
  height: 300px;
  min-width: 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  margin-top: 40px; /* ADĂUGAT pentru spațiu față de text */
}


.contact-section {
  background-color: #1f375f; /* albastru închis solid */
  background-image: url('img/contact-texture.png');
  background-repeat: repeat;
  color: white;
  padding: 140px 20px;
  text-align: center;
}

.contact-section .badge {
  background: white;
  color: #1f375f;
}

.contact-table {
  margin-top: 40px;
  overflow-x: auto;
}

.contact-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

.contact-table th,
.contact-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.contact-table th {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
}

.contact-table a {
  color: #aad4ff;
  text-decoration: none;
  font-weight: 500;
}

.contact-table a:hover {
  text-decoration: underline;
}

.footer {
  background-color: #0a1b32;
  color: #e0e0e0;
  padding: 60px 20px 30px;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  margin-bottom: 30px;
}

.footer-links,
.footer-info {
  min-width: 200px;
}

.footer-links h4,
.footer-info h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  color: #aad4ff;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  font-size: 0.85rem;
  color: #999;
}

.footer-bottom strong {
  color: #aad4ff;
}

#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;
}

@media (max-width: 480px) {
  .acasa-hero h1,
  .servicii-titlu h2,
  .echipa-header h2,
  .contact-info h2 {
    font-size: 1.6rem;
  }

  .hero-overlay {
    padding: 20px 15px;
  }
  .beneficiu-box svg {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
  }
  .contact-table table {
    font-size: 0.85rem;
  }
}

/* CARD SERVICIU - fix imagine */
.card-serviciu .image-wrapper,
.card-link .image-wrapper {
  height: 360px; /* mai generos pentru desktop */
  overflow: hidden;
  border-radius: 32px;
}

.card-serviciu .image-wrapper img,
.card-link .image-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive fix: pe mobil mai mică */
@media (max-width: 768px) {
  .card-serviciu .image-wrapper,
  .card-link .image-wrapper {
    height: 240px;
  }
}

/* Dropdown desktop */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 10px 0;
  min-width: 280px;
  z-index: 1000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 18px;
  text-decoration: none;
  color: #1f4ba5;
  font-weight: 600;
}

.dropdown-content a:hover {
  background-color: #eaf1ff;
  color: #0a1b32;
}

/* Submeniu mobil */
.submenu {
  display: none;
  flex-direction: column;
  background: white;
  padding-left: 16px;
}

.submenu a {
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1f4ba5;
  text-decoration: none;
}

.submenu a:hover {
  background-color: #f0f4ff;
}

.submenu-toggle {
  width: 100%;
  text-align: left;
  background: white;
  border: none;
  padding: 16px 24px;
  font-size: 1.05rem;
  border-bottom: 1px solid #f0f0f0;
  color: #1f4ba5;
  font-weight: 600;
  cursor: pointer;
}
.submenu.active {
  display: flex;
}

.has-submenu {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.submenu-toggle {
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f4ba5;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}

.submenu {
  display: none;
  flex-direction: column;
  background: #ffffff;
  padding-left: 12px;
}

.submenu a {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f4ba5;
  text-decoration: none;
}

.submenu a:hover {
  background-color: #f0f4ff;
}

.submenu.active {
  display: flex;
}

body.full-height {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.full-height .pagina-serviciu {
  flex: 1;
}

footer.footer {
  background: #0a1b32;
  color: #e0e0e0;
  padding: 60px 20px 30px;
  text-align: center;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0a1b32;
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.cookie-banner a {
  color: #aad4ff;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.cookie-banner button {
  background: #1f4ba5;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner button.reject {
  background: #555;
}

.cookie-banner button:hover {
  opacity: 0.9;
}

.site-title {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: #1f4ba5;
  margin: 0 0 0 12px;
  line-height: 1.2;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .site-title {
    font-size: 1.6rem;
    margin-left: 8px;
  }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 1.3rem;
    margin-left: 6px;
  }
}


/* CTA - Vizitați site-ul nostru pentru medicina muncii */
.cta-section-muncii {
  background: linear-gradient(135deg, #1f4ba5, #3b82f6);
  color: white;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  z-index: 10;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUpCTA 1s ease-out;
}

.cta-section-muncii h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-section-muncii p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  color: #e3ecff;
}

.cta-main-button {
  display: inline-block;
  background: white;
  color: #1f4ba5;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.cta-main-button:hover {
  background: #e8f0ff;
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.4);
}

@keyframes fadeInUpCTA {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .cta-section-muncii {
    padding: 60px 16px;
    clip-path: none;
  }

  .cta-section-muncii h2 {
    font-size: 1.5rem;
  }

  .cta-main-button {
    font-size: 1rem;
    padding: 12px 28px;
  }
}
