/* =========================================================
   PREMIUM CLINIC LANDING PAGE — PROFESSIONAL MEDICAL UI
   ========================================================= */

.clinic-premium {
    --ink: #0b2545;
    --ink-2: #1e3a5f;
    --muted: #64748b;
    --soft: #94a3b8;
    --line: #e2e8f0;
    --line-2: #f1f5f9;
    --surface: #f8fafc;
    --white: #ffffff;
    --blue: #0ea5e9;
    --blue-dark: #0369a1;
    --navy: #153f8f;
    --teal: #14b8a6;
    --green: #10b981;
    background: #ffffff;
    color: var(--ink);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.cp-container {
    width: min(1200px, calc(100% - 40px));
    margin: auto;
    position: relative;
    z-index: 1;
}

/* =========================================================
   HERO SLIDER SECTION
   ========================================================= */
.hero-slider-section {
    background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 40%, #f8fafc 100%);
    padding: 50px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero-slider-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-slider-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.clinic-premium .hero-swiper {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    height: 560px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 28px;
}

.clinic-premium .hero-swiper .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box;
}

.clinic-premium .hero-card {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background: #ffffff;
    border-radius: 28px;
    padding: 56px 64px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 40px;
    box-shadow:
        0 30px 60px -20px rgba(11, 37, 69, 0.15),
        0 15px 30px -15px rgba(11, 37, 69, 0.08);
    border: 1px solid #e0eaf5;
    position: relative;
}

.clinic-premium .hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #0ea5e9 0%, #14b8a6 100%);
    border-radius: 28px 0 0 28px;
}

.clinic-premium .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ecfeff 0%, #e0f2fe 100%);
    color: #0369a1;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 22px;
    border: 1px solid #bae6fd;
    width: fit-content;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.clinic-premium .hero-badge i {
    color: #0ea5e9;
    font-size: 12px;
}

.clinic-premium .hero-card-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.clinic-premium .hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #0b2545;
    line-height: 1.08;
    margin: 0 0 20px;
    letter-spacing: -0.035em;
    font-family: inherit;
}

.clinic-premium .hero-title .highlight {
    color: #0369a1;
    position: relative;
    letter-spacing: 0.3px;
    word-spacing: 1px;
}

