/* =========================================================
   Guru Detail Page — New Design
   ========================================================= */

/* ── Sticky Nav ─────────────────────────────────────────── */
.guru-profile-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    height: 52px;
    display: flex;
    align-items: stretch;
    padding: 0 32px;
}
.guru-nav-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}
.guru-nav-links {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 100%;
}
.guru-nav-link {
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.guru-nav-link:hover {
    color: #e07a2f;
    text-decoration: none;
}
.guru-nav-link.active {
    color: #e07a2f;
    border-bottom-color: #e07a2f;
    text-decoration: none;
}
.guru-nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}
.powered-by-bmg {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}
.powered-by-bmg:hover {
    color: #374151;
}
.powered-by-bmg img {
    height: 32px;
    object-fit: contain;
}

/* ── Hero Banner ─────────────────────────────────────────── */
.guru-hero-banner {
    background: linear-gradient(135deg, #0e1c3d 0%, #0e1c3d 52%, #3a1a0e 100%);
    padding: 44px 48px 36px;
    position: relative;
    overflow: hidden;
    min-height: 290px;
}
.guru-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.guru-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    position: relative;
    z-index: 1;
}
.guru-hero-avatar {
    flex-shrink: 0;
}
.guru-hero-avatar img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    object-position: top center;
    border-radius: 10px;
    border: 3px solid rgba(255, 255, 255, 0.85);
}
.guru-hero-info {
    flex: 1;
    min-width: 0;
}
.guru-hero-name {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}
.verified-badge {
    background: #c7601a;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    white-space: nowrap;
    flex-shrink: 0;
}
.guru-hero-tagline {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    margin: 6px 0 10px;
}
.guru-hero-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 10px;
}
.guru-hero-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.guru-hero-url {
    margin-bottom: 12px;
}
.profile-url-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.88);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 13px;
}
.guru-social-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.guru-social-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.88);
    border-radius: 100px;
    padding: 5px 13px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}
.guru-social-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
}
.guru-social-pill img {
    width: 17px;
    height: 17px;
    object-fit: contain;
}

/* Available Now pill */
.available-now-pill {
    position: absolute;
    bottom: 24px;
    right: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 20, 50, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    padding: 9px 20px 9px 14px;
    backdrop-filter: blur(6px);
    z-index: 2;
    cursor: pointer;
}
.available-now-pill:hover {
    background: rgba(10, 20, 50, 0.85);
}
.available-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
    50%       { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.available-label {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}
.available-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    line-height: 1.2;
}

/* ── Page Main ───────────────────────────────────────────── */
.guru-page-main {
    background: #f5f0eb;
    min-height: 60vh;
}
.guru-sidebar {
    position: sticky;
    top: 64px;
}

/* ── Sidebar Cards ───────────────────────────────────────── */
.guru-about-card,
.guru-help-card,
.guru-instant-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
}
.guru-section-heading {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
    padding-bottom: 10px;
    position: relative;
}
.guru-section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: #e07a2f;
    border-radius: 2px;
}
.guru-about-body {
    font-size: 14px;
    color: #374151;
    line-height: 1.75;
}
.guru-about-body p { margin-bottom: 10px; }

