* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100%;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #2d3e3a;
  background-color: #fafbfa;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  width: 100%;
  padding: 28px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  transition: all 0.3s ease;
}

  .logo-text {
      font-family: 'Dancing Script', cursive;
      font-size: 1.5rem;
      font-weight: 700;
      color: #fff;
      text-shadow: 0 2px 8px rgba(0,0,0,0.25);
      transition: all 0.3s ease;
      position: relative;
      padding: 8px 16px;
      background: linear-gradient(135deg, #A8E6CF, #BFF2D6);
      border-radius: 50px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      backdrop-filter: blur(5px);
    }

.logo-text:hover {
  transform: scale(1.05);
  text-shadow: 0 4px 12px rgba(72, 197, 182, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

header.scrolled .logo-text {
  color: #48C5B6;
  text-shadow: 0 2px 4px rgba(72, 197, 182, 0.2);
  background: linear-gradient(135deg, rgba(72, 197, 182, 0.1), rgba(92, 200, 200, 0.15));
  border-color: rgba(72, 197, 182, 0.3);
}

.logo-text a {
  text-decoration: none;
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 42px;
}

nav a {
  text-decoration: none;
  color: #2d3e3a;
  font-weight: 500;
  font-size: 1.02rem;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #5CC8C8;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #5CC8C8;
}

.contact-btn {
  background: linear-gradient(135deg, #48C5B6 0%, #3aa297 100%);
  color: #fff;
  padding: 11px 26px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(72, 197, 182, 0.35);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(72, 197, 182, 0.5);
}

.back-link {
  position: fixed;
  top: 150px;
  left: 70px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.95);
  color: #48C5B6;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 25px;
  box-shadow: 0 3px 15px rgba(72, 197, 182, 0.2);
  transition: all 0.3s ease;
  z-index: 90;
  border: 2px solid rgba(72, 197, 182, 0.2);
}

.back-link:hover {
  background: #48C5B6;
  color: white;
  transform: translateX(-5px);
  box-shadow: 0 5px 20px rgba(72, 197, 182, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 101; 
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #2d3e3a;
  border-radius: 3px;
  transition: all 0.3s ease;
}


.menu-toggle.active span {
  background: #fff;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.pro-hero {
  padding: 120px 70px 80px;
  background: linear-gradient(135deg, #f5f8f7 0%, #fafbfa 100%);
}

.pro-hero-content {
  display: flex;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.pro-photo {
  flex: 0 0 auto;
}

.pro-photo img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(72,197,182,0.2);
  box-shadow: 0 15px 50px rgba(72, 197, 182, 0.15);
  transition: transform 0.3s ease;
}

.pro-photo img:hover {
  transform: scale(1.03);
}

.pro-intro {
  flex: 1;
  min-width: 300px;
}

.pro-intro h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  color: #1f3f32;
  margin-bottom: 12px;
  font-weight: 700;
}

.pro-intro h2 {
  font-size: 1.4rem;
  color: #48C5B6;
  margin-bottom: 24px;
  font-weight: 600;
}

.pro-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5955;
}

.pro-details {
  padding: 100px 70px;
  background: #fff;
  max-width: 1000px;
  margin: 0 auto;
}

.pro-details h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #1f3f32;
  margin-bottom: 20px;
  margin-top: 50px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  padding-left: 20px;
}

.pro-details h2:first-of-type {
  margin-top: 0;
}

.pro-details h2::before {
  content: '';
  position: absolute;
  left: 0;
  width: 6px;
  height: 45px;
  background: linear-gradient(135deg, #48C5B6, #5CC8C8);
  border-radius: 3px;
}

.pro-details h2 i {
  font-size: 1.5rem;
  color: #48C5B6;
  opacity: 0.8;
}

.pro-details p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: #4a5955;
  margin-bottom: 20px;
}

.pro-details ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 35px;
}

.pro-details ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.pro-details ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #48C5B6;
  font-weight: 700;
}

.info-box {
  background: linear-gradient(135deg, #f5f8f7 0%, #fafbfa 100%);
  border-left: 4px solid #48C5B6;
  padding: 30px;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(72, 197, 182, 0.08);
}

    .btn-doctolib {
      background: linear-gradient(135deg, #6BA3D8 0%, #4A8BC2 100%);
      color: white;
      padding: 8px 30px;
      border-radius: 30px;
      font-weight: 600;
      font-size: 1.1rem;
      text-decoration: none;
      transition: all 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      box-shadow: 0 5px 20px rgba(107, 163, 216, 0.3);
      border: 2px solid rgba(255, 255, 255, 0.2);
    }

    .btn-doctolib i {
      font-size: 1.2rem;
    }

    .btn-doctolib:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 28px rgba(107, 163, 216, 0.45);
      background: linear-gradient(135deg, #4A8BC2 0%, #6BA3D8 100%);
    }

.footer {
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
  padding: 60px 70px 20px;
  color: #333;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #48C5B6;
  margin-bottom: 12px;
}

.footer h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #333;
}

.footer p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  text-decoration: none;
  color: #555;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: #48C5B6;
}

    .footer-social .social-icons {
      display: flex;
      margin-top: 10px;
      flex-wrap: wrap;
      margin-left: 100px;
    }

.footer-social .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  width: 46px;
  height: 46px;
  color: #48C5B6;
  background: rgba(72,197,182,0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social .social-icons a:hover {
  background: #48C5B6;
  color: #fff;
  transform: translateY(-4px);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #eee;
  margin-top: 50px;
  padding-top: 18px;
  font-size: 0.9rem;
  color: #777;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.mentions-link {
  color: #48C5B6;
  text-decoration: none;
  transition: color 0.3s;
}

.mentions-link:hover {
  color: #3aa297;
}


@media (max-width: 1024px) {
  header {
    padding: 20px 40px;
  }

  .pro-hero {
    padding: 100px 40px 60px;
  }

  .pro-intro h1 {
    font-size: 2.5rem;
  }

  .pro-details {
    padding: 80px 40px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 18px 25px;
  }

  .logo-text {
    font-size: 1.6rem;
    padding: 6px 14px;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    background: #808080;
    backdrop-filter: blur(10px);
    transition: right 0.4s ease;
    padding: 100px 30px 30px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 99;
  }

  nav a {
    font-size: 1.1rem;
    color: white;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 30px;
  }

  .menu-toggle {
    display: flex;
  }

  .contact-btn {
    display: none;
  }

  .back-link {
    top: 100px;
    left: 25px;
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .pro-hero-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    font-size: 0.8rem;
  }

  .pro-photo img {
    width: 220px;
    height: 220px;
  }

  .pro-intro h1 {
    font-size: 2rem;
  }

  .pro-details {
    padding: 60px 25px;
  }

  .footer-social .social-icons {
    margin-left: 120px;
  }
}

@media (max-width: 480px) {

  .back-link {
    top: 90px;
    left: 15px;
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  .back-link span {
    display: none;
  }

  .back-link {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .logo-text {
    font-size: 1.4rem;
    padding: 5px 12px;
  }

  .pro-photo img {
    width: 180px;
    height: 180px;
  }

  .pro-intro h1 {
    font-size: 1.7rem;
  }

  .pro-details h2 {
    font-size: 1.4rem;
  }

  .pro-details p {
    font-size: 1rem;
  }
}
