/* ==========================================================================
   Panacee Dental - Custom Header & Theme Styling
   Matches the design reference: White top bar with icons + Blue navigation bar
   ========================================================================== */

:root {
    --panacee-blue: #2992d4;
    --panacee-blue-dark: #1e7bb6;
    --panacee-pink: #e6007e;
    --panacee-pink-hover: #c9006e;
    --panacee-text-dark: #2c3e50;
    --panacee-text-muted: #64748b;
    --panacee-border: #e2e8f0;
}

/* --------------------------------------------------------------------------
   Header Top Bar (White Background with Logo, Contacts & Appointment)
   -------------------------------------------------------------------------- */
.panacee-main-header {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

.panacee-header-top {
    background: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.panacee-logo-wrap {
    display: flex;
    align-items: center;
}

.panacee-logo-img {
    max-height: 58px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.panacee-logo-img:hover {
    transform: scale(1.02);
}

.panacee-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.panacee-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--panacee-pink);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.panacee-contact-item:hover .panacee-contact-icon {
    transform: scale(1.1);
}

.panacee-contact-info {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.panacee-contact-info .contact-highlight,
.panacee-contact-info .panacee-phone,
.panacee-contact-info .panacee-address-line1 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.panacee-contact-info a.panacee-phone:hover {
    color: var(--panacee-blue);
}

.panacee-contact-info .contact-sub,
.panacee-contact-info .panacee-email,
.panacee-contact-info .panacee-address-line2 {
    font-size: 13px;
    font-weight: 500;
    color: var(--panacee-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.panacee-contact-info a.panacee-email:hover {
    color: var(--panacee-pink);
}

.panacee-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
    margin: 0 28px;
}

/* Appointment Pill Button */
.panacee-btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 50px;
    padding: 10px 24px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.panacee-btn-appointment i {
    color: var(--panacee-pink);
    font-size: 17px;
    transition: transform 0.25s ease;
}

.panacee-btn-appointment:hover {
    border-color: var(--panacee-pink);
    color: var(--panacee-pink);
    box-shadow: 0 4px 15px rgba(230, 0, 126, 0.18);
    transform: translateY(-1px);
}

.panacee-btn-appointment:hover i {
    transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   Navigation Bar (Blue Bar with White Bold Text + Magenta Toggle)
   -------------------------------------------------------------------------- */
.panacee-nav-bar {
    background: var(--panacee-blue);
    background: linear-gradient(90deg, #278ecf 0%, #2992d4 100%);
    width: 100%;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.panacee-nav-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 54px;
}

.panacee-nav-list {
    display: flex;
    align-items: stretch;
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.panacee-nav-item {
    display: flex;
    align-items: stretch;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.panacee-nav-item > a {
    display: flex;
    align-items: center;
    padding: 0 24px;
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.panacee-nav-item:hover > a,
.panacee-nav-item.active > a {
    background: rgba(0, 0, 0, 0.12);
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Facilities Dropdown Menu
   Matches User Reference: Black upward pointer arrow, white container, thin dividers
   -------------------------------------------------------------------------- */
.panacee-nav-item.panacee-dropdown {
    position: relative;
}

.panacee-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
    border-radius: 4px;
    padding: 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
}

/* Black arrow indicator matching user reference screenshot */
.panacee-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 7px solid #000000;
}

.panacee-nav-item.panacee-dropdown:hover .panacee-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.panacee-dropdown-menu li {
    border-bottom: 1px solid #f1f5f9;
}

.panacee-dropdown-menu li:last-child {
    border-bottom: none;
}

.panacee-dropdown-menu li a {
    display: block !important;
    padding: 13px 22px !important;
    color: #1e293b !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
}

.panacee-dropdown-menu li a:hover,
.panacee-dropdown-menu li.active a {
    background: #f8fafc !important;
    color: var(--panacee-pink) !important;
    padding-left: 26px !important;
}

/* Special accent for Gallery / Active highlight like the screenshot */
.panacee-nav-item.highlight a {
    color: #ffd166 !important;
}

/* Magenta Action / Hamburger Box on the Right - Mobile only */
.panacee-nav-action {
    display: none;
    align-items: stretch;
}

.panacee-nav-toggle {
    background: var(--panacee-pink);
    border: none;
    outline: none;
    width: 58px;
    height: 100%;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: background 0.25s ease;
    padding: 0;
}

.panacee-nav-toggle:hover {
    background: var(--panacee-pink-hover);
}

.panacee-nav-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   Mobile Drawer & Responsiveness
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {

    .panacee-contact-item,
    .panacee-divider {
        display: none !important;
    }

    .panacee-header-top {
        padding: 10px 0;
    }

    .panacee-logo-img {
        max-height: 48px;
    }

    .panacee-btn-appointment {
        padding: 8px 16px;
        font-size: 12px;
    }

    .panacee-nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        border-left: none;
        background: var(--panacee-blue);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .panacee-nav-list.show {
        display: flex;
    }

    .panacee-nav-inner {
        flex-wrap: wrap;
        align-items: center;
        min-height: 52px;
    }

    .panacee-mobile-label {
        color: #ffffff;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 1px;
        padding-left: 8px;
        display: block;
    }

    .panacee-nav-action {
        display: flex !important;
        margin-left: auto;
    }

    /* Mobile Facilities Submenu */
    .panacee-dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(0, 0, 0, 0.12) !important;
        border-radius: 0 !important;
        min-width: 100% !important;
        display: block !important;
    }

    .panacee-dropdown-menu::before {
        display: none !important;
    }

    .panacee-dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .panacee-dropdown-menu li a {
        color: #ffffff !important;
        padding: 10px 20px 10px 32px !important;
        font-size: 13.5px !important;
    }

    .panacee-dropdown-menu li a:hover,
    .panacee-dropdown-menu li.active a {
        background: rgba(0, 0, 0, 0.22) !important;
        color: #ffd166 !important;
        padding-left: 36px !important;
    }
}

@media (max-width: 575px) {
    .panacee-btn-appointment span {
        display: none;
    }

    .panacee-btn-appointment {
        padding: 8px 12px;
        border-radius: 50%;
    }
}

/* --------------------------------------------------------------------------
   About Section - Technology Partners & Founder Profile Card
   Matches User Reference: Ackuretta, Alpha 3D, Sirona + Prof. Dr. Jothikumar Kamalakkannan
   -------------------------------------------------------------------------- */
.about-partner-founder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 24px;
    padding-top: 22px;
    margin-top: 8px;
    margin-bottom: 35px;
    border-top: 1px solid #eef2f6;
}

.about-partner-logos {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.partner-logo-item {
    display: flex;
    align-items: center;
}

.partner-logo-item img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(12%);
    opacity: 0.92;
}

.partner-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px) scale(1.05);
}

.about-founder-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 20px;
    border-right: 1.5px solid #e2e8f0;
}

.about-founder-box .founder-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-founder-box .founder-icon img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.about-founder-box:hover .founder-icon img {
    transform: scale(1.08);
}

.about-founder-box .founder-info {
    display: flex;
    flex-direction: column;
}

.about-founder-box .founder-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.25;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.2px;
}

.about-founder-box .founder-role {
    font-size: 13px;
    font-weight: 500;
    color: var(--panacee-text-muted);
    margin-top: 3px;
    line-height: 1.2;
    display: block;
}

@media (max-width: 991px) {
    .about-partner-founder {
        gap: 20px;
    }

    .about-founder-box {
        border-right: none;
        padding-right: 0;
    }
}

@media (max-width: 575px) {
    .about-partner-founder {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .about-partner-logos {
        gap: 16px;
    }

    .partner-logo-item img {
        max-height: 34px;
    }
}

/* --------------------------------------------------------------------------
   Service Item Card Enhancements
   Matches Reference: Magenta Top Accent Line & Smooth Hover
   -------------------------------------------------------------------------- */
.service-item {
    border-top: 3.5px solid var(--panacee-pink);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   Before & After Patient Results Section
   Matches Reference: Dual pill badges [Before | After], Swiper Slider & Capsule Dots
   -------------------------------------------------------------------------- */
.before-after-section {
    padding: 95px 0 90px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.before-after-header {
    margin-bottom: 42px;
}

.before-after-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin-bottom: 22px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.3px;
}

.before-after-action {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.btn-our-results {
    background: var(--panacee-blue);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(41, 146, 212, 0.25);
}

.btn-our-results:hover {
    background: var(--panacee-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(41, 146, 212, 0.35);
}

.results-dot-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.results-dot-btn .inner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #94a3b8;
    transition: background 0.3s ease;
}

.results-dot-btn:hover {
    border-color: var(--panacee-blue);
    transform: scale(1.08);
}

.results-dot-btn:hover .inner-dot {
    background: var(--panacee-blue);
}

.before-after-carousel-wrap {
    position: relative;
    padding: 0 10px;
}

.before-after-card-wrap {
    padding-bottom: 35px;
    position: relative;
}

.before-after-card {
    position: relative;
    border-radius: 18px;
    overflow: visible !important;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.09);
    background: #ffffff;
    border: 1px solid #f1f5f9;
}

.before-after-images-wrap {
    border-radius: 18px;
    overflow: hidden;
}

.before-img-box,
.after-img-box {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    background: #f8fafc;
}

.before-img-box img,
.after-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.before-after-card:hover .before-img-box img,
.before-after-card:hover .after-img-box img {
    transform: scale(1.03);
}

/* Floating Dual Badge [ Before | After ] - 100% Fully Visible */
.before-after-badge-wrap {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: inline-flex;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    border-radius: 50px;
    overflow: hidden;
    border: 3px solid #ffffff;
}

.badge-item {
    padding: 9px 26px;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 95px;
    user-select: none;
    line-height: 1.2;
}

.badge-before {
    background: var(--panacee-blue);
}

.badge-after {
    background: var(--panacee-pink);
}

/* Pagination Dots */
.before-after-pagination {
    position: static !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 35px;
}

.before-after-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    opacity: 0.7;
    margin: 0 !important;
    transition: all 0.35s ease;
    cursor: pointer;
}

.before-after-pagination .swiper-pagination-bullet-active {
    width: 6px;
    height: 18px;
    border-radius: 4px;
    background: var(--panacee-pink) !important;
    opacity: 1;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991px) {
    .before-after-title {
        font-size: 28px;
    }
    .before-img-box,
    .after-img-box {
        height: 340px;
    }
}

@media (max-width: 767px) {
    .before-after-section {
        padding: 60px 0 60px;
    }
    .before-after-title {
        font-size: 22px;
        line-height: 1.3;
    }
    .before-img-box,
    .after-img-box {
        height: 230px;
    }
    .badge-item {
        padding: 6px 16px;
        font-size: 12px;
        min-width: 65px;
    }
    .before-after-badge-wrap {
        bottom: -14px;
        border-width: 2px;
    }
    .before-after-card-wrap {
        padding-bottom: 25px;
    }
}

@media (max-width: 480px) {
    .before-img-box,
    .after-img-box {
        height: 175px;
    }
}

/* --------------------------------------------------------------------------
   Panacee Custom Dark Footer Theme
   Matches Reference: Dual CTA top boxes, dark slate background, 4-column layout
   -------------------------------------------------------------------------- */
footer.main-footer.panacee-footer {
    background: #08171b !important;
    background-image: none !important;
    position: relative;
    padding: 0 !important;
    margin-top: 75px;
    color: #94a3b8;
}

/* Top Dual CTA Overlapping Boxes */
.footer-cta-wrapper {
    position: relative;
    margin-top: -65px;
    margin-bottom: 50px;
    z-index: 10;
}

.footer-cta-card {
    position: relative;
    overflow: hidden;
    padding: 34px 40px;
    min-height: 145px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.footer-cta-card.cta-location {
    background: var(--panacee-blue);
}

.footer-cta-card.cta-appointment {
    background: var(--panacee-pink);
}

.cta-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.cta-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.footer-cta-card:hover .cta-icon-box {
    transform: scale(1.1);
    border-color: #ffffff;
}

.cta-card-content h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.cta-card-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 13.5px;
    margin-bottom: 12px;
    line-height: 1.45;
}

.cta-btn-link {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.6);
    padding-bottom: 2px;
    transition: all 0.25s ease;
}

.cta-btn-link:hover {
    border-bottom-color: #ffffff;
    transform: translateX(4px);
}

.cta-watermark-icon {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 135px;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 1;
    line-height: 1;
}

/* Footer Main Body */
.footer-main-body {
    padding-bottom: 65px;
}

.footer-panacee-logo {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.footer-brand-text p {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 0;
}

.btn-footer-readmore {
    background: var(--panacee-blue);
    color: #ffffff !important;
    border-radius: 50px;
    padding: 9px 26px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(41, 146, 212, 0.25);
}

.btn-footer-readmore:hover {
    background: var(--panacee-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 146, 212, 0.35);
}

.footer-col-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.2px;
}

.footer-title-bar {
    width: 32px;
    height: 2.5px;
    background: var(--panacee-blue);
    margin-top: 8px;
    margin-bottom: 22px;
    border-radius: 2px;
}

.footer-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-check-list li {
    margin-bottom: 11px;
}

.footer-check-list li a {
    color: #cbd5e1;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.footer-check-list li a i {
    color: var(--panacee-blue);
    font-size: 12px;
}

.footer-check-list li a:hover {
    color: var(--panacee-pink);
    transform: translateX(4px);
}

.footer-check-list li a:hover i {
    color: var(--panacee-pink);
}

/* Schedule List */
.footer-schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-schedule-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 13.5px;
}

.footer-schedule-list .day-name {
    color: #cbd5e1;
    font-weight: 500;
}

.footer-schedule-list .day-time {
    color: #94a3b8;
    font-weight: 500;
}

.footer-schedule-list .day-time.day-special {
    color: var(--panacee-pink);
    font-weight: 700;
}

/* Footer Copyright Bar */
.footer-copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 0;
    background: #051114;
}