.clinic-premium .hero-description {
    color: #4b5b73;
    font-size: 15.5px;
    line-height: 1.75;
    margin: 0 0 32px;
    max-width: 500px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clinic-premium .hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.clinic-premium .btn-primary-custom {
    background: linear-gradient(135deg, #153f8f 0%, #0f3275 100%);
    color: #ffffff !important;
    padding: 15px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 12px 24px -8px rgba(21, 63, 143, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.01em;
}

.clinic-premium .btn-primary-custom:hover {
    background: linear-gradient(135deg, #0f3275 0%, #0a2657 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -8px rgba(21, 63, 143, 0.6);
}

.clinic-premium .btn-outline-custom {
    background-color: transparent;
    color: #1e3a5f !important;
    border: 1.5px solid #cbd5e1;
    padding: 15px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.clinic-premium .btn-outline-custom:hover {
    background-color: #1e3a5f;
    color: #ffffff !important;
    border-color: #1e3a5f;
    transform: translateY(-2px);
}

.clinic-premium .hero-card-right {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
    position: relative;
    z-index: 2;
}

.clinic-premium .hero-image-wrapper {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 400px;
    border-radius: 200px 24px 24px 200px;
    overflow: hidden;
    border: 8px solid #ffffff;
    box-shadow:
        0 30px 60px -20px rgba(11, 37, 69, 0.25),
        0 15px 40px -15px rgba(14, 165, 233, 0.15);
}

.clinic-premium .hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(11, 37, 69, 0.08));
    pointer-events: none;
    border-radius: inherit;
}

.clinic-premium .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.clinic-premium .hero-card:hover .hero-img {
    transform: scale(1.06);
}

.clinic-premium .hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px dashed #e0eaf5;
}

.clinic-premium .hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1e3a5f;
    letter-spacing: 0.005em;
}

.clinic-premium .hero-trust-item svg {
    width: 16px;
    height: 16px;
    color: #0ea5e9;
    flex-shrink: 0;
}

.clinic-premium .hero-swiper-button-prev,
.clinic-premium .hero-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: #153f8f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow:
        0 10px 24px -8px rgba(11, 37, 69, 0.25),
        0 0 0 1px rgba(14, 165, 233, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.clinic-premium .hero-swiper-button-prev { left: 20px; }
.clinic-premium .hero-swiper-button-next { right: 20px; }

.clinic-premium .hero-swiper-button-prev:hover,
.clinic-premium .hero-swiper-button-next:hover {
    background: linear-gradient(135deg, #153f8f 0%, #0f3275 100%);
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow:
        0 14px 30px -8px rgba(21, 63, 143, 0.5),
        0 0 0 1px rgba(21, 63, 143, 0.3);
}

.clinic-premium .hero-swiper-button-prev svg,
.clinic-premium .hero-swiper-button-next svg {
    width: 20px;
    height: 20px;
}

.clinic-premium .hero-swiper .swiper-pagination {
    bottom: 24px !important;
}

.clinic-premium .hero-swiper .swiper-pagination-bullet {
    width: 9px !important;
    height: 9px !important;
    background: #94a3b8 !important;
    opacity: 0.4 !important;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}

.clinic-premium .hero-swiper .swiper-pagination-bullet-active {
    width: 30px !important;
    border-radius: 5px !important;
    background: #153f8f !important;
    opacity: 1 !important;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .clinic-premium .hero-title .highlight {
        background: linear-gradient(135deg, #0ea5e9 0%, #153f8f 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

/* HERO RESPONSIVE */
@media (max-width: 1100px) {
    .clinic-premium .hero-swiper { height: 520px; }
    .clinic-premium .hero-card { padding: 46px 48px; gap: 32px; }
    .clinic-premium .hero-title { font-size: 42px; }
    .clinic-premium .hero-image-wrapper { height: 340px; border-radius: 160px 24px 24px 160px; }
    .clinic-premium .hero-description { font-size: 14.5px; }
}

@media (max-width: 900px) {
    .clinic-premium .hero-swiper { height: auto; min-height: 620px; }
    .clinic-premium .hero-card {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        text-align: center;
        gap: 32px;
    }
    .clinic-premium .hero-card::before {
        width: 100%;
        height: 5px;
        border-radius: 28px 28px 0 0;
    }
    .clinic-premium .hero-card-left { align-items: center; }
    .clinic-premium .hero-badge { margin-left: auto; margin-right: auto; }
    .clinic-premium .hero-title { font-size: 34px; }
    .clinic-premium .hero-description { margin-left: auto; margin-right: auto; }
    .clinic-premium .hero-buttons { justify-content: center; }
    .clinic-premium .hero-trust-row { justify-content: center; gap: 16px; }
    .clinic-premium .hero-image-wrapper {
        max-width: 400px;
        height: 280px;
        border-radius: 24px;
        margin: 0 auto;
        border-width: 6px;
    }
    .clinic-premium .hero-swiper-button-prev,
    .clinic-premium .hero-swiper-button-next { width: 42px; height: 42px; }
    .clinic-premium .hero-swiper-button-prev { left: 12px; }
    .clinic-premium .hero-swiper-button-next { right: 12px; }
}

@media (max-width: 600px) {
    .hero-slider-section { padding: 36px 14px 40px; }
    .clinic-premium .hero-swiper { min-height: 580px; }
    .clinic-premium .hero-card { padding: 30px 22px; border-radius: 22px; }
    .clinic-premium .hero-card::before { border-radius: 22px 22px 0 0; }
    .clinic-premium .hero-title { font-size: 28px; }
    .clinic-premium .hero-description { font-size: 14px; }
    .clinic-premium .hero-badge { font-size: 10.5px; padding: 6px 12px; }
    .clinic-premium .btn-primary-custom,
    .clinic-premium .btn-outline-custom { padding: 12px 22px; font-size: 13px; }
    .clinic-premium .hero-trust-row { gap: 12px; margin-top: 24px; padding-top: 20px; }
    .clinic-premium .hero-trust-item { font-size: 11.5px; }
    .clinic-premium .hero-trust-item svg { width: 14px; height: 14px; }
    .clinic-premium .hero-image-wrapper { max-width: 280px; height: 220px; border-radius: 20px; border-width: 6px; }
    .clinic-premium .hero-swiper-button-prev,
    .clinic-premium .hero-swiper-button-next { width: 38px; height: 38px; }
    .clinic-premium .hero-swiper-button-prev svg,
    .clinic-premium .hero-swiper-button-next svg { width: 16px; height: 16px; }
}

/* =========================================================
   STATS CARDS SECTION
   ========================================================= */
.cp-stats-section {
    background: #f8fafc;
    padding: 50px 0;
    position: relative;
}

.cp-stats-section .cp-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cp-stat-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    border-top: 1.5px solid #bae6fd;
    box-shadow: 0 4px 20px -8px rgba(11, 37, 69, 0.06);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.cp-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9 0%, #14b8a6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-stat-card:hover::before { transform: scaleX(1); }

.cp-stat-card:hover {
    border-color: #bae6fd;
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(21, 63, 143, 0.15);
}

.cp-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #0ea5e9 0%, #153f8f 100%);
    box-shadow: 0 10px 22px -8px rgba(14, 165, 233, 0.5);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-stat-icon i { color: #ffffff; font-size: 20px; }
.cp-stat-card:hover .cp-stat-icon { transform: scale(1.08) rotate(-4deg); }

.cp-stat-value {
    font-size: 36px;
    font-weight: 750;
    color: #0b2545;
    line-height: 1;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    letter-spacing: -0.03em;
}

.cp-stat-highlight { color: #0ea5e9; font-size: 26px; font-weight: 700; }

.cp-stat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    margin: 0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* =========================================================
   COMMON SECTIONS
   ========================================================= */
.cp-section {
    padding: 80px 0;
    position: relative;
}

.cp-section-heading {
    max-width: 680px;
    margin-bottom: 48px;
}

.cp-section-heading.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.cp-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #0369a1;
    padding: 6px 14px;
    background: #e0f2fe;
    border-radius: 20px;
    text-transform: uppercase;
}

.cp-section-heading h2 {
    font-size: 42px;
    line-height: 1.15;
    margin: 16px 0 16px;
    color: #0b2545;
    font-weight: 800;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.3px;
    word-spacing: 2px;
}

.cp-blog-heading-title em,
.cp-section-heading h2 em {
    font-style: normal;
    font-weight: 700;
    background: linear-gradient(90deg, #0091EA 0%, #032B56 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    letter-spacing: 0.5px;
}

.cp-section-heading p {
    font-size: 15px;
    line-height: 1.75;
    color: #64748b;
    margin: 0;
    letter-spacing: 0.3px;
    word-spacing: 2px;
}

/* =========================================================
   OUR DOCTORS
   ========================================================= */
.cp-doctors { background: #f8fafc; }
.cp-doctor-scroll-wrap { position: relative; overflow: hidden; }

.cp-doctor-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 4px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.cp-doctor-grid::-webkit-scrollbar { display: none; width: 0; height: 0; }

.cp-doctor-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 0 0 270px;
    width: 270px;
    max-width: 270px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px -8px rgba(11, 37, 69, 0.07);
    position: relative;
}

.cp-doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px -18px rgba(21, 63, 143, 0.18), 0 10px 22px -10px rgba(11, 37, 69, 0.06);
    border-color: #bae6fd;
}

.cp-doctor-photo {
    width: 100%;
    height: 105px;
    flex-shrink: 0;
    position: relative;
    overflow: visible;
    background: #d6f0fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-doctor-photo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 22px -8px rgba(11, 37, 69, 0.25);
    position: relative;
    top: 24px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #ffffff;
}

.cp-doctor-card:hover .cp-doctor-photo img {
    transform: scale(1.05);
    box-shadow: 0 12px 28px -8px rgba(21, 63, 143, 0.35);
}

.cp-doctor-info {
    padding: 50px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    text-align: center;
    align-items: center;
}

.cp-doctor-info h4 {
    font-size: 15px;
    font-weight: 800;
    color: #0b2545;
    margin: 0 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    letter-spacing: -0.02em;
    line-height: 1.25;
    text-align: center;
    word-break: break-word;
}

.cp-verified-tick { color: #10b981; font-size: 12px; flex-shrink: 0; }

.cp-doctor-tagline {
    font-size: 12px;
    font-weight: 700;
    color: #0369a1;
    margin: 0 0 10px;
    text-align: center;
    width: 100%;
    line-height: 1.4;
}

.cp-doctor-desc {
    font-size: 12px;
    line-height: 1.55;
    color: #4b5563;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
    width: 100%;
    text-align: center;
}

.cp-doctor-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.cp-doctor-exp {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-weight: 600;
}

.cp-doctor-exp i { color: #94a3b8; font-size: 10px; }

/* Doctor consultation hours pill */
.cp-doctor-timing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.cp-doctor-timing i { font-size: 11px; color: #10b981; }

.cp-doctor-subject {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    width: 100%;
}

.cp-doctor-subject-label {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cp-doctor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
    justify-content: center;
}

.cp-doctor-tags-secondary { margin-bottom: 10px; justify-content: center; }

.cp-tag {
    font-size: 10.5px;
    font-weight: 700;
    color: #334155;
    background: #f1f5f9;
    padding: 4px 9px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.cp-tag-primary {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
    font-weight: 700;
}

.cp-doctor-card:hover .cp-tag-primary {
    background: #bae6fd;
    border-color: #7dd3fc;
}

.cp-doctor-card:hover .cp-tag:not(.cp-tag-primary) {
    background: #e0f2fe;
    border-color: #bae6fd;
    color: #0369a1;
}

.cp-doctor-actions {
    display: flex;
    gap: 6px;
    width: 100%;
    margin-top: 6px;
    align-items: stretch;
    justify-content: center;
}

.cp-doctor-btn {
    padding: 9px 10px;
    border-radius: 8px;
    border: 1.5px solid #153f8f;
    background: #ffffff;
    color: #153f8f !important;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    flex: 1;
}

.cp-doctor-btn i { color: #153f8f !important; font-size: 10px; line-height: 1; }

.cp-doctor-btn-explore:hover {
    background: #153f8f;
    color: #ffffff !important;
    border-color: #153f8f;
    box-shadow: 0 10px 22px -8px rgba(21, 63, 143, 0.5);
    transform: translateY(-1px);
}
.cp-doctor-btn-explore:hover i { color: #ffffff !important; }

.cp-doctor-btn-profile {
    border-color: #0ea5e9;
    color: #0ea5e9 !important;
}
.cp-doctor-btn-profile i { color: #0ea5e9 !important; }
.cp-doctor-btn-profile:hover {
    background: #0ea5e9;
    color: #ffffff !important;
    border-color: #0ea5e9;
    box-shadow: 0 10px 22px -8px rgba(14, 165, 233, 0.5);
    transform: translateY(-1px);
}
.cp-doctor-btn-profile:hover i { color: #ffffff !important; }

.cp-doctor-empty {
    text-align: center;
    color: #94a3b8;
    padding: 40px;
    font-size: 14px;
    width: 100%;
}

/* Doctor responsive */
@media (max-width: 900px) {
    .cp-doctor-grid { gap: 14px; }
    .cp-doctor-card { flex: 0 0 250px; width: 250px; max-width: 250px; }
    .cp-doctor-photo { height: 100px; }
    .cp-doctor-photo img { width: 85px; height: 85px; top: 22px; }
    .cp-doctor-info { padding: 46px 14px 16px; }
}

@media (max-width: 600px) {
    .cp-doctor-grid { gap: 12px; padding: 8px 2px 14px; }
    .cp-doctor-card { flex: 0 0 240px; width: 240px; max-width: 240px; }
    .cp-doctor-photo { height: 95px; }
    .cp-doctor-photo img { width: 80px; height: 80px; top: 20px; border-width: 3.5px; }
    .cp-doctor-info { padding: 44px 12px 14px; }
    .cp-doctor-info h4 { font-size: 14px; }
    .cp-doctor-tagline { font-size: 11.5px; }
    .cp-doctor-desc { font-size: 11.5px; min-height: 36px; }
    .cp-doctor-meta { font-size: 11px; margin-bottom: 8px; }
    .cp-doctor-timing { font-size: 11px; padding: 4px 9px; }
    .cp-doctor-subject-label { font-size: 9.5px; }
    .cp-tag { font-size: 10px; padding: 4px 8px; }
    .cp-doctor-actions { flex-direction: row; gap: 6px; }
    .cp-doctor-btn { width: auto; flex: 1; padding: 8px 8px; font-size: 11px; gap: 4px; }
    .cp-doctor-btn i { font-size: 9.5px; }
}

/* =========================================================
   GALLERY SECTION
   ========================================================= */
.cp-gallery-section {
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
    padding: 80px 0 90px;
    overflow: hidden;
    position: relative;
}

.cp-gallery-section::before {
    content: '';
    position: absolute;
    top: 10%; right: -180px;
    width: 460px; height: 460px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.10), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.cp-gallery-scroll-wrap {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 50px auto 0;
    overflow: hidden;
    padding: 0 20px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.cp-gallery-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: auto;      /* smooth hata diya, warna loop atkega */
    scroll-snap-type: none;
    padding: 10px 4px 18px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.cp-gallery-track::-webkit-scrollbar { display: none; width: 0; height: 0; }

.cp-gallery-card {
    flex: 0 0 340px;
    width: 340px;
    max-width: 340px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px -8px rgba(11, 37, 69, 0.10), 0 2px 6px -2px rgba(11, 37, 69, 0.05);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.cp-gallery-card:hover {
    transform: translateY(-6px);
    border-color: #bae6fd;
    box-shadow: 0 28px 55px -18px rgba(21, 63, 143, 0.22), 0 10px 22px -10px rgba(11, 37, 69, 0.08);
}

.cp-gallery-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.cp-gallery-card:hover .cp-gallery-img img { transform: scale(1.08); }

.cp-gallery-img-empty { color: #0ea5e9; opacity: 0.45; font-size: 32px; }

a.cp-gallery-card { text-decoration: none; color: inherit; display: block; }

@media (max-width: 900px) {
    .cp-gallery-section { padding: 65px 0 75px; }
    .cp-gallery-card { flex: 0 0 300px; width: 300px; max-width: 300px; }
}

@media (max-width: 600px) {
    .cp-gallery-section { padding: 55px 0 65px; }
    .cp-gallery-scroll-wrap { margin-top: 38px; padding: 0 14px; }
    .cp-gallery-track { gap: 14px; }
    .cp-gallery-card { flex: 0 0 260px; width: 260px; max-width: 260px; border-radius: 16px; }
}

/* =========================================================
   BLOG SECTION
   ========================================================= */
.cp-blog-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.cp-blog-section::before {
    content: '';
    position: absolute;
    top: 20%; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.cp-blog-section::after {
    content: '';
    position: absolute;
    bottom: 10%; left: -200px;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.06), transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.cp-blog-heading {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 55px;
    position: relative;
    z-index: 1;
}

.cp-blog-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #0369a1;
    padding: 7px 16px;
    background: #e0f2fe;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 18px;
    border: 1px solid #bae6fd;
}

.cp-blog-kicker svg { width: 12px; height: 12px; color: #0ea5e9; }

.cp-blog-heading-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    color: #0b2545;
    margin: 0 0 14px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.3px;
    word-spacing: 1px;
}

.cp-blog-heading-title em {
    font-style: normal;
    font-weight: 800;
    background: linear-gradient(90deg, #0091EA 0%, #032B56 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.cp-blog-heading-sub { font-size: 15px; color: #64748b; line-height: 1.7; margin: 0; }

.cp-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    position: relative;
    z-index: 1;
}

.cp-blog-card {
    background: #ffffff;
    border: 1px solid #e8eef6;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 12px -4px rgba(11, 37, 69, 0.06);
    position: relative;
    cursor: pointer;
}

.cp-blog-card:hover {
    transform: translateY(-6px);
    border-color: #bae6fd;
    box-shadow: 0 24px 48px -16px rgba(21, 63, 143, 0.16), 0 8px 20px -8px rgba(11, 37, 69, 0.06);
}

.cp-blog-card:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 3px; }

.cp-blog-thumb {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 58%;
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    overflow: hidden;
    text-decoration: none;
}

.cp-blog-thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-blog-card:hover .cp-blog-thumb img { transform: scale(1.07); }

.cp-blog-thumb-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ea5e9;
    opacity: 0.55;
}

.cp-blog-thumb-empty svg { width: 44px; height: 44px; }

.cp-blog-cat {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #0369a1;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    box-shadow: 0 4px 14px rgba(11, 37, 69, 0.12);
    z-index: 2;
    max-width: calc(100% - 28px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid rgba(186, 230, 253, 0.6);
}

.cp-blog-video {
    position: absolute;
    bottom: 14px; right: 14px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cp-blog-video svg { width: 11px; height: 11px; }

.cp-blog-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cp-blog-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    flex-wrap: wrap;
}

.cp-blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
}

.cp-blog-meta-item svg { width: 11px; height: 11px; color: #94a3b8; flex-shrink: 0; }

.cp-blog-meta-dot { color: #cbd5e1; font-size: 12px; line-height: 1; }

.cp-blog-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    color: #0b2545;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.25s ease;
    letter-spacing: -0.02em;
    min-height: 42px;
}

.cp-blog-title:hover { color: #0369a1; }

.cp-blog-excerpt {
    font-size: 12.5px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-height: 40px;
}

.cp-blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
    gap: 10px;
}

.cp-blog-author {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    flex: 1;
}

.cp-blog-author-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 10px rgba(14, 165, 233, 0.3);
}

.cp-blog-author-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 1px;
}

.cp-blog-author-info strong {
    font-size: 11.5px;
    font-weight: 800;
    color: #0b2545;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.cp-blog-author-info small {
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    white-space: nowrap;
    line-height: 1.2;
}

.cp-blog-read-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #f0f9ff;
    border: 1.5px solid #e0f2fe;
    color: #0369a1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-blog-read-icon svg { width: 15px; height: 15px; transition: transform 0.3s ease; }

.cp-blog-card:hover .cp-blog-read-icon {
    background: linear-gradient(135deg, #153f8f 0%, #0f3275 100%);
    border-color: #153f8f;
    color: #ffffff;
    box-shadow: 0 8px 18px -6px rgba(21, 63, 143, 0.5);
}

.cp-blog-card:hover .cp-blog-read-icon svg { transform: scale(1.1); }

.cp-blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 30px;
    background: #ffffff;
    border: 2px dashed #e2e8f0;
    border-radius: 20px;
    color: #94a3b8;
}

.cp-blog-empty svg { width: 44px; height: 44px; color: #0ea5e9; opacity: 0.5; margin-bottom: 14px; }
.cp-blog-empty p { font-size: 14px; margin: 0; font-weight: 600; }

.cp-blog-viewall-wrap { text-align: center; margin-top: 55px; position: relative; z-index: 1; }

.cp-blog-viewall {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    background: linear-gradient(135deg, #153f8f 0%, #0f3275 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-radius: 14px;
    box-shadow: 0 12px 24px -8px rgba(21, 63, 143, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.02em;
    border: none;
    line-height: 1.2;
    font-family: inherit;
}

.cp-blog-viewall svg { width: 14px; height: 14px; color: #ffffff !important; stroke: #ffffff; transition: transform 0.25s ease; }

.cp-blog-viewall:hover {
    background: linear-gradient(135deg, #0f3275 0%, #0a2657 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -8px rgba(21, 63, 143, 0.6);
}

.cp-blog-viewall:hover svg { transform: translateX(4px); }

/* Blog responsive */
@media (max-width: 1000px) {
    .cp-blog-section { padding: 80px 0; }
    .cp-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .cp-blog-heading-title { font-size: 36px; }
}

@media (max-width: 768px) {
    .cp-blog-section { padding: 70px 0; }
    .cp-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .cp-blog-heading { margin-bottom: 45px; }
    .cp-blog-heading-title { font-size: 30px; }
    .cp-blog-body { padding: 16px 16px 18px; }
}

@media (max-width: 560px) {
    .cp-blog-section { padding: 60px 0; }
    .cp-blog-heading-title { font-size: 26px; }
    .cp-blog-body { padding: 14px 14px 16px; }
    .cp-blog-title { font-size: 13px; min-height: 36px; }
    .cp-blog-excerpt { font-size: 11.5px; min-height: 34px; }
}

@media (max-width: 420px) {
    .cp-blog-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* =========================================================
   FAQ PREVIEW
   ========================================================= */
.cp-faq-preview { background: #ffffff; }
.cp-faq-preview-list { display: flex; flex-direction: column; gap: 12px; }

.cp-faq-preview-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-faq-preview-item:hover { border-color: #bae6fd; background: #ffffff; box-shadow: 0 12px 30px -14px rgba(21, 63, 143, 0.15); }
.cp-faq-preview-item.open { border-color: #bae6fd; background: #ffffff; }

.cp-faq-preview-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    color: #0b2545;
}

.cp-faq-preview-q i { font-size: 12px; color: #94a3b8; transition: transform 0.3s ease, color 0.3s ease; flex-shrink: 0; }
.cp-faq-preview-item.open .cp-faq-preview-q i { transform: rotate(180deg); color: #0ea5e9; }

.cp-faq-preview-a { max-height: 0; overflow: hidden; transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.cp-faq-preview-a-inner { padding: 0 20px 18px; font-size: 13.5px; color: #64748b; line-height: 1.75; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.cp-testimonials { background: #f8fafc; }

.cp-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.cp-review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px 24px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cp-review-card:hover {
    transform: translateY(-6px);
    border-color: #bae6fd;
    box-shadow: 0 24px 48px -20px rgba(21, 63, 143, 0.18);
}

.cp-review-stars { color: #f59e0b; font-size: 13px; margin-bottom: 14px; display: flex; gap: 3px; }

.cp-review-message {
    font-size: 13.5px;
    line-height: 1.75;
    color: #334155;
    margin: 0 0 20px;
    flex: 1;
    font-style: italic;
}

.cp-review-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.cp-review-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ea5e9 0%, #153f8f 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.cp-review-meta { display: flex; flex-direction: column; min-width: 0; }
.cp-review-meta strong { font-size: 13px; font-weight: 800; color: #0b2545; }
.cp-review-meta small { font-size: 11.5px; color: #64748b; font-weight: 600; }

.cp-review-cta-wrap {
    text-align: center;
    margin-top: 40px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cp-btn-review {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, #153f8f 0%, #0f3275 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 12px 24px -8px rgba(21, 63, 143, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cp-btn-review:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(21, 63, 143, 0.6); }
.cp-btn-review:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.cp-btn-review-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    border-radius: 12px;
    background: #ffffff;
    color: #153f8f !important;
    font-weight: 700;
    font-size: 14px;
    border: 1.5px solid #153f8f;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none !important;
    transition: all 0.3s ease;
}
.cp-btn-review-outline:hover { background: #153f8f; color: #ffffff !important; transform: translateY(-2px); }

@media (max-width: 900px) { .cp-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .cp-review-grid { grid-template-columns: 1fr; }
    .cp-faq-preview-q { padding: 15px 16px; font-size: 13.5px; }
    .cp-faq-preview-a-inner { padding: 0 16px 16px; }
}

/* =========================================================
   CTA SECTION
   ========================================================= */
.cp-cta-section { padding: 0 0 80px; background: #f8fafc; }

.cp-cta {
    min-height: 260px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0b2545 0%, #153f8f 60%, #0369a1 100%);
    color: #ffffff;
    padding: 48px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 35px 70px -25px rgba(21, 63, 143, 0.45), 0 15px 30px -15px rgba(11, 37, 69, 0.2);
}

.cp-cta::before {
    content: "";
    position: absolute;
    width: 450px; height: 450px;
    border-radius: 50%;
    right: -120px; top: -200px;
    border: 80px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.cp-cta::after {
    content: "";
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    left: -100px; bottom: -150px;
    border: 60px solid rgba(20, 184, 166, 0.08);
    pointer-events: none;
}

.cp-cta-glow {
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    left: 35%; bottom: -220px;
    background: rgba(14, 165, 233, 0.35);
    filter: blur(60px);
    pointer-events: none;
}

.cp-cta-copy { position: relative; z-index: 2; max-width: 600px; }
.cp-cta .cp-kicker { color: #7dd3fc; background: rgba(125, 211, 252, 0.12); border: 1px solid rgba(125, 211, 252, 0.25); }

.cp-cta h2 {
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 14px 0 12px;
    color: #ffffff;
    font-weight: 800;
    font-family: inherit;
}

.cp-cta h2 em { font-style: normal; color: #aee8e1; font-weight: 500; }
.cp-cta p { font-size: 14.5px; color: #c5d5eb; margin: 0; line-height: 1.65; }

.cp-btn-white {
    background: #ffffff !important;
    color: black !important;
    position: relative;
    z-index: 2;
    white-space: nowrap;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.02em;
    line-height: 1.2;
    font-family: inherit;
}

.cp-btn-white i { color: #153f8f !important; font-size: 13px; line-height: 1; }

.cp-btn-white:hover {
    background: #f0f9ff !important;
    color: blue !important;
    transform: translateY(-3px);
    box-shadow: 0 22px 45px -10px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
    .cp-cta { padding: 40px 34px; flex-direction: column; text-align: center; align-items: center; }
    .cp-cta h2 { font-size: 28px; }
    .cp-cta-copy { max-width: 100%; }
}

@media (max-width: 600px) {
    .cp-cta { padding: 34px 22px; border-radius: 22px; }
    .cp-cta h2 { font-size: 24px; }
    .cp-cta p { font-size: 13px; }
    .cp-btn-white { padding: 13px 24px; font-size: 13px; }
}

/* =========================================================
   DOCTOR PROFILE MODAL
   ========================================================= */
.doc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 37, 69, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.doc-modal-overlay.active { opacity: 1; visibility: visible; }

.doc-modal {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 40px 80px -30px rgba(11, 37, 69, 0.4), 0 15px 40px -15px rgba(11, 37, 69, 0.25);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.doc-modal-overlay.active .doc-modal { transform: translateY(0) scale(1); }

.doc-modal::-webkit-scrollbar { width: 6px; }
.doc-modal::-webkit-scrollbar-track { background: transparent; }
.doc-modal::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }

.doc-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.15);
    transition: all 0.2s ease;
}

.doc-modal-close:hover { background: #fee2e2; color: #dc2626; transform: rotate(90deg); }

.doc-modal-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 28px 24px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 60%, #f8fafc 100%);
    border-radius: 24px 24px 0 0;
    position: relative;
    border-bottom: 1px solid #e0eaf5;
}

.doc-modal-photo {
    position: relative;
    width: 100px; height: 100px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #e0f2fe;
    box-shadow: 0 0 0 4px #ffffff, 0 0 0 5px #bae6fd, 0 12px 30px -10px rgba(14, 165, 233, 0.4);
    z-index: 2;
}

.doc-modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.doc-modal-verified {
    position: absolute;
    bottom: 4px; right: 4px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 10px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.45);
}

.doc-modal-hero-info { flex: 1; min-width: 0; position: relative; z-index: 2; }

.doc-modal-name {
    font-size: 22px;
    font-weight: 800;
    color: #0b2545;
    margin: 0 0 4px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.doc-modal-spec { font-size: 13.5px; font-weight: 700; color: #0369a1; margin: 0 0 12px; }

.doc-modal-badges { display: flex; flex-wrap: wrap; gap: 6px; }

.doc-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.doc-modal-badge i { font-size: 10px; }
.doc-modal-badge-teal { background: #ecfdf5; color: #047857; border: 1px solid #d1fae5; }
.doc-modal-badge-teal i { color: #10b981; }
.doc-modal-badge-blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #dbeafe; }
.doc-modal-badge-blue i { color: #3b82f6; }

.doc-modal-body { padding: 24px 28px 8px; }
.doc-modal-section { margin-bottom: 22px; }

/* Consultation hours box inside the modal */
.doc-modal-timing {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #a7f3d0;
    border-radius: 14px;
    margin-bottom: 22px;
}

.doc-modal-timing-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #10b981;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px -8px rgba(16, 185, 129, 0.55);
}

.doc-modal-timing small {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    color: #047857;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.doc-modal-timing strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #0b2545;
    letter-spacing: -0.01em;
}

.doc-modal-timing span {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    font-weight: 600;
}

.doc-modal-section-title {
    font-size: 12px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-modal-section-title i { color: #0ea5e9; font-size: 12px; }

.doc-modal-text {
    font-size: 13.5px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.doc-modal-text p { margin: 0 0 10px; }
.doc-modal-text p:last-child { margin-bottom: 0; }
.doc-modal-text strong, .doc-modal-text b { font-weight: 800; color: #0b2545; }
.doc-modal-text em, .doc-modal-text i { font-style: italic; color: #334155; }
.doc-modal-text ul { margin: 8px 0 12px; padding-left: 20px; list-style: disc; }
.doc-modal-text ol { margin: 8px 0 12px; padding-left: 22px; list-style: decimal; }
.doc-modal-text li { margin-bottom: 6px; line-height: 1.65; padding-left: 4px; }

.doc-modal-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.doc-modal-tag {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    white-space: nowrap;
}

.doc-modal-tag-primary { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }

.doc-modal-grid-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid #f1f5f9;
    margin-top: 20px;
}

.doc-modal-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.doc-modal-info-card:hover {
    background: #ffffff;
    border-color: #bae6fd;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -10px rgba(21, 63, 143, 0.12);
}

.doc-modal-info-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 14px;
    flex-shrink: 0;
}

.doc-modal-info-icon-blue { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); color: #153f8f; }
.doc-modal-info-icon-teal { background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%); color: #0891b2; }
.doc-modal-info-icon-violet { background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%); color: #4f46e5; }
.doc-modal-info-icon-amber { background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); color: #d97706; }

.doc-modal-info-card > div:last-child { min-width: 0; flex: 1; }

.doc-modal-info-card small {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.doc-modal-info-card strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0b2545;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-modal-footer {
    display: flex;
    gap: 10px;
    padding: 20px 28px 24px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    border-radius: 0 0 24px 24px;
}

.doc-modal-btn {
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    line-height: 1.2;
}

.doc-modal-btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #153f8f 0%, #0f3275 100%);
    color: #ffffff !important;
    box-shadow: 0 10px 22px -8px rgba(21, 63, 143, 0.5);
}

.doc-modal-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(21, 63, 143, 0.6); }

.doc-modal-btn-ghost { background: #ffffff; color: #475569; border: 1px solid #e2e8f0; }
.doc-modal-btn-ghost:hover { background: #f1f5f9; color: #0b2545; border-color: #cbd5e1; }

body.doc-modal-open { overflow: hidden; }

@media (max-width: 600px) {
    .doc-modal { border-radius: 20px; max-height: 92vh; }
    .doc-modal-hero { padding: 22px 20px 20px; border-radius: 20px 20px 0 0; flex-direction: column; text-align: center; gap: 14px; }
    .doc-modal-photo { width: 88px; height: 88px; }
    .doc-modal-name { font-size: 19px; }
    .doc-modal-badges { justify-content: center; }
    .doc-modal-body { padding: 20px 20px 6px; }
    .doc-modal-timing { padding: 12px 14px; }
    .doc-modal-timing strong { font-size: 15px; }
    .doc-modal-grid-info { grid-template-columns: 1fr; }
    .doc-modal-footer { padding: 16px 20px 20px; flex-direction: column-reverse; border-radius: 0 0 20px 20px; }
    .doc-modal-btn { width: 100%; }
}

/* =========================================================
   BLOG PREVIEW MODAL
   ========================================================= */
.blog-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 37, 69, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.blog-modal-overlay.active { opacity: 1; visibility: visible; }

.blog-modal {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 40px 80px -30px rgba(11, 37, 69, 0.45), 0 15px 40px -15px rgba(11, 37, 69, 0.25);
    transform: translateY(24px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-modal-overlay.active .blog-modal { transform: translateY(0) scale(1); }

.blog-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(11, 37, 69, 0.2);
    transition: all 0.25s ease;
}

.blog-modal-close svg { width: 16px; height: 16px; }
.blog-modal-close:hover { background: #fee2e2; color: #dc2626; transform: rotate(90deg); }

.blog-modal-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.blog-modal-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

.blog-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 37, 69, 0) 40%, rgba(11, 37, 69, 0.55) 100%);
    pointer-events: none;
}

.blog-modal-cat {
    position: absolute;
    top: 16px; left: 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    color: #0369a1;
    font-size: 10.5px;
    font-weight: 800;
    padding: 6px 13px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    box-shadow: 0 6px 16px rgba(11, 37, 69, 0.15);
    z-index: 2;
    border: 1px solid rgba(186, 230, 253, 0.6);
}

.blog-modal-video-badge {
    position: absolute;
    bottom: 16px; right: 16px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.blog-modal-video-badge svg { width: 12px; height: 12px; }

.blog-modal-body { padding: 28px 32px 8px; }

.blog-modal-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    color: #0b2545;
    margin: 0 0 18px;
    letter-spacing: -0.03em;
}

.blog-modal-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.blog-modal-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.blog-modal-meta-item svg { width: 12px; height: 12px; color: #0ea5e9; flex-shrink: 0; }
.blog-modal-meta-item strong { color: #0b2545; font-weight: 800; }

.blog-modal-divider {
    height: 1px;
    background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 100%);
    margin: 0 0 20px;
    border-radius: 2px;
}

.blog-modal-excerpt {
    font-size: 14.5px;
    line-height: 1.75;
    color: #475569;
    margin: 0 0 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-modal-footer {
    display: flex;
    gap: 10px;
    padding: 20px 32px 26px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    border-radius: 0 0 24px 24px;
}

.blog-modal-btn {
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    line-height: 1.2;
}

.blog-modal-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

.blog-modal-btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #153f8f 0%, #0f3275 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px -8px rgba(21, 63, 143, 0.5);
}

.blog-modal-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(21, 63, 143, 0.6); }
.blog-modal-btn-primary svg { color: #ffffff !important; stroke: #ffffff; }

.blog-modal-btn-ghost { background: #ffffff; color: #475569; border: 1px solid #e2e8f0; }
.blog-modal-btn-ghost:hover { background: #f1f5f9; color: #0b2545; border-color: #cbd5e1; }

body.blog-modal-open { overflow: hidden; }

@media (max-width: 600px) {
    .blog-modal { border-radius: 20px; max-height: 92vh; }
    .blog-modal-hero { border-radius: 20px 20px 0 0; }
    .blog-modal-body { padding: 22px 20px 6px; }
    .blog-modal-title { font-size: 19px; }
    .blog-modal-excerpt { font-size: 13.5px; }
    .blog-modal-footer { padding: 16px 20px 20px; flex-direction: column-reverse; border-radius: 0 0 20px 20px; }
    .blog-modal-btn { width: 100%; }
}

/* =========================================================
   WRITE A REVIEW MODAL
   ========================================================= */
.review-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(11, 37, 69, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.review-modal-overlay.active { opacity: 1; visibility: visible; }

.review-modal {
    background: #ffffff;
    border-radius: 22px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 40px 80px -30px rgba(11, 37, 69, 0.4), 0 15px 40px -15px rgba(11, 37, 69, 0.25);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-modal-overlay.active .review-modal { transform: translateY(0) scale(1); }

.review-modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 34px; height: 34px;
    border-radius: 50%; border: none;
    background: #f1f5f9; color: #334155;
    cursor: pointer;
    display: grid; place-items: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.review-modal-close:hover { background: #fee2e2; color: #dc2626; transform: rotate(90deg); }

.review-modal-header {
    padding: 28px 28px 18px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 60%, #f8fafc 100%);
    border-radius: 22px 22px 0 0;
    border-bottom: 1px solid #e0eaf5;
}

.review-modal-header h3 { font-size: 19px; font-weight: 800; color: #0b2545; margin: 0 0 4px; }
.review-modal-header p { font-size: 12.5px; color: #64748b; margin: 0; }

.review-modal-body { padding: 24px 28px 28px; }

.review-form-success { text-align: center; padding: 30px 10px; }
.review-form-success i { font-size: 44px; color: #10b981; margin-bottom: 14px; display: block; }
.review-form-success p { font-size: 14px; color: #334155; line-height: 1.6; margin: 0; }

.review-type-toggle {
    display: flex; gap: 8px;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.review-type-btn {
    flex: 1;
    padding: 10px 12px;
    border: none; background: none;
    border-radius: 9px;
    font-size: 12.5px; font-weight: 700; color: #64748b;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-family: inherit;
    transition: all 0.25s ease;
}

.review-type-btn.active { background: #ffffff; color: #153f8f; box-shadow: 0 3px 10px rgba(11, 37, 69, 0.1); }

.form-group-cp { margin-bottom: 16px; }
.form-group-cp label { display: block; font-size: 12px; font-weight: 700; color: #475569; margin-bottom: 7px; }

.form-group-cp input,
.form-group-cp select,
.form-group-cp textarea {
    width: 100%; padding: 11px 14px;
    border: 1px solid #e2e8f0; border-radius: 10px;
    font-size: 13.5px; font-family: inherit; color: #0b2545;
    outline: none; box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.form-group-cp input:focus,
.form-group-cp select:focus,
.form-group-cp textarea:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.form-group-cp textarea { resize: vertical; }

.review-star-input { display: flex; gap: 8px; font-size: 26px; color: #e2e8f0; }
.review-star-input i { cursor: pointer; transition: color 0.15s ease, transform 0.15s ease; }
.review-star-input i:hover { transform: scale(1.15); }
.review-star-input i.filled { color: #f59e0b; }

.review-modal-footer { margin-top: 6px; }
.review-modal-footer .cp-btn-review { width: 100%; justify-content: center; }

#reviewFormError p {
    color: #dc2626; background: #fef2f2; border: 1px solid #fecaca;
    padding: 10px 14px; border-radius: 10px; font-size: 12.5px; margin: 0 0 16px;
}

body.review-modal-open { overflow: hidden; }

@media (max-width: 600px) {
    .review-modal { border-radius: 18px; }
    .review-modal-header { padding: 22px 20px 16px; border-radius: 18px 18px 0 0; }
    .review-modal-body { padding: 20px 20px 24px; }
}

/* =========================================================
   STATS RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
    .cp-stats-section .cp-container { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .cp-section { padding: 65px 0; }
    .cp-section-heading h2 { font-size: 32px; }
}

@media (max-width: 600px) {
    .cp-container { width: min(100% - 28px, 1200px); }
    .cp-section { padding: 55px 0; }
    .cp-section-heading h2 { font-size: 26px; }
    .cp-section-heading { margin-bottom: 34px; }
    .cp-stats-section .cp-container { grid-template-columns: 1fr; gap: 14px; }
    .cp-stat-card { padding: 24px 18px; }
    .cp-stat-value { font-size: 32px; }
    .cp-stat-highlight { font-size: 22px; }
}