
/* TABLE OF CONTENTS 
1. GLOBAL SETTINGS
2. HEADER
3. NAVIGATION
4. MAIN CONTENT
5. SLIDER
6. CONTACT
7. CONSULT
8. FOOTER
*/

/* GLOBAL SETTINGS */
/* Reset some default browser styles */
html {
scroll-padding-top: 12rem;
}

body {
  font-family: Helvetica, Arial;
  font-size: 20px;
  line-height: 1.6;
  color:#4d4d4d;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

html, body {
    overflow-x: visible !important;
}

body, h1, p, a {
  margin: 0;
  padding: 0;
}

.container-custom {
  max-width: 1200px;   /* adjust if needed */
  margin: 0 auto;
  padding: 0 20px;     /* horizontal breathing room */
}

.clear {
  clear: both;
}

/* HEADER */
/* Sticky header styling */
.sticky-header {
position: -webkit-sticky; 
position: sticky;
top: 0;
z-index: 1000;
}

/* Top Blue Section */
.top-section {
  background-color:#3f3f3f;
  color: white;
  padding: 5px 0px;
}

.top-section .contact-info {
  margin: 0 auto;                 /* center container */
  /* padding: 0 20px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* width: 100%; */
}

.top-section .phone-number,
.top-section .address {
  white-space: nowrap; 
  font-size: 18px;
}

/* Second Section with Logo and Page Title */   
.second-section {
  background-color: #F5F5F5; /* Ivory color */
  padding: 10px 0;
}

.second-section .container-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.second-section .logo {
  max-width: 250px;
}

.second-section .page-title {   
margin-right: 10%;
font-size: 36px;
font-weight: bold;
text-align: right;
vertical-align: top;
}

/* Third Section with Buttons Contacteer ons & maak een afspraak */
.third-section {
  background-color: #F5F5F5;
  padding: 10px 0;
}

.third-section .container-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.third-section .button {           
  padding: 0px 20px;
  font-size: 24px;
  text-decoration: none;
  color: white;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.left-button {     
  background-color: #28A745; /* Green */
  /* margin-left: 10%; */
}

.right-button {                    
  background-color: #DC3545; /* Red */
  /* margin-right: 10%; */
}

.button:hover {               
  opacity: 0.8;
}

.menu {
  /* width: 100%; */
  margin-left: auto;
}

/* HEADER RESPONSIVE RULES */
@media (max-width: 992px) {
  .logo {
    width: 200px;
    margin-left: 5%;
  }

  .third-section .button {
    padding: 0px 10px;
    font-size: 16px;
  }

  .top-section .phone-number,
  .top-section .address {
    font-size: 14px;
  }
}

/* consider deletion

@media (max-width: 430px) {
  .logo {
    width: 125px;
  }

  .third-section .button {
    padding: 0px 5px;
    font-size: 12px;
  }

  .left-button {
    margin-left: 5%;
  }

  .right-button {
    margin-right: 5%;
  }

  .top-section .phone-number,
  .top-section .address {
    font-size: 12px;
  }
}

*/

.ipadformaat_tekst_menu_knop h2{
font-size: 20px;
display: none;
}

.navbar {
  font-family: Helvetica, Arial;
  font-size: 24px;
  font-weight: bold;
  background-color: #F5F5F5;
  padding-top: 15px;
  padding-bottom: 0px;
  border: 0;
  z-index: 11;
}

nav li a {
  padding-right: 35px;
}

.nav-link:focus,
.button:focus {
  outline: 2px solid #758ab2;
}

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

/*  NAVIGATION RESPONSIVE RULES */
@media (max-width: 992px) {
  .ipadformaat_tekst_menu_knop h2 {
    display: block;
  }
  
    .navbar {
    width: 100%;
  }
}

/* MAIN CONTENT */
main {
font-size: 20px;
width: 85%;
max-width: 1200px;
margin: 0 auto;
padding-top: 0;
padding-bottom: 30px;
}

.content {
  margin-left: 5%;
  margin-right: 5%;
}

main, .content {
    display: block !important; /* Ensures no flexbox interference */
    overflow: visible !important;
}

h4 {
  font-size: 30px; /* Adjust size if necessary */
  font-weight: bold;
}

/* Banner Section */

/* SLIDES  SECTION */
/* SLIDER WRAPPER */
.slider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background-color: #59657D;
  padding: 10px 20px;
  min-height: 150px;
}

/* SLIDES */
.slides {
  position: relative;
}

/* EACH SLIDE */
.slides .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 20px;
  text-align: center;
  background-color: #59657D;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 0s linear 1s;
}

/* ACTIVE SLIDE */
.slides .slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity 1s ease-in-out;
}

/* TEXT */
.content {
  font-size: 1.2rem;
  max-width: 90%;
  margin: 0 auto;
}

@media (max-width: 998px) {
  .content {
    font-size: 0.95rem;
  }
}


