.background {
  background: url(img/leila-intro.jpg) no-repeat center; 
  background-size: cover;
  height: 400px;
  margin-bottom: 20px;
  opacity: 0.5;
  width: 100%;
}



.khadamat {
  color: #203A53;
  font-weight: bold;
  padding-right: 40px;
  margin-bottom: 55px;
  margin-top: 55px;
  text-align:center;
}

@media (max-width:913px) {
  .khadamat {
    font-size: 25px;
    padding-left: 60px;
  }
}

.khadamat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 20px;
  padding-left: 100px;
  padding-right: 100px;
  margin-bottom: 100px;
}

.khadamat-grid h2 {
  text-align: center;
  font-size: 22px;
  color: #203A53;
}

@media (max-width:913px) {
  .khadamat-grid {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }
}


.first-page-grid
 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 20px;
  padding-left: 100px;
  padding-right: 100px;
  margin-bottom: 150px;
}

.first-page-grid h1 {
  font-size: 24px;
  color: #333333;
  text-decoration: none;
  text-align: center;
}

.first-page-grid h2 {
  font-size: 20px;
  color: #333333;
}

.first-page-grid h3 {
  font-size: 18px;
  color:#333333;
}

.first-page-grid h4 a {
  font-size: 12px;
  color: white;
  text-align: center;
  text-decoration: none;
  background-color: #30AEA2;
  padding: 13px 20px;
  border-radius: 10px;
  line-height: 20px;
  width: 250px;
}

@media (max-width:913px) {
  .first-page-grid h4 a {
    width: 100px;
    font-size: 11px;
  }
}


.clinic-slang {
  font-size: 16px;
  color: #333333;
  text-align: center;
}

.clinic-introduction {
  font-size: 18px;
  color:#333333;
  text-align: center;
}


@media (max-width:800px) {
  .first-page-grid {
    grid-template-columns: 1fr;
    padding-left: 70px;
    padding-right: 50px;
  }
}
@media (min-width:1000px) {
  .first-page-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}



.scapula, .elbow, .hand,
 .fracture, .knee, .ankle, .baby,
 .neuro {
  
  border-radius: 20px;
  width: 100px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px; 
  cursor: pointer;
}

.scapula-content,.elbow-content,
.hand-content, .fracture-content,
.knee-content, .ankle-content,
 .baby-content, .neuro-content {
  text-align: center;
  font-size: 15px;
  color: #333333;
}


.library, .library a {
  text-align: center;
  text-decoration: none;
  color: rgb(44,83,128);
  font-size: 14px;
  font-weight: bold;
  padding: 15px 20px;
}

@media (max-width:913px) {
  .khadamat-grid h4 {
    text-align: center;
    text-decoration: none;
    color: rgb(44,83,128);
    font-size: 12px;
  }
}


.intro-site {
  color:black;
  border-radius: 20px;
  text-align: center;
  margin-top: 5px;
  font-weight: 500;  
}

@media (max-width:800px) {
  .intro-site {
    margin-bottom: 30px;
  }
}


.clinic-logo {
  width: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-left: 20x;
}
 

.hossein-picture {
  width: 250px;
  border-radius: 400px;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
  

.appointment3 a, .appointment4 a, 
.appointment5 a {
  text-align: center;
  color: white;
  text-decoration: none;
}



.appointment3 {
  text-align: center;
  font-size: 13px;
  background-color: #203A53;
  border-radius: 20px;
  margin-right: 160px;
  padding: 5px;
  line-height: 20px;
  width: 250px;
  margin-bottom: 20px;
}


@media (max-width:800px) {
  .appointment3 {
    margin-left: 0;
    margin-right: 55px;
  }
}

.appointment4 {
  text-align: center;
  font-size: 13px;
  background-color: #203A53;
  border-radius: 20px;
  padding: 5px;
  line-height: 20px;
  width: 250px;
  margin-right: 160px;
}


@media (max-width:800px) {
  .appointment4 {
  margin-right: 0;
  margin-left: 45px;
  }
}

.hossein-profession {
  margin-bottom: 0px;
  margin-top: 2px;
  font-weight: 500;
}

.hossein-profession2 {
  margin-top: 0px;
  font-weight: 500;
}

.leila-picture {
  width: 250px;
  border-radius: 400px;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  
}

.leila-presentation, 
.hossein-presentation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 50px;
}

@media (max-width: 800px) {
  .leila-presentation, 
  .hossein-presentation {
    grid-template-columns: 1fr;
    margin: 0 auto;
    gap: 30px;
    padding: 10px;
  }
}

.leila-intro, 
.hossein-intro {
  text-align: center;
  font-size: 17px;
  color: #333333;
  line-height: 1.8;
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
}

@media (max-width: 800px) {
  .leila-intro, 
  .hossein-intro {
    font-size: 14px;
    padding: 10px;
    max-width: 350px;
  }
}

.leila-introdution, 
.hossein-introduction {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  margin-right: 110px;
}

.hossein-introduction {
  margin-right: 210px;
}

@media (max-width: 800px) {
  .leila-introdution, 
  .hossein-introduction {
    max-width: 250px;
    margin-right: 50px;
  }
}

.experience {
  font-weight: bold;
  text-align: center;
  color: #203A53;
  margin: 40px auto;
}