/* Stats row */
.guru-stats-row {
    display: flex;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.guru-stat {
    flex: 1;
    text-align: center;
    padding: 4px 0;
    border-right: 1px solid #f0f0f0;
}
.guru-stat:last-child { border-right: none; }
.guru-stat strong {
    display: block;
    font-size: 21px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
}
.guru-stat span {
    font-size: 10px;
    text-transform: uppercase;
    color: #9ca3af;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ── Book a Session ──────────────────────────────────────── */
.book-session-heading {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
}

/* ── Service Tabs override ───────────────────────────────── */
.guru-service-tabs {
    background: #fff;
    border-radius: 100px;
    padding: 4px;
    display: inline-flex;
    gap: 2px;
    border: 1px solid #e5e7eb;
}
.guru-service-tabs span {
    border-radius: 100px;
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    border: none !important;
    background: transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.guru-service-tabs span:hover {
    background: #f3f4f6;
    color: #111827;
}
.guru-service-tabs span.active {
    background: #111827;
    color: #fff;
}

/* ── Service Detail Page — dark price header ─────────────── */
.service-price-header .prices,
.service-price-header .prices strong,
.service-price-header .prices i {
    color: #fff !important;
    background: transparent !important;
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}
.service-price-header .prices span {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 6px;
}

/* ── Responsive ──────────────────────────────────────────── */
/* Mobile top bar */
.guru-nav-mobile-top {
    align-items: center;
    padding: 8px 14px;
    border-bottom: 1px solid #f0f0f0;
    gap: 8px;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .guru-profile-nav {
        flex-direction: column;
        height: auto;
        overflow-x: visible;
        padding: 0;
    }
    .guru-nav-inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 12px;
        min-width: 0;
        width: 100%;
    }
    .guru-nav-inner::-webkit-scrollbar {
        display: none;
    }
    .guru-nav-links {
        min-width: max-content;
    }
    .guru-nav-right {
        flex-shrink: 0;
    }
    .guru-hero-banner { padding: 28px 24px 32px; min-height: auto; }
    .guru-hero-avatar img { width: 80px; height: auto; min-height: 80px;}
    .guru-hero-name { font-size: 1.5rem; }
    .available-now-pill {
        position: static;
        display: inline-flex;
        margin-top: 14px;
    }
    .guru-sidebar { position: static; top: auto; }
}
@media (max-width: 576px) {
    .guru-hero-banner { padding: 20px 16px 24px; }
    .guru-hero-inner { gap: 16px; }
    .guru-hero-avatar img { width: 68px;  height: auto; min-height: 68px;}
    .guru-hero-name { font-size: 1.3rem; }
    .guru-hero-meta { gap: 10px; font-size: 12px; }
    .guru-hero-tagline { font-size: 13px; }
    .guru-profile-nav { padding: 0 16px; }
    .book-session-heading { font-size: 1.4rem; }
}



/* =========================================
   Guru Contact Form 2026-08-20
   ========================================= */

.guru-contactus-form {
    background: #f5f0e7;
    /* padding: 32px; */
    padding-bottom: 28px;
    padding-top: 18px;
    padding-left: 32px;
    padding-right: 32px;
    width: 100%;
}

/* Two-column rows */
.guru-contactus-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* Individual field */
.guru-contactus-form .form-group {
    margin-bottom: 20px;
}

/* Label */
.guru-contactus-form .form-label {
    display: block;
    margin-bottom: 8px;
    color: #111d40;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}


/* Inputs */
.guru-contactus-form .form-input,
.guru-contactus-form .form-select,
.guru-contactus-form .form-textarea {
    width: 100%;
    border: 1px solid #c9ced8;
    border-radius: 10px;
    background-color: #fff;
    color: #111d40;
    font-size: 16px;
    line-height: 1.5;
    padding: 14px 20px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

/* Input height */
.guru-contactus-form .form-input,
.guru-contactus-form .form-select {
    height: 54px;
}

/* Placeholder */
.guru-contactus-form .form-input::placeholder,
.guru-contactus-form .form-textarea::placeholder {
    color: #6c6c6c;
    opacity: 1;
}

/* Select */
.guru-contactus-form .form-select {
    appearance: auto;
    cursor: pointer;
}

/* Textarea */
.guru-contactus-form .form-textarea {
    min-height: 103px;
    resize: vertical;
}

/* Focus */
.guru-contactus-form .form-input:focus,
.guru-contactus-form .form-select:focus,
.guru-contactus-form .form-textarea:focus {
    border-color:#F36B1A;
    box-shadow: 0 0 0 2px rgba(17, 29, 64, 0.08);
}

/* Error text */
.guru-contactus-form .error-text {
    color: #dc3545;
    font-size: 14px;
    margin-top: 6px;
    margin-bottom: 10px;
}

/* reCAPTCHA wrapper */
.guru-contactus-form #recaptcha {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Submit button */
.guru-contactus-form .btn-submit {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 12px 24px;
    border: 0;
    border-radius: 10px;
    background-color: #111d40;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color 0.2s ease,
                transform 0.1s ease;
}

.guru-contactus-form .btn-submit:hover {
    background-color: #0b1530;
}

.guru-contactus-form .btn-submit:active {
    transform: translateY(1px);
}
.recaptcha-container {
    text-align: center;
    margin-bottom: 17px;
}
.recaptcha-container > div {
    margin: auto;
    display: inline-block;
}
/* =========================================
   Mobile
   ========================================= */

@media (max-width: 767.98px) {

    .guru-contactus-form {
        padding: 24px 16px;
        border-radius: 0 14px 0 0;
    }

    .guru-contactus-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .guru-contactus-form .form-group {
        margin-bottom: 20px;
    }

    .guru-contactus-form .form-label {
        font-size: 15px;
    }

    .guru-contactus-form .form-input,
    .guru-contactus-form .form-select {
        height: 50px;
    }

    .guru-contactus-form .form-textarea {
        min-height: 130px;
    }
}    

.reviews-pagination-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 20px;
    justify-content: flex-end;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.reviews-pagination-nav .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    background: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.reviews-pagination-nav a.page-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111827;
}

.reviews-pagination-nav .page-btn.active {
    background: #f06a1a;
    border-color: #f06a1a;
    color: #fff;
    font-weight: 600;
}

.reviews-pagination-nav .page-btn.disabled {
    background: #f9fafb;
    color: #d1d5db;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.reviews-pagination-nav .page-btn-arrow {
    border-radius: 50%;
    padding: 0;
    width: 34px;
}

.discountTag{
	color: #fff;
  border-radius: 5px;
  padding: 2px;
  font-weight: bold;
  background-color: #800bf5d1 !important;

}

/* ── Delivery Options ────────────────────────────────────── */
.svc-delivery-opt {
    cursor: pointer;
    transition: border-color .15s;
    user-select: none;
}
.svc-delivery-opt.active {
    border-color: #6941C6 !important;
    background: rgba(105,65,198,.05);
}
/* CSS-driven highlight: always matches whichever radio is checked.
   Also strips the .active highlight when the radio inside it is no longer checked
   (handles the edge case where JS fails to move the class). */
label.svc-delivery-opt:has(input[type="radio"]:checked) {
    border-color: #6941C6 !important;
    background: rgba(105,65,198,.05);
}
label.svc-delivery-opt.active:not(:has(input[type="radio"]:checked)) {
    border-color: var(--bs-border-color) !important;
    background: transparent;
}
.svc-delivery-opt input[type="radio"] {
    accent-color: #6941C6;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

#guru_contact_form label.error {
    color: #dc3545;
    font-size: 12px;
    /* margin-top: 4px; */
    display: inline-flex;
}

.form-floating > .form-control-plaintext ~ label, .form-floating > .with_plugin.form-floating > label {
    color: rgba(var(--gk-body-color-rgb),.65);
    transform: scale(.87) translateY(-1.3rem) translateX(0rem);
    /* padding: .3rem 1rem !important; */
}

#guru_contact_form .form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    background-color: var(--gk-input-bg);
    border: var(--gk-border-width) solid var(--gk-input-border);
    border-radius: var(--gk-border-radius);
    color: var(--gk-body-color);
    display: block;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8 !important;
    padding: .5rem 1rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    width: 100%;
}

#guru_contact_form input:focus, #guru_contact_form textarea:focus {
    /* box-shadow: none;
    outline: none; */
}
.control-label {
    color: rgb(170, 3, 3);
    font-size: 15px;
}

/* ── Stripe Payment Modal — booking cart panel ── */
.bkcart-guru-name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--gk-body-color, #212529);
}
.bkcart-service-title {
    font-size: .875rem;
    color: #6c757d;
    margin-top: 3px;
}
.bkcart-meta-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .875rem;
    color: #495057;
}
.bkcart-meta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(var(--gk-primary-rgb, 13,110,253), .08);
    color: var(--gk-primary, #0d6efd);
    font-size: .8rem;
    flex-shrink: 0;
}
.bkcart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
    margin-bottom: .55rem;
}
.bkcart-summary-row .bkcart-row-label {
    color: #6c757d;
}
.bkcart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: .7rem;
    margin-top: .3rem;
    border-top: 2px solid var(--gk-primary, #0d6efd);
}
.bkcart-total-label {
    font-weight: 700;
    font-size: .95rem;
}
.bkcart-total-amount {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gk-primary, #0d6efd);
}