.copyright-text {
    color: #64748b;
    font-size: 13.5px;
    margin: 0;
}

.footer-social-nav {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
}

.footer-social-nav a {
    color: #cbd5e1;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-social-nav a:hover {
    color: var(--panacee-pink);
}

/* Floating Scroll to Top */
.panacee-scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: var(--panacee-pink);
    color: #ffffff !important;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 0, 126, 0.35);
    text-decoration: none;
}

.panacee-scroll-to-top:hover {
    background: var(--panacee-pink-hover);
    transform: translateY(-3px);
}

/* Responsive Footer adjustments */
@media (max-width: 991px) {
    .footer-cta-card {
        padding: 26px 24px;
    }
    .footer-cta-wrapper {
        margin-top: -45px;
    }
    footer.main-footer.panacee-footer {
        margin-top: 50px;
    }
    .footer-social-nav {
        justify-content: center;
        margin-top: 8px;
    }
}

@media (max-width: 767px) {
    .cta-card-inner {
        flex-direction: column;
        gap: 14px;
    }
    .footer-cta-card {
        min-height: auto;
    }
    .cta-watermark-icon {
        font-size: 90px;
    }
    .footer-schedule-list li {
        font-size: 13px;
    }
}

/* --------------------------------------------------------------------------
   Service Single Page & Sidebar (Matches User Reference Screenshots)
   -------------------------------------------------------------------------- */
