/* header */
::selection {
    background-color: var(--yk-yellow-primary);
    color: var(--yk-dark-primary);
}

::-moz-selection {
    background-color: var(--yk-yellow-primary);
    color: var(--yk-dark-primary);
}

img {
    object-fit: cover;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible,
.custom-select-trigger:focus-visible {
    outline: 3px solid var(--yk-yellow-primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.16);
    border-radius: var(--yk-radius-sm);
}

.contact-input:focus-within,
.custom-select.open .custom-select-trigger {
    border-color: var(--yk-dark-primary);
    box-shadow: 0 0 0 3px rgba(255, 242, 0, 0.45);
}



/* Navbar Alignment */
.navbar {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 20px 0;
    transition: background-color 0.3s ease;
}

/* Custom Navbar Toggler */
.navbar-toggler {
    border: none !important;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: none !important;
}

.navbar-toggler-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--yk-dark-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

/* Transform to X when menu is open */
.navbar-toggler:not(.collapsed) .bar1 {
    transform: translateY(11px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .bar2 {
    opacity: 0;
    transform: translateX(-20px);
}

.navbar-toggler:not(.collapsed) .bar3 {
    transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Menu Animation */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 0 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 20px 20px;
        transition: all 0.35s ease-in-out !important;
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
    }

    /* Open state */
    .navbar-collapse.show {
        opacity: 1;
        transform: translateY(0);
        padding: 20px;
        visibility: visible;
    }

    /* Transitioning state (important for smooth closing) */
    .navbar-collapse.collapsing {
        opacity: 0;
        transform: translateY(-10px);
        padding: 0 20px;
        visibility: visible;
    }
}

.header-left,
.header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-center {
    flex: 0 0 auto;
}

.header-right {
    justify-content: flex-end;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

/* Phone Button Style */
.btn-primary {
    background-color: var(--yk-dark-primary) !important;
    color: var(--yk-color-bg) !important;
    padding: 13px 26px;
    border-radius: var(--yk-radius-xl);
    border: 0;
}

.btn-primary:hover {
    background-color: var(--yk-yellow-hover) !important;
    color: var(--yk-dark-primary) !important;
}

.btn-primary .btn-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.btn-primary:hover .btn-icon {
    filter: none;
}

.btn-primary:active {
    background-color: var(--yk-yellow-active) !important;
}

.header-right .rounded-circle {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-logo {
    height: 65px;
    width: 100%;
}

.menu-item:not(:last-child) {
    margin-right: 25px;
}

.menu-item a:active,
.menu-item a:hover,
.current-menu-item>a,
.current_page_item>a {
    color: var(--yk-yellow-active) !important;
}

/* Top Info Bar (Mobile only) */
.top-info-bar {

    border-bottom: 1px solid rgba(167, 167, 167, 0.1);
}

.top-info-link {
    color: var(--yk-color-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.top-info-link:hover {
    color: var(--yk-yellow-primary);
}

.top-info-link span {
    margin-right: 5px;
}

/* hero */
.hero {
    position: relative;

}

.hero-img {
    position: absolute;
    width: 100%;
    z-index: -1;
    height: 100%;

    bottom: 0;
}

.hero-content {
    text-align: center;
    padding-top: 210px;
    padding-bottom: 62vh;
    padding-bottom: 62dvh;
}

.header-center p {
    width: 80%;
    margin: auto;
}


/* Section Headers (Auto-Layouts) */
.services .yk-title-split {
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;

    margin-bottom: 0.5rem;
}

em {
    font-style: normal;
    color: var(--yk-yellow-active);
    background-color: rgba(230, 218, 0, 0.13);
    padding: 5px 10px;
    border-radius: var(--yk-radius-xl);
    margin-bottom: 15px;
    display: inline-block;
}

.section-header-row h2 {
    margin: 0;
    font-weight: 800;
}

.section-description {
    color: var(--yk-color-text, #666);
    line-height: 1.7;
    margin: 0;
    max-width: 600px;
    display: inline-block;
    text-align: left;
}

/* about */
.about-img {
    border-radius: var(--yk-radius-lg);
    width: 100%;
    height: 580px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-title {
    display: flex;
    justify-content: center;
    height: 100%;
    padding-left: 50px;
    flex-direction: column;
}

.about-title a {
    position: relative;
    margin-top: 40px;
    display: inline-block;
}

.about-title a::after {
    content: "";
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url(../images/arrow-right.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}

.about-title a:hover {
    color: var(--yk-dark-primary);
}

.about-title a:hover::after {
    transform: translateY(-50%) rotate(-45deg);
}

/* ablauf */
.ablauf {
    background-color: var(--yk-yellow-primary);
}

.ablauf-steps-wrapper ul {
    counter-reset: steps-counter;
}

.ablauf-steps-wrapper ul li {
    position: relative;
    border: none;
}

.warum-card,
.ablauf-card {
    padding: 30px;
    border-radius: var(--yk-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.warum-card:hover,
.ablauf-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--yk-yellow-primary);
}

.ablauf-card::before {
    counter-increment: steps-counter;
    content: counter(steps-counter, decimal-leading-zero);
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--yk-yellow-hover);
    opacity: 0.8;
    position: absolute;
    top: -15px;
    right: -10px;
    line-height: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1;
}


.ablauf-card:hover::before {
    opacity: 0.3;
    transform: scale(1.1);
}

.ablauf-steps-wrapper h3 {
    margin-bottom: 20px;
    font-weight: 800;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.ablauf-steps-wrapper p {
    color: var(--yk-color-text);
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 2;
}

article p {
    margin-bottom: 40px;
}

/* single */
.hero-single {
    margin-top: 150px;
}

.hero-single h1 {
    margin-bottom: 50px;
}

.hero-single {
    position: relative;
}

.hero-single-img {
    position: relative;
    width: 100%;
    height: 530px;
    border-radius: var(--yk-radius-lg);
    margin-bottom: 100px;
}



/* Mode 2: Center Layout */
.yk-title-center {
    text-align: center;
    margin-bottom: 3rem;
}

.yk-title-center .section-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.yk-title-center h2 {
    margin-bottom: 1rem;
}

/* Accordion */
.tt-custom-accordion {
    overflow: hidden;
}

.tt-custom-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tt-custom-accordion .accordion-item:last-child {
    border-bottom: none;
}

.tt-custom-accordion .accordion-button {
    background-color: transparent !important;
    color: var(--yk-dark-primary, #000);
    font-weight: 600;
    box-shadow: none !important;
    padding: 25px;
}


.tt-custom-accordion .accordion-body {
    padding: 0 25px 25px;
}

.accordion-button:not(.collapsed)::after,
.accordion-button::after {
    background-image: url("../images/add.svg");
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-45deg);
}

.services {
    background-color: var(--yk-color-light);
}

/* Services Grid */

.service-card {
    position: relative;
    background-color: var(--yk-color-surface-container, #ffffff);
    border-radius: var(--yk-radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    height: 100%;
}


.service-arrow {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 25px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.service-card:hover .service-arrow {
    transform: rotate(-45deg);
    /* Change color to theme yellow using CSS filter */
    filter: invert(83%) sepia(61%) saturate(2465%) hue-rotate(5deg) brightness(107%) contrast(106%);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--yk-color-surface-container-high, #fcfcfc);
    border-color: var(--yk-yellow-primary);
}

/* Galerie */
.swiper {
    overflow: visible !important;
}

.galerie {
    background-color: var(--yk-color-surface-container-lowest, #fff);
    overflow: hidden;
}

.yk-galerie-slider {
    padding: 20px 0 60px;
    overflow: visible;
}

.galerie-item {
    background: #fff;
    border-radius: var(--yk-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.galerie-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.yk-galerie-slider .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide-active .galerie-item {
    transform: scale(1.05);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.galerie-item:hover img {
    transform: scale(1.1);
}

/* Swiper Pagination */
.yk-galerie-slider .swiper-pagination-bullet {
    background: var(--yk-yellow-primary);
    opacity: 0.3;
}

.yk-galerie-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 25px;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Footer CTA */
.ablauf em,
.footer-cta em {
    color: var(--yk-dark-primary);
    background-color: rgba(0, 0, 0, 0.08)
}

.footer-cta p,
.footer-cta h2 {
    color: var(--yk-dark-primary);
}

.section-description a:not(.cta-contact-link) {
    color: var(--yk-color-bg);
    background-color: var(--yk-dark-primary);
    padding: 13px 45px 13px 26px;
    /* Extra padding for arrow */
    border-radius: var(--yk-radius-xl);
    display: inline-block;
    transition: var(--yk-ease-standard);
    position: relative;
    text-decoration: none;
    margin-top: 40px;
}

.section-description a:not(.cta-contact-link)::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("../images/arrow-right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    filter: invert(1);
    /* Make it white to match bg */
}

.section-description a:not(.cta-contact-link):hover {
    background-color: var(--yk-color-bg);
    color: var(--yk-dark-primary);
}

.section-description a:not(.cta-contact-link):hover::after {
    transform: translateY(-50%) rotate(-45deg);
    filter: none;
    /* Return to original or black depending on hover text color */
}

.footer-cta .title.yk-title-split {
    width: 100%;
}

.footer-cta .section-header-row .section-description,
.footer-cta .section-header-row .cta-description {
    display: block;
    max-width: 100%;
    margin: 0;
}



.footer-cta .section-header-row .cta-contact-box {
    margin-top: 40px;
}

/* contact-input */
label,
.wpcf7-form-control-wrap {
    width: 100%;
    display: inline-block;
}

.wpcf7-form-control-wrap {
    margin-bottom: 25px;
}

.contact-input {
    background-color: var(--yk-color-light);
    border-radius: var(--yk-radius-xl);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    width: 100%;
    height: 50px;
    padding: 0 15px;
    margin: 15px 0 5px 0;
}

.contact-input input,
.contact-input select,
.contact-input textarea {
    background-color: transparent;
    border: none;
    width: 100%;
    height: 100%;
    padding: 0 10px;
    font-size: 15px;
    color: var(--yk-dark-primary);
    outline: none;
    transition: var(--yk-ease-standard);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.contact-input {
    cursor: pointer;
}



select.contact-input:focus,
.contact-input textarea:focus {
    box-shadow: none;
    accent-color: var(--yk-dark-primary);
}

/* Error States */
.wpcf7-not-valid.contact-input,
.contact-input .wpcf7-not-valid,
.wpcf7-not-valid~.custom-select .custom-select-trigger {
    border-color: #ff3b30 !important;
}

span.wpcf7-not-valid-tip {
    font-size: 13px;
    color: #ff3b30;
    margin-top: 5px;
    display: block;
    padding-left: 15px;
}

.wpcf7 form.invalid .wpcf7-response-output {
    border-color: #ff3b30;
    color: #ff3b30;
    background-color: rgba(255, 59, 48, 0.05);
}

.contact-textarea {
    height: 220px;
    border-radius: var(--yk-radius-lg);
    padding: 15px;
}

.wpcf7 .wpcf7-submit {
    background-color: var(--yk-color-light);
    color: var(--yk-dark-primary);
    border: 1px solid var(--yk-dark-primary);
    padding: 13px 26px;
    border-radius: var(--yk-radius-xl);
    transition: var(--yk-ease-standard);
    margin-top: 15px;
}

.wpcf7 .wpcf7-submit:hover {
    background-color: var(--yk-dark-primary);
    color: var(--yk-color-light);
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    border: 1px solid var(--yk-dark-primary);
    border-radius: var(--yk-radius-xl);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: var(--yk-yellow-primary);
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #111;
    flex-shrink: 0;
}

.wpcf7-form .wpcf7-list-item {
    margin: 0;
}

.wpcf7-form .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
}

.wpcf7-form .wpcf7-list-item-label {
    display: inline-block;
}

/* Custom Select Dropdown */
.custom-select-wrapper {
    position: relative;
    user-select: none;
}

select.custom-select-wrapper {
    display: none !important;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 15px 0 5px 0;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    font-size: 15px;
    font-weight: 500;
    color: var(--yk-dark-primary);
    height: 50px;
    width: 100%;
    cursor: pointer;
    background-color: var(--yk-color-light);
    border-radius: var(--yk-radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.custom-select-trigger:after {
    content: '';
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--yk-dark-primary);
    border-right: 2px solid var(--yk-dark-primary);
    transform: rotate(45deg);
    transition: all 0.4s ease;
    margin-right: 5px;
}

.custom-select.open .custom-select-trigger:after {
    transform: rotate(-135deg);
}

.custom-options {
    position: absolute;
    display: block;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    border-radius: var(--yk-radius-lg);
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.4s ease;
    z-index: 999;
    max-height: 250px;
    overflow-y: auto;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.custom-option {
    position: relative;
    display: block;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 500;
    color: var(--yk-dark-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-option:hover,
.custom-option.selected {
    background-color: var(--yk-yellow-primary);
}

.custom-option:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

/* Custom Select in contact-input Context */
.contact-input.custom-select-wrapper,
.wpcf7-form-control-wrap:has(.custom-select) {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
    overflow: visible !important;
}

/* Footer Styling */
.site-footer {
    background-color: var(--yk-dark-primary);
}

.footer-logo img {
    height: 52px;
    width: auto;
}

.footer-navigation ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0;
}

.footer-navigation li {
    display: inline-block;
    position: relative;
    padding: 0 1rem;
}

.footer-navigation li:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -2px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.footer-navigation a {
    color: var(--yk-color-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-navigation a:hover {
    color: var(--yk-yellow-active);
    opacity: 1;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--yk-yellow-primary);
    border-radius: 5px;
    transition: var(--yk-ease-standard);
}

.footer-social a:hover {
    background-color: var(--yk-yellow-hover);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 100px;
    padding: 20px 0;
    border-color: rgba(255, 255, 255, 0.1) !important;
    overflow: hidden;
}

.footer-bottom p {
    color: var(--yk-color-text);
}

.footer-bottom a:hover {
    color: var(--yk-yellow-primary);
}

.footer-legal-links a {
    color: var(--yk-color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--yk-yellow-active);
}

.footer-legal-sep {
    margin: 0 0.5rem;
    opacity: 0.4;
}


.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--yk-yellow-primary);
    border-radius: var(--yk-radius-md);
    text-align: center;
    line-height: 60px;
    margin-bottom: 40px;
}

.service-icon img {
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* 404 Page */
.error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
}

.error-404-code {
    display: block;
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--yk-yellow-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -4px;
}

.error-404-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

.error-404-text {
    color: var(--yk-color-text);
    line-height: 1.8;
    margin-top: 0.5rem;
}


/* ====================================================
   Kundenstimmen / Testimonials Section
   ==================================================== */

.tt-testimonials {
    background-color: var(--yk-color-light);
    overflow: hidden;
}

.tt-testimonials .yk-title-center {
    margin-bottom: 60px;
}

/* Wrapper: holds slider + controls */
.tt-testimonials__wrap {
    position: relative;
}

/* Swiper container */
.tt-testimonials__slider {
    overflow: visible !important;
}

/* Equal-height slides */
.tt-testimonials__slider .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

/* ---- Card ---- */
.tt-testimonial-card {
    background: var(--yk-color-bg);
    border-radius: var(--yk-radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 32px;
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.tt-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--yk-yellow-primary);
}

/* Featured dark card */
.tt-testimonial-card--featured {
    background: var(--yk-dark-primary);
    border-color: transparent;
}

.tt-testimonial-card--featured:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: var(--yk-yellow-primary);
}

/* Card top row: big quote mark + star rating */
.tt-testimonial-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.tt-testimonial-card__quote-mark {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--yk-yellow-primary);
    font-family: Georgia, serif;
    flex-shrink: 0;
}

/* Stars */
.tt-testimonial-card__rating {
    display: flex;
    gap: 2px;
    align-items: center;
    margin-top: 8px;
    flex-shrink: 0;
}

.tt-testimonial-card__star {
    color: var(--yk-yellow-active);
    font-size: 0.9rem;
    line-height: 1;
}

.tt-testimonial-card__star--empty {
    color: rgba(0, 0, 0, 0.18);
}

.tt-testimonial-card--featured .tt-testimonial-card__star--empty {
    color: rgba(255, 255, 255, 0.2);
}

/* Highlight badge */
.tt-testimonial-card__highlight {
    display: inline-block;
    background: rgba(207, 196, 0, 0.1);
    color: var(--yk-yellow-active);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--yk-radius-xl);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.6;
}

.tt-testimonial-card--featured .tt-testimonial-card__highlight {
    background: rgba(255, 242, 0, 0.12);
    color: var(--yk-yellow-primary);
}

/* Quote text */
.tt-testimonial-card__quote {
    font-size: 0.96rem;
    line-height: 1.75;
    flex-grow: 1;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    font-style: normal;
    color: var(--yk-color-text);
}

.tt-testimonial-card--featured .tt-testimonial-card__quote {
    color: rgba(255, 255, 255, 0.85);
}

.tt-testimonial-card__quote p {
    margin: 0;
}

/* Divider */
.tt-testimonial-card__divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.07);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.tt-testimonial-card--featured .tt-testimonial-card__divider {
    background: rgba(255, 255, 255, 0.1);
}

/* Meta row: avatar + name/source/tags */
.tt-testimonial-card__meta {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: auto;
}

.tt-testimonial-card__avatar-wrap {
    flex-shrink: 0;
}

.tt-testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--yk-yellow-primary);
    display: block;
}

.tt-testimonial-card__avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--yk-yellow-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--yk-dark-primary);
    line-height: 1;
    flex-shrink: 0;
}

.tt-testimonial-card__meta-info {
    flex: 1;
    min-width: 0;
}

.tt-testimonial-card__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--yk-dark-primary);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-testimonial-card--featured .tt-testimonial-card__name {
    color: #ffffff;
}

.tt-testimonial-card__source {
    font-size: 0.77rem;
    color: var(--yk-color-text);
    opacity: 0.6;
    margin-bottom: 7px;
}

.tt-testimonial-card--featured .tt-testimonial-card__source {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

/* Service / Location tags */
.tt-testimonial-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tt-testimonial-card__tag {
    display: inline-block;
    background: rgba(0, 0, 0, 0.05);
    color: var(--yk-color-text);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: var(--yk-radius-xl);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.7;
}

.tt-testimonial-card--featured .tt-testimonial-card__tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Swiper pagination — positioned outside the swiper in normal flow */
.tt-testimonials__pagination {
    position: relative !important; /* override Swiper's position:absolute */
    text-align: center;
    margin-top: 24px;
    padding: 4px 0;
    height: auto !important;
    width: 100%;
}

.tt-testimonials__pagination .swiper-pagination-bullet {
    background: var(--yk-dark-primary);
    opacity: 0.18;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.tt-testimonials__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 10px;
}

/* Prev / Next buttons */
.tt-testimonials__controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.tt-testimonials__btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(17, 17, 17, 0.12);
    background: var(--yk-color-bg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--yk-ease-standard);
    color: var(--yk-dark-primary);
    flex-shrink: 0;
}

.tt-testimonials__btn:hover {
    background: var(--yk-dark-primary);
    border-color: var(--yk-dark-primary);
    color: #ffffff;
}

.tt-testimonials__btn--disabled,
.tt-testimonials__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Hide prev/next when count === 1 */
.tt-testimonials__controls[data-hidden="1"] {
    display: none;
}

/* Hide pagination when count === 1 (JS adds data-hidden via controls wrapper) */
.tt-testimonials__pagination[data-hidden="1"] {
    display: none !important;
}

/* ---- Responsive ---- */
@media (max-width: 767.98px) {
    .tt-testimonial-card {
        padding: 22px;
    }

    .tt-testimonial-card__quote-mark {
        font-size: 2.6rem;
    }

    .tt-testimonials .yk-title-center {
        margin-bottom: 40px;
    }
}

@media (max-width: 575.98px) {
    .tt-testimonials__slider {
        overflow: hidden !important;
    }
}

@media (max-width: 991.98px) {
    .custom-logo {
        height: 37px;
    }


    .hero-content {
        padding-bottom: 30dvh;
        padding-top: 160px;
    }

    .hero-content p {
        color: var(--yk-dark-primary);
    }

    h1 {
        font-size: 3rem;
    }

    .site-footer .col-lg-4 {
        margin-bottom: 2rem;
    }

    footer .text-center.mb-4 {
        margin-bottom: 40px !important;

    }

    .hero-single-img {
        height: 370px;
    }

    .navbar {
        top: 30px;
    }

    .hero-img {
        height: 70%;
    }
}

@media (max-width: 991.98px) and (min-width: 768px) {
    .hero {
        padding-bottom: 35dvh;
    }
}

@media (max-width: 767.98px) {

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    br {
        display: none;
    }

    .about-img,
    .hero-single-img {
        height: 200px;
    }

    .hero-content {
        padding-top: 90px;
    }

    .hero-content {
        padding-bottom: 35dvh;
    }

    .about-title {
        padding-left: 0 !important;
        margin-top: 40px;
    }
}
