html {
  scroll-behavior: smooth;
}

:root {
  --text: #ffffff;
}

[data-aos] {
  pointer-events: auto !important;
}

.aos-init {
  transition-property:
    transform,
    opacity !important;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  font-size: clamp(12px, 5vw, 15px);
  line-height: clamp(24px, 5vw, 28px);
}


/* Hero */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 1199.98px) {
  .container {
    width: 100%;
    max-width: 100%;
  }

  section {
    padding: 100px 24px;
  }
}

.bg-dark-01 {
  background-color: #004555;
}

.bg-dark-02 {
  background-color: #025867;
}

.bg-dark-03 {
  background-color: #176271;
}

.bg-dark-04 {
  background-color: #266d7b;
}

.bg-light-01 {
  background-color: #eff0e9;
}

.bg-gradient-01 {
  background-color: hsl(192, 100%, 17%);
  background-image: radial-gradient(ellipse farthest-side at center top, hsl(189, 96%, 21%) 0%, hsl(192, 100%, 17%) 80%);
  ;
}

.bg-orange {
  background-color: #ff6d46;
}

.text-orange {
  color: #ff6d46;
}

.tp-container {
  border-radius: 16px;
  padding: 80px 68px;
}

@media (max-width: 768px) {
  .tp-container {
    padding: 60px 24px;
  }

  section {
    padding: 100px 12px;
  }
}

 ul.dropdown-menu li a.dropdown-item, li.dropdown a{
  font-family: "Noto Color Emoji", sans-serif;
  font-weight: 400;
  font-style: normal;
 }

/* Navbar */

.navbar {
  /* background: rgba(0,69,85,0.75); */
  /* background: rgba(255, 255, 255, 0.07); */
  /* background: rgba(23, 98, 113, 0.7); */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8px 16px;
  border: 1px solid #FFFFFF1A !important;
  border-radius: 16px;
}

@media (max-width: 576px) {
  .navbar {
    border-radius: 0px 0px 16px 16px;
  }
}

.navbar-bg {
  background: rgba(255, 255, 255, 0.07);
}

.navbar-bg-pos {
  background: rgba(23, 98, 113, 0.7);
}

.navbar-brand {
  font-weight: 800;
  font-size: 2.4rem;
  color: white !important;
}

.navbar .navbar-brand img#thumb {
  max-height: 32px;
  margin-left: 6px;
}

.navbar .navbar-brand img#logo {
  max-height: 50px;
  transition: 0.4s;
}

@media (max-width: 390px) {
 .navbar .navbar-brand img#thumb {
  max-height: 24px;
  margin-left: 2px;
}

.navbar .navbar-brand img#logo {
  max-height: 42px;
  transition: 0.4s;
}
}

.nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
  transition: 0.3s ease;
  /* margin-left: 18px; */
}

.nav-link:hover {
  color: white !important;
}

.navbar-nav .nav-link.active {
 color: white !important;
}

  ul.list-diensten {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    border: 1px solid #FFFFFF1A !important;
    border-bottom: 0px!important;
    position: absolute;
    bottom: 0px;
    right: 0px;
    list-style: none;
    padding: 12px 24px;
    margin: 0px;
    border-top-left-radius: 16px;
  }


  ul.list-diensten li {
    border-right: 1px solid rgba(255, 255, 255, .3);
  }

  ul.list-diensten li a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75) !important;
  transition: 0.3s ease;
  padding-right: 16px;
  }

   ul.list-diensten li a:hover {
  color: rgba(255, 255, 255, 1) !important;
  }

  ul.list-diensten li:last-child a{
    padding-right: 0px;
  }

    ul.list-diensten li:last-child {
    border-right: 0px solid rgba(255, 255, 255, .3);
  }

  ul.list-diensten li a.active{
color: rgba(255, 255, 255, 1) !important;
  }


p {
  color: #ffffffCC;
}

.theme-text {
color: #ffffffCC;
}
.textdark {
  color: #004555;
}
.textorange {
  color: #ff6d46;
}

h1 {
  font-weight: 100 !important;
  letter-spacing: 0.5px;
  font-size: clamp(32px, 5vw, 48px);
}

h2 {
  font-weight: 100 !important;
  letter-spacing: 0.5px;
  font-size: clamp(28px, 5vw, 38px);
}

h1 strong,
h2 strong {
  color: #ff6d46;
  font-weight: 500;
}

