/* General */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
}

.page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container {
  	width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-title {
    font-size: 2.2rem; /* Adjust size for desktops */
    word-wrap: break-word; /* Ensures long words break properly */
    overflow-wrap: break-word; /* Breaks words correctly */
    max-width: 100%; /* Ensures it stays within the container */
}


/* Banner Section */
.banner {
    background-image: url("../images/banner-image2.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 5%;
}

.banner-content {
    background-color: rgba(235, 212, 196, 0.8);
    padding: 20px 40px;
    color: white;
    text-align: left;
    border-radius: 5px;
    max-width: 50%;
    margin-bottom: 20px;
}

.banner-content h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 1.375em;
    font-weight: 400;
}

.banner-button-wrapper {
    display: flex;
    justify-content: flex-start;
}

.banner-button {
    padding: 15px 30px;
    font-size: 1.2rem;
    color: #555;
    background-color: #EBD4C4;
    border: 2px solid #555;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.banner-button:hover {
    background-color: #555;
    color: white;
}

/* About Us Section */
.about-us {
    background-color: #EDF7F4; /* Light pastel green */
    padding: 60px 5%;
}

.about-us .container {
   max-width: 1400px;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.about-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.about-us-content h2 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.about-us-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.about-us-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.about-us-content ul li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.about-us-content ul li i {
    color: #B0D4D7; /* Accent color */
    font-size: 1.2em;
    margin-right: 10px;
}

.testimonial {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    color: #555;
    position: relative;
}

.testimonial blockquote {
    font-style: italic;
    color: #333;
    margin: 0;
}

.about-us-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* Services Section */
.services {
    display: flex;
    flex-direction: column;
    padding: 60px 5%;
    background-color: white;
}

.services-header {
    text-align: center; /* Center align the header */
    margin-bottom: 20px;
}

.services-header h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    grid-gap: 30px; /* Add spacing between cards */
    align-items: start; /* Align items to the top */
}

.service-card {
    background-color: white;
    border: none; /* No border for cleaner look */
    color: #333;
    text-align: left;
    font-size: 1rem;
    line-height: 1.6;
}

.service-icon {
    color: #B0D4D7; /* Updated color for icons */
    font-size: 1.5em;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.service-card h3 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline; /* Align icon and heading */
}

.service-card p {
    margin: 10px 0;
    font-size: 1rem;
    color: #666;
}

.read-more {
    font-size: 1rem;
    color: #B0D4D7; /* Updated color for "Lees meer" */
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #8ABEC1; /* Slightly darker shade for hover */
}

/* Footer */


/* Inschrijven Section and Contact Section */
.inschrijven-section, .contact-section, .behandelingen-section, .subpage-behandelingen-section, .tarieven-section{
    padding: 60px 5%; /* Add padding for spacing */
    background-color: #fff; /* Ensure consistent background color */
    text-align: left; /* Align text to the left */
}

.breadcrumb {
    font-size: 0.9rem; /* Smaller font size for breadcrumb */
    color: #555;
    margin-bottom: 20px; /* Add spacing below breadcrumb */
    display: block; /* Ensure it behaves like a block element */

}

.breadcrumb a {
    color: #B0D4D7;
    text-decoration: none;
}

.inschrijven-section h1, .contact-section h1, .behandelingen-section h1,  .subpage-behandelingen-section h1 {
    font-size: 2.5rem; /* Larger font for title */
    font-weight: bold;
    margin-bottom: 20px; /* Add spacing below title */
    line-height: 1.2; /* Improve readability */
    color: #B0D4D7;
}

.inschrijven-section p, .contact-section p, .behandelingen-section p, .subpage-behandelingen-section p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 40px; /* Add spacing below text */
    line-height: 1.6;
    max-width: 900px; /* Limit text width for better readability */
}

/* Featherly Form Wrapper */
#container {
    margin-top: 0px;
    max-width: 900px; /* Center form and prevent overflow */
    width: 100%;
}

.inschrijven-section .container, .contact-section .container, .behandelingen-section .container, .subpage-behandelingen-section .container, .tarieven-section .container {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start;
}

/* Behandelingen Grid */
.behandelingen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.behandeling-tile {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.behandeling-tile img {
    width: 100%;
    height: auto;
}

.behandeling-tile h3 {
    font-size: 1.2rem;
    margin: 0;
    color: #555;
}

.btn-grid {
    display: inline-block;
    background-color: #EBD4C4;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-grid:hover {
    background-color: #333;
    color: white;
}

.card-content {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Align title and button next to each other */
}

.content-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.text-content {
    flex: 1 1 50%;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.text-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #555;
}

.text-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 20px;
}

