* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Tahoma', Arial, sans-serif;
        }
        
        body {
  background-color: #f7fefe;
  padding: 40px 0px;
  max-width: 1800px;
  margin: 0 auto;
  font-family: 'Work Sans', sans-serif;
}

.container {
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


/* Header */

        
        /* النافذة العلوية - النسخة الكاملة */
        .navbar {
            background-color: white;
            color: black;
            padding: 0px 0px;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            height: 70px;
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0  auto ;
            padding: 0 20px;
            height: 100%;
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
            color: black;
            text-decoration: none;
        }

        .logo span {
            color: #00C2CB;
        }
        
        body.dark-mode {
  background-color: #1a1a1a;
  color: #ffffff;
}

body.dark-mode header,
body.dark-mode .navbar,
body.dark-mode footer,
body.dark-mode section,
body.dark-mode .container,
body.dark-mode .services,
body.dark-mode .second-part  {
  background-color: #1a1a1a;
  color:#00bfff;
}

body.dark-mode a {
  color: #00bfff;
}

body.dark-mode p {
  color: #00bfff;
}
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
  color:#00bfff;
}


        .nav-links {
            display: flex;
            align-items: center;
            gap: 25px;
        }
        
        .nav-links a {
            color: black;
            text-decoration: none;
            font-size: 16px;
            transition: color 0.3s;
        }
        
        .nav-links a:hover {
            color: #3498db;
        }
        
        .book-btn {
            background-color: #FFB400;
  border: none;
  padding: 10px 20px;
  border-radius: 24px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}
        
        
        .book-btn:hover {
            background-color: #c0392b;
        }
        
        /* قائمة الهاتف - تظهر في الشاشات الصغيرة */
        .mobile-menu-btn {
            display:none;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 25px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
        }
        
        .menu-line {
            width: 100%;
            height: 3px;
            background-color: white;
            transition: all 0.3s;
            font-size: x-large;
        }
        
        /* القائمة المنسدلة للهاتف */
        .mobile-menu {
            position: fixed;
            top: 60px;
            right: -100%;
            width: 250px;
            height: calc(100vh - 70px);
            background-color: #2c3e50;
            transition: right 0.3s ease;
            padding: 20px;
            box-shadow: -2px 0 10px rgba(0,0,0,0.1);
            
        }
        
        .mobile-menu.active {
            right: 0;
        }
        
        .mobile-menu a {
            display: block;
            color: white;
            text-decoration: none;
            padding: 12px 0;
            border-bottom: 1px solid #3d5166;
            font-size: 16px;
        }
        
        .mobile-menu .book-btn {
            margin-top: 15px;
            text-align: center;
            
        }
        
        /* تأثيرات إضافية عند النقر على القائمة */
        .mobile-menu-btn.active .menu-line:nth-child(1) {
            transform: rotate(45deg) translate(5px, 6px);
        }
        
        .mobile-menu-btn.active .menu-line:nth-child(2) {
            opacity: 0;
        }
        
        .mobile-menu-btn.active .menu-line:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -6px);
        }
        
        /* محتوى الصفحة */
        
        .content {
            padding: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* استجابة للتغيرات في حجم الشاشة */
        @media (max-width: 768px) {
            .navbar {
                padding: 10px 0;
                height: 60px;
            }
            
            .nav-links {
                display: none; /* إخفاء القائمة العادية */
            }
            
            .mobile-menu-btn {
                display: flex; /* إظهار زر القائمة */
            }
            
            .logo {
                font-size: 20px;
            }
            .home .first-part .doctor-image{
          display: none;
        }

        .about .about-images{
          display: none;
        }
        .about .about-stats{
  display: flex;
  justify-content: space-between; 
  align-items: center;
  flex-wrap: wrap; 
  gap: 20px;
}

        .about .about-stats .stat{
          display: flex;       
        flex-direction: column; 
        align-items: center;
        text-align: center;
        min-width: 100px;
        }

        .experience-smileverse{
          display: none;
        }
}
.appointment-button {
  background-color: #FFB400;
  border: none;
  padding: 10px 20px;
  border-radius: 24px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.appointment-button:hover {
  background-color: #e0a100;
}

/* Home Section */
section{
  padding-top: 50px
}
.home {
  text-align: left;
  padding: 40px 20px;
  margin: auto;
  max-width: 1400px;
}

.first-part {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.welcome-text {
  max-width: 600px;
}

.first-part h2 {
      font-size: 48px;
      font-weight: 700;
      color: #111;
      line-height: 1.4;
      margin-bottom: 20px;
      position: relative;
    }

    .first-part span {
      color: #00C2CB;
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }

.changing-word {
  display: inline-block;
  transition: opacity 0.5s ease;
  position: absolute; 
}

.changing-word.hidden {
  opacity: 0;
  visibility: hidden;
}

.first-part p {
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
}

.explore-servivces {
  border: 2px solid yellowgreen;
  color: #000;
  border-radius: 24px;
  margin-left: 16px;
  padding: 10px 20px;
  border-radius: 24px;
  transition: all 0.3s;
}

.explore-servivces:hover {
  background-color: #00C2CB;
  color: white;
  border-color: #00C2CB;
}

.doctor-image {
  width: 320px;
  height: 320px;
  border-radius: 20%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Icons Section */
.second-part {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0;
  align-items: center;
}

.second-part > div {
  text-align: center;
  flex: 1;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.second-part i {
  font-size: 28px;
  color: #00C2CB;
  margin-bottom: 10px;
}

/* Experience Section */
.experience-smileverse {
  text-align: center;
  margin-top: 60px;
}

.experience-smileverse h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.experience-smileverse h2 span {
  color: #00C2CB;
}

.experience-image {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 20px;
  height: auto;
}

.cards {
  flex: 1 1 200px;
  max-width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  height: 300px;
}

.cards:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.15);
}

.cards img {
  width: 100%;
  height: 300px;
  display: block;
}

.cards.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.cards.show {
  opacity: 1;
  transform: translateY(0);
}

/* .about */
.about {
  margin-left: 150px;
  margin-right: 150px;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Work Sans', sans-serif;
}

.about h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.about h2 span {
  color: #00c8c8;
}

.sup-title {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto 40px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 50px;
}

/* Text Cards (Vision & Mission) */
.text-cards {
  flex: 1;
  min-width: 500px;
}

.card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  max-height: 100px;
  width: 100%;
}

.vision {
  background-color: #e6faff;
}

.mission {
  background-color: #fff7e6;
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  color: #333;
}

/* Images Grid */
.about-images {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.about-images img {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-images img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Stats Section */
.about-stats {
  text-align: left;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat h3 {
  font-size: 28px;
  color: #00c8c8;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat p {
  color: #555;
  font-size: 14px;
}

/* Services Section Styling */
.services {
  margin: 0 auto;
  padding: 100px 20px;
  text-align:left;
  font-family: 'Work Sans', sans-serif;
  max-width: 1600px;
}

.services h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #222;
  text-align: center;
}

.services h2 span {
  color: #00c8c8;
}

.services p {
  font-size: 20px;
  color: #666;
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.services-cards{
  display: grid;
grid-template-columns: repeat(3,  1fr );
gap: 30px;
max-width: 1100px;
margin: 0 auto;
}

.services-items{
  background-color: #fff;
  border-radius: 16px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
padding: 20px;
transition: transform 0.3s ease;
min-height: 450px;
}

.services-items:hover {
  transform: translateY(-5px);
}

.services-items img {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 15px;
}

.services-items h3 {
  font-size: 20px;
  color: #222;
  margin-bottom: 10px;
}

.services-items p {
  font-size: 16px;
  color: #555;
  margin-bottom: auto;
  line-height: 1.6;
}

.services .services-cards .services-items .design{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.services-items span {
  font-size: 18px;
  color: #00C2CB;
  font-weight: bold;
  line-height: 1;
  align-items: center;
}

.services-items .book-now {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #e0a100;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  height: 40px;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.services-items .book-now:hover {
  background-color: #009a9a;
}

/* book */
.book-now {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #00c8c8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.book-now:hover {
  background-color: #009a9a;
}

/* Book Section Styling */
.book {
  background: #f7fefe;
  padding: 100px 20px;
  text-align: center;
  font-family: 'Work Sans', sans-serif;
}

.book h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 10px;
}

.book h2 span {
  color: #00c8c8;
}

.book p {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
}

.book .container {
  display: flex;
  flex-direction: row; /* Change to row to align side by side */
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
}

.book .section {
  background-color: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  width: 350px; /* Adjusted width to fit three sections */
  text-align: left;
}

.book .section h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #222;
}

.book label {
  display: block;
  font-size: 16px;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #333;
}

.book select,
.book input[type="date"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  outline: none;
}

.book .map-container {
  position: relative; 
  width: 100%;
  padding-bottom: 56.25%;
}

.book .map-container iframe {
  border:0; 
  position: absolute;
    top: 0; 
    left: 0;
}

.map-button {
  align-items: center;
  display: inline-block;
  padding: 8px 16px;
  background-color: #0099cc;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.map-button:hover {
  background-color: #0077aa;
}

.book .time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.book .time-slots button {
  padding: 10px 16px;
  border: none;
  background-color: #00c8c8;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
    flex: 1 1 calc(33.333% - 10px); /* Adjusted to fit three buttons per row */
  min-width: 100px;
  margin-bottom: 10px;
  font-size: 16px;
  text-align: center;
}

.book .time-slots button:hover {
  background-color: #009a9a;
}

.Your-information {
  background-color: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  width: 350px;
  text-align: left;
  font-family: 'Work Sans', sans-serif;
}

.Your-information h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #222;
}

.Your-information label {
  display: block;
  font-size: 16px;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #333;
}

.Your-information input,
.Your-information textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  outline: none;
}

.Your-information textarea {
  height: 80px;
  resize: vertical;
}

.Your-information .book-now {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #e0a100;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  height: 40px;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.Your-information .book-now:hover {
  background-color: #c78d00;
}

.Your-information .confirmation-message {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
  text-align: center;
  display: none;
}



/*  GALLERY */

.gallery {
  padding: 60px 20px;
  text-align: center;
  font-family: 'Work Sans', sans-serif;
}

.gallery h2{
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.gallery h2 span {
  color: #00c8c8;
}

.gallery .before{
  position: absolute;
    top: 10px;
    left: 10px;
    font-size: 14px;
    color: #999;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 8px;
    border-radius: 4px;
    text-align: left;
}

.gallery .after{
  position: absolute;
    top: 10px;
    right: 10px;
    font-size: 14px;
    color:white;
    background: black;
    padding: 2px 8px;
    border-radius: 4px;
    text-align: right;
}

.gallery p{
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

.gallery .gallery-images{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.gallery .gallery-item {
  background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: relative;
    padding: 10px;
  transition: transform 0.3s ease;
}

.gallery .gallery-item:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.gallery .gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery .gallery-item h3 {
  font-size: 20px;
  color: #222;
  margin-top: 10px;
}

.gallery .gallery-item p {
  font-size: 16px;
  color: #555;
  margin-top: 5px;
}

.gallery .gallery-item a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #00c8c8;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.gallery .gallery-item a:hover {
  background-color: #009a9a;
}

@media (max-width: 768px) {
  #item2{
    display: block;
  }

  .gallery-item {
    display: none;
  }

  .gallery .before:first-child,
  .gallery .after:first-child {
    display: block;
  }

  .show-more-btn {
    display: block;
    margin: 10px auto;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
  }
}

@media (min-width: 769px) {
  .show-more-btn {
    display: none;
  }
}

/* testimonials */
.testimonials {
  padding: 60px 20px;
  text-align: center;
  font-family: 'Work Sans', sans-serif;
}

.testimonials h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.testimonials h2 span {
  color: #00c8c8;
}

.testimonials p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
}

.testimonials .testimonial-cards{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.testimonials .testimonial-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
} 

.testimonial-card h3 {
  font-size: 20px;
  color: #222;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.testimonial-card .star-rating {
  display: flex;
  justify-content: center;
  gap: 5px;
  color: gold;
}

/* contant section */

.contact {
  background: #f8f9fb;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.contact h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 10px;
}

.contact h2 span {
  color: #00bcd4;
}

.contact p {
  text-align: center;
  margin-bottom: 40px;
  color: #666;
  font-size: 18px;
}

.contact-data {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-form,
.contact-information {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  flex: 1 1 400px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  margin-top: 16px;
  font-weight: bold;
  color: #444;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  transition: border 0.3s;
}

.contact-form p{
    text-align: left;
  font-weight: 600;
  margin-top: 16px;
  color: #00bcd4;
  font-size: 22px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00bcd4;
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.send-message {
  background: #e0a100;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 16px;
  transition: background 0.3s;
}

.send-message:hover {
  background: #0097a7;
}

.contact-information h3 {
  margin-bottom: 20px;
  color: #00bcd4;
}

.contact-information p {
  text-align: left;
  font-weight: 600;
  margin-top: 16px;
  color: #444;
}

.contact-information i {
  font-size: 24px;
  margin-right: 8px;
  color: #00bcd4;
}


.map-container {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.map-link {
  display: block;
  cursor: pointer;
}

.map-link:hover .map-container {
  transform: scale(1.02);
}

/* Footer styles */
.footer {
    background-color: #1a2a44;
    color: #fff;
    padding: 40px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #00c8c8;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #00c8c8;
}

.footer-column .social-icons a {
    color: #fff;
    font-size: 18px;
    margin-right: 10px;
    text-decoration: none;
}

.footer-column .social-icons a:hover {
    color: #00c8c8;
}

/* Icon styles (using Font Awesome) */
.fas, .fab {
    margin-right: 10px;
}

.footer .chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #00c8c8;
    color: #fff;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer .chat-icon:hover {
    background-color: #009a9a;
}

.footer .copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
}

@media (max-width: 992px) {
  header.bar {
    flex-wrap: wrap;
    height: auto;
    padding: 15px 20px;
    justify-content: center;
  }

  header.bar h1 {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  nav.services {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  nav.services ul {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
  }

  .lang-switch {
    border-left: none;
    padding-left: 0;
    margin-bottom: 15px;
  }

  .appointment-button {
    width: 80%;
    max-width: 250px;
  }

  .home .first-part {
    flex-direction: column;
    text-align: center;
  }

  .home .welcome-text {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .home .doctor-image {
    width: 250px;
    height: 250px;
  }

  .home .second-part {
    flex-direction: column;
    gap: 30px;
  }

  .experience-image {
    flex-direction: column;
    align-items: center;
  }

  .cards {
    max-width: 80%;
    height: auto;
  }

  .about {
    margin-left: 20px;
    margin-right: 20px;
    padding: 40px 20px;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .text-cards {
    min-width: unset;
    width: 100%;
  }

  .card {
    max-width: 100%;
    max-height: unset;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  .services-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .book .container {
    flex-direction: column;
    align-items: center;
  }

  .book .section,
  .Your-information {
    width: 90%;
    max-width: 500px;
  }

  .gallery .gallery-images,
  .testimonials .testimonial-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-data {
    flex-direction: column;
    align-items: center;
  }

  .contact-form,
  .contact-information {
    flex: 1 1 90%;
    max-width: 500px;
  }
/* foteeeeeeeeeeer */
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    min-width: unset;
    width: 100%;
    margin-bottom: 20px;
    left: 0%;
    right: 0%;
  }

  .footer-column ul {
    padding: 0;
  }
}

@media (max-width: 768px) {
  header.bar {
    padding: 10px 15px;
  }

  header.bar h1 {
    font-size: 20px;
  }

  nav.services ul {
    gap: 8px;
  }

  .appointment-button {
    padding: 8px 15px;
    font-size: 14px;
  }

  .home .first-part h2 {
    font-size: 36px;
  }

  .home .first-part p {
    font-size: 16px;
  }

  .explore-servivces {
    margin-left: 0;
    margin-top: 15px;
  }

  .home .doctor-image {
    width: 200px;
    height: 200px;
  }

  .second-part > div {
    padding: 15px;
  }

  .second-part i {
    font-size: 24px;
  }

  .experience-smileverse h2 {
    font-size: 28px;
  }

  .cards {
    max-width: 95%;
  }

  .about h2 {
    font-size: 30px;
  }

  .sup-title {
    font-size: 16px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 14px;
  }

  .about-images {
    grid-template-columns: 1fr;
  }

  .services h2 {
    font-size: 36px;
  }

  .services p {
    font-size: 18px;
  }

  .services-cards {
    grid-template-columns: 1fr;
  }

  .services-items {
    min-height: unset;
  }

  .book h2 {
    font-size: 32px;
  }

  .book p {
    font-size: 16px;
  }

  .book .section,
  .Your-information {
    width: 95%;
    padding: 20px;
  }

  .gallery h2,
  .testimonials h2 {
    font-size: 30px;
  }

  .gallery p,
  .testimonials p {
    font-size: 16px;
  }

  .gallery .gallery-images,
  .testimonials .testimonial-cards {
    grid-template-columns: 1fr;
  }

  .contact h2 {
    font-size: 30px;
  }

  .contact p {
    font-size: 16px;
  }

  .contact-form,
  .contact-information {
    padding: 20px;
  }

  .contact-form p {
    font-size: 20px;
  }

  .contact-information i {
    font-size: 20px;
  }

  .footer-column h3 {
    font-size: 16px;
  }

  .footer-column p,
  .footer-column ul li,
  .footer-column ul li a {
    font-size: 12px;
  }

  .footer .chat-icon {
    padding: 12px;
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .home .first-part h2 {
    font-size: 30px;
  }

  .home .doctor-image {
    width: 180px;
    height: 180px;
  }

  .second-part > div h2 {
    font-size: 18px;
  }

  .second-part > div p {
    font-size: 14px;
  }

  .experience-smileverse h2 {
    font-size: 24px;
  }

  .cards {
    max-width: 100%;
  }

  .about h2 {
    font-size: 26px;
  }

  .sup-title {
    font-size: 14px;
  }

  .services h2 {
    font-size: 30px;
  }

  .services p {
    font-size: 16px;
  }

  .book h2 {
    font-size: 28px;
  }

  .book .time-slots button {
    flex: 1 1 100%; /* One button per row */
  }

  .gallery h2,
  .testimonials h2 {
    font-size: 26px;
  }

  .contact h2 {
    font-size: 26px;
  }

  .contact-form p {
    font-size: 18px;
  }
}

.clicked {
  animation: shake 0.3s;
}
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}
