* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f5f5f5;
  height: 100%;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
}
.svg-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.svg-header-white{
  filter: invert(96%) sepia(4%) saturate(18%) hue-rotate(184deg) brightness(104%) contrast(106%);
}

/* .container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
} */

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  color: #fff;
  /* padding: 18px 0; */
  transition: background 0.3s ease;
  /* background-color: transparent;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); */
}

header.active{
  background: #797979ad !important;
}

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

.logo {
  font-size: 1rem;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Behandlung Hover Dropdown */

.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: white;
  color: black;
  padding: 10px 0;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
}

.has-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content li {
  padding: 10px 20px;
  margin-left: 0;
}

/* .dropdown-content li a {
  color: black;
  text-decoration: none;
} */
.dropdown-content a li {
  color: black;
  text-decoration: none;
}

.dropdown-content li:hover {
  background-color: #f0f0f0;
}

.dropdown-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.has-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
}

/* End of Behandlung hover dropdown */

.hero {
  width: 100vw;
  overflow: hidden;
}

.hero {
  margin-top: -116px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 60px 0;
  padding-left: 30px;
  height: 100vh;
  background: #f5f5f5;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
  z-index: 1;
}


.hero-text {
  flex: 1;
  z-index: 2;
  padding: 20px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 24px;
  margin-bottom: 20px;
}

.hero-text {
  max-width: 700px;
  animation: fadeInUp 1s ease-in-out;
  transition: all 0.5s ease;
}

.sliding-text {
  position: relative;
  height: 160px;
  font-size: 4rem;
  line-height: 1.2;
  overflow: hidden;
  width: 75rem;
}

.sliding-text span {
  /* opacity: 1 !important; */
  position: absolute;
  opacity: 0;
  width: 100%;
  transform: translateY(100%);
  animation: fadeSlide 12s infinite ease-in-out;
}

.sliding-text,
.hero-text p {
  position: relative;
  z-index: 2;
}

.sliding-text span:nth-child(1) { animation-delay: 0s; }
.sliding-text span:nth-child(2) { animation-delay: 4s; }
.sliding-text span:nth-child(3) { animation-delay: 8s; }

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  5% {
    opacity: 1;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(0);
  }
  35% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}



/* .btn {
  background: #ff3b5f;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
}

.btn:hover  {
  background-color: #ff2049;

} */

a {
  text-decoration: none;
  color: inherit;
}

.fancy-btn {
  position: relative;
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  color: white;
  background-color: #012B62;
  border: 2px solid #012B62;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.4s ease;
  z-index: 1;
}

.fancy-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: white;
  transition: left 0.4s ease;
  z-index: -1;
}

.fancy-btn:hover::before {
  left: 0;
}

.fancy-btn:hover {
  color: #012B62;
}

footer {
  text-align: center;
  padding: 20px;
  background: #0c1c2c;
  color: #fff;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}


.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:hover{
  color:#c1e0ff;
}

.menu-dot {
  display: none;
  position: relative;
  cursor: pointer;
  font-size: 28px;
  user-select: none;
  padding: 0px 15px;
  border: 2px solid;
  border-radius: 5px;
  /* border-color: white; */
}


.menu-dot .dropdown {
  position: absolute;
  top: 30px;
  right: 0;
  background: #0c1c2c;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  width: 150px;
  display: none;
  z-index: 10;
}

.menu-dot .dropdown li {
  padding: 8px 20px;
}

.menu-dot .dropdown li:hover {
  background-color: #183755;
}

/* Our Services card infos */

.services-carousel-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.services-carousel {
  overflow: hidden;
  width: 100%;
}

.services-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

.service-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
}

.services-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  z-index: 2;
}

.services-btn.prev {
  left: 10px;
}

.services-btn.next {
  right: 10px;
}

.service-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.category-btn {
  padding: 10px 20px;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
  background: #ff3b5f;
  color: white;
  border-color: #ff3b5f;
}

.services {
  text-align: center;
  padding: 60px 20px 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.subtitle {
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 5px;
  text-align: center;
}

.title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  margin-left: 4%;
}

.service-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  max-width: 360px;
  padding: 60px 20px 60px 20px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.5s ease;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.card-content p {
  margin: 0;
  margin-bottom: 10px;
  font-size: 1rem;
}

.more-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 59, 95, 1);
  color: white;
  opacity: 0;
  transform: translateY(40px);
  border: 9px solid transparent;
  padding: 30px 22px;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  pointer-events: none;
  z-index: 0;
}

.card:hover {
  background: #6495ED;
}

.card:hover .svg-service {
  filter: invert(100%) brightness(200%);
}
.card:hover .p-service {
  filter: invert(100%) brightness(200%);
}

.more-info {
  pointer-events: none;
}

.card {
  position: relative;
  overflow: hidden;
}

