@font-face {
  font-family: "Brandon Grotesque";
  src: url("./fonts/Brandon_thin.woff2") format("woff2"), url("./fonts/Brandon_thin.woff") format("woff"), url("./fonts/Brandon_thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Brandon Grotesque";
  src: url("./fonts/Brandon_light.woff2") format("woff2"), url("./fonts/Brandon_light.woff") format("woff"), url("./fonts/Brandon_light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Brandon Grotesque";
  src: url("./fonts/Brandon_reg.woff2") format("woff2"), url("./fonts/Brandon_reg.woff") format("woff"), url("./fonts/Brandon_reg.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Brandon Grotesque";
  src: url("./fonts/Brandon_med.woff2") format("woff2"), url("./fonts/Brandon_med.woff") format("woff"), url("./fonts/Brandon_med.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Brandon Grotesque";
  src: url("./fonts/Brandon_bld.woff2") format("woff2"), url("./fonts/Brandon_bld.woff") format("woff"), url("./fonts/Brandon_bld.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Brandon Grotesque";
  src: url("./fonts/Brandon_blk.woff2") format("woff2"), url("./fonts/Brandon_blk.woff") format("woff"), url("./fonts/Brandon_blk.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

body,
div,
p {
  margin: 0;
  padding: 0;
  font-family: "Brandon Grotesque", Arial, sans-serif;
}

/* ---------------------------------------- */
/* A F T E R    B E F O R E    S T Y L E
/* ---------------------------------------- */
#before-after {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
  z-index: 1;
  overflow: hidden;
}

#before-after img {
  max-width: none;
}

.view {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.view-before {
  z-index: 100;
  background-color:#ED1651;
}

.view-after {
  z-index: 200;
  background: #48999d;
}

.wrapper-after,
.wrapper-before {
  position: relative;
  height: 100%;
}

.wrapper-after .img-banner-wrapper,
.wrapper-before .img-banner-wrapper {
  margin: 0 auto;
  z-index: 9;
  position: relative;
}

.img-banner-wrapper {
  width: 100%;
  max-width: 95vw;
  height: 100%;
  max-height: 50vh;
  display: block;
}

.img-banner-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px 0px 50vw 50vw;
}

#dragme {
  position: absolute;
  width: 2px;
  height: 100%;
  top: 0px;
  left: 0px;
  background-color: #ffffff;
  cursor: pointer;
  z-index: 300;
}

#dragme .icon-drag {
  width: 50px;
  height: 50px;
  display: block;
  position: absolute;
  top: 50%;
  left: -25px;
  margin-top: -25px;
  background-color: #ffffff;
  border-radius: 50%;
}

#dragme .icon-drag:before,
#dragme .icon-drag:after {
  font-weight: 900;
  font-family: "Brandon Grotesque";
  position: absolute;
  width: 30px;
  height: 30px;
  background-size: contain;
  top: 11px;
}

#dragme .icon-drag:before {
  content: "";
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgNjQgNjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiIGNsYXNzPSIiPjxnPjxwYXRoIGQ9Ik00Mi41IDU1YTEuOTkyIDEuOTkyIDAgMCAxLTEuNDE0LS41ODZsLTIxLTIxYTIgMiAwIDAgMSAwLTIuODI4bDIxLTIxYTIgMiAwIDEgMSAyLjgyOCAyLjgyOEwyNC4zMjkgMzJsMTkuNTg1IDE5LjU4NkEyIDIgMCAwIDEgNDIuNSA1NXoiIGZpbGw9IiNkMTIyMmEiIG9wYWNpdHk9IjEiIGRhdGEtb3JpZ2luYWw9IiMwMDAwMDAiIGNsYXNzPSIiPjwvcGF0aD48L2c+PC9zdmc+);
}

#dragme .icon-drag:after {
  content: "";
  right: 0px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB4PSIwIiB5PSIwIiB2aWV3Qm94PSIwIDAgNjQgNjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiIGNsYXNzPSIiPjxnIHRyYW5zZm9ybT0ibWF0cml4KC0xLDAsMCwxLDY0LjAyNTAxMjk2OTk3MDcsMCkiPjxwYXRoIGQ9Ik00Mi41IDU1YTEuOTkyIDEuOTkyIDAgMCAxLTEuNDE0LS41ODZsLTIxLTIxYTIgMiAwIDAgMSAwLTIuODI4bDIxLTIxYTIgMiAwIDEgMSAyLjgyOCAyLjgyOEwyNC4zMjkgMzJsMTkuNTg1IDE5LjU4NkEyIDIgMCAwIDEgNDIuNSA1NXoiIGZpbGw9IiM0ODk5OWQiIG9wYWNpdHk9IjEiIGRhdGEtb3JpZ2luYWw9IiMwMDAwMDAiIGNsYXNzPSIiPjwvcGF0aD48L2c+PC9zdmc+);
}

.content-right,
.content-left {
  max-width: 50%;
  width: 100%;
}

.content-right .container,
.content-left .container {
  margin: 50px 0px;
  display: flex;
  flex-direction: column;
  max-width: 700px;
}
.content-right .container {
  align-items: flex-end;
}
.content-left .container {
  align-items: flex-start;
}