.user {
  width: 50px;
  margin: 10px auto;
}

.patient-one {
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}

.patient {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin: 20px auto;
  padding: 0 10px;
}

.patient-grid {
  border: 2px solid gray;
  border-radius: 10px;
  padding: 15px;
  max-width: 100%;
  margin: 0 auto;
}

.khadamat {
  color: #203A53;
  font-weight: bold;
  text-align: center;
  margin: 20px auto;
}

@media (max-width: 800px) {
  .khadamat {
    font-size: 20px;
    padding: 0 20px;
  }
}


.nabian-picture {
width: 300px;
margin-top: 10px;
}

.nabian-biography{
  text-align: end;
}

.nabian-title {
  text-align: end;
}

.appointment5 {
  text-align: center;
  font-size: 13px;
  background-color: rgb(44,83,128);
  border-radius: 20px;
  margin-left: 140px;
  padding: 5px;
  line-height: 20px;
  width: 250px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.zanjani-grid {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 100px;
}

.zanjani-biography{
  text-align: end;
}

.zanjani-title {
  text-align: end;
}

.address a {
  text-decoration: none;
  color: black;
}

/* Testing slideshow */

/* Slideshow container */
.slideshow-container {
  max-width: 10000px;
  position: relative;
  margin: auto;
}


/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 2 s;
}



@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

.banyan-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 15px;
  margin-top: 90px;
  padding-right: 100px;
  margin-bottom: 80px;
}

@media (max-width:913px) {
  .banyan-intro {
    grid-template-columns: 1fr;
    column-gap: 10px;
    padding: 30px;
    margin-top: 10px;
    
  }
}

.khorsand {
  width: 450px;
  margin-right: 50px;
  border-radius: 20px;
}

@media (max-width:913px) {
  .khorsand {
    width:100%;
    margin-right: 0;
  }
}

.banyan-intro h1 {
  color: #203A53;
  font-size: 30px;
}

@media (max-width:913px) {
  .banyan-intro h1 {
    font-size: 17px;
  }
}

.banyan-intro h2 {
  color: #333333;
  font-size: 15px;
  text-align: center;
  line-height: 35px;
  width: 700px;
}

@media (max-width:913px) {
  .banyan-intro h2 {
    font-size: 10px;
    width: auto;
    line-height: 28px;
  }
}

.clinic-map, .clinic-phone, .clinic-mail{
  width: 65px;
  padding-left: 20px;
  vertical-align:middle;
}

.content-title h1 {
  font-size: 28px;
  padding-right: 40px;
  padding-top: 60px;
}

/* General Styling for Contact Section */
.contact-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Default: 2 equal columns */
  gap: 20px; /* Space between grid items */
  text-align: center;
  padding: 20px;
  padding-right: 80px;
}

.contact-flex div {
  padding: 20px;
}

.contact-flex h2 {
  font-size: 18px;
  color: #203A53;
  margin-top: 10px;
}

.contact-flex h3 {
  font-size: 14px;
  color: #333333;
  margin-top: 10px;
}

/* Images */
.contact-flex img {
  max-width: 100%; /* Ensure images scale down */
  height: auto; /* Maintain aspect ratio */
  margin: 0 auto; /* Center images */
}

.content-address {
  width: 100%; /* Allow the content to adapt to screen size */
  max-width: 630px; /* Restrict max width on larger screens */
  margin: 0 auto;
}

/* Google Map */
.google-map iframe {
  width: 100%; /* Make iframe responsive */
  height: 250px; /* Adjust height for better visibility */
  border-radius: 10px;
}

/* Medium Screens (Tablets and Small Desktops) */
@media (max-width: 800px) {
  .contact-flex {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 15px;
    padding: 15px;
  }

  .content-address {
    max-width: 100%; /* Allow full width on smaller screens */
  }

  .google-map iframe {
    height: 220px; /* Adjust map height */
  }
}

/* Small Screens (Mobile) */
@media (max-width: 500px) {
  .contact-flex {
    gap: 10px; /* Reduce gap for smaller screens */
    padding: 10px;
  }

  .contact-flex h2 {
    font-size: 16px; /* Adjust font size */
  }

  .contact-flex h3 {
    font-size: 13px; /* Adjust font size */
  }

  .google-map iframe {
    height: 200px; /* Further adjust height for compact screens */
  }
}



.about-nabian, .about-zanjani {
  padding-right: 70px;
  padding-left:70px;
  line-height: 32px;
}

@media (max-width: 768px) {
  .about-nabian, .about-zanjani {
    padding-right: 20px;
    padding-left: 20px;
    line-height: 28px;
  }

  .about-nabian h1, .about-zanjani h1{
    font-size: 12px;
  }

  .about-nabian h2, .about-zanjani h2{
    font-size: 10px;
    line-height: 28px;
    width: auto;
  }


}

@media (max-width: 480px) {
  .about-nabian, .about-zanjani {
    padding-right: 13px;
    padding-left: 10px;
    line-height: 28px;
  }
}

img.dr-nabian {
  max-width: 100%;
  height: auto;
}

img.dr-zanjani {
  width: 100%;
  height: auto;
}

.about-nabian h1, .about-zanjani h1{
  font-size: 24px;
  color: #203A53;
}



.about-nabian h2, .about-zanjani h2{
  font-size: 16px;
  color: #333333;
}

