* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  gap: 20px;
}

p {
  display: block;
  /* margin-block-start: 1em;
    margin-block-end: 1em; */
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
  letter-spacing: 0em;
  line-height: 28px;
  color: rgba(0, 0, 0, 1);
  font-size: 16px;
}

body {
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
}

/* Top bar */
.top-bar {
  background-color: #027c90;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 8px 13rem;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Ensure it's above other elements */
}

@media (max-width: 500px) {
  .top-bar {
    display: none;
  }
}

.social-icons span {
  margin-left: 10px;
}
/* GENERAL STYLES */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 13rem;
  background: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 36px;
  z-index: 999;
}

.logo img {
  width: 120px;
}

#menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  z-index: 9999;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a,
.dropdown-header {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  list-style: none;
  min-width: 180px;
  z-index: 1000;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background: #027c90;
  color: white;
}

/* Desktop hover only */
@media (min-width: 501px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* MOBILE VIEW */
@media (max-width: 500px) {
  header{
    padding: 10px 1rem;
    position: relative;
    top: 0;
  }
  #menu-icon {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background-color: #bfbfbf;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    padding: 25% 30%;
    overflow-y: auto;
    padding-top: 12rem;
    text-align: center;
    z-index: 1000;
  }

  #nav-menu.show {
    display: flex;
  }

  nav a,
  .dropdown-header {
    padding: 1rem;
    font-size: 1.5rem;
    border-bottom: 1px solid #444;
    /* width: 100%; */
    text-align: left;
    color: #000;
  }

  .dropdown-menu {
    display: none;
    flex-direction: column;
    background-color: #bfbfbf;
    width: 100%;
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding-left: 1.5rem;
    margin-top: 0;
  }

  .dropdown-menu.show {
    display: flex;
  }

  .dropdown-menu li a {
    font-size: 1.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #999;
  }
}


.user-actions span {
  margin-left: 15px;
}

/* Hero Section */
#hero {
  background-image: url('assets/hero-bg.avif');
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 80vh;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 13rem;
  background: #f8f9fa;
}

@media (max-width: 500px) {
  .hero {
    display: block;
    padding: 9rem 1rem;
  }
}

.hero-content {
  max-width: 70%;
}

@media (max-width: 500px) {
  .hero-content {
    max-width: 100%;
  }
}

.hero-content h1 {
  color: #00bfbf;
  font-size: 40px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 40px;
}

.hero-buttons .btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  margin-right: 10px;
}

.btn.primary {
  background-color: #00bfbf;
  color: white;
}

.btn.secondary {
  border: 2px solid #00bfbf;
  color: #00bfbf;
}

.hero-image img {
  width: 500px;
  max-width: 100%;
  border-radius: 10px;
}

.why-vitaler-section {
  background-image: url('assets/second-bg.avif');
  padding: 60px 13rem;
}

@media (max-width: 500px) {
  .why-vitaler-section {
    padding: 20px 1rem;
  }

}

.why-vitaler-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

@media (max-width: 500px) {
  .why-vitaler-container {
    flex-direction: column;
    align-items: center;
  }
}

.why-vitaler-images {
  position: relative;
  flex: 1;
}

.main-img {
  width: 80%;
  border-radius: 10px;
}

.overlay-img {
  position: absolute;
  width: 40%;
  bottom: -30px;
  left: 77%;
  transform: translateX(-50%);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.why-vitaler-text {
  flex: 1;
}

.why-vitaler-text h2 {
  color: #027c90;
  /* font-size: 28px; */
  margin-bottom: 20px;
}

.why-vitaler-text p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 1);
  margin-bottom: 30px;
  letter-spacing: 0em;
}

.highlight-box {
  background-color: #4fa3b7;
  color: white;
  margin-top: 7%;
  padding: 20px;
  /* border-radius: 5px; */
  font-size: 15px;
  line-height: 1.5;
}

.highlight-box img {
  width: 20%;
  height: auto;
  border-radius: 10px 10px 0 0;
  margin-bottom: 15px;
}
 .highlight-box a:link {
    color: white;
    /* text-decoration: none;  Unterstreichung entfernen */
  }
  /* Bereits besuchter Link */
  a:visited {
    color: pink;
  }
  /* Bei Mauszeiger-Berührung (Hover) */
.highlight-box  a:hover {
    color: red;
    text-decoration: underline; /* Unterstreichung hinzufügen */
  }
  /* Aktiver Link (beim Klicken) */