.tp-container div h2 {
  padding-bottom: 80px;
}

@media (max-width: 576px) {
  .tp-container div h2 {
    padding-bottom: 24px;
  }
}

h3 {
  color: #ffffff;
  letter-spacing: 0.5px;
  font-size: clamp(13px, 5vw, 16px);
}

/* Link hover */
.hover-text {
  text-decoration: none;
  color: #fff;
  display: inline-block;
}

.hover-text span {
  display: inline-block;
  transition: color 0.25s ease;
}

.hover-text:hover span {
  color: #ff6d46;
}

/* card */
.card {
  border: 1px solid #FFFFFF1A !important;
}

.border-top-opacity {
  border-top: 1px solid #FFFFFF33 !important;
}

.border-opacity {
  border: 1px solid #FFFFFF80 !important;
}

.card-body {
  padding: 28px;
}

.card-body p {
  margin-bottom: 0px;
}

.card-top {
  padding: 16px;
  padding-bottom: 0px;
  z-index: +1;
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ff6d46;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 20px;
  margin-bottom: 32px;
  position: relative;
}

.card-top .icon-circle {
  margin-bottom: 0px;
  margin-top: -48px;
  margin-right: 20px;
  float: right;
}


/* Speeltuin */
@keyframes softBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.bounce-soft {
  animation: softBounce 2s ease-in-out infinite;
}

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

/* oranje overlay */
.card-hover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ff6d46;
  z-index: 1;

  transform: scaleX(0);
  transform-origin: right;
  /* belangrijk: start/exit richting */
  transition: transform 0.45s ease;
  border-radius: var(--bs-border-radius-xl) !important;
}

/* hover in: uitklappen van links naar rechts */
.card-hover:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* content boven de overlay */
.card-hover .card-body {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.card-hover:hover .card-body {
  color: #fff;
}

.card-hover .card-overlay {
  position: absolute;
  left: 50%;
  top: 98px;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  z-index: +10;
   opacity: 0;
  visibility: hidden;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

.card-hover:hover .card-overlay {
  opacity: 1;
  visibility: visible;
}


.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* hover state */
.card-hover:hover .icon-circle {
  transform: translateY(-6px);
  background-color: #fff;
  color: #ff6d46;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-hover-extra:hover .rounded-pill.bg-orange {
  background-color: #fff !important;
  color: #ff6d46 !important;
}

.card-hover-extra:hover .badge.bg-orange {
  background-color: #fff !important;
  color: #ff6d46 !important;
}

.card-hover-extra:hover h3.text-orange {
  color: #fff;
}

.subtitel {
  color: #ff6d46;
  font-size: 12px;
  font-weight: 400 !important;

  position: relative;
  padding-left: 30px;

  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
}

.subtitel::before {
  content: "";
  position: absolute;

  left: 0;
  top: 50%;
  transform: translateY(-50%);

  width: 20px;
  height: 20px;

  background-image: url("../img/icon-tp.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.number {
  color: #e9eae4;
  font-weight: 700;
  font-size: 40px;
  margin-top: -10px;
}

@media (max-width: 576px) {
  .number {
    font-size: 20px;
  }
}

/* btn primary */
.btn-primary {
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
  z-index: 5;
  transition: all .5s ease-in-out;
  position: relative;
  overflow: hidden;
  background-color: #ff6d46 !important;
  color: #fff;
  border: none;
  border-radius: 50px;
}

.btn-primary:hover {
  color: #ff6d46;
  z-index: +1;
}

/* oranje overlay */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: -1;

  transform: scaleX(0);
  transform-origin: right;
  /* belangrijk: start/exit richting */
  transition: transform 0.45s ease;
  border-radius: var(--bs-border-radius-xl) !important;
}

/* hover in: uitklappen van links naar rechts */
.btn-primary:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* btn outline primary */
.btn-outline-primary {
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
  z-index: 5;
  transition: all .5s ease-in-out;
  position: relative;
  overflow: hidden;
  background-color: none !important;
  color: #fff;
  border: 1px solid #ffffff80;
  border-radius: 50px;
}

.btn-outline-primary:hover {
  color: #ff6d46;
  z-index: +1;
  border: 1px solid #ffffff80;
}

.btn-outline-primary {
  --bs-btn-color: none !important;
  --bs-btn-border-color: 1px solid #ffffff80 !important;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: none !important;
  --bs-btn-active-border-color: 1px solid #ffffff80 !important;
  --bs-btn-hover-bg: none !important;
  --bs-btn-hover-border-color: 1px solid #ffffff80 !important;
}

/* oranje overlay */
.btn-outline-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: -1;

  transform: scaleX(0);
  transform-origin: right;
  /* belangrijk: start/exit richting */
  transition: transform 0.45s ease;
  border-radius: var(--bs-border-radius-xl) !important;
}

/* hover in: uitklappen van links naar rechts */
.btn-outline-primary:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-outline-primary:active{
   color: #ff6d46;
   --bs-btn-active-color: #ff6d46 !;
}

/* portfolio */

:root {
  --portfolio-transition:
    450ms cubic-bezier(.4, 0, .2, 1);
}


/* GRID */
#portfolio-grid {
  position: relative;
}



