@import url("https://fonts.googleapis.com/css2?family=Asap+Condensed:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&display=swap");

body {
  scroll-behavior: smooth;
  font-family: "Oswald", sans-serif;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(
    to top,
    rgb(255, 255, 255),
    rgb(138, 212, 255)
  );
}

.video-container {
  position: relative;
  width: 100%;
  height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-top: 90px;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: auto;
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.5;
}

.video-container .gray-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(255, 255, 255);
  text-align: center;
  z-index: 3;
  width: 100%;
  padding: 20px;
}

.video-overlay h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
    -1px -1px 2px rgba(255, 255, 255, 0.6);
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 0 10px;
}

.video-overlay p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #fdfeff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
    -1px -1px 2px rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
  text-align: center;
  padding: 0 10px;
  font-weight: lighter;
}

/* ABOUT US SECTION */
.image-text-container {
  padding: 40px;
  margin-top: 50px;
}

.text {
  color: #ffffff;
}

.text-primary {
  color: #2c7bfe;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded-corners {
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}

.zoom-image {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoom-image:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .image-text-grid {
    grid-template-columns: 1fr;
  }
}

/* SERVICES */
.bottom-row {
  justify-content: center;
}

.bottom-row .column {
  max-width: 50%;
}

.bottom-row .card {
  padding: 2em 1em;
}
section {
  height: auto;
  width: 100%;
  display: grid;
  place-items: center;
}
.row {
  display: flex;
  flex-wrap: wrap;
}
.column {
  width: 100%;
  padding: 0 1em 1em 1em;
  text-align: center;
}
.card {
  width: 100%;
  height: 100%;
  padding: 2em 1.5em;
  background: linear-gradient(#ffffff 50%, #2c7bfe 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.5s;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f194c;
  margin: 1em 0;
}
p {
  color: #575a7b;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}
.icon-wrapper {
  background-color: #2c7bfe;
  position: relative;
  margin: auto;
  font-size: 30px;
  height: 2.5em;
  width: 2.5em;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.5s;
}
.card:hover {
  background-position: 0 100%;
}
.card:hover .icon-wrapper {
  background-color: #ffffff;
  color: #000102;
}
.card:hover h3 {
  color: #ffffff;
}
.card:hover p {
  color: #f0f0f0;
}

/* Our Teams */

.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.team-member {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1rem;
  max-width: 250px;
  width: 100%;
}

.team-member img {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.team-member h2 {
  margin: 0.5rem 0 0.25rem;
}

.team-member p {
  color: #666;
  margin: 0;
}

@media (max-width: 600px) {
  .team-container {
    flex-direction: column;
    align-items: center;
  }

  .team-member {
    max-width: 100%;
    margin-bottom: 1rem;
  }
}

/* TEAMS AND DOCTORS */
.btn-primary:hover,
.btn-primary:focus {
  background-color: #2c7bfe;
  border-color: #2c7bfe;
  box-shadow: none;
  outline: none;
}

.btn-primary {
  color: #fff;
  background-color: #2c7bfe;
  border-color: #2c7bfe;
}

section {
  padding: 60px 0;
}

section .section-title {
  text-align: center;
  color: #ffffff;
  margin-bottom: 50px;
  text-transform: uppercase;
}

#team .card {
  border: none;
  background: #ffffff;
}

.image-flip:hover .backside,
.image-flip.hover .backside {
  -webkit-transform: rotateY(0deg);
  -moz-transform: rotateY(0deg);
  -o-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  transform: rotateY(0deg);
  border-radius: 0.25rem;
}

.image-flip:hover .frontside,
.image-flip.hover .frontside {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.mainflip {
  -webkit-transition: 1s;
  -webkit-transform-style: preserve-3d;
  -ms-transition: 1s;
  -moz-transition: 1s;
  -moz-transform: perspective(1000px);
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transition: 1s;
  transform-style: preserve-3d;
  position: relative;
}

.frontside {
  position: relative;
  -webkit-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  z-index: 2;
  margin-bottom: 30px;
}

.backside {
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  -webkit-transform: rotateY(-180deg);
  -moz-transform: rotateY(-180deg);
  -o-transform: rotateY(-180deg);
  -ms-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
  -webkit-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
  -moz-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
  box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
}

.frontside,
.backside {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: 1s;
  -webkit-transform-style: preserve-3d;
  -moz-transition: 1s;
  -moz-transform-style: preserve-3d;
  -o-transition: 1s;
  -o-transform-style: preserve-3d;
  -ms-transition: 1s;
  -ms-transform-style: preserve-3d;
  transition: 1s;
  transform-style: preserve-3d;
}

.frontside .card,
.backside .card {
  min-height: 312px;
}

.backside .card a {
  font-size: 18px;
  color: #2c7bfe !important;
}

.frontside .card .card-title,
.backside .card .card-title {
  color: #2c7bfe !important;
}

.frontside .card .card-body img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.divider {
  margin-top: 200px;
}

.font-header {
  color: rgb(0, 0, 0);
  font-size: 50px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.demo-bg {
  background: #2c7bfe;
  margin-top: 60px;
  border-radius: 50px;
}
.business-hours {
  background: #222;
  padding: 40px 14px;
  margin-top: -15px;
  position: relative;
}
.business-hours:before {
  content: "";
  width: 23px;
  height: 23px;
  background: #111;
  position: absolute;
  top: 5px;
  left: -12px;
  transform: rotate(-45deg);
  z-index: -1;
}
.business-hours .title {
  font-size: 20px;
  color: #bbb;
  text-transform: uppercase;
  padding-left: 5px;
  border-left: 4px solid #2c7bfe;
}
.business-hours li {
  color: #ffffff;
  line-height: 30px;
  border-bottom: 1px solid #333;
}
.business-hours li:last-child {
  border-bottom: none;
}
.business-hours .opening-hours li.today {
  color: #2c7bfe;
}

.inner-circle {
  border: 8px solid transparent;
  border-radius: 50%;
  border-top: 8px solid #3498db;
  width: 30px;
  height: 30px;
  position: absolute;
  top: 10px;
  left: 10px;
  animation: spin 0.5s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

hr {
  width: 50%;
  border-top: 5px solid #00d1fb;
  margin: 0 auto;
}


.textour{
  font-size: 3.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  color: #2c7bfe;
}