.service-single-page {
    padding: 70px 0 90px;
    background: #ffffff;
}

.service-main-image {
    margin-bottom: 30px;
}

.service-main-image figure {
    border-radius: 16px;
    overflow: hidden;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
}

.service-main-image img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    display: block;
}

.service-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 18px;
}

.service-detail-title span {
    color: var(--panacee-pink);
}

.service-detail-lead {
    font-size: 16px;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 24px;
}

/* Bullet points exactly matching the user reference screenshot */
.service-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.service-bullet-list li {
    position: relative;
    padding-left: 20px;
    font-size: 15px;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 14px;
}

.service-bullet-list li::before {
    content: '•';
    position: absolute;
    left: 4px;
    top: -2px;
    font-size: 20px;
    color: #64748b;
}

/* Feature mini card grid */
.service-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 30px;
    margin-bottom: 35px;
}

.service-info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.service-info-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 10px 0 6px;
}

.service-info-card p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Service Sidebar Widgets */
.service-sidebar-wrapper {
    position: sticky;
    top: 30px;
}

.service-widget-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3.5px solid var(--panacee-blue);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.service-widget-header {
    background: #f8fafc;
    padding: 16px 22px;
    border-bottom: 1px solid #e2e8f0;
}

.service-widget-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: 0.3px;
}

