.ypp-testimonials-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.ypp-testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.ypp-testimonials-header h2 {
    font-size: 2.5rem;
    color: #0095a4;
    margin-bottom: 10px;
    font-weight: 700;
}

.ypp-testimonials-header .ypp-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* Testimonial card design */
.ypp-testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 0 23px 0;
    margin: 15px;
    box-shadow: 0 10px 40px rgba(0, 149, 164, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    height: 500px;
    display: flex;
    flex-direction: column;
}
.ypp-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fc4e00, #ffaa00, #94d000, #0095a4);
}

.ypp-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 149, 164, 0.15);
}

/* Image styling */
.ypp-img-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.ypp-img-wrapper img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 4px solid #0095a4;
    transition: all 0.3s ease;
    display: inline-block;
}

.ypp-testimonial-card:hover .ypp-img-wrapper img {
    border-color: #94d000;
    transform: scale(1.05);
}

/* Quote styling */
.ypp-testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ypp-testimonial-content blockquote {
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ypp-testimonial-content .field-type-text-with-summary p{margin:0;}
.ypp-quote-text {
    font-size: 1.2em;
    line-height: 1.7;
    color: #333;
    margin-bottom: 0px;
    position: relative;
    padding-left: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 8.5em;
 word-break: break-word;
    hyphens: auto;
}
.ypp-testimonial-content blockquote {
    /* padding: 10px 20px; */
    margin: 0 0 20px;
    font-size: 17.5px;
    /* border-left: 5px solid #eee; */
}
.ypp-testimonial-content .field-name-body p {
    font-size: 1.7rem;
}
.ypp-quote-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    font-size: 0;
    color: #ffaa00;
    line-height: 1;
display:none;
}

/* Footer with name and title */
.ypp-testimonial-content footer {
  
    padding-top: 0px;
    border-top: 2px solid #f0f0f0;
}

.ypp-testimonial-content footer a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ypp-testimonial-content footer strong {
    display: block;
    color: #0095a4;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.ypp-testimonial-card:hover footer strong {
    color: #fc4e00;
}

.ypp-testimonial-content footer cite {
    font-style: normal;
    color: #666;
}

/* Carousel wrapper */
.ypp-carousel-wrapper {
    position: relative;
  
}

/* Navigation arrows - specific to YPP carousel */
.ypp-owl-testimonials .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex !important;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
    margin: 0 !important;
}

.ypp-owl-testimonials .owl-nav button.owl-prev,
.ypp-owl-testimonials .owl-nav button.owl-next {
    pointer-events: all;
    background: #0095a4 !important;
    color: white !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    font-size: 28px !important;
    line-height: 60px !important;
    display: block !important;
    text-align: center;
    transition: all 0.3s ease;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 149, 164, 0.4);
    padding: 0 !important;
    position: absolute;
}

.ypp-owl-testimonials .owl-nav button:hover {
    background: #94d000 !important;
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(148, 208, 0, 0.4);
}

.ypp-owl-testimonials .owl-nav button.owl-prev {
    left: -30px;
}

.ypp-owl-testimonials .owl-nav button.owl-next {
    right: -30px;
}

/* Pagination dots - HIDDEN */
/*.ypp-owl-testimonials .owl-dots {
    display: none !important;
}*/

/* Responsive adjustments */
@media (max-width: 768px) {
    .ypp-testimonials-header h2 {
        font-size: 2rem;
    }

    .ypp-testimonial-card {
        padding: 25px;
        margin: 10px;
        height: 400px;
    }

    .ypp-carousel-wrapper {
        padding: 0 40px;
    }

    .ypp-owl-testimonials .owl-nav button.owl-prev,
    .ypp-owl-testimonials .owl-nav button.owl-next {
        width: 50px !important;
        height: 50px !important;
        font-size: 22px !important;
        line-height: 50px !important;
    }

    .ypp-owl-testimonials .owl-nav button.owl-prev {
        left: -25px;
    }

    .ypp-owl-testimonials .owl-nav button.owl-next {
        right: -25px;
    }
}

.field.field-name-field-image.field-type-image.field-label-hidden {
    display: none;
}
.ypp-carousel-wrapper .owl-theme .owl-controls{margin-top:2em!important;}
.ypp-testimonial-content footer strong {
    font-size: 1.3em;
}
.ypp-testimonial-content footer cite {
    font-size: 1.5rem;
}
.ypp-testimonial-content blockquote {
    padding: 10px 10px;
    margin: 0 0 10px;
    font-size: 12.5px;
    border-left: 0px solid #eee;
}

/*intro*/

.ypp-intro-section {
    position: relative;
    background: #fff;
  
    margin: 0 auto 40px;
    max-width: 1000px;
    box-shadow: 0 2px 10px rgba(0, 149, 164, 0.05);
}

.ypp-intro-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.ypp-intro-highlight {
    background: linear-gradient(135deg, #f8fcfd 0%, #ffffff 100%);
    border-left: 3px solid #94d000;
    padding: 20px 25px;
    margin-top: 30px;
    font-style: italic;
    color: #555;
}

@media (max-width: 768px) {
    .ypp-intro-section {
        padding: 30px 25px;
    }
    .ypp-intro-section p {
        font-size: 1rem;
    }
}

.ypp-img-wrapper {
    text-align: center;
    margin-bottom: 20px;
    margin-right: auto;
    margin-left: auto;
}
.btn-download {
background: #007b8a; /* solid turquoise tone */
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  padding: 14px 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.btn-download:hover,
.btn-download:focus {
  background: #009db0; /* lighter shade on hover */
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);