/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
html, body{
  overflow-x: hidden;
  max-width: 100%;
}

.cases-slider-container {
    display: flex;
    align-items: stretch;
    margin: auto 0;
    gap: 10px;
    overflow-x: visible;
  }

  .cases-title{
    color: #111827;
    font-size: 36px;
    font-weight: 800;
    text-align: center;
  }
  
  .cases-slider .owl-carousel .owl-stage {
    display: flex;
  }
  
  .cases-slider .owl-carousel .owl-item {
    transition: transform 0.25s ease;
  }

  /* .single-product .owl-carousel .owl-nav.disabled{
    display: block;
  } */

  .single-product .owl-item, .home .owl-item{
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
  }

  .single-product .owl-item.active, .home .owl-item.active{
    -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
  }
  
  .case-slide {
    padding: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
  }
  
  .case-slide figcaption {
    align-items: center;
    justify-content: center;
    gap: 3px;
  }
  
  .case-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.3s ease;
  }

  .case-slide:hover img {
    opacity: 0.9; /* Afbeelding iets transparant bij hover */
  }

  .case-slide:hover .mq-slider-overlay {
    opacity: 1; /* Overlay zichtbaar bij hover */
  }

  .mq-slider-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

  .mq-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Zwarte overlay met transparantie */
    opacity: 0;
    transition: opacity 0.5s ease; /* Fade in/out effect bij hover */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.mq-slider-overlay-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.mq-slider-overlay-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.mq-slider-overlay-subtitle {
    font-size: 14px;
}
  
  @media (min-width: 1024px) {
    .cases-slider-container {
      margin-right: -52px;
      overflow-x: clip;
    }
  }
  
  @media (max-width: 768px) {
    .case-slide img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      max-height: 250px;
    }

    .mq-slider-image-container {
      position: relative;
      width: 100%;
      height: 250px;
      overflow: hidden;
      border-radius: 10px;
    }
  }
  
  @media (min-width: 768px) and (max-width: 1024px) {
    .case-slide img {
      width: 100%;
      height: 400px;
      object-fit: cover;
      max-height: 400px;
    }
  }
  
  .mq-slider-ondertitel {
    text-align: center;
    color: #304269;
    padding-top: 10px;
  }
  
  .mq-slider-cases-img,
  .mq-cases-img {
    height: 400px;
    width: 100%;
    object-fit: contain;
  }
  
  .cases-slider .owl-prev {
    left: 46vw;
    top: 110%;
    width: 50px;
    position: relative;
  }
  
  .cases-slider .owl-next {
    left: 48vw;
    top: 110%;
    width: 50px;
    position: relative;
  }

  .cases-slider .owl-dots {
    text-align: center;
    margin-top: 20px;
  }

  .cases-slider .owl-dot{
    width: 7px !important;
    height: 7px !important;
    background: #ccc !important;
    margin: 10px 10px 0px 0px !important;
    position: relative !important;
    /* left: 50% !important;
    right: 50% !important; */
    transform: translateX(-50%) !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .cases-slider .owl-dot.active{
    background: #2F5596 !important;
  }
  
  @media (max-width: 768px) {
    .cases-slider .owl-prev {
      left: 39vw;
      top: 125%;
      width: 40px;
    }
    .cases-slider .owl-next {
      top: 125%;
      width: 40px;
      left: 43vw;
    }
  }
  
  @media (min-width: 768px) and (max-width: 1024px) {
    .cases-slider .owl-prev {
      left: 44vw;
      top: 110%;
    }
    .cases-slider .owl-next {
      left: 45vw;
      top: 110%;
    }
  }
  

/* Hoofdcategorie pagina met subcategorie*/
.mq-sub-category-anchors-title{
  text-align: center;
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 20px;
}

.mq-sub-category-anchors ul{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-bottom: 20px;
  padding: 0;
  gap: 20px
}

.mq-sub-category-anchors{
  max-width: 1170px;
  margin: auto;
  padding-bottom: 50px;
}

.mq-sub-category-anchors li{
  list-style-type: none;
}

.mq-sub-category-anchors li a{
  background-color: #2F5596;
	color: white !important;
	border: 1px solid #2F5596;
	padding: 10px 20px;
	border-radius: 8px;
	font-family: 'Ubuntu';
	font-size: 12px;
	font-weight: 500;
	width: 100%;
	display: block;
	text-align: center;
}

.mq-sub-category-anchors li a:hover{
	background-color: transparent;
	color: #111827 !important;
	border: 1px solid #111827;
}

.mq-sub-category-background:nth-child(even){
  background-color: #F9FAFB;
  padding: 50px 0;
}

.mq-sub-category-background:nth-child(odd){
  padding: 50px 0;
}

.mq-second-sub-category-background{
  background-color: #F9FAFB;
  padding: 50px 0;
}

.mq-sub-category-card{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.mq-sub-category-content{
  max-width: 1170px;
  margin: auto;
}

.mq-sub-category-products{
  background-color: white;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	padding: 20px;
	width: 100%;
}

.mq-sub-category-title{
  color: #111827;
	font-family: 'Ubuntu';
	font-size: 36px;
	font-weight: 700;
  margin-bottom: 50px;
}

.mq-sub-category-description{
  color: #6B7280;
	font-family: 'Ubuntu';
	font-size: 18px;
	font-weight: 400;
  margin-bottom: 50px;
}

.mq-sub-category-usps{
  display: flex;
  margin: 0px 0px 50px 0px
}

.mq-sub-category-usp-content{
  display: flex;
  margin-right: 50px;
}

.mq-sub-category-usp-image{
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.mq-sub-category-usp-title{
  margin: auto 0px auto 10px;
  color: #6B7280;
	font-family: 'Ubuntu';
	font-size: 18px;
	font-weight: 400;
}

.mq-sub-category-image{
	text-align: center;
}

.mq-sub-category-image img{
	height: 100px;
	width: 100px;
	object-fit: contain;
}

.mq-sub-category-name{
	color: #111827;
	font-family: 'Ubuntu';
	font-size: 20px;
	font-weight: 700;
	padding: 20px 0px 10px 0px;
	margin: 0;
  min-height: 102px;
}

.mq-sub-category-price{
	color: #111827;
	font-family: 'Ubuntu';
	font-size: 20px;
	font-weight: 700;
	padding: 10px 0px;
	margin: 0;
}

.mq-sub-category-card-usp{
  color: #6B7280;
	font-family: 'Ubuntu';
	font-size: 18px;
	font-weight: 400;
  margin: 0;
  min-height: 54px;
}

.mq-sub-category-button a{
	background-color: #2F5596;
	color: white !important;
	border: 1px solid #2F5596;
	padding-top: 10px;
	padding-bottom: 10px;
	border-radius: 8px;
	font-family: 'Ubuntu';
	font-size: 14px;
	font-weight: 500;
	width: 100%;
	display: block;
	text-align: center;
	margin-top: 10px;
}

.mq-sub-category-button a:hover{
	background-color: transparent;
	color: #111827 !important;
	border: 1px solid #111827;
}

.mq-sub-category-view-button a{
	background-color: #2F5596;
	color: white !important;
	border: 1px solid #2F5596;
	padding: 10px 20px;
	border-radius: 8px;
	font-family: 'Ubuntu';
	font-size: 14px;
	font-weight: 500;
	display: inline-block;
}

.mq-sub-category-view-button a:hover{
	background-color: transparent;
	color: #111827 !important;
	border: 1px solid #111827;
}

.mq-sub-category-view-button{
  text-align: center;
  margin-top: 50px;
}

.product-category-slider .owl-next, .product-category-slider .owl-prev{
  width: 15px;
  height: 100px;
  position: absolute;
  top: 65%;
  transform: translateY(-50%);
  display: block !important;
  border: 0 solid #000;
  margin: -60px;
}

.product-category-slider .owl-next {
  right: -20px;
}

.product-category-slider .owl-next i, .product-category-slider .owl-prev i {
  transform: scale(5, 5);
  color: #ccc;
}

.product-category-slider .owl-dot{
  width: 7px;
  height: 7px;
  background: #ccc !important;
  margin: 10px 5px 0px 0px;
  position: relative;
  left: 50%;
  right: 50%;
}

.product-category-slider .owl-dot.active{
  background: #2F5596 !important;
}

@media screen and (max-width: 1400px){
  .mq-sub-category-content{
    margin: auto;
    padding: 20px;
  }
  .mq-sub-category-anchors ul{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .mq-sub-category-anchors{
    padding: 0 20px;
  }
  .mq-sub-category-card{
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media screen and (max-width: 1024px){
  .mq-sub-category-anchors ul{
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .mq-sub-category-anchors{
    padding: 0 20px;
  }
  .mq-sub-category-card{
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px){
  .mq-sub-category-usps{
    display: block;
  }
  .mq-sub-category-usp-content{
    margin-top: 20px;
  }
  .mq-sub-category-title{
    font-size: 25px;
  }
  .product-category-slider .owl-dot{
    left: 43%;
  }
  .mq-sub-category-card{
    grid-template-columns: 1fr;
  }
}

/* Download Popup Styling */
.download-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.download-popup-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-in-out;
}

.download-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.download-popup-header h3 {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 600;
}

.download-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.download-popup-close:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.download-popup-body p {
    margin-bottom: 20px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

#download-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#download-email {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    outline: none;
}

#download-email:focus {
    border-color: #2F5596;
}

#download-email::placeholder {
    color: #9ca3af;
}

/* Form group styling */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

/* Phone input group styling */
.phone-input-group {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

#download-country-code {
    padding: 12px 8px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
    min-width: 80px;
    max-width: 100px;
    transition: border-color 0.2s ease;
    outline: none;
}

#download-country-code:focus {
    border-color: #2F5596;
}

#download-phone {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    outline: none;
}

#download-phone:focus {
    border-color: #2F5596;
}

#download-phone::placeholder {
    color: #9ca3af;
}

.download-submit-btn {
    background-color: #2F5596;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.download-submit-btn:hover {
    background-color: #1e3a8a;
}

.download-submit-btn:focus {
  background-color: #1e3a8a;
}

.download-submit-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive styling voor de popup */
@media (max-width: 768px) {
    .download-popup-content {
        margin: 20px;
        padding: 20px;
    }
    
    .download-popup-header h3 {
        font-size: 18px;
    }
    
    .phone-input-group {
        flex-direction: column;
        gap: 8px;
    }
    
    #download-country-code {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}