.text-content ul li {
    margin-bottom: 10px;
}

.image-content {
    flex: 1 1 40%;
    text-align: center;
}

.image-content img {
    max-width: 100%;
    border-radius: 5px;
}

/* Subpages */
.subpage-content {
    flex: 1 1 50%;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.subpage-content p {
    margin-bottom: 0px;
}

.subpage-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 20px 0 10px;
    color: #555;
}

.subpage-content h3 {
    margin: 20px 0 10px;
    color: #B0D4D7;
}

.subpage-content h4 {
    margin-bottom: 10px;
}

.subpage-content ul {
    list-style: none;
    padding-left: 0px;
    margin-top: 0px;
}

.subpage-content ol {
    padding-left: 20px;
}

.subpage-content ul li {
    margin-bottom: 10px;
}

.subpage-content ul li i {
    color: #B0D4D7;
    font-size: 1.2em;
    margin-right: 10px;
}


/* Tarieven */

.tarieven-container, .subpage-container {
    display: flex; /* Enable flexbox */
     flex-direction: column; /* Arrange items in a row */
     gap: 20px; /* Add space between main content and sidebar */
     width: 90%;
     max-width: 1200px;
     margin: 0 auto; /* Center the container */
     justify-content: space-between; /* Ensure spacing between content */
     align-items: left; /* Align items at the top */
 }
 
 .tarieven-container h1, .subpage-container h1 {
     font-size: 2.5rem; /* Larger font for title */
     font-weight: bold;
     color: #B0D4D7;
 }
 
 .tarieven-container h3, .subpage-container h3 {
   padding-top: 10px;
   color: #555;
 }

.tarieven-section p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px; /* Add spacing below text */
    line-height: 1.6;
    max-width: 900px; /* Limit text width for better readability */
}

.tarieven-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 15px;
}

.tarieven-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
}

.tarieven-section ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.tarieven-section ul li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.infomedics-image {
    text-align: left;
    margin: 20px 0px 30px 0px;
}

.infomedics-image img {
    max-width: 200px;
    height: auto;
}

