body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  height: 50px;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav ul li a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #007bff;
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #007bff;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  nav ul {
    justify-content: space-between;
  }
}

.contact-info {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 20px;
  background-color: #f5f5f5;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-info > div {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 280px;
  height: 150px;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info i {
  color: #0066cc;
  width: 30px;
  text-align: center;
  font-size: 1.5rem;
}

.contact-info div div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-info p {
  margin: 0;
  line-height: 1.4;
}

.contact-info a {
  color: #0066cc;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-info > div {
    width: 100%;
    max-width: 280px;
    height: 150px;
    margin: 0 auto;
  }
}

main {
  padding: 2rem;
  flex: 1;
  margin-bottom: 2rem;
}

.slider {
  position: relative;
  width: 100%;
  height: 400px;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%; /* Adjust image position to show 20% higher */
}

/* Removed overlay mask */

.slider h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  text-align: center;
}

.welcome {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.services-preview {
  background-color: #f8f9fa;
  padding: 3rem 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Remove the last two items special styling */
.services-grid > :nth-last-child(-n + 2) {
  grid-column: span 1;
}

/* Service content styling */
.service-content-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  background-color: #f8f9fa;
}

/* (Removed earlier duplicate modal block - consolidated below) */

.service-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-description {
  flex: 1;
}

.service-description h4 {
  color: #007bff;
  margin: 1.5rem 0 1rem;
}

.service-description p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-requirements {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .service-content-wrapper {
    flex-direction: row;
  }

  .service-description {
    flex: 2;
  }

  .service-requirements {
    flex: 1;
    margin-top: 0;
  }
}

.service-content.active {
  display: block;
  opacity: 1;
}

.service-content-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-description {
  flex: 2;
}

.service-requirements {
  flex: 1;
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
}

.service-requirements h4 {
  color: #007bff;
  margin-bottom: 1rem;
}

.service-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-requirements li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-requirements li::before {
  content: "•";
  color: #007bff;
  position: absolute;
  left: 0;
}

/* Removed fadeIn keyframes (replaced by CSS transitions) */

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-content-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 0.5rem 0;
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Eliminăm doar secțiunile duplicate, păstrăm wrapper-ul */
.services-detailed,
.service-section,
.service-nav {
  display: none;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid > :nth-last-child(-n + 2) {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 0.5rem 0;
  }
}

.close-service {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #007bff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s ease;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-service:hover {
  background-color: #f0f0f0;
  transform: rotate(90deg);
}

.map-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.map-container iframe {
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer {
  background-color: #004a7c; /* New professional blue color */
  color: #fff;
  padding: 40px 0 20px;
  margin-top: auto; /* This ensures footer stays at bottom */
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  margin-bottom: 20px;
}

.footer-section h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.footer-section p {
  margin: 8px 0;
  color: #ccc;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 8px 0;
  color: #ccc;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #7cb9e8;
}

.footer-section i {
  margin-right: 10px;
  color: #007bff;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.footer-bottom p {
  color: #888;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section p {
    justify-content: center;
  }
}

/* Remove these sections */
.cta-section,
.appointment-section,
.cta-container,
.cta-buttons,
.cta-button,
.appointment-container,
.appointment-form,
.form-group,
.submit-btn {
  display: none;
}

/* Update testimonials and FAQ styles */
.section-title {
  color: #007bff;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  padding: 0 1rem;
}

.testimonials-section {
  padding: 4rem 0;
  background-color: white;
}

.testimonial-card {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content i {
  color: #007bff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  flex: 1;
  padding-right: 1rem;
}

.fa-chevron-down {
  transition: transform 0.3s ease;
  color: #007bff;
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
  }

  .testimonials-container,
  .blog-container {
    grid-template-columns: 1fr;
  }
}

/* ...existing code... */

/* Cookie banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: .9rem;
  line-height: 1.4;
  z-index: 5000;
  transform: translateY(100%);
  transition: transform .4s ease;
  backdrop-filter: blur(4px);
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner .cookie-inner { max-width: 1200px; margin: 0 auto; padding: 1rem 1.25rem; display: flex; gap: 1.25rem; align-items: center; }
#cookie-banner .cookie-text a { color: #4dafff; text-decoration: underline; }
#cookie-banner .cookie-text a:hover { color: #fff; }
#cookie-banner .cookie-actions { display: flex; gap: .75rem; margin-left: auto; }
#cookie-banner .cookie-btn { cursor: pointer; border: none; padding: .55rem 1rem; border-radius: 6px; font-weight: 600; letter-spacing: .5px; font-size: .75rem; text-transform: uppercase; }
#cookie-banner .btn-accept { background: #0d6efd; color:#fff; box-shadow:0 2px 6px rgba(0,123,255,.4); }
#cookie-banner .btn-accept:hover { background:#0b5ed7; }
#cookie-banner .btn-refuse { background:#444; color:#fff; }
#cookie-banner .btn-refuse:hover { background:#555; }
@media (max-width: 820px){
  #cookie-banner .cookie-inner { flex-direction: column; align-items: stretch; }
  #cookie-banner .cookie-actions { margin-left: 0; justify-content: flex-end; }
}

.section-title {
  color: #007bff;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.testimonials-section {
  padding: 4rem 0;
  background-color: white;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 10rem;
}

.testimonial-card {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content i {
  color: #007bff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: #007bff;
  margin: 0;
}

.faq-section {
  padding: 4rem 0;
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  flex: 1;
}

.fa-chevron-down {
  flex-shrink: 0;
  font-size: 1.2rem;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  display: none;
}

.faq-item.active .faq-question {
  background: #007bff;
  color: white;
}

.faq-item.active .fa-chevron-down {
  transform: rotate(180deg);
  color: white;
}

.faq-item.active .faq-answer {
  display: block;
}

.fa-chevron-down {
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
  }
}

/* Update service icons color */
.service-card i {
  color: #007bff;
}

/* Update background colors */
.services-preview,
.service-content-container,
.faq-section,
.map-section {
  background-color: #f8f9fa;
}

/* Ensure service cards stand out against the background */
.service-card {
  background-color: white;
  /* ...existing service-card properties... */
}

/* Keep testimonial cards white for contrast */
.testimonial-card {
  background-color: #f8f9fa;
  /* ...existing testimonial-card properties... */
}

/* Keep FAQ items white for contrast */
.faq-item {
  background-color: white;
  /* ...existing faq-item properties... */
}

/* Keep footer dark */
.footer {
  background-color: #1a1a1a;
  /* ...existing footer properties... */
}

/* Acreditări section */
#acreditari.acreditari-section {
  padding: 4rem 0;
  background: #fff;
}