/* CLEARFIX */
#portfolio-grid::after {
  content: "";
  display: block;
  clear: both;
}

/* ITEMS */
.grid-sizer,
.portfolio-item {
  width: 33.3333%;
}

/* 3 columns */
@media (min-width:576px) {

  .grid-sizer,
  .portfolio-item {
    width: 25%;
  }
}

/* 4 columns */
@media (min-width:992px) {

  .grid-sizer,
  .portfolio-item {
    width: 20%;
  }
}

/* 5 columns */
@media (min-width:1200px) {

  .grid-sizer,
  .portfolio-item {
    width: 16.6666%;
  }
}

/* ITEM */
.portfolio-item {
  padding: 0px 12px 12px 0px;
}

/* CARD */
.portfolio-card {

  display: flex;

  align-items: center;
  justify-content: center;


  border-radius: 1.5rem;
  background: none;

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    background .3s ease;

}



/* HOVER */
.portfolio-item .card-hover img {
  z-index: +1;
}

/* LOGO */
.portfolio-card img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}

/* FILTERS */
.filter-btn {
  transition: all .25s ease;
}

/* ISOTOPE */
.isotope,
.isotope .portfolio-item {
  transition-duration: .6s;
}

.isotope .portfolio-item {
  transition-property:
    transform,
    opacity;
}

/* navbar hamburger */
.navbar-toggler {
  width: 48px;
  height: 48px;
  position: relative;
  padding: 0;
}

.hamburger {
  width: 28px;
  height: 20px;
  position: relative;
  display: block;
  margin: auto;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ffffffcc;
  left: 0;
  transition: all .3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 9px;
}

.hamburger span:nth-child(3) {
  top: 18px;
}

/* OPEN = kruisje */
.navbar-toggler:not(.collapsed) .hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.navbar-toggler:not(.collapsed) .hamburger span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler:not(.collapsed) .hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

.hero {
  position: relative;
  min-height: 100vh;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-scroll-indicator a {
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
  display: inline-block;
  animation: bounce 2s infinite;
  transition: all .3s ease;
}

.hero-scroll-indicator a:hover {
  transform: translateY(5px);
  color: #ff6d46;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(10px);
  }

  60% {
    transform: translateY(5px);
  }
}

.hero-scroll-indicator a {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  color: white;
  font-size: 1rem;
  animation: bounce 2s infinite;
  transition: all .3s ease;
}


.hero-scroll-indicator a:hover {
  border-color: white;
  background: rgba(255, 255, 255, .1);
}

/* form */
.form-control {
  background-color: #176271;
  border: 1px solid #266d7b;
  color: #ffffff;
  /* tekstkleur in het veld */
  padding: 12px 12px;
}

/* placeholder wit maken */
.form-control::placeholder {
  color: #ffffffCC;
}

/* focus state (optioneel maar aanbevolen) */
.form-control:focus {
  background-color: #176271;
  border-color: #ffffff80;
  box-shadow: 0 0 0 0.2rem rgba(38, 109, 123, 0.25);
  color: #ffffff;
}

.form-floating>label {
  color: #ffffffCC;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
  color: #ffffffCC;
  background: none !important;
}

.form-floating>.form-control:focus~label::after,
.form-control:not(:placeholder-shown)~label::after {
  background-color: #176271 !important;
}

/* scroll indicator */
.scroll-progress {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 64px;
  height: 64px;
  z-index: 1050;

  display: flex;
  justify-content: center;
  align-items: center;

  text-decoration: none;

  opacity: 0;
  visibility: hidden;

  transform: translateY(20px);

  transition: all .3s ease;
}