.service-widget-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-widget-menu li {
    border-bottom: 1px solid #f1f5f9;
}

.service-widget-menu li:last-child {
    border-bottom: none;
}

.service-widget-menu li a {
    display: block;
    padding: 13px 22px;
    color: #334155;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.service-widget-menu li a:hover {
    color: var(--panacee-blue);
    background: #f8fafc;
    padding-left: 26px;
}

.service-widget-menu li.active a {
    color: var(--panacee-blue);
    font-weight: 700;
    background: #f0f9ff;
    border-left: 3.5px solid var(--panacee-blue);
    padding-left: 22px;
}

/* Blue Appointment Widget (Matches User Screenshot) */
.service-widget-appointment {
    background: var(--panacee-blue);
    border-radius: 8px;
    padding: 34px 26px;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(41, 146, 212, 0.22);
}

.service-widget-appointment .appointment-widget-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 12px 0 8px;
}

.service-widget-appointment .appointment-widget-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0 0 22px;
}

.service-widget-appointment .btn-appointment-make {
    display: inline-block;
    background: #ffffff;
    color: var(--panacee-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.6px;
    padding: 10px 32px;
    border-radius: 25px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.service-widget-appointment .btn-appointment-make:hover {
    background: #ffffff;
    color: var(--panacee-pink);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* --------------------------------------------------------------------------
   Doctor Team Cards (Panacee Team)
   -------------------------------------------------------------------------- */
.team-member-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
}

.team-member-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
    border-color: rgba(41, 146, 212, 0.4);
}

.team-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 18px;
    background: #f1f5f9;
}

