/* Theme Name: The Van Elteren Services Theme Theme URI: aerotrax.nl Author: Van Elteren Services Author URI: aerotrax.nl Description: Custom Template Made By Jo-Ann Remmelink Version: 1.0 Text Domain: Van Elteren Services */
:root {
  --bs-primary: $primary-color;
  --bs-secondary: $secondary-color;
  --bs-primary-rgb: 11,57,84;
  --bs-secondary-rgb: 200,29, 37;
}

/* Theme Name: The Van Elteren Services Theme Theme URI: aerotrax.nl Author: Van Elteren Services Author URI: aerotrax.nl Description: Custom Template Made By Jo-Ann Remmelink Version: 1.0 Text Domain: Van Elteren Services */
body {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.875rem;
  color: #040A1C;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body a {
  color: #FCB827;
}

.container {
  max-width: 1650px;
  overflow: hidden;
}

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

h1, .h1 {
  font-size: 2.875rem;
  line-height: 3.5rem;
}

h2, .h2 {
  font-size: 2rem;
  line-height: 2.25rem;
}

h3, .h3 {
  font-size: 1.5rem;
  line-height: 1.625rem;
}

h4, .h4 {
  font-size: 1.25rem;
  line-height: 1.5rem;
}

h5, .h5 {
  font-size: 1.125rem;
  line-height: 1.375rem;
}

.text-section .text-section-inner {
  max-width: 900px;
}
.text-section .text-section-inner.intro-text {
  font-size: 1.5rem;
  line-height: 2.375rem;
}

.text-section .content p,
.text-image-section .content p {
  margin-bottom: 12px;
}

.text-section .content h1:not(:first-of-type),
.text-section .content h2:not(:first-of-type),
.text-section .content h3:not(:first-of-type),
.text-section .content h4:not(:first-of-type),
.text-section .content h5:not(:first-of-type),
.text-section .content h6:not(:first-of-type) {
  margin-top: 1.5rem;
}

a {
  color: #FCB827;
}

input, textarea {
  background-color: #E8E8E8;
  padding: 6px 12px !important;
  font-size: 14px;
  border: 0;
  border-radius: 6px;
}

textarea {
  height: 125px;
}

.bg-light-blue {
  background-color: #2C2C2C;
}

.header-img {
  width: 100%;
  height: 40vh;
  object-fit: cover;
}

.larger p, p.larger {
  font-size: 1.25rem !important;
  line-height: 1.875rem !important;
}

.smaller p, p.smaller {
  font-size: 1rem;
  line-height: 1.5rem;
}

header {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #061339;
}
header .navbar {
  height: 100%;
}
header .navbar .navbar-toggler {
  border: 0;
}
header .navbar .nav-item .nav-link {
  padding: 0 20px;
  line-height: 48px;
  font-weight: 600;
  color: #FFF;
}
header .navbar .nav-item .nav-link:hover {
  color: #FCB827 !important;
  opacity: 0.8;
}
header .navbar .nav-item .btn {
  margin-left: 15px;
}
header .navbar .call-us {
  margin-left: 30px;
  position: relative;
  color: #FFF;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  padding-top: 6px;
}
header .navbar .call-us .call-icon img {
  width: 40px;
  margin-right: 10px;
}
header .navbar .call-us a {
  text-decoration: none;
  color: #FFF;
}

.btn {
  border-radius: 32px !important;
  padding: 13px 28px !important;
  border: none;
  font-size: 18px;
  line-height: 22px !important;
  transition: opacity 300ms ease;
}
.btn.btn-primary {
  background-color: #FCB827 !important;
  color: #fff !important;
}
.btn.btn-secondary {
  background-color: #061339 !important;
}
.btn:hover {
  opacity: 0.8;
}

.link_with_arrow {
  text-decoration: none;
  border-bottom: 1px solid #707070;
}
.link_with_arrow img {
  width: 20px;
}
.link_with_arrow.arrow_down {
  padding-bottom: 3px;
}
.link_with_arrow.arrow_down img {
  transform: rotate(90deg);
}

.img-fluid.logo {
  max-width: 220px;
}

.nf-error {
  font-size: 14px;
}

section.section-header {
  position: relative;
}
section.section-header:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 670px;
  background-color: #061339;
}
section.section-header .content {
  max-width: 700px;
  padding-top: 80px;
  padding-bottom: 80px;
}
@media screen and (max-width: 1199px) {
  section.section-header .content {
    padding-top: 0;
    padding-bottom: 80px;
  }
}
section.section-header img {
  width: 100%;
  height: 530px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 35px;
}
section.section-header .form-container {
  width: 425px;
  position: absolute;
  top: 0;
  right: 50px;
  background-color: #FFF;
  border-radius: 20px;
  padding: 30px 30px 10px 30px;
}
@media screen and (max-width: 1199px) {
  section.section-header .form-container {
    right: inherit;
    width: 100%;
    position: relative;
  }
}
section.section-header .form-container .btn {
  font-size: inherit;
}

section.usp-section .container {
  max-width: 1200px;
}
section.usp-section p {
  line-height: 1.5rem;
}
section.usp-section img {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
}

@media screen and (min-width: 1199px) {
  section.text-image-section.has-yellow-border {
    margin-top: 90px;
    margin-bottom: 90px;
  }
  section.text-image-section.has-yellow-border .container {
    overflow: visible;
  }
  section.text-image-section.has-yellow-border .content-wrapper:before {
    z-index: 0;
    position: absolute;
    content: "";
    border: 8px solid #FCB827;
    border-radius: 35px;
    inset: -90px -200px -90px -50px;
    pointer-events: none;
  }
}
section.text-image-section .stats {
  max-width: 500px;
}
section.text-image-section .stats .h1 {
  font-weight: 700 !important;
}
section.text-image-section img {
  border-radius: 35px;
}

