@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&family=Sora:wght@400;700&display=swap");
:root {
  --primary: #0d6efd;
  --dark: #21252f;
  --body: #888;
  --box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  --c-brand: #4e57d4;
  --c-brand-rgb: 78, 87, 212;
  --transition: all 0.5s ease;
}
body {
  font-family: Sora, "sans-serif";
  line-height: 1.7;
  color: var(--body);
}

/* .navbar-brand {
  display: flex !important;
  align-items: center !important;
} */

h1,
h2,
h3,
h4,
h5,
h6,
.display-4 {
  color: var(--dark);
  font-weight: 700;
}
a {
  color: var(--dark);
  text-decoration: none;
}

/* navbar */
header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  padding: 0.3rem 6%;
  z-index: 3;
  /* background: rgba(135, 27, 27, 0.3); */
  /* background: #871b1b; */
  /* background: rgba(0, 0, 0, 0.3); */
  /* background-color: rgba(255, 255, 255, 0.2); */
  background-color: rgba(173, 216, 230, 0.9);
  backdrop-filter: blur(5px);
}
/* header.shrink {
  height: 17vh;
  padding: 0 4%;
  transition: 0.2s ease;
} */

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .navbar {
  /* background-color: rgba(255, 255, 255, 0.2); */
  background: rgba(0, 0, 0, 0.3);

  /* backdrop-filter: blur(5px); */

  /* flex-wrap: wrap; */
  border-radius: 8vw 0 0 8vw;
  /* border-radius: 8vw; */
}

nav .navbar a {
  text-decoration: none;
  color: #eee;
  font-size: 1.2rem;
  font-weight: 500;
  margin-left: 0.9rem;
}
nav .navbar a:hover {
  color: lightcoral;
  /* margin-bottom: 5px; */
  transition: 0.2s ease;
}
nav .navbar a:active {
  color: #eee;
}
nav .toggle-btn {
  display: none;
}
nav .toggle-btn .material-icons {
  color: #eee;
  font-size: 1.5rem;
  cursor: pointer;
}
nav .toggle-btn .material-icons:hover {
  color: lightcoral;
}
nav .toggle-btn .material-icons:active {
  color: #eee;
}
nav .dropdown-navbar {
  display: none;
}
/* responsive break point */
@media (max-width: 992px) {
  header {
    padding: 0.3rem 2%;
  }
}
@media (max-width: 768px) {
  header {
    padding: 0.1rem 2%;
  }
  nav .toggle-btn {
    display: inline-flex;
  }
  nav .navbar {
    display: none;
  }
  #chk-box:checked ~ .toggle-btn #menu-icon {
    display: none;
  }
  #chk-box:checked ~ .toggle-btn #close-icon {
    display: block;
  }
  #close-icon {
    display: none;
  }
  nav .dropdown-navbar {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 0;
    border-top: none;
    /* background: rgba(0, 0, 0, 0.3); */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;

    transition: 0.5s ease;
    /* background-color: rgba(255, 255, 255, 0.2); */
    background-color: rgba(173, 216, 230, 0.8);
    backdrop-filter: blur(5px);
    font-size: 1.2rem;
  }
  #chk-box:checked ~ .dropdown-navbar {
    height: 12.8rem;
    border-top: 1px solid #eee;
  }
  nav .dropdown-navbar a {
    text-decoration: none;
    color: #eee;
    margin: 0.5rem 0;
  }

  nav .dropdown-navbar a:hover {
    color: lightcoral;
  }
  nav .dropdown-navbar a:active {
    color: #eee;
  }
}

#chk-box {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  display: none;
}

.doctorr-name {
  color: #eee;
  font-weight: 700;
  margin-right: 50px;
}
.logoAndName {
  display: flex;
  align-items: center;
}
nav .logo {
  height: 150px;
  width: 150px;
}

/* .nav-link {
  color: white !important;
  transition: 300ms;
}
.nav-link:hover {
  color: rgba(0, 0, 0, 0.2) !important;
  padding: 10px;
}

.navbar-nav .nav-link {
  font-size: 14px;
  font-weight: 700;
} */

.section-padding {
  padding-top: 140px;
  padding-bottom: 140px;
}
.theme-shadow {
  /* box-shadow: 0px 15px 25px rgba(0,0,0,0.08); */
  box-shadow: 0px 15px 500px rgba(97, 97, 97, 0.08);
}

/* another hero style */

.hero {
  background-image: url("../img/kotaibah.jpeg");
  background-size: cover;
  background-position: top center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 2;
  position: relative;
}
.hero::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(21, 20, 51, 0.7);

  z-index: -1;
}