.tarieven-content, .subpage-content {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* Sidebar Styles */
.sidebar {
    flex: 0 0 30%; /* Sidebar takes up 25% of the width */
    background-color: #B0D4D7; /* Beige color to match the branding */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Softer shadow */
   align-self: flex-start; /* Align sidebar to the top */
    height: auto; /* Sidebar only grows with its content */
}

.sidebar-section {
    margin-bottom: 20px; /* Add spacing below each section */
}

.sidebar-section h3 {
       font-size: 1.5em;
    margin-bottom: 10px; /* Add space below the heading */
    color: #fff;
}

.sidebar ul {
      list-style: none; /* Remove default list styles */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.sidebar ul li {
display: flex; /* Align items horizontally */
    align-items: center; /* Center align the icon and text */
    margin-bottom: 10px; /* Add spacing between items */
    line-height: 1.6; /* Improve readability */
}

.sidebar li i {
    color: #555; /* Accent color for the arrow */
    margin-right: 10px; /* Space between the icon and text */
    font-size: 1rem; /* Adjust icon size */
}

.sidebar ul li a {
    text-decoration: none;
    color: #555;
  font-weight: bold;
      transition: color 0.3s ease; /* Smooth hover effect */
}

.sidebar ul li a:hover {
    color: #2179b8;
}

.sidebar .note {
    margin-top: 20px;
    font-size: 0.875em;
    color: #666;
      font-style: italic; /* Italicize for emphasis */

}

/* Main Content Styles */
.main-content, .subpage-main-content {
    flex: 0 0 68%; /* Main content takes up 70% of the width */
    padding: 0 10px 10px 0px; /* Add some padding for spacing */
    background-color: white; /* Optional background for clarity */
}

.main-content h2, .subpage-main-content h2 {
    font-size: 1.8em;
    margin-top: 20px;
    color: #333;
    border-bottom: 2px solid #EBD4C4;
    padding-bottom: 5px;
}

.main-content p, .main-content ul {
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.subpage-main-content p, .subpage-main-content ul {
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.main-content ul, .subpage-main-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.main-content ul li, .subpage-main-content ul li {
    margin-bottom: 5px;
}

.location-details {
    padding: 40px 5%;
    background-color: #f9fafb;
}

.location {
      display: flex;
    justify-content: space-between; /* Ensure items are spaced correctly */
    align-items: flex-start; /* Align items at the top */
    gap: 40px;
    margin-bottom: 60px
}

.location:last-child {
    margin-bottom: 0;
}

.location-text {
    flex: 1;
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
  max-width: 550px;
}

.location-text h2 {
     font-size: 2.2rem;
    color: #B0D4D7;
    margin-bottom: 20px;
}

.location-text h3 {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 10px;
}

.location-text h4 {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 10px;
}

.openingstijden {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}


.location-text p {
    margin-bottom: 15px;
}

.location-images {
        flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}

.location-map {
    width: 100%;
    max-width: 500px;
    height: 300px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.building-image {
 width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.location-details {
  margin-top: 30px;
}

/* Subpage */

.main-content ul, .subpage-main-content ul {
    list-style: none;
    padding-left: 0px;
    margin-top: 0px;
}

.main-content ol, .subpage-main-content ol {
    padding-left: 20px;
}

.main-content ul li, .subpage-main-content ul li {
    margin-bottom: 10px;
}

.main-content ul li i, .subpage-main-content ul li i {
    color: #B0D4D7;
    font-size: 1.2em;
    margin-right: 10px;
}

.phone-link {
    color: #555 !important; /* Use the same text color as surrounding text */
    text-decoration: none !important; /* Remove default underline */
    font-weight: inherit !important; /* Keep the same font weight */
    font-size: inherit !important; /* Match the surrounding text size */
}

.phone-link:hover {
    text-decoration: underline !important; /* Optionally add underline on hover */
}

.treatment-sidebar-content p strong,
.treatment-sidebar-content p a {
    display: inline-block;
}

.inschrijven-sidebar:hover {
    text-decoration: none !important;
}

.treatment-sidebar {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.treatment-sidebar-top {
    background-color: #B0D4D7;
    padding: 15px;
    border-radius: 10px;
}

.treatment-sidebar-box a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.treatment-sidebar-box a i {
    font-size: 1.2rem;
    margin-right: 10px;
}

.treatment-sidebar-box a:hover {
    color: #fff;
    text-decoration: underline;
}

.treatment-sidebar-box {
    background-color: transparent;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.treatment-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}

.treatment-sidebar-header i {
    font-size: 1.2rem;
    margin-right: 10px;
}

.treatment-sidebar-content {
    padding: 10px 0;
    font-size: 0.95rem;
    color: white;
    text-align: center;
}

.treatment-sidebar-content p {
    margin-bottom: 0px;
}

.treatment-sidebar-content ul {
    list-style: none;
    color: #333;
}

.hidden {
    display: none;
}

.treatment-sidebar-bottom {
    margin-top: 20px;
}

.treatment-sidebar-bottom h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.treatment-list {
    list-style: none;
    padding: 0;
}

.treatment-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.treatment-list a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.treatment-list a:hover {
    color: #005bb5;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.toggle .toggle-icon {
    transform: rotate(90deg);
}


/* Responsive Adjustments */
@media (max-width: 1024px) {
  
   .about-us-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }

    .about-us-image {
        margin-top: 20px;
    }
  
  .page-wrapper {
        max-width: 100%; /* Full width on tablets and smaller devices */
    }
  
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* Switch to 2 columns */
        grid-gap: 20px;
    }
  
  .behandelingen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
  
  .location {
        flex-direction: column;
    }

    .location-images {
        width: 100%;
    }

    .building-image,
    .location-map {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .treatment-sidebar {
        flex: 0 0 100%; /* Full width on smaller screens */
    }
  
  .tarieven-content, .subpage-content  {
        flex-direction: column;
    }

    .sidebar, .main-content, .subpage-main-content {
        flex: 0 0 100%; /* Full width on smaller screens */
    }
  
   .sidebar {
        margin-bottom: 20px; /* Add space above the sidebar */
    }
  
  .behandelingen-grid {
        grid-template-columns: 1fr;
    }
  
  .btn-grid {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
  
    .banner {
        height: 400px; /* Reduce banner height for mobile */
        padding-left: 5%; /* Keep content aligned */
    }

    .banner-content {
        max-width: 90%; /* Use full width for text on mobile */
    }

    .banner-button-wrapper {
        width: 90%; /* Full width for button alignment */
    }
  
   .banner-content h1 {
        font-size: 2em; /* Adjusted to 32px for mobile */
    }

    .banner-content p {
        font-size: 1em; /* Adjusted to 16px for mobile */
    }
  
  
    .services-grid {
        grid-template-columns: 1fr; /* Switch to single column */
        grid-gap: 15px;
    }

    .service-card h3 {
        font-size: 1.1em;
    }

    .service-card p {
        font-size: 0.9em;
    }
}

