/* =============================================================================
   DuraPlus Component Shortcodes — components.css
   Stijlen voor: dps_posts_grid, dps_projects_grid, dps_reviews_slider,
                 dps_cta_banner, dps_usps
   ============================================================================= */


/* =============================================================================
   1. Posts grid — [dps_posts_grid]
   ============================================================================= */

.dps-posts-grid .item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-right: 1px dashed transparent;
    border-bottom: 1px dashed transparent;
    border-left: 1px dashed transparent;
}

.dps-posts-grid .item .content {
    padding: 1.5rem;
    border-right: 1px dashed #ccc;
    border-bottom: 1px dashed #ccc;
    border-left: 1px dashed #ccc;
    flex-grow: 1;
}

.dps-posts-grid .item .content .title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.dps-posts-grid .item .content .description {
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 3rem;
}

.dps-posts-grid .item .content .description p {
    margin-bottom: 0.5rem;
}

.dps-posts-grid .item .content .description ul,
.dps-posts-grid .item .content .description ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.5rem;
}

.dps-projects-grid .project p ul,
.dps-projects-grid .project p ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}


/* =============================================================================
   2. Projecten grid — [dps_projects_grid]
   ============================================================================= */

.dps-projects-grid .project {
    display: block;
}

.dps-projects-grid .project a.rounded-2 {
    display: block;
    overflow: hidden;
    border-radius: 0.25rem;
}

.dps-projects-grid .project img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.dps-projects-grid .project h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0.75rem 0 0.25rem;
}

.dps-projects-grid .project p {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}


/* =============================================================================
   3. Reviews slider — [dps_reviews_slider]
   ============================================================================= */

.dps-reviews-slider {
    padding-bottom: 3rem;
}

.dps-reviews-slider .swiper-slide {
    height: auto;
}

.dps-reviews-slider .review {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dps-reviews-slider .review .score {
    display: inline-block;
    padding: 6px 12px;
    background: #FFF8ED;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
    align-self: flex-start;
    font-size: 14px;
}

.dps-reviews-slider .review .score .fa-star.checked {
    color: #FBB03B;
    font-weight: 900;
}

.dps-reviews-slider .review .score .fa-star:not(.checked) {
    color: #ddd;
}

.dps-reviews-slider .review p {
    flex-grow: 1;
    margin-bottom: 1rem;
}


/* =============================================================================
   4. CTA Banner — [dps_cta_banner]
   ============================================================================= */

.dps-cta-banner {
    border-radius: 0.5rem;
    padding: 2.5rem 2rem;
    margin: 0.5rem 0;
}

.dps-cta-banner h2 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.dps-cta-banner p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

@media (max-width: 991.98px) {
    .dps-cta-banner .text-lg-end {
        text-align: left !important;
    }
}


/* =============================================================================
   5. USP blok — [dps_usps]
   ============================================================================= */

.dps-usps .dps-usp {
    padding: 1.25rem 0;
}

.dps-usps .dps-usp__icon {
    flex-shrink: 0;
    margin-top: 0.1rem;
    line-height: 1;
}

.dps-usps .dps-usp__icon i {
    font-size: 1.75rem;
    line-height: 1;
}

.dps-usps .dps-usp__content strong {
    font-size: 1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.dps-usps .dps-usp__content p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}


/* =============================================================================
   6. Trust bar — [trust_bar]
   ============================================================================= */

.trust-bar {
    border: 1px solid #e5e7eb !important;
}

.trust-bar__item {
    white-space: nowrap;
}

.trust-bar__item .fa {
    color: #0B62BC;
    font-size: 1rem;
}

@media (max-width: 991.98px) {
    .trust-bar {
        justify-content: center !important;
    }
    .trust-bar__divider {
        display: none !important;
    }
}


/* =============================================================================
   7. Stappenplan — [process_steps]
   ============================================================================= */

.process-steps {
    position: relative;
}

.process-step {
    position: relative;
}

.process-step__icon {
    position: relative;
    width: 72px;
    height: 72px;
    background: #eef4fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.process-step__icon .fa {
    font-size: 1.5rem;
    color: #0B62BC;
}

.process-step__number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    background: #39B54A;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px #dcf2de;
}

.process-step__title {
    font-size: 1rem;
    font-weight: 700;
    color: #0B62BC;
    margin-bottom: 0.5rem;
}

.process-step__text {
    font-size: 0.875rem;
    line-height: 1.6;
}


/* =============================================================================
   8. Statistieken blok — [stats_block]
   ============================================================================= */

.stat-item {
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s ease;
}

.stat-item:hover {
    box-shadow: 0 4px 16px rgba(11, 98, 188, 0.1) !important;
}

.stat-item__value {
    font-size: 2.25rem !important;
    line-height: 1.1;
}

.stat-item__label {
    font-size: 0.85rem;
    color: #666;
}


/* =============================================================================
   9. Testimonial kaart — [testimonial]
   ============================================================================= */

.testimonial-card {
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s ease;
}

.testimonial-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
}

.testimonial-card__text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #444;
}

.testimonial-card__score .fa-star {
    font-size: 0.875rem;
}


/* =============================================================================
   10. CTA Banner (groen/donker) — [cta_banner]
   ============================================================================= */

.cta-banner {
    position: relative;
    overflow: hidden;
}

.cta-banner--green {
    background-color: #39B54A;
}

.cta-banner--dark {
    background-color: #353535;
}

.cta-banner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-banner p {
    font-size: 0.975rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.cta-banner .btn-white {
    background: #fff;
    color: #353535;
    border: 2px solid #fff;
    font-weight: 600;
}

.cta-banner .btn-white:hover {
    background: transparent;
    color: #fff;
}

.cta-banner .btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.cta-banner .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

@media (max-width: 991.98px) {
    .cta-banner .justify-content-lg-end {
        justify-content: flex-start !important;
    }
}


/* =============================================================================
   11. Hero Banner — [hero_banner]
   ============================================================================= */

@media (max-width: 767.98px) {
    .dps-hero-card {
        max-width: 100% !important;
    }
    /* Center card on mobile instead of pushing to the right */
    .dps-hero-card-wrap {
        justify-content: center !important;
    }
}

@media (max-width: 575.98px) {
    /* On very small screens, reduce hero min-height */
    .dps-hero-wrap {
        min-height: 320px !important;
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}


/* =============================================================================
   12. FAQ Accordion — [faq_accordion] / [faq_item]
   ============================================================================= */

.dps-faq-toggle:hover {
    background: rgba(0, 0, 0, 0.02) !important;
}

.dps-faq-toggle:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(11, 98, 188, 0.2);
}


/* =============================================================================
   13. Why Us — [why_us] / [why_item]
   ============================================================================= */

.dps-why-row {
    padding-top: 30px;
}

@media (max-width: 767.98px) {
    .dps-why-row > [class*="col-"] {
        padding-top: 30px;
    }
    .dps-why-row {
        padding-top: 0;
    }
}

/* Ensure floating icons don't clip on mobile */
@media (max-width: 767.98px) {
    .dps-faq-col {
        padding-top: 30px !important;
    }
}