.highlight-box  a:active {
    color: yellow;
  }

.topics-section {
  /* background: #fff; */
  /* padding: 80px 13rem; */
  text-align: center;
}

.topics-header h2 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 60px;
  background: url('assets/doctor-bg.avif') no-repeat center center / cover;
  padding: 3rem 0 13rem 0;
  position: relative;
  z-index: -99999;
  overflow: hidden;
  /* border-radius: 10px; */
}

.topics-header h2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Dark overlay */
  z-index: -999;
  /* Behind the text */
}

/* .topics-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0); 
    border-radius: 10px;
    z-index: 0;
  } */

.topics-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: -12rem;
}

@media (max-width: 500px) {
  .topics-grid {
    flex-direction: column;
    align-items: center;
  }
}

.topic-card {
  background: white;
  border: 1px solid #c0e9f0;
  border-radius: 10px;
  width: 20%;
  margin: 0 1rem;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 500px) {
  .topic-card {
    width: 90%;
    margin: 10px 0;
  }
}

.topic-card img {
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
  margin-bottom: 15px;
}

.topic-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

.topic-card p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.topic-card a {
  color: #01b1c2;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

.topic-card a span {
  margin-left: 5px;
}

.omega-3-section {
  display: flex;
  margin-top: 4%;
  /* margin: 2rem;
    padding: 2rem; */
}

@media (max-width: 500px) {
  .omega-3-section {
    flex-direction: column;
    align-items: center;
  }
}

.left,
.right {
  width: 50%;
  padding: 40px;
  box-sizing: border-box;
}

@media (max-width: 500px) {

  .left,
  .right {
    width: 100%;
    padding: 20px;
  }
}

.left {
  background-color: white;
  color: #000;
  padding: 5rem;
}

.left h1 {
  font-size: 40px;
  color: #5291d6;
  text-align: right;
  letter-spacing: 0.1em;
}

@media (max-width: 500px) {
  .left h1 {
    text-align: center;
    font-size: 20px;
  }
}

.left p {
  margin-top: 5%;
}

.right {
  background-color: #ed6b6a;
  color: white;
  padding: 5rem;
}

@media (max-width: 500px) {
  .left {
    padding: 20px;
  }

  .right {
    padding: 20px;
  }
}

.right p {
  margin-bottom: 20px;
  line-height: 30px;
}

.bold {
  font-weight: bold;
}

.footer {
  background-color: #007a96;
  color: white;
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  flex-wrap: wrap;
}

@media (max-width: 500px) {
  .footer {
    flex-direction: column;
    align-items: left;
  }
}

.footer-section h3 {
  font-size: 25px;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 14px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.footer-contact-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-bottom {
  background-color: #f7941d;
  color: black;
  text-align: center;
  padding: 20px 0;
  font-size: 18px;
}

.logo {
  font-weight: bold;
  margin-top: 10px;
}

#omega-hero {
  background-image: url('assets/omega-bg.avif');
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 50vh;
  position: relative;
  z-index: -99999;
  overflow: hidden;
}

#omega-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Dark overlay */
  z-index: -999;
  /* Behind the text */
}

#omega-hero h1 {
  color: white;
  font-size: 40px;
  margin-bottom: 20px;
  text-align: center;
  padding-top: 10%;
}
@media (max-width: 500px) {
  #omega-hero {
    height: 25vh;
    padding-top: 13%;
  }
}


#poly-hero {
  background-image: url('assets/poly.avif');
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 50vh;
  position: relative;
  z-index: -99999;
  overflow: hidden;
}

#poly-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Dark overlay */
  z-index: -999;
  /* Behind the text */
}

#poly-hero h1 {
  color: white;
  font-size: 40px;
  margin-bottom: 20px;
  text-align: center;
  padding-top: 10%;
}

@media(max-width: 500px){
  
#poly-hero {
   height: 25vh;
   padding-top: 13%;
}
}
#darm-hero {
  background-image: url('assets/darma.avif');
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 50vh;
  position: relative;
  z-index: -99999;
  overflow: hidden;
}

#darm-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Dark overlay */
  z-index: -999;
  /* Behind the text */
}

#darm-hero h1 {
  color: white;
  font-size: 40px;
  margin-bottom: 20px;
  text-align: center;
  padding-top: 10%;
}
@media (max-width: 500px){
  #darm-hero{
    height: 25vh;
    padding-top: 13%;
  }
}