.more-info p {
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.card:hover .more-info p {
  transform: translateY(0);
  opacity: 1;
}

.card:hover .more-info {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* .filter-red {
  filter: invert(42%) sepia(38%) saturate(1591%) hue-rotate(311deg) brightness(100%) contrast(85%);
  transition: filter 0.3s ease;
} */

.card {
  position: relative;
  z-index: 1;
}

.svg-service {
  position: relative;
  z-index: 3;
  filter: invert(58%) sepia(29%) saturate(3095%) hue-rotate(195deg) brightness(98%) contrast(90%);
  transition: filter 0.3s ease;
}

.svg-service {
  z-index: 9999;
  height: 65px;
  width: 65px;
  margin: 0 0 20px 0;
}

/* about us section */

.aboutus {
  padding-bottom: 50px;
  background: #f9f9f9;
}

.gradient {
  background: linear-gradient(to bottom, #ffffff, #f0f0f0);
  padding: 30px 0;
}

/* .split-bg {
  background: linear-gradient(to right, red 25%, darkblue 25%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
} */

/* .gradient {
  background-image: linear-gradient(
    240deg,
    hsl(210deg 57% 11%) 0%,
    hsl(215deg 54% 15%) 13%,
    hsl(224deg 44% 21%) 25%,
    hsl(239deg 32% 27%) 36%,
    hsl(258deg 34% 30%) 47%,
    hsl(276deg 36% 33%) 57%,
    hsl(294deg 38% 35%) 66%,
    hsl(310deg 44% 38%) 75%,
    hsl(321deg 52% 43%) 83%,
    hsl(329deg 59% 47%) 89%,
    hsl(335deg 68% 52%) 95%,
    hsl(342deg 83% 56%) 99%,
    hsl(349deg 100% 62%) 100%
  );
    padding: 80px 0px;
} */

/* .section-bg {
  background-image: url('../images/aboutus.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
} */

.aboutus-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.text-box {
  flex: 1 1 400px;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
}

.text-box h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.text-box p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #eee;
}

.image-box {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-box img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Fullscreen Slider + Images */

.carousel-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}


.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.carousel-track img {
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}
.carousel-track2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 300vw; /* 100vw per image times number of images */
  height: 100%;
  display: flex; /* makes images sit horizontally */
  transition: transform 1s ease-in-out;
  z-index: 0;
  pointer-events: none;
}

.carousel-track2 img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  flex-shrink: 0;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 2;
  border: none;
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.pinterest-grid {
  columns: 3 250px;
  column-gap: 20px;
  margin: 40px 20px;
}

.pinterest-grid img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 10px;
  display: block;
  break-inside: avoid;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.pinterest-grid img:hover {
  transform: translateY(-10px);
}

@media (max-width: 768px) {
  /* .carousel-track img {
    height: 250px;
  } */
  .pinterest-grid {
    columns: 2 150px;
  }
}


/* Reviews & Achievements */

.testimonials-achievements {
  background-color: #fff;
  padding: 160px 20px 220px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #222;
}

.testimonial-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
}

.testimonial-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
}

.achievement-item h3 {
  font-size: 2.2rem;
  color: #e63946;
  margin-bottom: 10px;
}

.achievement-item p {
  font-size: 1rem;
  color: #333;
}


/* hr red line in the middle */
  hr {
    border: 0;
    height: 1px;
    width: 10%;
    position: relative;
    margin: 30px auto;
    background: #e63946;

  }

  hr.center-diamond {
    background: #e63946;
  }


  /* Our Team */
  .team-section {
  background: url('your-background-image.jpg') no-repeat center center/cover;
  padding: 120px 20px;
  color: #222;
  text-align: center;
  }

  .team-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
  }

  .team-member {
    max-width: 400px;
    width: auto;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
    background: transparent;
  }

  .team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  }

  .team-member img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }

  .info-box {
    background: white;
    padding: 15px 20px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    color: #222;
    text-align: center;
    box-sizing: border-box;
  }

  .info-box h3 {
    margin: 0 0 5px;
    font-size: 1.2rem;
    font-weight: 600;
  }

  .info-box p {
    margin: 0;
    font-size: 1rem;
    color: #555;
  }

/* Partners */

.partner-logos {
  padding: 100px 40px 50px 40px;
  overflow: hidden;
}

.partner-logos h2{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.logos-scroll {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  min-width: 2000px; 
  animation: scroll 30s linear infinite;
}

.logo-track img {
  height: 60px;
  margin: 0 40px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  .sliding-text {
    font-size: 3.5rem;
    height: 150px;
  }
}

@media (max-width: 770px) {

  .nav-links {
    display: none; 
  }
  .menu-dot {
    display: block; 
  }
  nav ul li {
    margin-left: 0px;
  }
 .aboutus-content {
    flex-direction: column;
    text-align: center;
  }

  .text-box, .image-box {
    width: 100%;
  }

  .text-box {
    padding: 30px 20px;
  }
  .sliding-text {
    font-size: 1.4rem;
    height: 50px;
    width: 20rem;
  }
  .hero-text p {
    font-size: 1.2rem;
  }
  .title{
    font-size: 2.5rem
  }
  .logo-track {
    animation-duration: 15s;
  }
}

@media (min-width: 768px) {

  .container {
    max-width: 720px;
  }
  .sliding-text {
    font-size: 2.5rem;
    height: 110px;
  }

}

@media (min-width: 576px) {

  .container {
    max-width: 540px;
  }
  .sliding-text {
    font-size: 2rem;
    height: 70px;
    width: 30rem;
  }

}

@media (max-width: 400px) {
  .sliding-text {
    font-size: 1.4rem;
    height: 50px;
    width: 15rem;
  }

}


@media (max-width: 320px) {
  .aboutus-content {
    flex-direction: column;
    text-align: center;
  }

  .text-box, .image-box {
    width: 100%;
  }

  .text-box {
    padding: 30px 20px;
  }
  .sliding-text {
    font-size: 1.5rem;
    height: 60px;
  }
  .logo-track {
    animation-duration: 15s;
  }
}

@media (min-width: 992px) {
  
  .container {
    max-width: 960px;
  }
  .sliding-text {
    font-size: 2.5rem;
    height: 50px;
    width: 50rem;
  }

}