section.panel-section {
  position: relative;
  z-index: 0;
  margin-top: 200px;
}
@media screen and (max-width: 1199px) {
  section.panel-section {
    margin-top: 0;
  }
}
section.panel-section:before {
  content: "";
  width: 2000px;
  height: 570px;
  top: 0;
  left: -2000px;
  position: absolute;
  z-index: 1;
  background-color: #F0F0F0;
}
section.panel-section:after {
  content: "";
  width: 70%;
  height: 590px;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 1;
  background-color: #F0F0F0;
  border-radius: 0 35px 35px 0;
}
@media screen and (max-width: 1199px) {
  section.panel-section:after {
    width: 100%;
    border-radius: 0;
  }
}
section.panel-section .container {
  position: relative;
  z-index: 2;
  overflow-y: visible !important;
}
section.panel-section .owl-stage-outer {
  overflow-y: visible !important;
  padding-bottom: 20px;
}
section.panel-section .carousel-nav button {
  background: transparent;
  border: 2px solid #061339;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  display: inline-block;
  transition: all 300ms ease;
  text-align: center;
  margin-right: 5px;
}
section.panel-section .carousel-nav button img {
  filter: brightness(0) invert(0);
  width: 20px;
  margin-top: -3px;
}
section.panel-section .carousel-nav button:hover {
  background-color: #061339;
}
section.panel-section .carousel-nav button:hover img {
  filter: brightness(0) invert(1);
}

section.panel-numbers-section {
  background-color: #F0F0F0;
}

section .panel {
  text-decoration: none;
  background-color: #FFF;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1607843137);
  overflow: hidden;
  position: relative !important;
  transition: box-shadow 0.3s ease;
  border-radius: 35px;
}
section .panel:hover {
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.3333333333);
}
section .panel:hover img {
  transform: scale(1.1);
}
section .panel .panel-image {
  height: 350px;
  width: 100%;
  overflow: hidden;
  flex: 0 0 auto;
}
section .panel .panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}
section .panel .panel-bg-image {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
}

section.section-cta {
  background: #F0F0F0;
  padding-top: 80px;
  padding-bottom: 80px;
}
@media screen and (min-width: 1199px) {
  section.section-cta h2 {
    font-size: 2.875rem;
    line-height: 3.5rem;
    font-weight: 600;
  }
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background-color: #707070 !important;
}

.nf-form-title, .nf-form-fields-required, .ninja-forms-req-symbol {
  display: none !important;
}

.nf-field-label label {
  font-weight: 300 !important;
  font-size: 16px !important;
}

.form-img-container {
  height: 100%;
  position: relative;
}
.form-img-container img {
  height: 100% !important;
  object-fit: cover;
  width: 50vw !important;
  max-width: unset !important;
  left: 0;
  top: 0;
}

footer {
  background-color: #061339;
  padding-top: 50px;
  padding-bottom: 50px;
  color: #FFF;
}
footer h3 {
  font-family: "Helvetica Neue", sans-serif;
}
footer ul {
  list-style-type: none !important;
  padding-left: 0;
}
footer .social img {
  width: 40px;
  display: inline-block;
  margin-right: 10px;
}

/* Make Owl items stretch full height */
.owl-carousel .owl-stage,
.owl-carousel .owl-item {
  display: flex;
}

/* Let each panel fill the height */
.item.panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* The content wrapper inside the panel (the part with title, text, and button) */
.item.panel .p-4 {
  flex: 1; /* allows content to take remaining space */
  display: flex;
  flex-direction: column;
}

/* Push the button to the bottom */
.item.panel .btn {
  display: inline-block; /* no full width */
  align-self: flex-start; /* align left (optional) */
  margin-top: auto; /* pushes button to bottom of its flex container */
}

@media screen and (max-width: 1199px) {
  h1, .h1 {
    font-size: 2.375rem;
    line-height: 3rem;
  }
  h2, .h2 {
    font-size: 2rem;
    line-height: 2.25rem;
  }
  .img-fluid.logo {
    max-width: 200px;
  }
  section.homepage-hero {
    height: 100vh;
  }
  section.homepage-hero .hero-content {
    max-width: 100%;
    display: block !important;
  }
  section.homepage-hero .hero-content h1 {
    font-size: 36px;
    line-height: 45px;
  }
  .form-img-container img {
    width: 100% !important;
  }
  footer h4 {
    line-height: 40px;
  }
  .woocommerce li.product {
    width: 100% !important;
  }
  .text-section img:not(.logo) {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    aspect-ratio: 16/9 !important; /* adjust if your images aren't 16:9 */
    animation: fadeIn 3s;
  }
  .text-section {
    /* Optional: prevent .h-100 from breaking images */
  }
  .text-section img.h-100 {
    height: auto !important;
  }
  .text-section {
    /* Extra safeguard for iOS WebKit rendering */
  }
  @supports (-webkit-touch-callout: none) {
    .text-section img:not(.logo) {
      transform: rotate(0deg);
    }
  }
}
.dropdown-menu .nav-link {
  color: #061339 !important;
}
@media screen and (max-width: 1199px) {
  .dropdown-menu {
    border: 0;
    border-radius: 0;
    background-color: #061339;
  }
  .dropdown-menu a.nav-link {
    color: #FFF !important;
  }
}

.navbar-toggler-icon-white {
  border-color: rgba(255, 255, 255, 0.8);
}

.navbar-toggler-icon-white .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none;
  box-shadow: none;
}