.topbar {
  background: rgb(34, 52, 86);
  width: 100%;
}

.appointment {
  background: rgb(31, 48, 79);

}

#appointment,
#appointment-btn,#appointment-btn-2 {
  background-color: #ba5f4d;
  color: white;
  transition: background 0.2s;
}

#appointment:hover,
.appointment-btn:hover {
  background-color: rgb(41, 58, 99); /* Slightly lighter on hover */
  
}
.paragraph{
    font-size: 20px
}
.success{
    background: rgb(31, 48, 79);
}
.names{
    color: rgb(31, 48, 79);
}

.container{
    font-size: px;
}


    :root {
      --primary: #4e4a8e;
      --primary-dark: #342f6e;
      --secondary: #164cec;
      --light: #f8fafc;
      --dark: #1e293b;
      --accent: #06b6d4;
    }
    
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: #334155;
      line-height: 1.6;
    }
    
    nav {
      box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }
    
    #logo {
  width: 200px;
  height: 80px;
  transition: transform 0.3s ease;
}
    
    #logo:hover {
      transform: scale(1.05);
    }
    
    #menu a, #fertility-btn {
      position: relative;
      padding: 8px 0;
      transition: all 0.3s ease;
    }
    
    #menu a:after, #fertility-btn:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--primary);
      transition: width 0.3s ease;
    }
    
    #menu a:hover:after, #fertility-btn:hover:after {
      width: 100%;
    }
    
    #menu a:hover, #fertility-btn:hover {
      color: var(--primary);
    }
    
    #appointment {
      /* background: linear-gradient(to right, var(--primary), var(--primary-dark)); */
      transition: all 0.3s ease;
      font-weight: 600;
      padding: 10px 20px;
    }
    
    #appointment:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(74, 70, 155, 0.3);
    }
    
    #fertility-menu {
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      border-top: 3px solid var(--primary);
    }
    
    #fertility-menu a {
      transition: all 0.2s ease;
      border-bottom: 1px solid #f1f5f9;
    }
    
    #fertility-menu a:last-child {
      border-bottom: none;
    }
    
    #fertility-menu a:hover {
      background-color: #faf5ff;
      padding-left: 20px;
    }
    
    #service-content {
      max-width: 1200px;
      margin: 40px auto;
    }
    
    #service-content h1 {
      color: var(--primary);
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid #e2e8f0;
    }
    
    #service-content h2 {
      color: var(--primary-dark);
      font-size: 1.8rem;
      font-weight: 600;
      margin: 2rem 0 1rem 0;
    }
    
    #service-content p {
      margin-bottom: 1.2rem;
      font-size: 1.1rem;
    }
    
    #service-content > div {
      background: white;
      border-radius: 12px;
      padding: 2rem;
      margin-bottom: 2rem;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    #service-content > div:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
    
    .service-image {
      height: 400px;
      object-fit: cover;
      width: 100%;
      filter: brightness(0.8);
    }
    
    @media (max-width: 640px) {
      #service-content h1 {
        font-size: 2rem;
      }
      
      #service-content h2 {
        font-size: 1.5rem;
      }
      
      .service-image {
        height: 300px;
      }
    }