.scroll-progress.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-progress i {
  position: absolute;
  color: #fff;
  font-size: 1.1rem;
  z-index: 2;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: rgba(0, 69, 85, .7);
  stroke: rgba(255, 255, 255, .15);
  stroke-width: 3;
}

.progress-ring-circle {
  fill: none;
  stroke: #ff6d46;
  /* jouw orange */
  stroke-width: 3;
  stroke-linecap: round;
}

.scroll-progress {
  width: 48px;
  height: 48px;
  right: 20px;
  bottom: 20px;
}

.scroll-progress i {
  font-size: .9rem;
}

@media (max-width: 991.98px) {
  .navbar-collapse .nav-item {
    width: 100%;
  }

  .navbar-collapse .btn {
    width: 100%;
  }
}


@media (max-width: 991.98px) {
  .navbar .nav-link {
    border-bottom: 1px solid #FFFFFF80 !important;
  }

  .navbar-nav .nav-item:first-child .nav-link {
    margin-top: 12px;
    border-top: 1px solid #FFFFFF80 !important;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    margin-top: 12px;
    border-bottom: 0px !important;
  }

  .navbar-collapse .btn {
    margin-top: 12px;
  }

  .navbar .dropdown-menu.show {
    border-bottom: 1px solid #FFFFFF80 !important;
    padding-bottom: 12px;
}
}

a.dropdown-toggle{
margin-top: 4px;
padding-bottom: -4px;
}

ul.dropdown-menu li a.dropdown-item {
  color: rgba(255, 255, 255, 0.75);
  transition: 0.3s ease;
}

ul.dropdown-menu li a.dropdown-item:hover {
  background-color: unset !important;
  color: #fff;
}

.navbar .list-unstyled .nav-link {
  border-bottom: 0px !important;
}

.dropdown-item.active{
  background-color: unset !important;
}

  ul li a.diensten {
    border-bottom: 1px solid #FFFFFF1A !important;
    padding-bottom: 8px;
    margin-bottom: 6px;
  }

  .navbar .dropdown-toggle:focus,
.navbar .dropdown-toggle:active,
.navbar .dropdown-toggle.show {
    box-shadow: none !important;
    outline: none !important;
}

/* Portfolio filter */
 .btn-portfolio-active,
 .btn-portfolio {
   background: #266d7b;
   border: 0;
   border-radius: 50rem;
   color: #fff !important;
   font-size: 11px;
   padding: 0px 12px;

  z-index: 5;
  transition: all .5s ease-in-out;
  position: relative;
  overflow: hidden;
 }

 .btn-portfolio-active {
   background: #ff6d46 !important;
 }

 .btn-portfolio:hover {
   color: #ff6d46 !important;
 }

 /* oranje overlay */
.btn-portfolio::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  /* belangrijk: start/exit richting */
  transition: transform 0.45s ease;
  border-radius: var(--bs-border-radius-xl) !important;
}

.btn-portfolio:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.list-inline-item {
  margin: 0px !important;
}

/* form validation error */
/* Form validation */
form .error, form .form-control.error:focus{
    /* background: #f8dbda; */
    border:1px solid #ff6d46;
}

/* Form scroll offset */ 
form input, form textarea{
    scroll-margin: 160px;      
}    

/* categroie badges with icon */
.badge-cat {
  border-radius: 50px;
  padding-top: .25rem !important;
  padding-bottom: .25rem !important;
  padding-right: 1rem !important;
  padding-left: 1rem !important;
  letter-spacing: 0.5px;
  color: #ffffffCC !important;
}

.badge-cat:has(.icon-circle) {
   padding-left: .25rem !important;
}

.badge-cat .icon-circle{
  font-size: 12px !important;
  width: 28px;
  height: 28px;
}

.badge-cat.alt .icon-circle{
  background: #004555;
}

/* diensten slider */
.carousel-item {
  padding: 10px 60px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, .6);
  border-radius: 50%;
  padding: 20px;
}

.card-top {
  position: relative;
}



#carouselNav .btn-portfolio.active {
  background: #ff6d46;
  color: #fff;
}

#cardsContainer {
  display: flex;
}

.card-slide {
  flex: 0 0 33.333%;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .card-slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 576px) {
  .card-slide {
    flex: 0 0 100%;
  }
}

.card-slide a.card-hover {
  margin-right: 16px;
}