/* Modal content utility styles */
.modal-section-title {
  color: #007bff;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  letter-spacing: .5px;
}

.service-content h5 {
  margin: 1rem 0 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #333;
}

.service-content ul {
  margin: 0 0 1rem 0;
  padding-left: 1.2rem;
}

.service-content ul li {
  margin-bottom: .4rem;
}

.acreditari-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.doc-card {
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 1.5rem;
  text-align: center;
}

.doc-card i {
  color: #fff;
  background: #007bff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}
.doc-card h3 { margin: 0.75rem 0 0.25rem; }
.doc-card p { color: #555; margin-top: 0; }

.doc-actions { margin-top: 1rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { background: #005ec4; transform: translateY(-2px); }

.btn i { color: #fff; }
.btn:hover i { color: #fff; }

/* Awards section */
#premii.awards-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.awards-grid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.award-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #222;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.award-card img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.award-card span {
  font-weight: 600;
  text-align: center;
}

/* ...existing code... */

/* Gallery Section */
.gallery-section { padding:4rem 0; background:#fff; }
.gallery-section .section-title { margin-bottom:2.5rem; }
.gallery-grid { max-width:1200px; margin:0 auto; padding:0 1rem; display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; }
.gallery-item { position:relative; overflow:hidden; border-radius:10px; background:#f0f3f6; cursor:pointer; }
.gallery-item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s ease; aspect-ratio:4/3; }
.gallery-item:hover img { transform:scale(1.08); }
.gallery-item figcaption { position:absolute; left:0; bottom:0; width:100%; padding:.4rem .6rem; font-size:.7rem; letter-spacing:.5px; text-transform:uppercase; background:linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0)); color:#fff; }

/* Lightbox */
.lightbox-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.85); display:flex; align-items:center; justify-content:center; z-index:6000; opacity:0; pointer-events:none; transition:opacity .3s ease; }
.lightbox-overlay.active { opacity:1; pointer-events:auto; }
.lightbox-content { position:relative; max-width:90vw; max-height:85vh; }
.lightbox-content img { max-width:100%; max-height:85vh; border-radius:12px; box-shadow:0 10px 40px rgba(0,0,0,0.4); }
.lightbox-close { position:absolute; top:-40px; right:0; background:#007bff; color:#fff; border:none; width:38px; height:38px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:1.1rem; box-shadow:0 4px 18px rgba(0,0,0,0.3); }
.lightbox-close:hover { background:#005ec4; }
@media (max-width:640px){ .lightbox-close{ top:-50px; } }

/* Manage cookie floating button */
.cookie-manage-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background:#007bff;
  color:#fff;
  border:none;
  padding:.65rem .9rem;
  border-radius:25px;
  font-size:.75rem;
  letter-spacing:.5px;
  text-transform:uppercase;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(0,0,0,0.25);
  z-index:4500;
  transition:background .25s ease, transform .25s ease;
}
.cookie-manage-btn:hover { background:#005ec4; transform:translateY(-3px); }
@media (max-width:680px){ .cookie-manage-btn { bottom: 110px; right: 15px; } }

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.6;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: #444;
}

.about-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.about-features li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  color: #444;
}

.about-features li::before {
  content: "•";
  color: #007bff;
  position: absolute;
  left: 0;
}

/* ...existing code... */

.about-section {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  height: auto;
  max-height: 80vh;
  background: rgba(0, 123, 255, 0.97);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow-y: auto;
}

.about-section.active {
  display: block;
  opacity: 1;
}

.about-container {
  padding: 2rem;
  color: white;
  position: relative;
}

.about-content {
  color: white;
  text-align: left;
  line-height: 1.8;
}

.about-content h2,
.about-content h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.about-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  color: white;
}

.about-card i {
  color: white;
}

.about-features li {
  color: white;
}

.about-features li::before {
  color: white;
}

/* Add overlay when modal is active */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
}

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

.about-section,
.team-section {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
  height: auto;
  max-height: 90vh;
  background: rgba(0, 123, 255, 0.97);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 15px;
  overflow-y: auto;
}

.about-section.active,
.team-section.active {
  display: block;
  opacity: 1;
}

.about-section.active .about-content {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.5s ease 0.2s;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.about-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.about-features {
  margin-top: 2rem;
}

.about-features li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.about-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .about-container {
    padding: 1rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Add styles for team modal */
.team-section {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1000px;
  height: auto;
  max-height: 90vh;
  background: rgba(0, 123, 255, 0.97);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow-y: auto;
}

.team-section.active {
  display: block;
  opacity: 1;
}

.team-container {
  padding: 2rem;
  color: white;
  position: relative;
}

.team-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.team-close:hover {
  transform: rotate(90deg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  text-align: center;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.team-card h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.team-card .specialty {
  color: rgba(255, 255, 255, 0.9);
  font-weight: bold;
  margin: 0.5rem auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
  backdrop-filter: blur(5px);
}

.team-card .experience {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.specializations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.specializations span {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
}

/* Add smooth scrolling to html */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Adjust based on your header height */
}

/* Social link styling */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
  color: #4267b2; /* Facebook blue */
}

/* Navbar social link specific styling */
.nav-links .social-link {
  color: #007bff;
  font-size: 1.2rem;
}

.nav-links .social-link:hover {
  color: #4267b2;
}

/* Footer social section specific styling */
.footer-section .social-link {
  padding: 0.5rem 0;
  display: inline-flex;
}

.footer-section .social-link i {
  font-size: 1.5rem;
}

/* Delete all these scroll-to-top related styles */
.go-top,
#toTopBtn,
#backToTop,
.scroll-top {
  display: none;
}

/* Scroll to top button styling */
.go-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #007bff;
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.go-top.show {
  display: flex;
}

.go-top:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
}

.go-top i {
  font-size: 20px;
}

@media (max-width: 768px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* Șterge toate stilurile anteriorare pentru scroll-to-top și adaugă doar astea */
#toTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#toTopBtn:hover {
  background-color: #0056b3;
  transform: translateY(-3px);
  transition: all 0.3s ease;
}

/* Șterge toate celelalte stiluri de scroll to top și adaugă doar acestea la sfârșitul fișierului */
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  z-index: 100000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#backToTop:hover {
  background-color: #0056b3;
}

/* ...existing code... */

/* Unified modal layout refinements */
/* Unified modal base */
.service-content {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(.98);
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 2000;
  box-shadow: 0 10px 35px rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity .3s ease, transform .35s cubic-bezier(.16,.8,.24,1);
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.service-content.active {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.service-content > h3 {
  margin-top: 0;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #004a7c;
  letter-spacing: .5px;
  padding-right: 2.5rem; /* space for close button */
}

.service-description h4,
.service-description h5 {
  position: relative;
}

.service-description h4:not(:first-child),
.service-description h5:not(:first-child) {
  margin-top: 1.75rem;
}

.service-description ul {
  list-style: none;
  padding-left: 1.1rem;
  margin-top: .5rem;
}

.service-description ul li {
  position: relative;
  padding-left: .75rem;
  margin-bottom: .45rem;
  line-height: 1.45;
}

.service-description ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #007bff;
  font-weight: 600;
}

.service-description p + ul { margin-top: .25rem; }

.service-description hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, #e0e0e0, #b5c6d6, #e0e0e0);
  margin: 2rem 0 1.25rem;
  border-radius: 2px;
}

/* Provide consistent inner spacing for description */
.service-description {
  font-size: .95rem;
}

/* Hide legacy requirements panels visually when empty */
.service-requirements[style*="display:none"] { display: none !important; }

/* Optional utility class if later needed */
.modal-uniform .service-description { max-width: 100%; }

@media (max-width: 600px) {
  .service-content { padding: 1.25rem; }
  .service-content > h3 { font-size: 1.15rem; }
}

/* ...existing code... */

/* Removed secondary duplicate modal definition */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

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

@media (max-width: 768px) {
  .service-content {
    width: 95%;
    padding: 1rem;
  }

  .service-content-wrapper {
    margin-top: 1rem;
  }
}

/* ...existing code... */