/* ── Service Card Delivery Chips ─────────────────────────── */
.svc-card-delivery {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1.5px solid #c7d2fe;
    border-radius: 10px;
    background: #eef2ff;
}
.svc-card-delivery-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #4f46e5;
    margin-bottom: 8px;
}
.svc-delivery-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .76rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1.5px solid #a5b4fc;
    background: #fff;
    color: #3730a3;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(79,70,229,.1);
}
.svc-delivery-chip .bi {
    font-size: .8rem;
    color: #6366f1;
}


 #imageModal .modal-content {
    width: auto; 
    margin: auto;
}

 .image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    max-height: 85vh;
}

#videoModal .image-wrapper img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    display: block;
}
#videoModal .modal-content {
    position: relative; /* needed so the close button positions relative to this */
}
.video_img video{
    height: auto;
    width: 102%;
    min-height: 101%;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    position: absolute;
    object-fit: cover;
}
#videoModal .btn-close, #imageModal .btn-close {
    position: absolute;
    top: -3px;
    right: -3px;
    opacity: 1;
    height: 20px;
    background-color: white;
    width: 20px;
    border: 1px solid #787878;
    border-radius: 20px;
    z-index: 10;
}

.video_img{
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    padding-top: 75%;
}
.video_img img {
    height: auto;
    width: 100%;
    transform: translateX(-50%);
    left: 50%;
    top: 0;
    position: absolute;
    min-height: 100%;
}
/* Play icon */
.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    transition: 0.3s ease;
    z-index: 2;
}

.video_img:hover .play-overlay {
    background: rgba(0, 0, 0, 0.55);
    transform: scale(1.05);
}
/*Modal css*/
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.media-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden; /* keeps the image's rounded corners clipped to match */
    background: #fff;
    padding: 3px;
}