/* Custom premium styling for the Varicose Veins page and other treatments */
.inner-box.trm h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #1c2c52;
    position: relative;
    padding-bottom: 15px;
}

.inner-box.trm h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #00aa6c;
    border-radius: 2px;
}

.inner-box.trm h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1c2c52;
    margin-top: 45px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.inner-box.trm h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #00aa6c;
    border-radius: 1.5px;
}

.bold-callout {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.8;
    color: #2b3e66;
    background-color: #f2faf6;
    border-left: 4px solid #00aa6c;
    padding: 22px 25px;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.custom-icon-list {
    padding: 0;
    list-style: none;
    margin-top: 15px;
    margin-bottom: 25px;
}

.custom-icon-list li {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.custom-icon-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #00aa6c;
    font-size: 16px;
    transition: transform 0.2s ease;
}

.custom-icon-list li:hover i {
    transform: scale(1.2);
}

.faq-container {
    margin-top: 30px;
}

.faq-card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: #00aa6c;
}

.faq-q {
    font-size: 17px;
    font-weight: 700;
    color: #1c2c52;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.faq-q i {
    color: #00aa6c;
    margin-right: 10px;
    font-size: 18px;
}

.faq-a {
    font-size: 15px;
    line-height: 1.7;
    color: #5b6777;
    margin-bottom: 0;
    padding-left: 28px;
}

.comparison-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    margin: 35px 0;
    border: 1px solid #eaeaea;
}

.comparison-tbl {
    margin-bottom: 0;
    width: 100%;
    border-collapse: collapse;
}

.comparison-tbl th {
    background-color: #1c2c52;
    color: #ffffff;
    font-weight: 600;
    padding: 16px 20px;
    border: none;
    font-size: 15px;
}

.comparison-tbl td {
    padding: 16px 20px;
    vertical-align: middle;
    border-top: 1px solid #eee;
    font-size: 14.5px;
    color: #444;
}

.comparison-tbl tbody tr:nth-child(even) {
    background-color: #fcfcfc;
}

.comparison-tbl tbody tr:hover {
    background-color: #f7faf8;
}

.comparison-tbl td:last-child {
    font-weight: 500;
    color: #00aa6c;
}

.image-showcase {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.image-wrapper {
    flex: 1 1 calc(50% - 10px);
    min-width: 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.image-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.03);
}

.banner-cta {
    background: linear-gradient(135deg, #1c2c52 0%, #2b3e66 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(28, 44, 82, 0.15);
}

.banner-cta h3 {
    color: #ffffff !important;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.banner-cta p {
    color: #eaeaea !important;
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.sidebar-widget-box {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
}

.sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #1c2c52;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.sidebar-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #00aa6c;
}


/* ── YouTube video gallery section styles ── */
.yt-gallery-section {
    position: relative;
    padding: 80px 0 75px;
    background: #ffffff;
    overflow: hidden;
}

.yt-bg-decor {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 90% 10%, rgba(255,0,0,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 5% 80%,  rgba(var(--theme-color-rgb, 0,90,170),0.05) 0%, transparent 70%);
    pointer-events: none;
}

.yt-subheading {
    font-size: 16px;
    color: #666;
    margin-top: 10px;
    margin-bottom: 0;
}

.yt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 44px;
}

.yt-thumb {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 16 / 9;
    background: #111;
}

.yt-thumb:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}

.yt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.yt-thumb:hover img {
    transform: scale(1.04);
    opacity: 0.85;
}

.yt-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.18);
    transition: background 0.3s ease;
}

.yt-thumb:hover .yt-overlay {
    background: rgba(0,0,0,0.35);
}

.yt-play-btn {
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.yt-thumb:hover .yt-play-btn {
    transform: scale(1.15);
    filter: drop-shadow(0 6px 20px rgba(255,0,0,0.6));
}

.yt-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 14px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
    letter-spacing: 0.3px;
}

.yt-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.yt-modal.active {
    display: flex;
}

.yt-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 15, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

.yt-modal-box {
    position: relative;
    z-index: 1;
    width: min(860px, 92vw);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    background: #000;
    animation: yt-pop-in 0.28s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

@keyframes yt-pop-in {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}

.yt-iframe-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.yt-iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.yt-modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #111;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    transition: background 0.2s, transform 0.2s;
}