#beta-hero {
  background-image: url('assets/beta.avif');
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 50vh;
  position: relative;
  z-index: -99999;
  overflow: hidden;
}
@media (max-width : 500px){
  
#beta-hero {
  height: 25vh;
  padding-top: 13%;

}
}
#beta-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Dark overlay */
  z-index: -999;
  /* Behind the text */
}

#beta-hero h1 {
  color: white;
  font-size: 40px;
  margin-bottom: 20px;
  text-align: center;
  padding-top: 10%;
}

.omega-2 h1 {
  font-size: 40px;
  color: black;
  text-align: center;
  margin-top: 5rem;
}

.omega-2 .content-1 {
  display: flex;
  padding: 5rem;
}
@media (max-width: 500px) {
  .omega-2 .content-1 {
    flex-direction: column;
    padding: 2rem;
  }
}

.omega-2 .content-1 div {
  width: 50%;
  padding: 2rem;
  box-sizing: border-box;
  align-items: center;
  text-align: center;
}
@media (max-width: 500px) {
  .omega-2 .content-1 div {
    width: 100%;
    padding: 1rem;
  }
  
.omega-2 .content-1 div img{
  width: 100%;
}
}

.omega-2 .content-1 div p {
  margin-top: 2%;
  /* font-weight: 500; */
  font-size: 18px;
  color: black;
}

.custom-dropdown {
  max-width: 100%;
  margin: 2rem auto;
  background-color: #e6f9f9;
  padding: 6rem 15rem;
  border-radius: 5px;
  font-family: sans-serif;
}
@media (max-width: 500px) {
  .custom-dropdown {
    padding: 2rem 1rem;
  }
}

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* font-weight: bold; */
  cursor: pointer;
  /* border-bottom: 1px solid #000;  */
  padding-bottom: 0.5rem;
}

.dropdown-header .icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.dropdown-content {
  margin-top: 1rem;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.dropdown-header.active .icon {
  transform: rotate(45deg);
  /* turns "+" into "x"/minus visually */
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.body-section {
  text-align: center;
}

.body-section h1 {
  /* width: 60%; */
  font-size: 26px;
  padding: 2% 15%;
}

.category-content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.category-content {
  display: none;
  /* align-items: center; */
  gap: 2rem;
  padding: 2rem;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
  flex-wrap: wrap;
}

.category-content.active {
  display: flex;
  width: 100%;
}

.category-content img {
  width: 45%;
  /* height: 50vh; */
}
@media (max-width: 500px) {
  .category-content img {
    width: 100%;
    height: auto;
  }
}
.category-content div {
  width: 45%;
}
@media (max-width: 500px) {
  .category-content div {
    width: 100%;
  }
}
.category-content div ul {
  padding: 5%;
}

.category-content div h2 {
  font-size: 32px;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: left;
  margin: 2rem auto;
  max-width: 1100px;
}

.category-buttons button {
  font-size: 16px;
}

.category {
  padding: 0.8rem 1.6rem;
  background-color: white;
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  color: #316ed4;
}

.category:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.category.active {
  background-color: #1d5380;
  color: white;
}

.section-1 {
  text-align: center;
}
@media (max-width:500px){
  
.section-1 {
  flex-direction: column-reverse;
}

.section-1 img{
  width: 100%;
}
}
.section-1 h1 {
  font-size: 40px;
  margin: 5rem;
}

.section-2 {
  display: flex;
  padding: 2%;
  background: rgba(241, 241, 241, 0.329);
}
@media (max-width:500px){
  
.section-2{
  /* flex-direction: column; */
 display: block;
}
}

.section-2 div {
  padding: 3%;
}

.section-2 div h1 {
  font-size: 30px;
}

.section-3 {
  display: flex;
  padding: 2%;
} 
@media (max-width:500px){
  
.section-3 {
  flex-direction: column-reverse;
}
.section-3 div img{
  width: 100%;
}
.section-3 div {
  width: 100%;
}
}

.section-3 div {
  padding: 3%;
}

.section-3 div h1 {
  font-size: 30px;
}

.blue-section {
  background-color: #e5f9f8;
  padding: 3% 12%;
}

.poly-first {
  background-color: #02c9b8;
  text-align: center;
  padding: 5%;
  margin: 5% 0%;
}

.poly-first h1 {
  color: white;
  font-size: 32px;
}

.poly-first p {
  color: white;
  margin: 2%;
}