* {
    margin: 0;
    padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-image: url(../Doctors-page/img/start.png);
  background-size: cover; 
  background-position: center; 
 background-repeat: no-repeat; 
 background-attachment: fixed; 
 
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #b7c9c800;
  font-weight: bold;
  font-style: italic;
  font-size: 1.25rem;

}
.logo-container {
  display: flex;
  gap: 10px; 
  width: 175px;
  height: 175px;
}


.menu {
  flex-grow: 1;
  text-align: right;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  padding: 10px 20px;
  transition: all 0.3s ease-in-out;
}

.menu a:hover,
.menu a.active {
  background-color: #2fc2ae;
  color: black;
  border-radius: 5px;
}






.section {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 1200px;
   justify-content: center;
   margin: 30px auto;

  }
  
  .section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.2);
    background-color: beige;
  }
  
  /* Animation for page load */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
h2 {
    display: flex;
    align-items: center;
    font-size: 26px;
    margin-top: 40px;
    color: #005baa;
    transition: transform 0.3s ease;
  }
  
  h2:hover {
    transform: translateX(5px);
    color: #0077cc;
  }
  
  .icon {
    width: 30px;
    height: 30px;
    margin-right: 12px;
  }
  
  p {
    font-size: 18px;
    line-height: 1.6;
    margin-top: 10px;
  }



  .section {
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 30px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.2);
    background-color: beige;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  h2 {
    display: flex;
    align-items: center;
    font-size: 26px;
    margin-top: 40px;
    color: #005baa;
    transition: transform 0.3s ease;
  }
  
  h2:hover {
    transform: translateX(5px);
    color: #0077cc;
  }
  
  .icon {
    width: 30px;
    height: 30px;
    margin-right: 12px;
  }
  
  p {
    font-size: 18px;
    line-height: 1.6;
    margin-top: 10px;
  }

  /* Basic styling for the hamburger menu */
.menu-icon {
  display: none; 
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000; 
  width: 40px;
  height: 40px;
}

.menu-icon .bar {
  display: block;
  width: 30px;
  height: 5px;
  margin: 6px 0;
  background-color: black;
  border-radius: 10px; 

}

/* Make the navbar hidden in responsive mode */
#navbar.hidden {
  display: none;
}
  
  /* 🔁 Media Query لأجهزة الموبايل */
  @media (max-width: 768px) {
    .section {
      padding: 2px 15px;
    }
  
    h2 {
      font-size: 22px;
      flex-direction: column;
      align-items: flex-start;
    }
  
    .icon {
      margin-right: 0;
      margin-bottom: 10px;
    }
  
    p {
      font-size: 16px;
    }
  }
  @media (max-width: 768px) ,(max-width: 1024px) {
    .menu-icon {
        display: block; /* Show hamburger icon in mobile view */
        z-index: 1001;
    }
  
    #navbar {
      position: absolute;
      top: 0;
      width: 100%;
      flex-direction: row;
      align-items: center;
      display: none; /* Hidden by default */
      padding-top: 90px;
      font-weight: bold;
      font-style: italic;
      font-size: 1.2rem;
    left: -37px;
    gap: 0px;
    
  }
  
    #navbar ul {
        flex-direction: row;
        gap: 10px;
    }
  
    #navbar.visible {
        display: flex; /* Show navbar when toggled */
        z-index: 1000;
    }
    .modal-content {
      margin: 50% auto;}
   }
  
   @media (max-width: 480px) ,(max-width: 1024px){
    body {
      font-size: 14px;
    }
  
    .header {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 15px;
    }
  
    .logo-container {
      width: 100px;
      height: 100px;
      margin-left:-250px;
  }
  
    .logo-container img {
      max-width: 100px;
      max-height: 100px;
  
    }
  
    .menu {
      padding-left: 20px;
      text-align: center;
    }
  
    #chatbot-icon {
      top: 130px;
      right: 10px;
      width: 70px;
      height: 70px;
    }
  
    #chatbot-icon img {
      width: 100%;
      height: 100%;
    }
  }
  @media (max-width: 768px) {
  
    h2 {
      font-size: 22px;
      flex-direction: row; /* 🟢 نأكد إنه صف */
      align-items: center; /* 🟢 يخليهم على سطر واحد */
      gap: 10px; /* مسافة بين الصورة والنص */
    }
  
    .icon {
      width: 24px; /* 🟢 حجم أصغر للموبايل */
      height: 24px;
      margin: 0; /* 🟢 نلغي أي هوامش */
    }
  
    p {
      font-size: 16px;
    }
    #Developer{
      padding: 2px 25px;
      height: 250px;
    }
  }
  