.yt-modal-close:hover {
    background: #FF0000;
    color: #fff;
    transform: scale(1.1);
}

.yt-view-all-wrap {
    text-align: center;
    margin-top: 35px;
}

.yt-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #1c2c52;
    background-color: #f7f9fb;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 12px 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.yt-view-all-btn:hover {
    background-color: #ff0000;
    color: #ffffff;
    border-color: #ff0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,0,0,0.2);
}

.yt-view-all-btn svg {
    transition: transform 0.25s ease;
}

.yt-view-all-btn:hover svg path {
    fill: #ffffff;
}

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

@media (max-width: 575px) {
    .yt-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .yt-gallery-section {
        padding: 55px 0 55px;
    }
}

/* ── Google reviews section styles ── */
.google-reviews-section {
    position: relative;
    padding: 80px 0 70px;
    background: #f8f9fc;
    overflow: hidden;
}

.gr-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(66,133,244,0.06) 0%, transparent 55%),
        radial-gradient(circle at 85% 20%, rgba(52,168,83,0.05) 0%, transparent 55%);
    pointer-events: none;
}

.gr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.gr-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #4285F4;
    margin-bottom: 10px;
}

.gr-heading {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    margin: 0;
}

.gr-leave-review-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #4285F4;
    background-color: #ffffff;
    border: 1px solid #e0e6f0;
    border-radius: 8px;
    padding: 10px 20px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(66,133,244,0.05);
    transition: all 0.25s ease;
}

.gr-leave-review-btn:hover {
    background-color: #4285F4;
    color: #ffffff;
    border-color: #4285F4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66,133,244,0.25);
}

.gr-leave-review-btn:hover svg path {
    fill: #ffffff !important;
}

.gr-overall {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 16px;
    padding: 22px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    min-width: 200px;
}

.gr-google-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.gr-score {
    font-size: 52px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.gr-stars-large {
    display: flex;
    gap: 3px;
}

.gr-stars-large .star {
    font-size: 26px;
    color: #e0e0e0;
}

.gr-stars-large .star.filled {
    color: #FBBC05;
}

.gr-stars-large .star.half {
    background: linear-gradient(90deg, #FBBC05 60%, #e0e0e0 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gr-count {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.gr-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gr-fade-left,
.gr-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.gr-fade-left  { left: 0;  background: linear-gradient(to right, #f8f9fc, transparent); }
.gr-fade-right { right: 0; background: linear-gradient(to left,  #f8f9fc, transparent); }

@keyframes gr-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gr-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: gr-scroll 40s linear infinite;
    padding: 12px 0 20px;
}

.gr-marquee-track:hover {
    animation-play-state: paused;
}

.gr-card {
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 16px;
    padding: 22px 24px 20px;
    width: 320px;
    height: 250px;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    cursor: default;
}

.gr-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.gr-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.gr-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gr-meta {
    flex: 1;
}

.gr-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
}

.gr-stars {
    font-size: 14px;
    color: #FBBC05;
    letter-spacing: 1px;
    margin-top: 2px;
}

.gr-gicon {
    flex-shrink: 0;
}

.gr-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .gr-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .gr-header-right {
        align-self: center;
        width: 100%;
    }
    .gr-overall {
        margin: 0 auto;
        width: auto !important;
    }
    .gr-heading {
        font-size: 26px;
    }
    .gr-overall {
        padding: 18px 20px;
    }
    .gr-card {
        width: 270px;
        padding: 18px 18px 16px;
    }
    .gr-marquee-track {
        animation-duration: 30s;
    }
}

/* ── WhatsApp Sticky Floating Button ── */
.whatsapp-sticky {
    position: fixed;
    bottom: 90px; /* Positioned above scroll-to-top button */
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #25D366;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-sticky:hover {
    background-color: #20ba5a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(32, 186, 90, 0.3);
}

.wa-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-icon-wrap i {
    font-size: 32px;
    color: #ffffff;
}

.wa-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.wa-text-line1 {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.95;
}

.wa-text-line2 {
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 575px) {
    .whatsapp-sticky {
        padding: 8px 16px;
        bottom: 80px;
        right: 15px;
    }
    .wa-icon-wrap i {
        font-size: 28px;
    }
    .wa-text-line1 {
        font-size: 11px;
    }
    .wa-text-line2 {
        font-size: 14px;
    }
}
