/* FEEDBACK & TRANSFORMATIONS – Sliders, Concierge form, Gold-line testimonials */
.feedback-main { background-color: #ffffff; }

/* About-derived typography (headings / subheadings) */
.feedback-heading-sync {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: 0;
    font-weight: 700;
    color: #163654;
    margin: 0;
}
.feedback-subheading-sync {
    font-size: 1.05rem;
    line-height: 1.4;
    font-weight: 400;
    font-family: var(--font-body, 'Lato', sans-serif);
    color: #555;
    margin: 0;
}

/* Smile Transformations: same format as Contact (left-aligned heading + subheading) */
.feedback-transform-header-block {
    text-align: left;
    margin-bottom: 32px;
}
.feedback-transform-heading {
    margin: 0 0 12px;
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    color: #163654;
}
.feedback-transform-subheading {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5;
    font-family: var(--font-body, 'Lato', sans-serif);
    color: #555;
}

/* Hero: Book Now–style vignette (mask fades to transparent, blends to white) */
.feedback-hero-vignette {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    background-image: none;
}
.feedback-hero-vignette::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/feedback_head.jpg');
    background-size: cover;
    background-position: center 50%;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transform: scale(1.02);
}

.feedback-hero.hero-section {
    background-image: none !important;
}

.feedback-hero .hero-content { position: relative; z-index: 2; }
.feedback-hero-overlay-subtle {
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.1) 40%, transparent 70%);
    pointer-events: none;
}
.feedback-hero { background-size: cover; background-position: center 20%; }
.feedback-comparisons-section {
    padding: 56px 0 84px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}
