*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

li{
    list-style: none;
}


body {
    font-family: "Ropa Sans", sans-serif;
    background-color: #f9f9f9;
    color: black;
    direction: rtl;
}
.hero_section{
    background-color: #0f332f;
    color: #f9f9f9;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}
.contenier{
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.contenier h1{
    font-size: 36px;
    font-weight: bold;
    color: #97e4e0;
}
.contenier p{
    font-size: 18px;
    line-height: 1.8;
    color: #ddd;
}

/* Top Header Info */
.header-top {
    background-color: #022925;
    color: #fff;
    font-size: 14px;
    padding: 5px 0;
    text-align: center;
  }
  
  .header-top a {
    color: #97e4e0;
    text-decoration: none;
    margin: 0 5px;
  }
 /* ====== أساسيات الهيدر ====== */
.main-header {
  background-color: #97e4e0;
  padding: 15px 20px;
  direction: rtl;
  position: relative;
  z-index: 999;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* لوجو */
.logo {
  height: 50px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 4px;
}

/* زر احجز */
.btn-book {
  background-color: #fff;
  color: #0b322f;
  padding: 8px 14px;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.btn-book:hover {
  background-color: #e2e2e2;
}

/* لينكات الناف بار */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #0b322f;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.nav-links li a:hover {
  text-decoration: underline;
}

/* زرار الموبايل */
.menu-toggle {
  font-size: 28px;
  color: white;
  display: none;
  cursor: pointer;
}

/* ========== Media Queries ========== */

/* للموبايل والتابلت */
@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 15px;
    background-color: #97e4e0;
    position: absolute;
    top: 100%;
    right: 20px;
    width: 200px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  }

  .nav-links.active {
    display: flex;
  }

  .btn-book {
    margin-top: 10px;
  }
}

/* للشاشات الكبيرة */
@media (min-width: 992px) {
  .nav-container {
    flex-direction: row;
  }

  .nav-links {
    display: flex !important;
  }
}

 
  .side-icons {
    position: fixed;
    left: 15px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
  }
  
  .side-icons a {
    font-size: 22px;
    color: #fff;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: opacity 0.3s;
    text-decoration: none;
  }
  
  /* ألوان لكل أيقونة */
  .whatsapp-icon { background-color: #25D366; }
  .facebook-icon { background-color: #0078FF; }
  .instagram-icon { background-color: #E1306C; }
  .tiktok-icon { background-color: #010101; }
  .phone-icon { background-color: #4CAF50; }
  
  .side-icons a:hover {
    opacity: 0.8;
  }


/* about doctor*/
  .about_doctor{
    padding: 15px 50px;
    background-color: #f9f9f9;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
  }
  .doctor_contant{
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
  }
  .doctor_text{ 
    flex: 1;
    min-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-wrap: wrap;
  }
  .doctor_text h4{
    font-size: 36px;
    color: #164f48;
  }
  .doctor_text h3{
    font-size: 45px;
    color: #022925;
  }
  .doctor_text h2{
    font-size: 40px;
    color: #97e4e0;
  }
  .doctor_text ul{
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .doctor_text ul li{
    font-size: 20px;
    color: #164f48 ;
    position: relative;
    padding-right: 20px;
  }
  .doctor_text ul li::before{
    content: "*";
    position: absolute;
    right: 0;
    color: #97e4e0;
    font-weight: bold;
  }
  .img_doctor{
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
  }
  .img_box{
    border: 4px double #97e4e0;
    padding: 0 10px;
    border-radius: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 500px;
  }
  .img_box img{
    width: 100%;
    height: auto;
    display: block;
  }
  .hidden-left{
  opacity: 0;
  transform: translateX(0);
  transition: all 2s ease;
}
  .hidden-right {
  opacity: 0;
  transform: translateX(0);
  transition: all 2s ease;
}

.hidden-left {
  transform: translateX(-200px);
}

.hidden-right {
  transform: translateX(200px);
}

.show {
  opacity: 1 !important;
  transform: translateX(0) !important;
}
@media (max-width: 768px) {
  .about_doctor {
    flex-direction: column;
    padding: 20px 15px;
    text-align: center;
  }

  .doctor_contant {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .doctor_text {
    min-width: 100%;
    gap: 15px;
  }

  .doctor_text h3 {
    font-size: 24px;
  }

  .doctor_text h4 {
    font-size: 20px;
  }

  .doctor_text ul li {
    font-size: 14px;
    line-height: 1.6;
  }

  .img_doctor {
    width: 100%;
    justify-content: center;
  }

  .img_box {
    max-width: 90%;
  }
}


/*expert_in */
  .expert_in{
    display: flex;
    gap: 120px;
    text-align: start;
    padding: 30px;
  }
  .img_expert_in{
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    padding: 30px;
    border-radius: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 500px;
    border: 1px solid #97e4e0;

  }
  .img_expert_in img{
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid #97e4e0;
    border-radius: 15px;
  }
  .content_expert_in{
    display: flex;
    flex-direction: column;
    max-width: 500px;
    gap: 15px;
    justify-content: center;
  }
  .content_expert_in h2{
    font-size: 36px;
    font-weight: bold;
    color: #164f48;
  }
  .content_expert_in ul{
        font-size: 20px;
        color: #0b322f ;
        position: relative;
        padding-right: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
  }
  .content_expert_in ul li::before{
        content: "--";
        position: absolute;
        right: 0;
        color: #97e4e0;
        font-weight: bold;
  }
  .content_expert_in ul li p{
    font-size: 16px;
    color: #474747;
  }
  /* تأثير الصورة */
.zoom-in-img {
  opacity: 0;
  transform: scale(1.2);
  transition: all 3s ease;
}
.zoom-in-img.show {
  opacity: 1;
  transform: scale(1);
}

/* تأثير النص */
.slide-down-text {
  opacity: 0;
  transform: translateY(-70px);
  transition: all 3s ease;
}
.slide-down-text.show {
  opacity: 1;
  transform: translateY(0);
}


  /*services*/
  .services{
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    padding:20px;
  }
  .services h2{
    font-size: 32px;
    color: #164f48;
    font-weight: 600;
    text-decoration: underline;
  }
  .services_cards{
    display: flex;
    gap: 15px;
    overflow-x: hidden;
    position: relative;
    transition: transform 0.5s ease;
    scroll-behavior: smooth;
    flex-wrap: nowrap;
  }
  .card{
    min-width: 400px;
    background-color: #f9f9f9;
    border: #97e4e0 2px solid;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    color: #474747;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .card:hover{
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 170, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .card img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    padding: 5px;
  }
  .card h3{
    padding: 15px;
    font-size: 18px;
    color: #164f48;
  }
  .services_controls{
    display: flex;
    gap: 15px;
    justify-content: center;
  }
  .services_controls button{
    background-color: #474747;
    color: #97e4e0;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .services_controls button:hover{
    background-color: #022925;
  }
  /*why_choose*/
  .why_choose{
    background-color: #97e4e0;
    display: flex;
    flex-direction: column;
    gap: 50px;
    justify-content: center;
    text-align: center;
    padding: 60px 50px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  }
  .why_choose h2{
    font-size: 32px;
    font-weight: bold;
    color: #164f48;
  }
  .why_choose p{
    font-size: 20px;
    font-weight: 400;
    color: #474747;
  }
  .why_choose_icons{
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  .icons_card{
    width: 250px;
    padding: 25px 0;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .icons_card:hover{
    transform: translateY(-10px);
    background-color: #b7b1b1;
  }
  .icons_card i{
    width: 80px;
    height: 80px;
    border: 2px solid #164f48;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #164f48;
  }
  .icons_card h3{
    font-size: 20px;
    color: #164f48;
  }
  .icons_card p{
    font-size: 16px;
    color: #474747;
  }


/*addresses*/
.section {
  max-width: 700px;
  height: 90vh;
  background: #e9edee;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 15px rgba(94, 103, 104, 0.1);
  margin: 15px 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section:hover{
   transform: scale(1.05);
   box-shadow: 0 6px 15px rgba(16, 219, 196, 0.3);
}
 #doctorTitle.doctor-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(-40px);
  transition: all 1.4s ease-in-out;
  color: #164f48;
}

#doctorTitle.doctor-title.active {
  opacity: 1;
  transform: translateY(0);
}

 #clinicAddress.clinic-address {
  font-size: 18px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-30px);
  transition: all 1.4s ease-in-out;
  color: #248176;
  font-weight: bold;
}

 #clinicAddress.clinic-address.active {
  opacity: 1;
  transform: translateY(0);
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

#scheduleList li {
  background: #b9bfc0;
  margin-bottom: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(40px);
  transition: all 1.4s ease-in-out;
  color: white;
}
#scheduleList li.show {
  opacity: 1;
  transform: translateX(0);
}

.hospitals {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hospital-card {
  flex: 1;
  min-width: 300px;
  background: #164f48;
  padding: 15px;
  border-radius: 10px;
  text-align: right;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.hospital-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(9, 148, 132, 0.3);
}

.hospital-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #97e4e0;
  text-align: center;
}

.hospital-card p {
  margin: 0;
  font-size: 16px;
  color: whitesmoke;
}
/*map*/
.maps-section {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
  height: 70vh;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-top: 60px;
}
.maps-section :hover{
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(9, 148, 132, 0.3);
}
.map-card {
  flex: 1 1 300px;
  background: #e9edee;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  height: 30vh;
  width: 400px;
}

.map-card h4 {
  padding: 5px;
  font-size: 18px;
  color: #164f48;
}

.map-card iframe {
  width: 100%;
  border: none;
  border-radius: 8px;
  height: 15vh;
}
.addressesandmap{
  display: flex;
  justify-content: space-between;
  padding: 20px 20px;
  padding-left: 50px;
}

/*conferences*/
.conferences-section {
  padding: 40px 20px;
  background: #f9f9f9;
  text-align: center;
}

.conferences-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #164f48;
  text-decoration:underline;
}

.conference-list {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.conference-card {
  background: #b9bfc0;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(4, 157, 147, 0.1);
  width: 250px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #0b322f;
  display: flex;
  flex-direction: column;
  gap: 25px;
  height: 250px;
  justify-content: center;
}
.bg1,
.bg2,
.bg3,
.bg4,
.bg5,
.bg6,
.bg7,
.bg8{
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.bg1{
   background-image:linear-gradient(rgba(255, 255, 255, 0.445), rgba(255, 255, 255, 0.473)), url('../css/img\ conference\ 1.jpg');
}
.bg2{
   background-image:linear-gradient(rgba(255, 255, 255, 0.445), rgba(255, 255, 255, 0.473)), url('../css/img\ conference\ 2.jpg');
}
.bg3{
   background-image:linear-gradient(rgba(255, 255, 255, 0.445), rgba(255, 255, 255, 0.473)), url('../css/img\ conference\ 3.jpg');
}
.bg4{
   background-image:linear-gradient(rgba(255, 255, 255, 0.445), rgba(255, 255, 255, 0.473)), url('/dr-mostafa/css/img\ conference\ 4.jpg');
}
.bg5{
   background-image:linear-gradient(rgba(255, 255, 255, 0.445), rgba(255, 255, 255, 0.473)), url('../css/img\ conference\ 5.jpg');
}
.bg6{
   background-image:linear-gradient(rgba(255, 255, 255, 0.445), rgba(255, 255, 255, 0.473)), url('../css/img\ conference\ 6.jpg');
}
.bg7{
   background-image:linear-gradient(rgba(255, 255, 255, 0.445), rgba(255, 255, 255, 0.473)), url('../css/img\ conference\ 7.jpg');
}
.bg8{
   background-image:linear-gradient(rgba(255, 255, 255, 0.445), rgba(255, 255, 255, 0.473)), url('../css/img\ conference\ 8.jpg');
}
.conference-card:hover {
  background-color: #164f48;
  color: white;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(6, 232, 217, 0.441);
}
/* كارت المؤتمر قبل الظهور */
.conference-card {
  opacity: 1;
  transform: translateY(50px) rotate(15deg);
  transition: opacity 1.4s ease, transform 1.4s ease;
}
.conference-card h3{
   background-color: rgba(0, 0, 0, 0.5); /* لون خلفية غامقة وشفافة */
  color: white;
  padding: 8px;
  border-radius: 6px;
  display: inline-block;
   text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); 
}
.conference-card h3:hover{
  color: #97e4e0;
}

/* يظهر تدريجياً */
.conference-card.show-card {
  opacity: 2;
  transform: translateY(0) rotate(0deg);
}

/* حركة الاهتزاز */
@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-10px); }
  80% { transform: translateX(10px); }
  100% { transform: translateX(0); }
}

.conference-card.shake {
  animation: shake 0.4s ease;
}

.details-btn {
  width: 80px;
  margin-top: 15px;
  padding: 8px 15px;
  margin-right: 65px;
  background: #97e4e0;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.details-btn:hover {
  background-color: #474747;
}

/* المودال */
.modal {
  display: none; /* مخفي في البداية */
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 80%;
  max-width: 500px;
  position: relative;
  animation: slideDownFadeIn 0.4s ease forwards;
}

@keyframes slideDownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-btn {
  position: absolute;
  right: 20px; top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.close-btn:hover {
  color: #007bff;
}
/*videos*/
.video-section {
  padding: 50px 40px;
  background-color: #ddd;
  text-align: center;
  border: 2px solid #ddd;
  display: flex;
  flex-direction: column;
  gap: 70px;
  border-radius: 8px;
  margin: 20px 20px;
}

.section-title {
  font-size: 40px;
  opacity: 1;
  transform: translateY(20px);
  transition: all 0.6s ease;
  text-decoration: underline;
  color: #164f48;
}

.video-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 25px;
}

.video-container iframe {
  width: 250px;
  height: 300px;
  background: linear-gradient(to top,#03342f,#7cb1ab);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  opacity: 1;
  transition: transform 0.3s ease;
}
.video-container iframe :hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.video-section button{
  padding: 20px 30px;
  opacity: 1;
  transform: translateY(20px);
  transition: all 0.6s ease;
  background: #164f48;
  border-radius: 10px;
  border: 1px solid #022925;
  margin-top: -30px;
}
.video-section button a{
  color: whitesmoke;
  font-size: 25px;
}

/* caption*/
.whatsapp-section {
  background-image: url('../css/background1.jpg'); /* غيّري اسم الصورة حسب مسارها */
  background-size: cover;
  background-position: center;
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  font-family: Arial, sans-serif;
  margin: 20px 0;
  border-radius: 5px;
}

.whatsapp-section .overlay {
  background-color: rgb(6 114 101 / 49%);/* أخضر شفاف */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.whatsapp-section .content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.caption {
  padding-right: 250px;
  font-size: 28px;
  font-weight: bold;
  
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 10px 10px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition:background 0.3s ease;
  width: 170px;
  height: 40px;
  display: flex;
  gap: 10px;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-right: 400px;

}
.whatsapp-btn:hover {
  background-color: #1ebe57;
}
/* footer*/
.main-footer {
  background-color:#474747;
  padding: 40px 0 20px;
  font-family: 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  padding: 10px 60px;
  height: 40vh;
  margin-left: 120px;
}
.footer-logo{
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-logo img{
  width: 150px;
}
.footer-logo h2 {
  font-size: 32px;
  font-weight: bold;
  color: #97e4e0;
}

.footer-logo p {
  font-size: 16px;
  color: whitesmoke;
}
.footer-links{
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
}
.footer-links h3 {
    font-size: 32px;
    font-weight: bold;
    color: #97e4e0;
} 
.footer-links ul{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links ul li a {
  text-decoration: underline;
  color: whitesmoke;
  transition: color 0.3s;
  font-weight: bold;
}

.footer-links ul li a:hover {
  color: #97e4e0;
}
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 14px;
  color: #888;
}
.footer-bottom  a{
    color: whitesmoke;
}

/* الكود دا هيكون فيه كل التنسيقات المطلوبة + ميديا كويري مضافة ومحدثة لتكون متجاوبة تمامًا */

/* ======== الكود الأصلي كامل هنا (بما فيه كل السكاشن: العناوين، المؤتمرات، الفيديو، الواتساب، الفوتر... الخ) ======== */

/* هنا هيكون نفس الكود اللي بعتيهلي، بدون حذف أي شيء */

/* ======== Media Query: شاشات الموبايل ======== */
/* Reset */

/* موبايلات صغيرة جدًا */
@media (max-width: 480px) {
  .side-icons a {
    font-size: 18px;
    width: 38px;
    height: 38px;
  }

  .side-icons {
    left: 10px;
    bottom: 15px;
    gap: 10px;
  }
}

/* موبايلات وتابلت (شاشات لحد 768px) */
@media (max-width: 768px) {
  .side-icons a {
    font-size: 20px;
    width: 40px;
    height: 40px;
  }

  .side-icons {
    left: 12px;
    bottom: 18px;
    gap: 10px;
  }
}

/* شاشات لابتوب متوسطة */
@media (min-width: 769px) and (max-width: 992px) {
  .side-icons a {
    font-size: 22px;
    width: 45px;
    height: 45px;
  }
}

/* شاشات كبيرة */
@media (min-width: 1200px) {
  .side-icons a {
    font-size: 24px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 768px) {
  .about_doctor {
    flex-direction: column-reverse;
    padding: 20px;
    text-align: center;
  }

  .doctor_contant {
    flex-direction: column;
    gap: 20px;
  }

  .doctor_text {
    min-width: 100%;
    gap: 15px;
  }

  .doctor_text h4 {
    font-size: 24px;
  }

  .doctor_text h3 {
    font-size: 28px;
  }

  .doctor_text ul li {
    font-size: 16px;
    padding-right: 15px;
    text-align: right;
  }

  .img_doctor {
    width: 100%;
    margin-bottom: 20px;
  }

  .img_box {
    max-width: 80%;
  }
}
@media (max-width: 768px) {
  .expert_in {
    flex-direction: column;
    padding: 20px;
    gap: 30px;
    text-align: center;
  }

  .img_expert_in {
    width: 100%;
    max-width: 100%;
    padding: 15px;
  }

  .content_expert_in {
    max-width: 100%;
    align-items: center;
  }

  .content_expert_in h2 {
    font-size: 24px;
  }

  .content_expert_in ul {
    font-size: 16px;
    padding-right: 0;
    gap: 12px;
    text-align: right;
  }

  .content_expert_in ul li {
    position: relative;
    padding-right: 20px;
  }

  .content_expert_in ul li::before {
    content: "–";
    right: 0;
    color: #97e4e0;
  }

  .content_expert_in ul li p {
    font-size: 14px;
    color: #474747;
    margin-top: 5px;
  }
}
 @media (max-width: 768px){
.why_choose_icons{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icons_card{
    width: 400px;
    padding: 20px 10px;
}
 .icons_card h3{
    font-size: 36px;
  }
  .icons_card p{
    font-size: 22px;
  }

  }
/* Responsive Media Queries */


/* Animations */
.hidden-left,
.hidden-right {
  opacity: 0;
  transition: all 2s ease;
}

.hidden-left {
  transform: translateX(-200px);
}

.hidden-right {
  transform: translateX(200px);
}

.show {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.zoom-in-img {
  opacity: 0;
  transform: scale(1.2);
  transition: all 3s ease;
}

.zoom-in-img.show {
  opacity: 1;
  transform: scale(1);
}

.slide-down-text {
  opacity: 0;
  transform: translateY(-70px);
  transition: all 3s ease;
}

.slide-down-text.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .addressesandmap {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .map-card {
    width: 90%;
    height: auto;
  }

  .hospitals {
    flex-direction: column;
    align-items: center;
  }

  .section {
    height: auto;
    padding: 20px;
    margin: 10px;
  }

  .video-container {
    flex-direction: column;
    align-items: center;
  }

  .video-container iframe {
    width: 100%;
    height: 220px;
  }

  .caption {
    padding: 0 10px;
    font-size: 22px;
    text-align: center;
  }

  .whatsapp-btn {
    margin: 0 auto;
    width: 140px;
    font-size: 14px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-left: 0;
    height: auto;
    gap: 40px;
  }

  .footer-logo h2,
  .footer-links h3 {
    font-size: 24px;
    text-align: center;
  }

  .footer-logo p,
  .footer-links ul li a {
    font-size: 14px;
    text-align: center;
  }

  .footer-links ul {
    align-items: center;
  }

  .conferences-section h2 {
    font-size: 26px;
  }

  .conference-list {
    flex-direction: column;
    align-items: center;
  }

  .conference-card {
    width: 90%;
    height: auto;
  }

  .video-section button {
    margin-top: 10px;
  }

  .modal-content {
    width: 95%;
    padding: 20px;
  }
}

/* انتهى الكود الكامل بعد إضافة media queries */


/*services.html /////////////////////////////////////////////////////////////////////*/
.hero_services{
   background-image: url('../css/services\ background.jpg'); /* غيّري اسم الصورة حسب مسارها */
  background-size: cover;
  background-position: center;
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: Arial, sans-serif;
  border-radius: 5px;
}
.hero_services h1{
  color: #164f48;
  font-size: 42px;
  font-weight: bold;
  text-decoration: underline;
}
.content_services{
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 80px 50px;
}
.content_services h2{
  font-size: 34px;
  color: #97e4e0;
  position: relative;
  display: inline-block;
}
.content_services h2::after{
  content: "";
  position: absolute;
  background-color: whitesmoke;
  bottom: 0;
  right: 40px;
  width: 35px;
  height: 4px;
  margin: -20px -5px;
}
.content_services h2::before{
  content: "";
  position: absolute;
  background-color: #164f48;
  bottom: 0;
  right: 0;
  width: 220px;
  height: 4px;
  border-radius: 2px;
  margin: -20px -0px;

}
.content_services p{
  font-size: 22px;
  color: #626565;
}


.services-section {
  padding: 50px 20px;
  background-color: #fdfdfd;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 30px;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service-card {
  width: 400px;
  border: 2px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
   border: 2px double #04c4b7;
  border-radius: 10px;
}

.service-card h3 {
  margin: 10px 0 0;
  font-size: 1.2rem;
  color: #333;
}

.toggle-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #04c4b7;
  margin: 10px 0;
  transition: transform 0.3s ease;
  
}

.toggle-btn.rotate {
  transform: rotate(180deg);
}

.service-description {
  display: none;
  padding: 0 15px 15px;
  color: whitesmoke;
  text-align: right;
  background-color:  #04c4b7;
}

/* ✅ Responsive - شاشات التابلت والموبايل */
@media (max-width: 768px) {
  .service-card {
    width: 90%;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .service-card img {
    height: 160px;
  }

  .toggle-btn {
    font-size: 1.3rem;
  }
}


/*article.html ////////////////////////////////////////////////////////////////////*/
.articles-section {
  padding: 60px 20px;
  background-color: #fafafa;
  text-align: center;
}

.articles-section h2 {
  font-size: 42px;
  color: #164f48;
  margin-bottom: 40px;
  text-decoration: underline;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.article-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  border: 2px double #1c625a;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-content {
  padding: 20px;
  text-align: right;
}

.article-content h3 {
  font-size: 20px;
  color: #1c625a;
  margin-bottom: 10px;
}

.article-content p {
  font-size: 15px;
  color: #474747;
  margin-bottom: 15px;
}
.read-more:hover {
  background-color: #6bc7c2;
}
.full-text {
  display: none;
  color: #444;
  font-size: 15px;
  margin-top: 10px;
}

.read-more-btn {
  padding: 6px 12px;
  background-color: #97e4e0;
  color: #03342f;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.read-more-btn:hover {
  background-color: #6bc7c2;
}
@media (max-width: 600px) {
  .articles-section h2 {
    font-size: 28px;
  }

  .article-content h3 {
    font-size: 18px;
  }

  .article-content p {
    font-size: 14px;
  }

  .read-more {
    font-size: 14px;
  }
}
/*media.html//////////////////////////////////////////////////////////////////////////*/
    .media{
       font-family: Arial, sans-serif;
      background-color: #f0f2f5;
      padding: 40px;
      display: flex;
      flex-direction: column;
      gap: 60px;
    }
    .First_Design{
      display: flex;
      gap: 10px;
      align-items: center;
    }
    .logo_timeline-container{
      max-width: 450px;
      padding: 20px 0;
      margin-left: 30px;
      
    }
    .logo_timeline-container img{
      width: 100%;
      border-radius: 30%;
    }
    .timeline-container {
      background: white;
      border-radius: 20px;
      padding: 40px;
      width: 600px;
      margin-left: auto;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .timeline-step {
      display: flex;
      align-items: center;
      margin-bottom: 30px;
    }

    .step-number {
      background-color: #256361;
      color: white;
      font-weight: bold;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 18px;
      margin-right: 20px;
    }
     .step-content{
      background-color: #97e4e0;
      padding:  10px 20px;
      border-radius: 30px;
      
     }

    .step-content h3 {
      margin: 0;
      font-size: 20px;
      color: #494b4b;
    }

    .step-content p {
      margin: 5px 0 0;
      color: whitesmoke;
      font-size: 14px;
    }
       .step-content p a{
        color: whitesmoke;
       }

    /* --- Second Design --- */
    .scend_design{
      display: flex;
      align-items: center;
    }
    .logo_review{
      max-width: 450px;
      padding: 20px 0;
      margin: 50px;

      
    }
    .logo_review img{
      width: 100%;
      border-radius: 50%;
    }
    
    .bars-container {
      background: white;
      border-radius: 20px;
      padding: 40px;
      width: 700px;
      margin-right: auto;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }


    .info-bar {
      padding: 20px;
      border-radius: 10px;
      color: white;
      font-size: 16px;
      margin-bottom: 15px;
      transition: transform 0.3s;
    }

    .info-bar:hover {
      transform: translateX(10px);
    }

    .bar1 { width: 90%; background-color :#103833 ; }
    .bar2 { width: 80%; background-color: #175b53; }
    .bar3 { width: 70%; background-color: #256361 ; }
    .bar4 { width: 60%; background-color: #509896; }
    .bar5 { width: 50%; background-color: #98c4c3; }


@media (max-width:768px) {
  .scend_design{
    display: flex;
    flex-direction: column;
  }
  .bars-container{
    max-width: 450px;
    margin: 0;
  }
  .First_Design{
    display: flex;
    flex-direction: column;
  }
  .timeline-container{
    max-width: 450px;
    margin: 0;
    
  }
}
/* videohtmlllllll*/
.header {
  background: linear-gradient(to left, #98c4c3, #0f332f);
  padding: 30px;
  text-align: center;
  border-bottom: 5px solid #03342f;
}
.videos-section {
  padding: 40px 5%;
  text-align: center;
}

.videos-section h2 {
  font-size: 46px;
  margin-bottom: 30px;
  color: #03342f;
  text-decoration: underline;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.video-card {
  background-color: #b7b1b1;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(4, 143, 143, 0.1);
  padding: 15px;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

.video-card iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 10px;
}

.video-card p {
  margin-top: 20px;
  color: #007b7a;
  font-weight: bold;
}

.video-card:hover {
  transform: scale(1.02);
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in { animation-delay: 0.2s; }
.delay-1 { animation-delay: 0.4s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.8s; }








* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  overflow-x: hidden; /* يشيل الاسكرول اللي بييجي من الجنب */
}

.container {
  max-width: 100%; 
  margin: 0 auto;     /* توسيط المحتوى */
  padding: 0 20px;    /* padding خفيف لو عايزة */
}
@media (max-width: 600px){
     {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  overflow-x: hidden; /* يشيل الاسكرول اللي بييجي من الجنب */
}

.container {
  max-width: 100%; 
  margin: 0 auto;     /* توسيط المحتوى */
  padding: 0 20px;    /* padding خفيف لو عايزة */
}
}
