/* =========================
   1. Basis & Container
========================= */

* {
    box-sizing: border-box;
}

div#container {
    max-width: 100% !important;
    padding: 0;
}

.background-white {
    background-color: #ffffff;
    padding: 50px 0;
}

.background-transparent {
    background-color: transparent;
    padding: 50px 0;
}

.container {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* =========================
   2. Layout Helpers
========================= */
.width,
.hero {
    width: 1400px !important;
    margin: 0 auto !important;
}

.row {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.center-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   3. Sections
========================= */

/* Hero */
.hero {
    padding: 100px 0 0 0 !important;
}

.container.background-white.slimmer-inkopen img {
    height: 200px;
    width: 200px;
    object-fit: contain;
}

.container-hero {
    width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    text-align: center;
}

.container-hero h1 {
    margin: 0;
    text-align: center;
}

.button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

p.subtitle {
    margin: 0;
    font-size: 16px;
}

/* Features */
.section-features {
    padding-bottom: 100px !important;
}

.feature-card {
    width: 100%;
    text-align: center;
    padding: 20px;
    background: #018a61 url(/tl_files/files/pharmaswap/images/bg-green.jpg) right/cover no-repeat;
    color: #ffffff;
    border-radius: 10px;
}

.feature-card h3 {
    font-size: 22px;
    line-height: 27px;
}

.feature-card p {
    font-size: 16px;
    line-height: 22px !important;
    color: #ffffff;
}

/* Icon features */
.icon-feature {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.slimmer-inkopen h2 {
    text-align: center;
}

.slimmer-inkopen .width,
.container-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Duurzame vergoedingen */
.section-duurzame {
    flex-wrap: nowrap;
    gap: 50px;
}

.logos-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.logos-container img {
    height: 75px;
}

.logo-zk img {
    max-width: 175px;
}

/* Vrachtwagen */
.section-vrachtwagen {
    align-items: center;
    text-align: center;
    gap: 0px;
}

/* Besparen */
.section-besparen {
    background-color: #018a61;
}

.section-besparen .img-container {
    width: 200px;
    height: 200px;
}


.section-besparen a.btn-primary {
    background: #ffffff;
    color: #000000;
}

.container.background-transparent.section-besparen .row {
    justify-content: space-around;
}

.section-besparen h2,
.section-besparen p {
    color: #ffffff;
}

/* Stap-voor-stap */
.section-stap .width {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.section-stap .row {
    justify-content: space-between;
    align-items: center;
}

.section-stap .column {
    gap: 0;
}

.section-stap img {
    height: 100px;
}

.thin {
    height: 35px !important;
}

.container.background-white.section-stap strong {
    color: #018a61;
}

/* =========================
   4. Components
========================= */

/* Buttons */
a.btn-primary {
    margin: 10px 0px;
    background: #26727b;
    color: #ffffff;
    display: inline-block;
    padding: 14px 20px;
    border-radius: 20px 0px;
    text-decoration: underline;
    font-weight: bold;
    font-family: Inter, sans-serif;
    font-size: 14px;
    transition: all 500ms ease;
    width: max-content;
}

a.btn-primary:hover {
    border-radius: 0px 20px;
}

/* Vergelijkingstabel */
/* Basisstijl tabel */
.benefits-comparison {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    font-size: 16px;
    text-align: left;
}

.benefits-comparison thead th {
    background: transparent;
    color: #018a61;
    font-weight: bold;
    padding: 16px;
    border-bottom: 2px solid #018a61;
    text-align: center;
}

.benefits-comparison th.col-feature {
    text-align: left;
    width: 50%;
}

.benefits-comparison th.col-free,
.benefits-comparison th.col-sub {
    width: 25%;
}

.benefits-comparison tbody th {
    font-weight: normal;
    padding: 14px 16px;
    border-bottom: 1px solid #018a61;
    background: transparent;
}

.benefits-comparison tbody td {
    text-align: center;
    padding: 14px;
    border-bottom: 1px solid #018a61;
    background: transparent;
}

.benefits-comparison tbody tr:nth-child(even) th,
.benefits-comparison tbody tr:nth-child(even) td {
    background: transparent;
}

.benefits-comparison td img {
    height: 24px;
    vertical-align: middle;
}
/* 
.benefits-comparison .cell-yes img {
    filter: brightness(1.2) hue-rotate(120deg); groenig 

} */

.benefits-comparison .cell-no img {
    /* filter: grayscale(1) brightness(0.6); grijs */
        height: 5px;
}

/* FAQ Sectie */
.faq-section {
    padding: 60px 0;
}

button.faq-question {
    color: black;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #018a61;
    font-size: 28px;
}

.faq-item {
    border-bottom: 1px solid #018a61;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    padding: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f5f7f7;
}

.faq-icon {
    font-size: 22px;
    transition: transform 0.3s ease;
    color: #018a61;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 16px;
}

/* .faq-item.active .faq-answer {
    geen vaste max-height meer
    padding: 0 16px 16px;
} */

.faq-answer p {
    margin: 10px 0 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}


/* Actieve state */
.faq-item.active .faq-answer {
    max-height: 300px; /* genoeg ruimte voor tekst */
    /* padding: 0 16px 16px; */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* plusje â†’ kruis */
}


/* =========================
   5. Responsive
========================= */
@media (max-width: 1450px) {
    .width,
    .hero {
        width: 1000px !important;
    }

    .section-stap p {
    text-align: center;
}

.hero {
    padding: 50px 0 0 0 !important;
}

.container-hero {
    width: 100%;
}

.section-stap .row {
gap: 10px;
}
}

@media (max-width: 1024px) {
    .width,
    .hero {
        width: 750px !important;
    }

    .row {
        flex-direction: column;
        gap: 50px
    }

    .thin {
        rotate: 90deg;
    }

    .container.background-transparent.section-besparen .row {
    justify-content: center;
    align-items: center;
}
}

@media (max-width: 768px) {

    .width,
    .hero {
        width: calc(100% - 40px) !important;
        margin: 0 auto;
    }

    .logos-container,  .section-stap .width {
        gap: 20px;
    }

    h1{
        line-height: 1.1em;
        font-size: 30px;
    }


.icon-feature h4 {
    text-align: center;
}

 .benefits-comparison th::before {
  content: "â€¢ ";
  color: #000;
}


       .benefits-comparison thead {
        display: none;
    }

    .benefits-comparison,
    .benefits-comparison tbody,
    .benefits-comparison tr,
    .benefits-comparison td,
    .benefits-comparison th {
        display: block;
        width: 100%;
    }

    .benefits-comparison tr {
        margin-bottom: 20px;
        border: none;
        border-radius: 10px;
        overflow: hidden;
    }

    .benefits-comparison tbody th {
        background: #f5f7f7 !important;
        font-weight: bold;
    }

    .benefits-comparison td {
        text-align: left;
        padding-left: 120px; /* ruimte voor label */
        position: relative;
    }

    /* toon kolomtitel boven icon */
    .benefits-comparison td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: bold;
        color: #018a61;
    }

    .benefits-comparison tbody td {
    text-align: end;
    }

    table.benefits-comparison th {
    background: none !important;
    border: none;
    padding: 0;
}

table.benefits-comparison td {
    display: none;
}
}
