* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  background-color: white;
}



a {
  text-decoration: none;
}


.card-slider-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
}

.card-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.card {
  min-width: 100%;
  box-sizing: border-box;
  background-color: white;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

button {
  position: absolute;
  top: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.prev {
  left: 10px;
  transform: translateY(-50%);
}

.next {
  right: 10px;
  transform: translateY(-50%);
}


.Banner {
  position: relative;
  width: 100%;
  height: 60vh;
  background-color: #ddd;
  background-image: url(./images/bg-index.webp);
  background-size: cover;
  background-repeat: no-repeat;

}

#entry-container {
  font-family: Arial, sans-serif;
  padding: 10px;
  border: 1px solid #ccc;
  width: 50rem;
  margin: 20px auto;
  position: absolute;
  top: 7rem;
  left: 10rem;
  color: white;
  text-align: center;
}

.Banner .main-text {
  color: white;
  position: absolute;
  top: 15rem;
  left: 10rem;
}

.main-text p {
  font-size: 1rem;
  margin-top: 1rem;
  font-weight: 700;

}

.main-text h1 {
  margin-left: 7rem;
  font-size: 3rem;
}

.container-card {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40rem;
}

.info-card {
  width: 330px;
  height: 380px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin: 0 2rem;
  background-color: white;
}

.info-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  object-position: top;
}

.info-card h3 {
  margin-top: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #20b1b4;
}

.info-card p {
  margin-top: 10px;
  font-size: 16px;
  color: #5d5d5d;
}

/* our servises */


h3 {
  font-size: 2rem;
}

#topics-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  /* Space between topics */
  margin-top: 20px;
  margin-left: 5rem;
}

p {
  font-size: 1.5rem;
  margin: 0;
}

/* General styles */

.container-ourServices {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 50px 0;
  background-color: #3b9dca;
}

.title {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}

/* craousal */

.App {
  font-family: sans-serif;
  text-align: center;
}

.slick-track {
  display: flex;
}