/* .hero {
  background-image: url(../img/kotaibah.jpeg);
  background-position: top center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  z-index: 2;
}
.hero::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(21, 20, 51, 0.7);

  z-index: -1;
} */
.btn {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  border-radius: 0;
  padding: 10px 24px;
}
/* Apply styles to the image container */
/* Apply styles to the image container */
.img-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px; /* Add rounded corners to the container */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow */
}

/* Apply styles to the image */
.kot {
  width: 100%; /* Ensure the image takes the full width of its container */
  height: auto; /* Adjust the maximum height as needed */
  display: block;
  transition: transform 0.3s; /* Apply a smooth transition to the image */
}

/* Apply styles to the doctor's name */
.doctor-name {
  position: absolute;
  bottom: -30px; /* Initial position, below the container */
  left: 0;
  width: 100%;
  background-color: rgba(27, 132, 252, 0.7);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  margin: 0;
  transition: bottom 0.3s ease-in-out; /* Apply animation for moving the name */
}

/* Animation for displaying the name on hover */
.img-container:hover .doctor-name {
  bottom: 0; /* Move the name to the center of the image container */
}

/* .kot {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
} */
img {
  max-width: 100%;
  min-height: 100px;
}
.image-zoom {
  position: relative;
}

.image-zoom-wrapper {
  overflow: hidden;
  position: relative;
}

.image-zoom-wrapper img {
  transition: var(--transition);
}
.image-zoom-wrapper .teamImg {
  transition: var(--transition);

  height: 400px;
}

.image-zoom:hover .image-zoom-wrapper img {
  transform: scale(1.1);
}

.section-title {
  margin-bottom: 60px;
}
.section-title .line {
  width: 60px;
  height: 4px;
  background-color: var(--c-brand);
  margin: 16px auto 24px auto;
}

/* About me  */

.Mitgliedschaften {
  margin: 10px 0;
}

.accordion {
  /* width: 600px; */
}
.accordion .dd {
  list-style: none;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  background: #e3edf7;
  box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15),
    -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
}
.accordion .dd .content .resume p {
  line-height: 1.4; /* Line spacing for readability */
}
.accordion li {
  font-weight: 300;
  /* list-style: none;
  width: 100%;
  margin: 10px;
  padding: 10px;
  margin: 5px 0;
  background: #e3edf7;
  box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15),
    -6px -6px 10px -1px rgba(255, 255, 255, 0.7); */
}

.accordion li .aboutLabel {
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}
.aboutLabel::before {
  content: "+";
  margin-right: 10px;
  font-size: 24px;
  font-weight: 600px;
}
input[type="radio"] {
  display: none;
}
.accordion .content .resume {
  margin-bottom: 10px;
}
.accordion .content .resume > h6 {
  margin-bottom: 0;
}
.accordion .content h6 {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
}
.accordion .content p {
  font-size: 18px;
  font-family: sans-serif;
  color: #333;
  font-weight: normal;
  margin: 0;
  padding: 5px 0;
  transition: border-left 0.3s, background-color 0.3s;
}

.accordion .content {
  color: #555;
  padding: 0 10px;
  line-height: 26px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s, padding 0.5s;
}
.accordion input[type="radio"]:checked + .aboutLabel + .content {
  max-height: 800px;
  padding: 10px 10px 20px;
}
.accordion input[type="radio"]:checked + .aboutLabel::before {
  content: "-";
}

/* iconbox-css */
.iconbox {
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--c-brand-rgb), 0.1);
  color: var(--c-brand);
  font-size: 34px;
  flex: none;
}

/* servicesNew-css */
.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card {
  z-index: 1;
  overflow: hidden;
  transition: 0.5s;
}
.card:hover {
  color: white;
}
.card::before {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  background-color: rgba(27, 132, 252, 0.7);
  width: 100%;
  height: 100%;
  transition: 0.5s;
  z-index: -1;
}
.card:hover::before {
  left: 0;
}

/* services-css */
.service {
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.service::after {
  content: "";
  width: 40px;
  height: 40px;
  background: rgba(var(--c-brand-rgb), 0.2);
  position: absolute;
  bottom: 0;
  right: 0;
  transition: var(--transition);
}
.service:hover::after {
  width: 100%;
  height: 100%;
  background-color: var(--c-brand);
  z-index: -1;
}
.service:hover h6 {
  color: white;
  /* font-size: x-large; */
}
.service:hover .iconbox {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}
#services {
  /* background-color: rgba(163, 161, 161, 0.2); */
}
#counter {
  background: linear-gradient(
      rgba(var(--c-brand-rgb), 0.8),
      rgba(var(--c-brand-rgb), 0.8)
    ),
    url(/img/kk.jpeg);
  background-position: center;
  background-size: cover;
}

