/* From index.blade.php */
/* Slider */
.wptb-slider--image {
    background-image: url('/assets/img/ecw-background-image.webp');
    background-size: cover;
    background-position: center;
}

.hedtitl {
    color: #d9c90a !important;
}

/* Intro Section */
.ecw-intro {
    border-radius: 12px;
    padding: 60px 20px;
}

.ecw-title {
    font-size: 2rem;
    color: #fded03;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.ecw-intro p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.ecw-intro p.lead {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

.ecw-figure {
    margin: 0;
}

.ecw-img {
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ecw-img:hover {
    transform: scale(1.03);
}

.ecw-caption {
    font-size: 0.9rem;
    margin-top: 10px;
    font-style: italic;
}

@media (max-width: 768px) {
    .ecw-title {
        font-size: 1.6rem;
        text-align: center;
    }

    .ecw-intro p {
        text-align: center;
    }

    .ecw-caption {
        text-align: center;
    }
}

/* Journey Section */
.wptb-features-one {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.wptb-item--title {
    font-size: 2rem;
    font-weight: 700;
}

.small-title {
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.wptb-item--description {
    font-size: 1rem;
    line-height: 1.7;
}

.wptb-item--image img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.wptb-item--image img:hover {
    transform: scale(1.03);
}

.wptb-features-author img {
    border: 2px solid #ddd;
    padding: 2px;
}

@media (max-width: 992px) {
    .wptb-features-one {
        text-align: center;
    }

    .wptb-features-author {
        justify-content: center;
    }
}

span.odometer.odometer-auto-theme,
.odometer.odometer-theme-default {
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.wptb-features-one .wptb-heading {
    padding-right: 0px;
    margin-bottom: 0px;
    z-index: 1;
}

/* Radio Button */
.radio-button {
    display: inline-block;
    margin-right: 10px;
}

.radio-button input[type="radio"] {
    display: none;
}

.radio-button label {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 2px solid #000;
    border-radius: 5px;
    cursor: pointer;
}

.d-flex {
    display: flex !important;
}

.radio-button input[type="radio"]:checked+label {
    background-color: #000;
}

/* Lazy BG & Stars */
.lazy-bg {
    background-color: #111;
    background-size: cover;
    background-position: center;
}

.lazy-bg[data-bg] {
    background-image: none;
}

.lazy-bg.loaded {
    background-image: var(--bg-img);
}

.stars {
    display: inline-block;
    width: 100px;
    height: 20px;
    background: gold;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='20'><text y='16' font-size='20'>★★★★★</text></svg>") no-repeat center/contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='20'><text y='16' font-size='20'>★★★★★</text></svg>") no-repeat center/contain;
}

/* Blog Slider */
.blog-slider .swiper-slide {
    display: flex;
    height: auto;
}

.blog-card {
    height: 100%;
}

.blog-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-swiper-btn {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-swiper-btn::after {
    font-size: 18px;
    color: #000;
    font-weight: bold;
}

.swiper-button-prev {
    left: -60px;
}

.swiper-button-next {
    right: -60px;
}

@media (max-width: 991px) {
    .swiper-button-prev {
        left: 10px;
    }

    .swiper-button-next {
        right: 10px;
    }
}

/* From footer.blade.php */
.sticky-images {
    position: fixed;
    top: 55%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
}

.sticky-images img {
    display: block;
    margin: 5px 0;
    width: auto;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.2s ease-in-out;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 45px;
    height: 45px;
}

.franchise-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.2s ease-in-out;
}

.franchise-button:hover {
    transform: scale(1.1);
}

.franchise-button img {
    width: 60px;
    height: 60px;
}

.tooltip-franchise {
    position: absolute;
    left: 70px;
    background: #ffffff;
    color: #000;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-10px);
}

.tooltip-franchise.show {
    opacity: 1;
    transform: translateX(0);
}

.tooltip-franchise::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent #ffffff transparent transparent;
}