.sub-slider-message {
  background-color: #fff;
  padding: 40px 20px;
  color: #000;
}

.sub-slider-message p {
  font-size: 1.2rem;
  line-height: 1.5;
}

/* CONSULT */
.consult_btn {
  padding: 5px 20px;
  font-size: 24px;
  text-decoration: none;
  color: white;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  background-color: #DC3545;
}

.consult_btn:hover {
    opacity: 0.8;
    color: white;
}

.consult_btn2 {
  padding: 5px 20px;
  font-size: 24px;
  text-decoration: none;
  color: black;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  background-color: #BDBDBD;
}

.consult_btn2:hover {
    background-color: #757575;
    color: white;
}

/******************************** HOW IT WORKS ********************************/

#howItWorks h4 span {
color:#758ab2;
}

.imgInteresse {
margin-left:120px;
}

.transition1 {
background-image: url('../images/transition1.png');
background-repeat:no-repeat;
width:50%;
height:137px;
margin:0 auto;
display:block;
}

.transition2 {
background-image: url('../images/transition2.png');
background-repeat:no-repeat;
width: 50%;
height:140px;
margin:0 auto;
display:block;
}

/*-- Informatie buttons --*/
.info_button-container {
display: flex;
flex-wrap: wrap;
gap: 5px 20px;
justify-content: center;
padding: 0px;
}

.info_button {
text-decoration: none;
min-width: 25%;
padding: 5px 20px;
background-color: #FFFFFF;
color: #000000;
border-radius: 5px;
border: 2px solid #000000 ;
font-size: 1.0em;
text-align: center;
transition: background-color 0.3s;
}

.info_button:hover {
background-color: #90EE90;
}

/*-- Behandelingslijst buttons --*/
.b_button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
    justify-content: center;
    padding: 15px 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #ddd; 
    position: -webkit-sticky;
    position: sticky;
    top: 175px; 
    z-index: 999;
}

.b_button {
  text-decoration: none;
  min-width: 10%;
  padding: 0px 15px;
  background-color: #FFFFFF;
  color: #000000;
  border-radius: 5px;
  border: 2px solid #000000;
  font-size: 1rem; /* Decreased font size */
  text-align: center;
  transition: background-color 0.3s;
}

.active {
background-color: #000000;
color: #FFFFFF;
}

.b_button:active {
background-color: #000000;
color: #FFFFFF;
}

.b_button.btn-home {
    background-color: #0000FF; /* Light grey background */
    border-color: #3f3f3f;     
    color: #FFFFFF;
    font-weight: bold;
}

/* Hover effect for the Home button */
.b_button.btn-home:hover {
    background-color: #00BFFF;
    color: #ffffff;
}

/* Match the sticky buttons to the shrinking header */

@media (max-width: 992px) {
    .b_button-container {
        top: 150px; /* Matches your .jumbotron margin-top */
    }
    
    .b_button {
        font-size: 0.8rem; /* Decreased font size */;
    }
}

/* consider deletion 

@media (max-width: 643px) {
    .b_button-container {
        top: 130px; /
    }
    .b_button {
        font-size: 0.7rem; 
    }
}
*/ 

/* FOOTER */
.footer {
  background-color: #3f3f3f;  /* Grey background color 808080*/
  color: #fff; /* White text color */
  font-size: 1rem; 
  padding: 20px 50px; 
}

.footer .container-custom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px; 
  margin: 0 auto;    
}

footer a {
color: #FF7F50; 
}

.footer-left {
width: 50%;
}

.footer-right {
width: 30%;
}

.footer-left p,
.footer-right p,
.footer-left a,
.footer-right a {
  font-size: 1rem; 
  line-height: 1.5;
  text-decoration: none; /* optional, for links */
}

.footer-left a:hover,
.footer-right a:hover {
  color: #FFBF00; /* your hover color */
}

.footer-left h3 {
font-size: 24px;
margin-bottom: 10px;
}

.footer-right h3 {
font-size: 24px;
margin-bottom: 10px;
}

/* Ensure responsiveness tablets*/
@media (max-width: 1200px) {
 .sliderControls span {
  margin-left: 2%;
  margin-right: 2%;
} 
}

@media (max-width: 800px) {
main  {
font-size: 16px;
}

.logo {
width: 200px;
margin-left: 5%;
}

.second-section .page-title {
font-size: 24px;
}

.third-section .button {
padding: 0px 10px;
font-size: 16px;
}

.top-section .phone-number,
.top-section .address {
font-size: 14px;
}

.footer .container-custom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

.footer-left,
.footer-right {
width: 100%;
margin-left: 0px;
margin-right: 0px;
text-align: center;
margin-bottom: 20px;
}
}

/* Ensure responsiveness smartphones */
@media (max-width: 430px) {
main  {
font-size: 12px;
}

.second-section .page-title {
font-size: 20px;
}

.b_button {
font-size: 12px;
min-width: 25%;
}
}