.logo_wrapper {
  max-height: 100px;
  width: 100%;
  max-width: 100%;
  display: flex;
}

.content-left .logo_wrapper {
  justify-content: flex-start;
}

.content-right .logo_wrapper {
  justify-content: flex-end;
}

.logo_wrapper img[alt*="Spitex"] {
  height: 100px;
  aspect-ratio: 9 / 3;
}

.logo_wrapper img[alt*="Hijama"] {
  height: 100px;
  aspect-ratio: 7 / 3;
}

.container .heading h2 {
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
  margin: 30px 0px 0px 0px;
}

.container .description {
  font-size: 16px;
  color: #ffffff;
  margin-top: 20px;
}

.container .cta {
  margin-top: 30px;
  color: #fff;
  font-size: 16px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.container .cta a.primary_button {
  text-decoration: none;
  padding: 10px 48px;
  background-color: #ffffff;
  border-radius: 10px;
  font-weight: 600;
  border: 2px solid #ffffff;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.left-position .container .cta a.primary_button {
  color: #48999d;
}

.right-position .container .cta a.primary_button {
  color: #ED1651;
}

.container .cta a.primary_button:hover {
  background-color: transparent;
  color: #ffffff;
  transition: all 0.3s ease-in-out;
}

.container .cta a.secondary_button {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  font-weight: 700;
}

.container .cta a.secondary_button:hover svg {
  transform: rotate(360deg);
  transition: all 0.3s ease-in-out;
}

.container .cta a > svg {
  width: 20px;
  height: 14px;
}

.content-before-after {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-around;
}

.content-right .description {
  text-align: right;
}

.img-banner-wrapper,
.content-before-after {
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1400px) {
  .content-right,
  .content-left {
    margin: 0 15px;
  }
}

.view-after .content-right,
.view-before .content-left {
  visibility: hidden;
  opacity: 0;
}

@media (max-width: 767px) {
  .view-after .content-right,
  .view-before .content-left {
    display: none;
  }

  .view-after .content-left,
  .view-before .content-right {
    max-width: 100%;
  }

  .logo_wrapper {
    max-width: 250px;
  }
  .container .heading h2 {
    font-size: 2rem;
  }
  .container .cta a.primary_button {
    padding: 10px 20px;
  }

  .logo_wrapper img {
    height: 80px !important;
  }
}

a {
  text-decoration: none;
  color: #ffffff;
}

@media (max-width: 767px) {
  .img-banner-wrapper {
    display: none;
  }

  #dragme {
    width: 100%; /* Now spans the width of the screen for vertical drag */
    height: 2px; /* Thin horizontal line for the vertical drag */
    top: 0px;
    left: 0px;
  }

  #dragme .icon-drag {
    left: calc(50% - 12.5px); /* Center horizontally */
    rotate: 90deg;
  }

  .content-before-after {
    flex-direction: column;
  }

  .content-right,
  .content-left {
    margin: 0;
  }
  .content-before-after {
    height: 100%;
  }
  .view-after .content-before-after {
    justify-content: flex-start;
    background-image: url("./images/spitex_banner.webp"), linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5));
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
  }

  .view-before .content-before-after {
    justify-content: flex-end;
    background-image: url("./images/hijama_banner.webp"), linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9));
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
  }

  .content-right .container,
  .content-left .container {
    margin: 50px 15px;
  }

  .content-right .container,
  .content-left .container {
    align-items: center;
  }

  .description {
    text-align: center !important;
  }
  #before-after img {
    max-width: 100%;
  }

  .content-left .logo_wrapper,
  .content-right .logo_wrapper {
    justify-content: center;
  }
  /* .view-after, view- {
    margin: 15px;
  } */
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  color: #333333;
  padding: 15px;
  text-align: center;
  border-top: 1px solid #333333;
  box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cookie-consent a {
  color: #333333;
  text-decoration: underline;
}

.cookie-consent button {
  background-color: #333333;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin-left: 10px;
  border: 1px solid #333333;
}

.cookie-consent button:hover {
  background-color: #ffffff;
  color: #333333;
}

/* Full-screen black overlay */
.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Black with slight transparency */
  z-index: 1000; /* Behind the consent banner */
  pointer-events: none; /* No interaction with the overlay */
}

/* Disable interactions for the entire page */
body.blocked {
  overflow: hidden; /* Prevent scrolling */
  pointer-events: none; /* Disable clicks */
}

body.blocked .cookie-consent,
body.blocked .cookie-consent button {
  pointer-events: auto; /* Allow interactions with the consent banner */
}
.cookie-page a {
  color: #333333;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .cookie-consent {
    flex-direction: column;
    gap: 30px;
  }
}


.cookie-page{
display: block;
    box-sizing: border-box;
    max-width: 1400px;
    margin: 0 auto;
}

.cookie-page h1, 
.cookie-page h2, 
.cookie-page h3,
.cookie-page h4, 
.cookie-page h5, 
.cookie-page h6,
.cookie-page a{
  color:#ED1651;
}