.slick-slider {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.slick-slide {
  padding-right: 10px;
}

.slick-slide:last-child {
  padding-right: 0;
}

.slick-slide img {
  display: block;
}

.slick-list {
  margin: 0 15px;
}

.slick-prev {
  width: 50px;
  left: 0;
  top: 20%;
  position: absolute;
  height: 50px;
  background: tomato;
  z-index: 1;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.slick-next {
  width: 50px;
  right: 0;
  top: 20%;
  position: absolute;
  height: 50px;
  background: tomato;
  z-index: 1;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.slick-prev:focus,
.slick-prev:hover,
.slick-next:hover,
.slick-next:focus {
  color: transparent;
  outline: none;
  background: tomato;
}

.product-actions {
  display: flex;
  justify-content: space-between;
}


/* shedule card */
.shedule-container {
  text-align: center;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  width: 90%;
  background-color: white;
  height: 32rem;
  margin: 2rem;
  margin-left: 5rem;
}

.shedule-container .left {
  width: 40%;
  margin-left: 3rem;
}

.shedule-container .right {
  width: 40%;
}


.heading {
  font-size: 3rem;
  margin-bottom: 10px;
  text-align: left;
  margin-left: 5rem;
  color: #20b1b4;
}

.description {
  font-size: 1.2rem;
  margin-bottom: 20px;
  width: 90%;
  margin-left: 5rem;
  text-align: justify;
}

.calendar-container {
  margin-bottom: 20px;
}

.calendar-image {
  width: 500px;
  height: 400px;
  border-radius: 24px;
}

.schedule-button {
  background-color: #20b1b4;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

/* shedule card */

/* card part */

.specialties {
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  height: 80vh;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  width: 80%;
  margin-left: 10vw;
  margin-bottom: 5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px;
  text-align: center;
  border-radius: 50%;
}

.specialty h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.specialty p {
  font-size: 18px;
  margin-bottom: 40px;
}

.specialty {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  width: 100%;
  height: 15rem;
}

.specialty img {
  width: 200px;
  height: 150px;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 1rem;
}

.specialty h4 {
  font-size: 14px;
  margin-bottom: 10px;
}

.view-all {

  color: #20b1b4;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}


.specialty .consultBtn {
  background-color: #fff;
  color: #20b1b4;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: underline;
}

/* card part */

/* daynamic contect */
#dynamic-content-wrapper {
  width: 100%;
  overflow: hidden;
}

#dynamic-content {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 10s linear infinite;
}

@keyframes scroll-left {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(-100%);
  }
}

.timer {

  padding: 10px;
  border-radius: 1rem;
  display: inline-block;
  margin: 10px 0;
  color: rgb(0, 0, 0);
}

.timer-p {
  font-size: 1rem;
  text-align: center;
  margin-left: 1rem;
  color: rgb(0, 0, 0);
}

.bold-text {
  font-weight: bold;
  color: #87CEEB;
}

/* daynamic contect */


/*********footer**********/





@media (max-width: 576px) {
  html {
    font-size: 12px;
  }

  /* Navbar */
  .navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #20b1b4;
    color: white;
    position: relative;
    z-index: 2;
  }

  .login {
    display: flex;
    justify-content: space-between
  }

  .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }

  .navLinks {
    display: flex;
    flex-direction: column;
    list-style: none;
    position: absolute;
    top: -50rem;
    background-color: #20b1b4;
    text-align: center;
    width: 100%;
  }

  .navLinks.show {
    top: 4.5rem;
    left: 0;
  }

  .navLinks li {
    margin: 0 10px;
  }

  .navLinks li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
  }

  .navLinks li a:hover {
    color: #f0f0f0;
  }

  /* Hamburger Menu Icon */
  .toggleButton {
    font-size: 2rem;
    color: white;
    cursor: pointer;
    display: block;
    margin-left: 1rem;
    margin-top: .5rem;
  }

  .searchContainer {
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin-top: 3rem;
  }

  /* Search Box */
  .searchBox {
    width: 90%;
    /* Use most of the screen width */
    font-size: 12px;
    padding: 6px 10px;
  }

  /* Banner Image */
  .banner-img {
    height: 20rem;
    /* Reduce banner height */
  }

  /* Container Card */
  .container-card {
    flex-direction: column;
    /* Stack cards vertically */
    height: auto;
    padding: 1rem;
  }

  /* Card */
  .card {
    width: 90%;
    height: auto;
    margin: 1rem 0;
  }

  .card img {
    height: 150px;
    /* Reduce image height */
  }

  .card h3 {
    font-size: 20px;
    /* Reduce heading size */
    margin-top: 10px;
  }

  .card p {
    font-size: 14px;
    /* Adjust text size */
    margin-top: 5px;
  }

  /* General */
  .App {
    font-size: 14px;
    text-align: center;
  }

  /* Slick Slider */
  .slick-slider {
    flex-direction: column;
    max-width: 100%;
    margin: 0;
  }

  .slick-slide {
    padding-right: 5px;
  }

  .slick-prev,
  .slick-next {
    width: 30px;
    height: 30px;
    top: 40%;
  }

  /* Product Actions */
  .product-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Schedule Card */
  .shedule-container {
    flex-direction: column;
    text-align: center;
    width: 95%;
    margin: 0 auto;
    padding: 10px;
  }

  .shedule-container .left,
  .shedule-container .right {
    width: 100%;
    margin: 0;
  }

  .heading {
    font-size: 2rem;
    text-align: center;
    margin-left: 0;
  }

  .description {
    font-size: 1rem;
    width: 100%;
    text-align: justify;
    margin-left: 0;
  }

  .calendar-image {
    width: 90%;
    height: auto;
    margin: 0 auto;
  }

  /* Cards Section */
  .specialties {
    grid-template-columns: 1fr;
    gap: 10px;
    height: auto;
    margin-left: -10px;
    width: 100%;
    padding: 10px;
  }

  .specialty {
    padding: 15px;
    height: auto;
  }

  .specialty img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    object-position: top;
  }

  .specialty h4 {
    font-size: 12px;
  }

  /* Dynamic Content */


  /* Buttons */
  .schedule-button,
  .view-all,
  .specialty .consultBtn {
    width: 80%;
    padding: 8px;
    font-size: 0.9rem;
    margin: 10px auto;
  }
}

/* 3. Tablet: 768px to 1000px */
@media (max-width: 1000px) and (min-width: 768px) {
  html {
    font-size: 14px;
  }

  .searchContainer {
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
  }

  .card {
    width: 246px;
    margin: 1rem 1rem;
    height: 25rem;
  }

  .Banner {
    height: 60vh;
  }

  .banner-img {
    height: 60vh;
  }

  #dynamic-content {
    width: 90%;
    border-radius: 2rem;
  }

  .specialties {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    height: 80vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    width: 80%;
    margin-left: 10vw;
    margin-bottom: 5rem;
  }

  .shedule-container .left {
    width: 40%;
    margin-left: 10vw;
  }


}

/* 4. Phone: Less than 768px */
@media (max-width: 768px) {
  html {
    font-size: 12px;
  }

  .container-card {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }

  .card {
    width: 60%;
    margin: 1rem 0;
    height: 315px;
  }

  .timer-p {
    font-size: 0.8rem;
  }

  .specialties {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .Banner {
    height: 30vh;
    background-size: contain;
    background-color: white;

  }

  #entry-container {
    width: 90%;
    top: 3rem;
    left: 5%;
    font-size: .7rem;
  }

  .Banner .main-text {
    top: 5rem;
    left: 5%;
    width: 90%;
    text-align: center;
  }

  .main-text h1 {
    font-size: 1.2rem;
    margin-left: 0;
  }

  .main-text p {
    font-size: .8rem;
  }

  #topics-container {
    margin: 0;
    gap:5px;

  }

  #topics-container p {
    font-size: .5rem;
  }

}