/*
 * Jupiter site styles.
 * Everything here was inline <style> in the original HTML, moved into one file.
 * The accordion block is new: the original .acc-* markup had no CSS at all,
 * so the sub-service FAQs never collapsed.
 */

/* ---------- WhatsApp booking card grid ---------- */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .06);
    transition: .3s ease;
}

.card:hover { transform: translateY(-6px); }

.card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: .5px;
}

.card .dz-title { margin-top: 10px; }

/* Booking cards on the main service pages are left-aligned, as on the original dental/aesthetic pages */
.card.dz-card.style-1 { text-align: left; }

.image-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.image-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #79379f;
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 20px;
    letter-spacing: .5px;
}

.sessions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.session-btn {
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: .3s;
    background: #f6f6f6;
}

.session-btn:hover { background: #79379f; color: #fff; }

.view-all-small {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #79379f;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color .3s ease;
}

.view-all-small:hover { color: #fff; background-color: #9851c1; }

/* "Book Now" badge sitting over the card image */

.card .dz-media {
    position: relative;
    overflow: visible;
}

.btn-wa-image {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background-color: #79379f !important;
    color: #fff !important;
    padding: 10px 30px !important;
    border: none;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-transform: uppercase;
    border-radius: 30px !important;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
    text-decoration: none;
    transition: all .3s;
}

.btn-wa-image:hover {
    background-color: #25D366 !important;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, .25);
}

/* Team card play button */

.dz-media .play-btn {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #79379f;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .5px;
    transition: all .3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, .2);
}

.dz-media .play-btn i { font-size: 16px; color: #fff; }
.dz-media .play-btn:hover { background: #000; }
.dz-media .play-btn:hover i { color: #fff; }

/*
 * Active/hover team thumbnail turns --bs-secondary (dark), and style.css only lifts the name to
 * white via `.dz-name a`. These cards render the name as plain text (there is no team-detail
 * route to link to), so without this the name stayed dark on dark and looked like it vanished.
 */

.swiper-slide.swiper-slide-thumb-active .dz-team.style-1 .dz-name,
.dz-team.style-1.active .dz-name,
.dz-team.style-1:hover .dz-name {
    color: #fff;
}

/*
 * The thumbnail slides are Swiper thumbs — clicking one switches the main slide — but nothing in
 * the markup is a link, so the cursor stayed an arrow and the cards did not read as selectable.
 */

.dz-team-swiper1-thumb .swiper-slide {
    cursor: pointer;
}

/* Team info-card video link — sits outside .dz-media, so it needs its own pill. */

.info-widget .open-video {
    display: inline-block;
    background: #79379f;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .5px;
    transition: all .3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, .2);
}

.info-widget .open-video .play-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.info-widget .open-video i { font-size: 16px; color: #fff; }
.info-widget .open-video:hover { background: #000; color: #fff; }

/* ---------- Promo / video popup ---------- */

.custom-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.custom-popup.is-open { display: flex; }

.custom-popup-inner {
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    text-align: center;
    position: relative;
}

.custom-popup-close {
    position: absolute;
    right: 8px;
    top: -5px;
    font-size: 24px;
    cursor: pointer;
}

.custom-popup-close-text {
    margin-top: 15px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.custom-popup-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.custom-popup-video iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: 0;
}

/* ---------- Lead forms: validation messages ---------- */

.js-lead-form .form-control.is-error { border-color: #ff8a8a !important; }

.js-lead-form span.form-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #ffb4b4;
    text-align: left;
}

/* ---------- Lead forms: phone field with country code (intl-tel-input) ---------- */
/* The plugin wraps the input in .iti and the label is moved in after it. At rest the label
   sits after the dial code (--iti-label-left, set from the field padding in site.js); it is
   raised on focus or when a number is entered, like the other floating fields. */

.js-lead-form .iti {
    display: block;
    width: 100%;
}

.js-lead-form .iti > label {
    position: absolute;
    z-index: 2;
    left: var(--iti-label-left, 20px);
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
}

.js-lead-form .iti > .form-control::placeholder {
    color: transparent;
}

.js-lead-form .floating-underline .iti > .form-control:focus ~ label,
.js-lead-form .floating-underline .iti > .form-control:not(:placeholder-shown) ~ label {
    left: 0;
}

.js-lead-form .iti__selected-country-primary {
    padding-left: 14px;
}

.js-lead-form .floating-underline .iti__selected-country-primary {
    padding-left: 0;
}

.js-lead-form .iti .iti__selected-dial-code,
.js-lead-form .iti__selected-country {
    color: inherit;
}

.js-lead-form .floating-outline.input-light .iti__selected-dial-code {
    color: #fff;
}

.js-lead-form .iti__dropdown-content {
    color: #212121;
    text-align: left;
}

.js-lead-form .iti__search-input {
    padding: 8px 12px;
    border: 0;
    border-bottom: 1px solid #ddd;
    outline: 0;
}

/* ---------- FAQ accordion (.acc-*) ---------- */

.acc-main { margin-top: 10px; }

.acc-item {
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.acc-header {
    position: relative;
    display: block;
    width: 100%;
    padding: 18px 44px 18px 0;
    background: none;
    border: 0;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--bs-secondary, #79379f);
    cursor: pointer;
}

.acc-header::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s ease;
}

.acc-header.active::after {
    transform: rotate(-135deg);
    margin-top: -3px;
}

.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.acc-content p {
    margin: 0;
    padding: 0 0 20px;
}

/* ---------- Footer legal links ---------- */

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.footer-links a {
    color: inherit;
    opacity: .82;
    font-size: 14px;
}

.footer-links a:hover { opacity: 1; }

/* ---------- Responsive ---------- */

@media (max-width: 992px) {
    .grid { grid-template-columns: repeat(1, 1fr); }
}

@media (max-width: 480px) {
    .grid { grid-template-columns: 1fr; }
}

/* ---------- Blog detail lists (old ul.blogs-bullets / ol.blogs-number-bullet) ---------- */

.dz-blog.blog-single .dz-post-text ul {
    list-style-type: disc !important;
    padding-left: 35px !important;
    margin: 20px 0 !important;
}

.dz-blog.blog-single .dz-post-text ol {
    list-style: decimal !important;
    padding-left: 32px !important;
}

.dz-blog.blog-single .dz-post-text ul > li {
    display: list-item !important;
    list-style-type: disc !important;
    position: relative !important;
    margin: 0 0 12px 0 !important;
    padding: 0 0 0 5px !important;
    line-height: 1.7;
    color: #79379f;
}

.dz-blog.blog-single .dz-post-text ol > li {
    display: list-item !important;
    list-style-type: decimal !important;
}

.dz-blog.blog-single .dz-post-text ul > li::before,
.dz-blog.blog-single .dz-post-text ol > li::before {
    content: none !important;
    display: none !important;
}

/* ---------- reCAPTCHA v3 ---------- */
/* The badge is hidden, so the legal line under each submit button carries the notice
   Google requires. Keep the badge in the layout (visibility, not display) — removing it
   from the flow makes the widget misreport its position. */

.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha-notice {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.6;
    opacity: 0.75;
}

.recaptcha-notice a {
    color: inherit;
    text-decoration: underline;
}

/* ---------- Spacing utilities removed by the CSS purge ---------- */
/* Used by the main service page CTA separator (old markup: mb-5 mt-5). */

.mt-5 {
    margin-top: 3rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}