#comparison-sliders-row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2.1rem;
    margin-top: 10px;
}
#comparison-sliders-row > div {
    display: flex;
    flex-direction: column;
}
.feedback-form-section { background-color: #ffffff; }
.feedback-transformations-subheading { text-align: center; font-size: 1.1rem; color: #555; max-width: 560px; margin: 0 auto 40px; line-height: 1.5; }
/* Gallery: images as container, no white wrappers, soft shadow, scaled up */
.comparison-slider-standalone {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(9, 30, 66, 0.12);
    border: 1px solid rgba(22, 54, 84, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    --slider-value: 50;
    min-height: 380px;
    background: #ffffff;
}
.comparison-slider-standalone:hover { transform: translateY(-6px); box-shadow: 0 20px 42px rgba(9, 30, 66, 0.18); }
.comparison-slider-standalone .comparison-img { border: none; }
.comparison-slider-card { border-radius: 20px; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,0.08); background: #0a0a0a; }
.comparison-slider { position: relative; width: 100%; aspect-ratio: 4/3; min-height: 280px; overflow: hidden; --slider-value: 50; }
.comparison-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.comparison-before { z-index: 0; }
.comparison-after-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.comparison-after { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.comparison-range { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 2; }
.comparison-slider .comparison-after-wrap { clip-path: inset(0 0 0 50%); }
.comparison-slider::after { content: ''; position: absolute; top: 0; left: var(--slider-value, 50%); width: 3px; height: 100%; background: rgba(255,255,255,0.9); box-shadow: 0 0 8px rgba(0,0,0,0.2); transform: translateX(-50%); pointer-events: none; z-index: 3; }
/* Circular L/R handle on separator (images are container; no white wrapper) */
.comparison-slider-handle {
    position: absolute;
    left: var(--slider-value, 50%);
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: #163654;
    font-size: 0.85rem;
}
.comparison-label { position: absolute; top: 12px; font-size: 0.75rem; text-transform: lowercase; color: rgba(255,255,255,0.95); text-shadow: 0 1px 2px rgba(0,0,0,0.4); z-index: 2; pointer-events: none; }
.comparison-label-before { left: 12px; }
.comparison-label-after { right: 12px; }
.comparison-case-title {
    margin: 13px auto 0;
    padding: 8px 14px;
    text-align: center;
    color: #163654;
    font-family: var(--font-heading, "Playfair Display", serif);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(216, 182, 136, 0.42);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(9, 30, 66, 0.08);
    line-height: 1.2;
}
@media (max-width: 991.98px) {
    #comparison-sliders-row {
        --bs-gutter-x: 1.35rem;
        --bs-gutter-y: 1.65rem;
    }
    .comparison-case-title {
        font-size: 0.95rem;
        padding: 7px 12px;
    }
}
.feedback-form-section .form-input-concierge,
.feedback-form-section .feedback-textarea.concierge-input { width: 100%; padding: 10px 0 12px; border: none; border-bottom: 1px solid rgba(22,54,84,0.25); background: transparent; color: #163654; font-family: var(--font-body,'Lato',sans-serif); font-size: 1rem; border-radius: 0; transition: border-color .25s ease, box-shadow .25s ease; }
.feedback-form-section .form-input-concierge:focus,
.feedback-form-section .feedback-textarea.concierge-input:focus { outline: none; border-bottom-color: #d8b688; box-shadow: 0 1px 0 0 #d8b688; }
.feedback-blue-section { background-color: #ffffff; width: 100%; padding: 48px 24px 80px; box-sizing: border-box; }
.feedback-section-title-white { color: #fff !important; }

/* Share Your Experience: full width of section, gold outline, subtle cream gradient */
.feedback-share-ora {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border: 2px solid #d8b688;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #fefaf5 100%);
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}
.feedback-share-body {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
    min-height: 380px;
}
.feedback-share-content {
    flex: 1 1 320px;
    min-width: 0;
    padding: 40px 48px 48px;
    text-align: left;
}
.feedback-share-title {
    color: #163654 !important;
    margin: 0 0 12px;
    text-align: left;
}
.feedback-share-intro {
    color: #555;
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0 0 24px;
    text-align: left;
}
.feedback-share-form-wrap {
    margin-top: 8px;
}

/* Logged-out: locked / blurred form preview + login overlay */
.feedback-form-gate {
    position: relative;
    min-height: 280px;
}
.feedback-form-gate--locked {
    min-height: 300px;
}
.feedback-form-locked {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 260px;
}
.feedback-form-placeholder {
    padding: 8px 0 0;
    filter: blur(6px);
    opacity: 0.55;
    pointer-events: none;
    user-select: none;
}
.feedback-placeholder-row {
    height: 14px;
    background: rgba(22, 54, 84, 0.12);
    border-radius: 6px;
    margin-bottom: 12px;
    max-width: 100%;
}
.feedback-placeholder-row.short {
    max-width: 55%;
}
.feedback-placeholder-teeth {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.feedback-placeholder-teeth::before {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: rgba(216, 182, 136, 0.35);
    box-shadow: 28px 0 0 rgba(216, 182, 136, 0.25), 56px 0 0 rgba(216, 182, 136, 0.2);
}
.feedback-placeholder-block {
    height: 100px;
    background: rgba(22, 54, 84, 0.08);
    border-radius: 8px;
}
.feedback-form-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 20px;
    text-align: center;
    border-radius: 12px;
    transition: background 0.2s ease;
}
.feedback-form-lock-overlay:hover {
    background: rgba(255, 255, 255, 0.72);
}
/* UPDATED: larger tooth icon, gold color */
.feedback-form-lock-icon {
    font-size: 3rem;
    color: #d8b688;
}
/* UPDATED: larger title */
.feedback-form-lock-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 700;
    font-size: 1.5rem;
    color: #163654;
    max-width: 280px;
}
/* UPDATED: larger sub text */
.feedback-form-lock-sub {
    font-size: 1.1rem;
    color: #555;
    max-width: 320px;
    line-height: 1.4;
}
.feedback-anonymous-label {
    font-size: 0.92rem;
    line-height: 1.45;
}
/* Form inside Share box: dark text for visibility on cream/white background */
.feedback-share-ora .feedback-label-bold,
.feedback-share-ora .feedback-field-value,
.feedback-share-ora .feedback-input-gold,
.feedback-share-ora .feedback-textarea,
.feedback-share-ora .char-count {
    color: #333 !important;
}
.feedback-share-ora .feedback-input-gold::placeholder {
    color: #666 !important;
}
.feedback-share-ora .feedback-input-gold,
.feedback-share-ora .feedback-textarea {
    border-bottom-color: rgba(22, 54, 84, 0.3) !important;
}
.feedback-share-ora .feedback-input-gold:focus,
.feedback-share-ora .feedback-textarea:focus {
    border-bottom-color: #d8b688 !important;
}
.feedback-share-ora .confirm-checkbox {
    color: #333 !important;
}
.feedback-share-ora .feedback-master-card {
    background: linear-gradient(145deg, #ffffff 0%, #fefaf4 100%) !important;
    border-color: rgba(216,182,136,0.45) !important;
    box-shadow: 0 12px 30px rgba(22, 54, 84, 0.08), 0 0 0 1px rgba(212, 175, 55, 0.04) inset;
}
.feedback-share-image-wrap {
    flex: 0 0 380px;
    min-height: 380px;
    border-radius: 0 14px 14px 0;
    overflow: hidden;
    box-shadow: -8px 0 24px rgba(0,0,0,0.08);
}
.feedback-share-image {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

.feedback-blue-form-card { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 32px 40px; max-width: 100%; border: 1px solid rgba(255,255,255,0.12); }
.feedback-blue-section .feedback-info-row { color: #fff; margin-bottom: 20px; }
.feedback-user-fields { margin-bottom: 20px; }
.feedback-textarea-container { margin-top: 8px; }
.feedback-share-ora .feedback-textarea-container > .feedback-label-bold {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.feedback-field-row { margin-bottom: 10px; }
.feedback-field-row .feedback-label-bold { display: block; font-size: 0.85rem; margin-bottom: 2px; }
.feedback-field-value { color: rgba(255,255,255,0.9); font-size: 1rem; }
.feedback-blue-section .feedback-label-bold { font-weight: 700; color: #fff; }
.feedback-blue-section .feedback-input-gold { width: 100%; padding: 12px 0 14px; border: none; border-bottom: 1px solid #d8b688; background: transparent; color: #fff; font-size: 1rem; border-radius: 0; transition: border-color .25s, box-shadow .25s; }
.feedback-blue-section .feedback-input-gold::placeholder { color: rgba(255,255,255,0.5); }
.feedback-blue-section .feedback-input-gold:focus { outline: none; border-bottom-color: #d8b688; box-shadow: 0 1px 0 0 #d8b688; }
.feedback-blue-section .char-count { color: rgba(255,255,255,0.8); }
.feedback-blue-section .confirm-checkbox { color: #fff; }
.feedback-blue-section .confirm-checkbox input { accent-color: #d8b688; }
/* Captcha: proper spacing so it doesn't overlap */
.feedback-captcha { margin-top: 28px; margin-bottom: 24px; }
.feedback-send-row { margin-top: 24px; }
.feedback-action-wrapper { max-width: 100%; }
.feedback-master-card { background: rgba(255,255,255,0.04); border-radius: 12px; padding: 32px 40px; border: 1px solid rgba(216,182,136,0.4); }
.feedback-share-ora .feedback-master-card:hover {
    border-color: rgba(216,182,136,0.65) !important;
    box-shadow: 0 16px 36px rgba(22,54,84,0.12), 0 10px 22px rgba(212,175,55,0.16);
}
/* Send button (inside form card): gold outline, hover fill */
.feedback-share-ora .btn-header-book {
    border: 2px solid #d8b688;
    background: transparent;
    color: #163654;
}
.feedback-share-ora .btn-header-book:hover {
    background: #d8b688;
    color: #fff;
}
/* View All Reviews – gold outline, link to Facebook */
.btn-outline-gold-reviews {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border: 2px solid #d8b688;
    background: transparent;
    color: #d8b688;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-outline-gold-reviews:hover { background: #d8b688; color: #fff; border-color: #d8b688; }
.feedback-reviews-outer { margin-top: 1rem; }
.feedback-reviews-carousel-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.feedback-carousel-track-holder {
    flex: 1 1 auto;
    min-width: 0;
}
.feedback-carousel-nav-btn {
    flex: 0 0 auto;
    align-self: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #d8b688;
    background: #fff;
    color: #163654;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
    padding: 0;
}
.feedback-carousel-nav-btn:hover:not(:disabled) {
    background: #d8b688;
    color: #fff;
    border-color: #c4a173;
}
.feedback-carousel-nav-btn:disabled,
.feedback-carousel-nav-btn.is-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.feedback-form-lock-icon {
    font-size: 3rem;
    color: #d8b688;
    display: inline-block;
    transition: transform 0.3s ease-out;
    cursor: default;
}

.feedback-form-lock-overlay:hover .feedback-form-lock-icon {
    transform: translateY(-8px) scale(1.15);
}

@media (max-width: 576px) {
    .feedback-reviews-carousel-row {
        gap: 8px;
    }
    .feedback-carousel-nav-btn {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }
}
.feedback-carousel { overflow: hidden; width: 100%; }
.feedback-carousel-inner { display: flex; transition: transform 0.35s ease; will-change: transform; }
.feedback-carousel-slide { display: flex; flex: 0 0 auto; gap: 24px; justify-content: center; padding: 0 8px; box-sizing: border-box; }
.feedback-carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.feedback-carousel-dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(22,54,84,0.25); cursor: pointer; padding: 0; transition: background 0.2s; }
.feedback-carousel-dot:hover { background: rgba(22,54,84,0.5); }
.feedback-carousel-dot.active { background: #D4AF37; }
.feedback-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; max-width: 1100px; margin: 0 auto; }
.feedback-list-empty { grid-column: 1 / -1; text-align: center; padding: 2rem; }
.feedback-list-empty--enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 220px;
    max-width: 720px;
    margin: 0 auto;
    padding: 2.25rem 1.5rem;
    border: 1px solid rgba(216, 182, 136, 0.4);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #fefaf4 100%);
    box-shadow: 0 12px 30px rgba(22, 54, 84, 0.08);
}
.feedback-empty-splash-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.feedback-empty-tooth {
    position: relative;
    z-index: 2;
    color: #D4AF37;
    font-size: 2.4rem;
    line-height: 1;
    text-shadow: 0 8px 18px rgba(212, 175, 55, 0.35);
    animation: feedbackEmptyToothFloat 2.2s ease-in-out infinite;
}
.feedback-empty-ripple {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.4);
    transform: scale(0.35);
    opacity: 0;
}
.feedback-empty-ripple--one {
    animation: feedbackEmptyRipple 2.4s ease-out infinite;
}
.feedback-empty-ripple--two {
    animation: feedbackEmptyRipple 2.4s ease-out infinite 0.6s;
}
.feedback-empty-ripple--three {
    animation: feedbackEmptyRipple 2.4s ease-out infinite 1.2s;
}
.feedback-empty-title {
    margin: 0;
    color: #163654;
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.65rem;
    font-weight: 700;
}
.feedback-empty-subtitle {
    margin: 0;
    color: #666;
    font-size: 1.05rem;
    max-width: 460px;
}
@keyframes feedbackEmptyRipple {
    0% {
        transform: scale(0.35);
        opacity: 0;
    }
    25% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}
@keyframes feedbackEmptyToothFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}
#feedback-view-all-reviews { text-decoration: none; display: inline-block; }
/* Patient Reviews: tooth icons as star rating, initials + date at bottom */
.feedback-review-card {
    position: relative;
    flex: 1 1 0;
    background: linear-gradient(145deg, #ffffff 0%, #fefaf4 100%);
    border-radius: 12px;
    padding: 20px 24px 20px;
    min-height: 220px;
    border: 1px solid rgba(216,182,136,0.4);
    box-shadow: 0 10px 26px rgba(22,54,84,0.08), 0 0 0 1px rgba(212,175,55,0.04) inset;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
.feedback-review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216,182,136,0.65);
    box-shadow: 0 16px 36px rgba(22,54,84,0.12), 0 10px 22px rgba(212,175,55,0.18);
}
.feedback-review-stars {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.feedback-tooth-star {
    color: rgba(22, 54, 84, 0.2);
    font-size: 1.15rem;
    line-height: 1;
}
.feedback-tooth-star.is-filled {
    color: #D4AF37;
}
.feedback-review-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
}
.feedback-review-footer {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
}
.feedback-review-initials {
    font-family: var(--font-heading,'Playfair Display',serif);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: #163654;
}
.feedback-review-date {
    font-size: 0.8rem;
    color: #777;
    font-family: var(--font-body,'Lato',sans-serif);
}
/* Share form: 1–5 golden tooth rating */
.feedback-rating-field {
    margin-bottom: 10px;
}
.feedback-rating-field .feedback-label-bold {
    margin-bottom: 10px;
}
.feedback-share-ora .feedback-rating-field {
    margin-bottom: 0;
}
.feedback-share-ora .feedback-rating-field .feedback-label-bold {
    margin-bottom: 12px;
}
.feedback-share-ora .feedback-rating-teeth {
    gap: 10px;
}
.feedback-rating-teeth {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.feedback-rating-tooth-btn {
    border: none;
    background: transparent;
    padding: 6px;
    cursor: pointer;
    position: relative;
    overflow: visible;
    color: rgba(22, 54, 84, 0.25);
    font-size: 2.35rem;
    line-height: 1;
    transition: color 0.2s, transform 0.15s;
}
.feedback-rating-tooth-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.45);
    transform: translate(-50%, -50%) scale(0.35);
    opacity: 0;
    pointer-events: none;
}
.feedback-rating-tooth-btn:hover,
.feedback-rating-tooth-btn:focus-visible {
    color: #c9a227;
    outline: none;
    transform: scale(1.06);
}
.feedback-rating-tooth-btn:hover::after,
.feedback-rating-tooth-btn:focus-visible::after {
    animation: feedbackToothHoverRipple 0.9s ease-out infinite;
}
.feedback-share-ora .feedback-rating-tooth-btn {
    animation: feedbackToothIdle 1.4s ease-in-out infinite alternate;
}
.feedback-share-ora .feedback-rating-field:hover .feedback-rating-tooth-btn:not(.is-selected) {
    animation: feedbackToothHover 0.6s ease-in-out infinite alternate;
}
@keyframes feedbackToothIdle {
    from { transform: translateY(0); }
    to { transform: translateY(-2px); }
}
@keyframes feedbackToothHover {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(-3px) scale(1.03); }
}
@keyframes feedbackToothHoverRipple {
    0% {
        transform: translate(-50%, -50%) scale(0.35);
        opacity: 0;
    }
    30% {
        opacity: 0.55;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}
.feedback-rating-tooth-btn.is-selected {
    color: #D4AF37;
}
.feedback-rating-hint {
    font-size: 0.8rem;
    color: #666;
    margin-top: 6px;
}
@media (max-width: 576px) {
    .feedback-carousel-slide {
        flex-direction: column;
        padding: 0;
    }
    .feedback-review-card {
        min-height: 200px;
    }
}

/* =========================================
   1. GLOBAL & BASE STYLES
   ========================================= */
   body {
    background-color: #ffffff; 
    color: #333333; 
}

.section-header {
    font-size: 3rem;
}

/* =========================================
   2. HEADER, NAVIGATION & BUTTONS
   ========================================= */
#mainNav {
    background-color: transparent !important;
    padding: 25px 0;
    border-bottom: 2px solid transparent !important; 
    transition: all 0.3s ease-in-out;
}

.navbar-brand {
    position: relative;
    height: 40px; 
    width: 200px; 
    border: none !important;
    outline: none !important;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-logo {
    position: absolute;
    top: 50%;
    left: -20%;
    transform: translateY(-50%); 
    height: 300px; 
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
    filter: brightness(0) invert(1); 
}

#mainNav.scrolled {
    background-color: #ffffff !important;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 2px solid #d8b688 !important; 
}

#mainNav.scrolled .nav-logo {
    height: 230px; 
    filter: none; 
}

#mainNav .navbar-nav {
    transform: translateX(50px); 
}

#mainNav .nav-link, 
#mainNav .nav-icon-btn {
    color: #ffffff !important;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

#mainNav .nav-link {
    font-size: 1.4rem;
    padding: 0.5rem 1rem !important; 
}

#mainNav .nav-icon-btn {
    font-size: 1.7rem;
    background: transparent;
    border: none;
}

#mainNav.scrolled .nav-link, 
#mainNav.scrolled .nav-icon-btn {
    color: var(--primary-blue, #163654) !important;
}

.header-right-actions {
    transform: translateX(80px); 
}

.btn-header-book {
    background-color: #d8b688;
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-header-book:hover {
    background-color: #c4a173;
    color: #ffffff;
    transform: translateY(-2px);
}

#mainNav .nav-link.active {
    color: #d8b688 !important;
    text-shadow: 0 0 10px rgba(216, 182, 136, 0.3); 
}

#mainNav.scrolled .nav-link.active {
    color: #d8b688 !important;
}

#mainNav .nav-link:hover,
#mainNav .nav-icon-btn:hover {
    transform: translateY(-2px);
}

/* =========================================
   3. TOP HERO SECTION
   ========================================= */
.hero-section {
    height: 70vh;
    min-height: 350px;
    width: 100%; 
    background-image: linear-gradient(to bottom, rgba(250, 248, 245, 0) 60%, rgba(250, 248, 245, 1) 100%), url('../images/bg-about.jpg');
    background-size: cover !important;
    background-position: center 20%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(to bottom, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .4) 100%, rgba(250, 248, 245, 1) 100%); 
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    text-align: center; 
}

.hero-title { 
    font-size: 4rem; 
    color: #ffffff; 
    margin-bottom: 2rem; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.3); 
    position: relative; 
    display: inline-block; 
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -5px; 
    left: 0;
    width: 100%;
    height: 4px; 
    background-color: #d8b688; 
    border-radius: 2px;
    animation: swipeUnderline 1s ease-in-out forwards;
}

@keyframes swipeUnderline {
    0% { transform: scaleX(0); transform-origin: left; }
    40% { transform: scaleX(1); transform-origin: left; }
    60% { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

/* =========================================
   4. PRE-FOOTER CTA SECTION
   ========================================= */
.cta-floating-section {
    position: relative;
    height: 70vh;
    min-height: 400px;
    width: 100%; 
    background-image: url('../images/main-bg.jpg');
    background-size: cover !important;
    background-position: center 30%;
    background-repeat: no-repeat;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(250, 248, 245, .5) 0%, rgba(250, 248, 245, .2) 10%, rgba(0, 0, 0, .8) 100%);
    z-index: 1; 
}

.cta-glass-card {
    background: rgba(255, 255, 255, 0.90); 
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
}

.cta-floating-heading {
    color: var(--primary-blue, #163654); 
    font-size: 2.8rem; 
    line-height: 1.2;
}

.cta-floating-subtext {
    color: #444444;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* =========================================
   5. SCROLL REVEAL ANIMATIONS
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(50px); 
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform; 
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0); 
}

.delay-1 {
    transition-delay: .2s; 
}

/* =========================================
   9. FOOTER SECTION (REFINED)
   ========================================= */
   .site-footer {
    background-color: #163654;
    color: #ffffff;
    border-top: 3px solid #d8b688; /* Keeps the elegant gold line on top */
    padding: 0 0 0 0; /* Extremely minimal padding (10px top, 0 everywhere else) */
}

/* Logo & Brand Column */
.footer-logo {
    width: 350px;
    height: 270px;
    object-fit: contain;
    display: block;
    
    /* Reset margins so they don't fight the scaling */
    margin: -40px auto -50px auto !important;
    margin-top: -25px !important;
}

.footer-brand-text {
    /* Ensure no residual negative margins are pulling the text into the logo space */
    margin-left: 0 !important; 
    margin-top: 10px;
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    /* THIS IS THE FIX: Lifts the icons above the logo's invisible bounding box */
    position: relative; 
    z-index: 50; 
}

.footer-socials a {
    color: #ffffff;
    font-size: 1.5rem;
    display: inline-block;
    /* Clean transition on the base element */
    transition: transform 0.3s ease, color 0.3s ease; 
}

.footer-socials a:hover {
    transform: translateY(-5px);
}

/* Common Column Styles */
.footer-heading {
    color: #d8b688;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-subheading {
    color: #d8b688;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Navigation Links */
.footer-links {
    list-style: none;
    padding: 10px;
    line-height: 40px;
    font-size: 1.2rem;
    margin-left: -15px;
    margin-top: -13px;;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block; /* Required for the float effect */
    transition: transform 0.3s ease;
}

.footer-links a.active {
    color: #d8b688;
}

.footer-links a:hover {
    transform: translateY(-5px) !important;
    color: rgba(255, 255, 255, 0.75) !important; /* Retains original color */
}

/* Column Spacing */
.footer-col-pages, 
.footer-col-eastwood, 
.footer-col-stamesa {
    padding-left: 40px; /* Adjust this to control gap between columns */
    margin-top: 50px;
}

.footer-col-eastwood {
    margin-left: -30px;
}

.footer-col-eastwood {
    border-left: 1px solid rgba(216, 182, 136, 0.2); /* Light gold transparent line */
    padding-left: 70px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 10px 0;
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .feedback-split-header {
        flex-direction: column;
        align-items: stretch;
    }
.feedback-split-header-right {
    text-align: left;
}
.feedback-share-body {
    flex-direction: column;
    min-height: 0;
}
.feedback-share-image-wrap {
    flex: 0 0 auto;
    min-height: 260px;
    max-width: 100%;
}
.feedback-share-image {
    min-height: 260px;
}
.footer-col-pages, .footer-col-eastwood, .footer-col-stamesa {
        padding-left: 15px;
        text-align: center;
        margin-bottom: 30px;
    }
    .footer-links a:hover { padding-left: 0; }
}

/* =========================================
   7. AUTH MODALS & PROFILE MENU
   ========================================= */
.modal-overlay { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); justify-content: center; align-items: center; }
.custom-modal-content { background-color: white; padding: 40px; border-radius: 20px; width: 90%; max-width: 500px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.2); animation: fadeIn 0.3s ease-out; max-height: 90vh; overflow-y: auto; }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 24px; font-weight: bold; cursor: pointer; color: #555; z-index: 10; }
.custom-modal-content h2 { color: var(--primary-blue, #163654); text-align: center; margin-bottom: 25px; font-size: 2rem; }
.custom-input-group label { display: block; color: var(--primary-blue, #163654); font-weight: 600; margin-bottom: 5px; font-size: 0.9rem; }
.custom-input-group input { width: 100%; padding: 12px; margin-bottom: 15px; border: none; background-color: var(--input-bg-blue); color: #000; font-family: var(--font-body); font-size: 1rem; border-radius: 0; }
.custom-input-group input:focus { outline: 2px solid var(--accent-gold); }
.form-row-custom { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.modal-submit-btn { display: block; width: 150px; margin: 20px auto; padding: 10px; background: transparent; border: 2px solid var(--accent-gold); color: var(--accent-gold); font-weight: bold; border-radius: 25px; cursor: pointer; font-size: 1rem; transition: 0.3s; text-transform: uppercase; }
.modal-submit-btn:hover { background-color: var(--accent-gold); color: white; }
.captcha-box { border: 1px solid var(--accent-gold); padding: 10px; text-align: center; color: var(--primary-blue, #163654); margin-bottom: 15px; display: flex; justify-content: center; }
.switch-text { text-align: center; font-size: 0.85rem; margin-top: 10px; color: #666; }
.switch-text a { color: var(--primary-blue, #163654); font-weight: bold; text-decoration: none; }

.profile-menu { display: none; position: fixed; top: 70px; right: 50px; background-color: white; width: 280px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); border-radius: 10px; border-top: 4px solid var(--accent-gold); z-index: 2001; padding: 20px; text-align: center; animation: fadeIn 0.2s ease-out; }
.profile-menu h5 { color: var(--primary-blue, #163654); margin-bottom: 5px; font-size: 1.1rem; }
.profile-menu span { color: #666; font-size: 0.9rem; display: block; margin-bottom: 20px; }
.btn-logout { border: 1px solid #ff4d4d; color: #ff4d4d; background: white; padding: 8px 30px; border-radius: 20px; font-weight: bold; font-size: 0.9rem; transition: 0.3s; width: 100%; }
.btn-logout:hover { background-color: #ff4d4d; color: white; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   8. MEDIA QUERIES (MOBILE RESPONSIVE)
   ========================================= */