.portfolio-item .iconbox {
  background-color: var(--c-brand);
  color: white;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.portfolio-item:hover .iconbox {
  opacity: 1;
  top: 50%;
}
/* TEAM */

.team-member-content {
  /* background-color: var(--c-brand); */
  background-color: rgba(27, 132, 252, 0.7);
  backdrop-filter: blur(10px);
  color: #fff;
  position: absolute;
  bottom: -24px;
  left: 50%;
  width: calc(100% - 50px);
  transform: translateX(-50%);
  padding: 20px;
  transition: var(--transition);
  opacity: 0;
}

.team-member:hover .team-member-content {
  opacity: 1;
  bottom: 24px;
}
.teamImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
/* advertisement */
.adv {
  display: flex;
  flex-direction: column;
  border: none;
}
.adv i {
  color: white;
  font-size: 30px;
}
.adv .num {
  color: white;
  font-size: 50px;
}
.adv .num2 {
  color: white;
  font-size: 50px;
}
.adv .text {
  color: gainsboro;
  font-size: 20px;
}

/* reviews */

#reviewsCarousel .carousel-item .card {
  height: 30rem;    /* adjust this value to fit your tallest slide */
}

/* contact us */

#contact {
  position: relative;
  z-index: 2;
  margin-bottom: 100px;
}
#contact::after {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(
      rgba(var(--c-brand-rgb), 0.8),
      rgba(var(--c-brand-rgb), 0.8)
    ),
    url(../img/kotibah2.jpeg);
  background-position: center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
#contact .form-control {
  border-radius: 5px;
}
#contact .form-control:focus {
  box-shadow: none;
  border-color: var(--c-brand);
}
form button {
  padding: 15px;
  background-color: #3498db;
  color: #fff;
  font-size: 18px;
  border: 0;
  outline: none;
  cursor: pointer;
  width: 150px;
  margin: 20px auto 0;
  border-radius: 30px;
}
.section-location {
  margin-bottom: 100px;
}
.map-wrapper {
  max-width: 700px;
}
.time {
  font-size: 50px;
  background: var(--color-primary);
  color: #3498db;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
}
.doctor-hours {
  display: flex;
}
/* .doctor-hours h6 {
  margin: 0 !important;
} */
.doctor-hours li {
  margin: 0 !important;
  list-style: none;
  /* vertical-align: middle; */
  text-align: center;
}
/* .opening-hours h5 {
  color: var(--c-brand);
} */
/* .opening-hours p {
  color: black;
} */

/* Hours and Locations */

.Hours-Location {
  background: linear-gradient(
    90deg,
    #0e3959 0%,
    #0e3959 30%,
    #03a9f5 30%,
    #03a9f5 100%
  );
  position: relative;
  width: 100%;
  padding: 40px 100px;
}
.Hours-Location .title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
}
.Hours-Location .title h2 {
  color: #fff;
}

.form {
  grid-area: form;
}
.info {
  grid-area: info;
}
.map {
  grid-area: map;
}
.box {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 5fr 4fr;
  grid-template-areas:
    "form info"
    "form map";
  grid-gap: 20px;
  margin-top: 20px;
}
.box .contact {
  padding: 40px;
  background-color: #fff;
  box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);
}
.box .contact h3 {
  color: #0e3959;
  font-weight: 500;
  font-size: 1.4em;
  margin-bottom: 10px;
}

/* footer */
footer {
  padding-top: 60px;
}
.footer-top {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-top img {
  height: 300px;
  width: 300px;
}
.footer-bottom {
  padding-top: 40px;
  padding-bottom: 40px;
}

footer li,
footer p,
footer a {
  color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
  color: var(--c-brand);
  text-decoration: none;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer .line {
  width: 40px;
  height: 4px;
  background-color: var(--c-brand);
  margin-top: 12px;
  margin-bottom: 24px;
}
.social-icons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
}
.social-icons a:hover {
  background-color: var(--c-brand);
  color: white;
}
/* .scroll-to-top */

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: #fff;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
}

/* gallery styles */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  cursor: pointer;
}

.gallery-card:hover {
  transform: scale(1.03);
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  text-align: center;
  padding: 10px 12px;
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  line-height: 1.5;
  font-weight: 400;
  word-wrap: break-word;
}

.gallery-card:hover .gallery-caption-overlay {
  opacity: 1 !important;
}


@media (max-width: 768px) and (min-width: 600px) {
  .map {
    /* Styles for screens between 500px and 768px */
    width: 500px;
  }
}

@media (max-width: 590px) {
  .map {
    width: 300px;
    /* height: auto; */
  }
}
