
/* Reset styles */
html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 1.5em;
  background-color: rgb(250, 250, 245);
  min-height: 100%;
  
  display: flex;
  flex-direction: column;
  
}

main {
  margin-top: 12%;
}

@media all and (max-width: 685px) {
 main {
  margin-top: 35%;
 }
}


/* Global styles */
*, *::before, *::after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: rgb(43, 245, 255, 1);
  padding-left: 10px;
  padding-right: 10px;
}

a:hover {
  color: rgb(25, 39, 51, 1);
}


img {
  max-width: 100%;
  height: auto;
}


 
  
/* here is the slider */

.carousel {
  position: relative;
  height: 300px;
  width: 75%;
  max-width: 1800px;
  margin: 0 auto;
}

.carousel-image {
  width: 300;        /* Let the width adjust automatically */
  height: 300;       /* Let the height adjust automatically */
  max-width: 100%; /* Ensure the image doesn't exceed the width of its parent */
  max-height: 100%; /* Ensure the image doesn't exceed the height of its parent */
  object-fit: contain; /* Scale the image while maintaining its aspect ratio */
}

.img-h {
  object-position: 50% 5%;
}

.carousel-track-container {
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

.carousel-track {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  height: 100%;
  transition: transform 700ms ease-in;
}

.carousel-slide {
  position: absolute; /* stack images on top of each other */
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  display: flex; /* This is important for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  
  padding: 20px;
  background-color: #fff;
  background-image: radial-gradient(circle, #cccccc 10%, transparent 10%);
  background-size: 20px 20px; /* Spacing of the dots */
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* Subtle shadow for card */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-slide:hover {
  transform: translateY(-10px); /* Lift effect on hover */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35); /* Deeper shadow on hover */
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 8%;
  height: 25%;
}

.carousel-button img:hover  {
  transform: scale(1.2);
  transition: all ease-in 0.2s;

}

.carousel-nav button:hover {
  transform: scale(1.2);
  transition: all ease-in 0.2s;
  background-color: rgb(25, 39, 51, 1);
}

.carousel-button--left {
left: -5%;
z-index: 10;
} 

.carousel-button--right {
right: -5%;
z-index: 10;
}

.carousel-button img {
  width: 100;
  height: 100;
}

.carousel-button:focus, .carousel-indicator:focus {
outline: none;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.carousel-indicator {
  border: 0;
  border-radius: 50px;
  width: 15px;
  height: 15px;
  background: rgba(0,0,0,.3);
  margin: 0 12px;
  cursor: pointer;
}

.carousel-indicator.current-slide {
  background: rgba(0,0,0,.75);
}


 /*resize images for different screen sizes */

 @media screen and (max-width: 900px) {
  .carousel {
      height: 300px;
      width: 90%;
      max-width: 100%;
  }
}

/* No more needed;
@media all and (max-width: 720px) {
  .carousel {
      height: 350px;
      max-width: auto;
  }
 
} 

@media all and (max-width: 600px) {
  .carousel {
      height: 300px;
  }

} 

@media all and (max-width: 485px) {
  .carousel {
      height: 250px;
  }  
} 
  */

/* the end of the slider */


/* here is about section */
.container-about {
  position: relative;
  display: flex;
  padding: 10px;
}

.container-about img {
  width: 1000;
  height: 1000;
  border-style: ridge;
  border-width: 15px;
  border-radius: 5%;
}

@media (max-width: 800px) {
  .container-about {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
}


/* end of the profile */





 /* general */
p::selection{
  color: rgb(43, 245, 255, 1);
  background-color: rgb(25, 39, 51, 1);
}

h1::selection {
  color: rgb(43, 245, 255, 1);
  background-color: rgb(25, 39, 51, 1);
}

h2::selection {
  color: rgb(43, 245, 255, 1);
  background-color: rgb(25, 39, 51, 1);
}

h3::selection {
  color: rgb(43, 245, 255, 1);
  background-color: rgb(25, 39, 51, 1);
}

a::selection {
  color: rgb(43, 245, 255, 1);
  background-color: rgb(25, 39, 51, 1);
}

li::selection {
  color: rgb(43, 245, 255, 1);
  background-color: rgb(25, 39, 51, 1);
}

p {
  padding: 10px;
  margin: 5px;
}

h1 {
  padding: 10px;
}

h2 {
  padding: 10px;
}

h3 {
  padding: 10px;
}

h6 {
  padding: 0;
  margin: 0;
}

h6::selection {
  color: rgb(43, 245, 255, 1);
  background-color: rgb(25, 39, 51, 1);
}

u {
  color: rgb(25, 39, 51, 1);
}

button {
  font-size:larger;
  background-color: rgb(25, 39, 51, 1);
  color: rgb(43, 245, 255, 1);
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 7px;
}

button:hover {
  background-color: rgb(43, 245, 255, 1);
  color: rgb(25, 39, 51, 1);
  cursor: pointer;
}

.container-background-image {
background-image: url(https://drjadurologyclinic.com/images/Clinic.webp);
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
background-size: cover;
}

#container-box{
 width: 250px;
text-align: center;
}

#container-box :hover{
  background-color: rgb(43, 245, 255);
}

h2.container-box{
  text-align: justify;
}

p.container-box{
  text-align: justify;
}

/* Services section */

.container-services {
  display:flex;
  align-items: center;
  width:auto;
  top: 50px;
}

.side-column {
  width: 20%;
  height: auto;
}

.main-content {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
  padding: 10px;
  margin: 10px;
  background-color: rgb(25, 39, 51, 1);
}

.devider {
border-style:ridge;
border-width: 5px;
width: 300;
height: 600;
box-sizing: border-box;
justify-content: center;
padding: 10px;
margin: 10px;
}

.devider:hover {
  background-color: rgb(43, 245, 255, 1);
}

.description {
  justify-content: center;
  text-align: center;
  background-color: rgb(43, 245, 255, 1);
}

.container-services img {
  width: 512;
  height: 512;
  justify-content: center;
  object-fit: contain;
  padding: 5px;
}

.container-services a {
  padding: 0;
  justify-content: center;
  height: auto;
  background-color: transparent;
  color: rgb(25, 39, 51, 1);
}

.container-services a :hover {
  background-color: transparent;
}

@media (max-width: 600px) {
.container-services  .main-content {
   flex-direction: column;
  }
.devider {
  width: 100%;
}
}


/* End of Sevices*/

div.review-widget_net {
  background-color: rgb(25, 39, 51, 1);
  padding: 10px;
}


/* Location and Maps */

.location{
  text-align: center;
}

.location .container-address a {
  color: rgb(43, 245, 255, 1);
}

.location .container-address u {
  color:rgb(25, 39, 51, 1);
  border-style: ridge;
  border-color: aqua;
}

.location .container-address u:hover {
  color:rgb(43, 245, 255, 1);
  background-color: rgb(25, 39, 51, 1);
}

.location .container-address a:hover {
color: rgb(25, 39, 51, 1);
}

.container-location {
  width: 100%;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.container-location a {
  width: 1000;
  height: 500;
  filter: invert(100%);
  border:0;
  display: block;
}

.container-location a img {
  width: 1000;
  height: 500;
  object-fit: contain;
}

section.location {
  display: flex;
}

@media (max-width: 600px) {
  .location{
    display: flex;
    flex-direction: column;
  } 
}


footer {
  width: 100%;
}