.team-image img {
    width: 100%;
    aspect-ratio: 1 / 1.15;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.team-member-item:hover .team-image img {
    transform: scale(1.05);
}

.team-badge-leadership {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--panacee-pink);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(230, 0, 126, 0.3);
    z-index: 2;
}

.team-content {
    text-align: center;
    padding: 6px 10px 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
}

.team-content h3 {
    font-size: 18.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 6px !important;
    text-transform: none !important;
    line-height: 1.3 !important;
}

.team-role {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--panacee-blue);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    line-height: 1.4;
    display: block;
}

.team-qualification {
    font-size: 13px !important;
    color: #64748b !important;
    margin: auto 0 0 0 !important;
    line-height: 1.5 !important;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}

.team-qualification i {
    color: var(--panacee-pink);
    margin-right: 4px;
}

/* --------------------------------------------------------------------------
   Courses & Webinars Page (Matches User Reference Screenshot)
   -------------------------------------------------------------------------- */
.courses-page-section {
    padding: 70px 0 90px;
    background: #ffffff;
}

.course-notice-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid var(--panacee-pink);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 35px;
}

.course-notice-heading {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    line-height: 1.35 !important;
    margin-bottom: 18px !important;
    letter-spacing: -0.3px;
}

.course-webinar-link-text {
    font-size: 16.5px;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

.webinar-click-link {
    color: var(--panacee-blue) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}

.webinar-click-link:hover {
    color: var(--panacee-pink) !important;
}

/* Webinar Detail Card */
.webinar-detail-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
    margin-bottom: 35px;
}

.webinar-image-wrap {
    position: relative;
    overflow: hidden;
}

.webinar-image-wrap img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    display: block;
}

.webinar-badge-live {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #ef4444;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

.webinar-card-body {
    padding: 30px;
}

.webinar-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
}

.webinar-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.webinar-pill {
    background: #f1f5f9;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.webinar-pill i {
    color: var(--panacee-blue);
}

.webinar-topics-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.webinar-topics-list li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 8px;
}

.webinar-topics-list li::before {
    content: '•';
    position: absolute;
    left: 6px;
    top: -2px;
    font-size: 20px;
    color: var(--panacee-pink);
}