/* =========================================================
   PREMIUM CLINIC LANDING PAGE — PROFESSIONAL MEDICAL UI
   THEME: GOLDEN + BLACK
   ========================================================= */

.clinic-premium {
    --ink: #1a1a1a;
    --ink-2: #2d2d2d;
    --muted: #6b6b6b;
    --soft: #9a9a9a;
    --line: #e8dcc8;
    --line-2: #f5efe3;
    --surface: #fdf9f0;
    --white: #ffffff;
    --blue: #d4a017;
    --blue-dark: #b8860b;
    --navy: #1a1a1a;
    --teal: #c9a227;
    --green: #d4a017;
    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, #fdf9f0 0%, #f5efe3 40%, #fdf9f0 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(212, 160, 23, 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(201, 162, 39, 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(26, 26, 26, 0.15),
        0 15px 30px -15px rgba(26, 26, 26, 0.08);
    border: 1px solid #e8dcc8;
    position: relative;
}

.clinic-premium .hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #d4a017 0%, #c9a227 100%);
    border-radius: 28px 0 0 28px;
}

.clinic-premium .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fdf3d9 0%, #f5efe3 100%);
    color: #b8860b;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 22px;
    border: 1px solid #e8d49a;
    width: fit-content;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.clinic-premium .hero-badge i {
    color: #d4a017;
    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: #1a1a1a;
    line-height: 1.08;
    margin: 0 0 20px;
    letter-spacing: -0.035em;
    font-family: inherit;
}

.clinic-premium .hero-title .highlight {
    color: #b8860b;
    position: relative;
    letter-spacing: 0.3px;
    word-spacing: 1px;
}

.clinic-premium .hero-description {
    color: #4a4a4a;
    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, #1a1a1a 0%, #2d2d2d 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(26, 26, 26, 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, #d4a017 0%, #b8860b 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -8px rgba(212, 160, 23, 0.6);
}

.clinic-premium .btn-outline-custom {
    background-color: transparent;
    color: #1a1a1a !important;
    border: 1.5px solid #e8dcc8;
    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: #1a1a1a;
    color: #ffffff !important;
    border-color: #1a1a1a;
    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(26, 26, 26, 0.25),
        0 15px 40px -15px rgba(212, 160, 23, 0.15);
}

.clinic-premium .hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(26, 26, 26, 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 #e8dcc8;
}

.clinic-premium .hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: #2d2d2d;
    letter-spacing: 0.005em;
}

.clinic-premium .hero-trust-item svg {
    width: 16px;
    height: 16px;
    color: #d4a017;
    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: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    box-shadow:
        0 10px 24px -8px rgba(26, 26, 26, 0.25),
        0 0 0 1px rgba(212, 160, 23, 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, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow:
        0 14px 30px -8px rgba(26, 26, 26, 0.5),
        0 0 0 1px rgba(26, 26, 26, 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: #9a9a9a !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: #1a1a1a !important;
    opacity: 1 !important;
}

@supports (background-clip: text) or (-webkit-background-clip: text) {
    .clinic-premium .hero-title .highlight {
        background: linear-gradient(135deg, #d4a017 0%, #1a1a1a 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: #fdf9f0;
    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 #e8d49a;
    box-shadow: 0 4px 20px -8px rgba(26, 26, 26, 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, #d4a017 0%, #1a1a1a 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: #d4a017;
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(26, 26, 26, 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, #d4a017 0%, #1a1a1a 100%);
    box-shadow: 0 10px 22px -8px rgba(212, 160, 23, 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: #1a1a1a;
    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: #d4a017; font-size: 26px; font-weight: 700; }

.cp-stat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #6b6b6b;
    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: #b8860b;
    padding: 6px 14px;
    background: #fdf3d9;
    border-radius: 20px;
    text-transform: uppercase;
}

.cp-section-heading h2 {
    font-size: 42px;
    line-height: 1.15;
    margin: 16px 0 16px;
    color: #1a1a1a;
    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, #d4a017 0%, #1a1a1a 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: #6b6b6b;
    margin: 0;
    letter-spacing: 0.3px;
    word-spacing: 2px;
}

/* =========================================================
   OUR DOCTORS
   ========================================================= */
.cp-doctors { background: #fdf9f0; }
.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 #e8dcc8;
    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(26, 26, 26, 0.07);
    position: relative;
}

.cp-doctor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px -18px rgba(26, 26, 26, 0.18), 0 10px 22px -10px rgba(26, 26, 26, 0.06);
    border-color: #d4a017;
}

.cp-doctor-photo {
    width: 100%;
    height: 105px;
    flex-shrink: 0;
    position: relative;
    overflow: visible;
    background: #f5efe3;
    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(26, 26, 26, 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(26, 26, 26, 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: #1a1a1a;
    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: #d4a017; font-size: 12px; flex-shrink: 0; }

.cp-doctor-tagline {
    font-size: 12px;
    font-weight: 700;
    color: #b8860b;
    margin: 0 0 10px;
    text-align: center;
    width: 100%;
    line-height: 1.4;
}

.cp-doctor-desc {
    font-size: 12px;
    line-height: 1.55;
    color: #4a4a4a;
    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: #4a4a4a;
    margin-bottom: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.cp-doctor-exp {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6b6b6b;
    font-weight: 600;
}

.cp-doctor-exp i { color: #9a9a9a; 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: #8a6d1a;
    background: #fdf3d9;
    border: 1px solid #e8d49a;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.cp-doctor-timing i { font-size: 11px; color: #d4a017; }

.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: #6b6b6b;
    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: #2d2d2d;
    background: #f5efe3;
    padding: 4px 9px;
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid #e8dcc8;
    transition: all 0.2s ease;
}

.cp-tag-primary {
    background: #fdf3d9;
    color: #b8860b;
    border-color: #e8d49a;
    font-weight: 700;
}

.cp-doctor-card:hover .cp-tag-primary {
    background: #f7e8b8;
    border-color: #d4a017;
}

.cp-doctor-card:hover .cp-tag:not(.cp-tag-primary) {
    background: #fdf3d9;
    border-color: #e8d49a;
    color: #b8860b;
}

.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 #1a1a1a;
    background: #ffffff;
    color: #1a1a1a !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: #1a1a1a !important; font-size: 10px; line-height: 1; }

.cp-doctor-btn-explore:hover {
    background: #1a1a1a;
    color: #ffffff !important;
    border-color: #1a1a1a;
    box-shadow: 0 10px 22px -8px rgba(26, 26, 26, 0.5);
    transform: translateY(-1px);
}
.cp-doctor-btn-explore:hover i { color: #ffffff !important; }

.cp-doctor-btn-profile {
    border-color: #d4a017;
    color: #b8860b !important;
}
.cp-doctor-btn-profile i { color: #d4a017 !important; }
.cp-doctor-btn-profile:hover {
    background: #d4a017;
    color: #ffffff !important;
    border-color: #d4a017;
    box-shadow: 0 10px 22px -8px rgba(212, 160, 23, 0.5);
    transform: translateY(-1px);
}
.cp-doctor-btn-profile:hover i { color: #ffffff !important; }

.cp-doctor-empty {
    text-align: center;
    color: #9a9a9a;
    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%, #fdf9f0 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(212, 160, 23, 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;
    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 #e8dcc8;
    box-shadow: 0 6px 20px -8px rgba(26, 26, 26, 0.10), 0 2px 6px -2px rgba(26, 26, 26, 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: #d4a017;
    box-shadow: 0 28px 55px -18px rgba(26, 26, 26, 0.22), 0 10px 22px -10px rgba(26, 26, 26, 0.08);
}

.cp-gallery-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #f5efe3 0%, #fdf9f0 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: #d4a017; 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%, #fdf9f0 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(212, 160, 23, 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(201, 162, 39, 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: #b8860b;
    padding: 7px 16px;
    background: #fdf3d9;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 18px;
    border: 1px solid #e8d49a;
}

.cp-blog-kicker svg { width: 12px; height: 12px; color: #d4a017; }

.cp-blog-heading-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a1a;
    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, #d4a017 0%, #1a1a1a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.cp-blog-heading-sub { font-size: 15px; color: #6b6b6b; 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 #ede3d0;
    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(26, 26, 26, 0.06);
    position: relative;
    cursor: pointer;
}

.cp-blog-card:hover {
    transform: translateY(-6px);
    border-color: #d4a017;
    box-shadow: 0 24px 48px -16px rgba(26, 26, 26, 0.16), 0 8px 20px -8px rgba(26, 26, 26, 0.06);
}

.cp-blog-card:focus-visible { outline: 3px solid #d4a017; outline-offset: 3px; }

.cp-blog-thumb {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 58%;
    background: linear-gradient(135deg, #f5efe3 0%, #fdf9f0 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: #d4a017;
    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: #b8860b;
    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(26, 26, 26, 0.12);
    z-index: 2;
    max-width: calc(100% - 28px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border: 1px solid rgba(232, 212, 154, 0.6);
}

.cp-blog-video {
    position: absolute;
    bottom: 14px; right: 14px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 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(26, 26, 26, 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: #6b6b6b;
    flex-wrap: wrap;
}

.cp-blog-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6b6b6b;
}

.cp-blog-meta-item svg { width: 11px; height: 11px; color: #9a9a9a; flex-shrink: 0; }

.cp-blog-meta-dot { color: #d4c5a8; font-size: 12px; line-height: 1; }

.cp-blog-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    color: #1a1a1a;
    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: #b8860b; }

.cp-blog-excerpt {
    font-size: 12.5px;
    line-height: 1.6;
    color: #6b6b6b;
    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 #f5efe3;
    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, #d4a017 0%, #b8860b 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(212, 160, 23, 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: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.cp-blog-author-info small {
    font-size: 10px;
    font-weight: 500;
    color: #9a9a9a;
    white-space: nowrap;
    line-height: 1.2;
}

.cp-blog-read-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #fdf9f0;
    border: 1.5px solid #f5efe3;
    color: #b8860b;
    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, #1a1a1a 0%, #2d2d2d 100%);
    border-color: #1a1a1a;
    color: #ffffff;
    box-shadow: 0 8px 18px -6px rgba(26, 26, 26, 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 #e8dcc8;
    border-radius: 20px;
    color: #9a9a9a;
}

.cp-blog-empty svg { width: 44px; height: 44px; color: #d4a017; 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, #1a1a1a 0%, #2d2d2d 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(26, 26, 26, 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, #d4a017 0%, #b8860b 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -8px rgba(212, 160, 23, 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: #fdf9f0;
    border: 1px solid #e8dcc8;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-faq-preview-item:hover { border-color: #d4a017; background: #ffffff; box-shadow: 0 12px 30px -14px rgba(26, 26, 26, 0.15); }
.cp-faq-preview-item.open { border-color: #d4a017; 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: #1a1a1a;
}

.cp-faq-preview-q i { font-size: 12px; color: #9a9a9a; 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: #d4a017; }

.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: #6b6b6b; line-height: 1.75; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.cp-testimonials { background: #fdf9f0; }

.cp-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.cp-review-card {
    background: #ffffff;
    border: 1px solid #e8dcc8;
    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: #d4a017;
    box-shadow: 0 24px 48px -20px rgba(26, 26, 26, 0.18);
}

.cp-review-stars { color: #d4a017; font-size: 13px; margin-bottom: 14px; display: flex; gap: 3px; }

.cp-review-message {
    font-size: 13.5px;
    line-height: 1.75;
    color: #2d2d2d;
    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 #e8dcc8;
}

.cp-review-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a017 0%, #1a1a1a 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: #1a1a1a; }
.cp-review-meta small { font-size: 11.5px; color: #6b6b6b; 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, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 12px 24px -8px rgba(26, 26, 26, 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(26, 26, 26, 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: #1a1a1a !important;
    font-weight: 700;
    font-size: 14px;
    border: 1.5px solid #1a1a1a;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none !important;
    transition: all 0.3s ease;
}
.cp-btn-review-outline:hover { background: #1a1a1a; 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: #fdf9f0; }

.cp-cta {
    min-height: 260px;
    border-radius: 28px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 60%, #b8860b 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(26, 26, 26, 0.45), 0 15px 30px -15px rgba(26, 26, 26, 0.2);
}

.cp-cta::before {
    content: "";
    position: absolute;
    width: 450px; height: 450px;
    border-radius: 50%;
    right: -120px; top: -200px;
    border: 80px solid rgba(212, 160, 23, 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(212, 160, 23, 0.08);
    pointer-events: none;
}

.cp-cta-glow {
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    left: 35%; bottom: -220px;
    background: rgba(212, 160, 23, 0.35);
    filter: blur(60px);
    pointer-events: none;
}

.cp-cta-copy { position: relative; z-index: 2; max-width: 600px; }
.cp-cta .cp-kicker { color: #f5d78e; background: rgba(245, 215, 142, 0.12); border: 1px solid rgba(245, 215, 142, 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: #f5d78e; font-weight: 500; }
.cp-cta p { font-size: 14.5px; color: #e8dcc8; margin: 0; line-height: 1.65; }

.cp-btn-white {
    background: #ffffff !important;
    color: #1a1a1a !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: #b8860b !important; font-size: 13px; line-height: 1; }

.cp-btn-white:hover {
    background: #fdf9f0 !important;
    color: #b8860b !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(26, 26, 26, 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(26, 26, 26, 0.4), 0 15px 40px -15px rgba(26, 26, 26, 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: #2d2d2d;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(26, 26, 26, 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, #fdf9f0 0%, #f5efe3 60%, #ffffff 100%);
    border-radius: 24px 24px 0 0;
    position: relative;
    border-bottom: 1px solid #e8dcc8;
}

.doc-modal-photo {
    position: relative;
    width: 100px; height: 100px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #f5efe3;
    box-shadow: 0 0 0 4px #ffffff, 0 0 0 5px #e8d49a, 0 12px 30px -10px rgba(212, 160, 23, 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: #d4a017;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 10px;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(212, 160, 23, 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: #1a1a1a;
    margin: 0 0 4px;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.doc-modal-spec { font-size: 13.5px; font-weight: 700; color: #b8860b; 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: #fdf3d9; color: #8a6d1a; border: 1px solid #e8d49a; }
.doc-modal-badge-teal i { color: #d4a017; }
.doc-modal-badge-blue { background: #fdf9f0; color: #b8860b; border: 1px solid #e8dcc8; }
.doc-modal-badge-blue i { color: #d4a017; }

.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, #fdf9f0 0%, #f5efe3 100%);
    border: 1px solid #e8d49a;
    border-radius: 14px;
    margin-bottom: 22px;
}

.doc-modal-timing-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #d4a017;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px -8px rgba(212, 160, 23, 0.55);
}

.doc-modal-timing small {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    color: #8a6d1a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.doc-modal-timing strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.doc-modal-timing span {
    display: block;
    font-size: 12px;
    color: #6b6b6b;
    margin-top: 2px;
    font-weight: 600;
}

.doc-modal-section-title {
    font-size: 12px;
    font-weight: 800;
    color: #9a9a9a;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doc-modal-section-title i { color: #d4a017; font-size: 12px; }

.doc-modal-text {
    font-size: 13.5px;
    line-height: 1.7;
    color: #4a4a4a;
    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: #1a1a1a; }
.doc-modal-text em, .doc-modal-text i { font-style: italic; color: #2d2d2d; }
.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: #f5efe3;
    color: #2d2d2d;
    border: 1px solid #e8dcc8;
    border-radius: 20px;
    white-space: nowrap;
}

.doc-modal-tag-primary { background: #fdf3d9; color: #8a6d1a; border-color: #e8d49a; }

.doc-modal-grid-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid #f5efe3;
    margin-top: 20px;
}

.doc-modal-info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fdf9f0;
    border: 1px solid #e8dcc8;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.doc-modal-info-card:hover {
    background: #ffffff;
    border-color: #d4a017;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -10px rgba(26, 26, 26, 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, #fdf3d9 0%, #f5e8b8 100%); color: #b8860b; }
.doc-modal-info-icon-teal { background: linear-gradient(135deg, #fdf9f0 0%, #f5efe3 100%); color: #8a6d1a; }
.doc-modal-info-icon-violet { background: linear-gradient(135deg, #f5efe3 0%, #e8dcc8 100%); color: #6b5b2a; }
.doc-modal-info-icon-amber { background: linear-gradient(135deg, #fdf3d9 0%, #f5e8b8 100%); color: #b8860b; }

.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: #9a9a9a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.doc-modal-info-card strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-modal-footer {
    display: flex;
    gap: 10px;
    padding: 20px 28px 24px;
    border-top: 1px solid #f5efe3;
    background: #fdf9f0;
    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, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff !important;
    box-shadow: 0 10px 22px -8px rgba(26, 26, 26, 0.5);
}

.doc-modal-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(26, 26, 26, 0.6); }

.doc-modal-btn-ghost { background: #ffffff; color: #6b6b6b; border: 1px solid #e8dcc8; }
.doc-modal-btn-ghost:hover { background: #f5efe3; color: #1a1a1a; border-color: #d4a017; }

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(26, 26, 26, 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(26, 26, 26, 0.45), 0 15px 40px -15px rgba(26, 26, 26, 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: #2d2d2d;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(26, 26, 26, 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, #f5efe3 0%, #fdf9f0 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(26, 26, 26, 0) 40%, rgba(26, 26, 26, 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: #b8860b;
    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(26, 26, 26, 0.15);
    z-index: 2;
    border: 1px solid rgba(232, 212, 154, 0.6);
}

.blog-modal-video-badge {
    position: absolute;
    bottom: 16px; right: 16px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 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(26, 26, 26, 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: #1a1a1a;
    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: #6b6b6b;
    background: #fdf9f0;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #e8dcc8;
}

.blog-modal-meta-item svg { width: 12px; height: 12px; color: #d4a017; flex-shrink: 0; }
.blog-modal-meta-item strong { color: #1a1a1a; font-weight: 800; }

.blog-modal-divider {
    height: 1px;
    background: linear-gradient(90deg, #e8dcc8 0%, #f5efe3 100%);
    margin: 0 0 20px;
    border-radius: 2px;
}

.blog-modal-excerpt {
    font-size: 14.5px;
    line-height: 1.75;
    color: #4a4a4a;
    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 #f5efe3;
    background: #fdf9f0;
    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, #1a1a1a 0%, #2d2d2d 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px -8px rgba(26, 26, 26, 0.5);
}

.blog-modal-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(26, 26, 26, 0.6); }
.blog-modal-btn-primary svg { color: #ffffff !important; stroke: #ffffff; }

.blog-modal-btn-ghost { background: #ffffff; color: #6b6b6b; border: 1px solid #e8dcc8; }
.blog-modal-btn-ghost:hover { background: #f5efe3; color: #1a1a1a; border-color: #d4a017; }

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(26, 26, 26, 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(26, 26, 26, 0.4), 0 15px 40px -15px rgba(26, 26, 26, 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: #f5efe3; color: #2d2d2d;
    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, #fdf9f0 0%, #f5efe3 60%, #ffffff 100%);
    border-radius: 22px 22px 0 0;
    border-bottom: 1px solid #e8dcc8;
}

.review-modal-header h3 { font-size: 19px; font-weight: 800; color: #1a1a1a; margin: 0 0 4px; }
.review-modal-header p { font-size: 12.5px; color: #6b6b6b; 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: #d4a017; margin-bottom: 14px; display: block; }
.review-form-success p { font-size: 14px; color: #2d2d2d; line-height: 1.6; margin: 0; }

.review-type-toggle {
    display: flex; gap: 8px;
    background: #f5efe3;
    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: #6b6b6b;
    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: #b8860b; box-shadow: 0 3px 10px rgba(26, 26, 26, 0.1); }

.form-group-cp { margin-bottom: 16px; }
.form-group-cp label { display: block; font-size: 12px; font-weight: 700; color: #4a4a4a; margin-bottom: 7px; }

.form-group-cp input,
.form-group-cp select,
.form-group-cp textarea {
    width: 100%; padding: 11px 14px;
    border: 1px solid #e8dcc8; border-radius: 10px;
    font-size: 13.5px; font-family: inherit; color: #1a1a1a;
    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: #d4a017;
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.12);
}

.form-group-cp textarea { resize: vertical; }

.review-star-input { display: flex; gap: 8px; font-size: 26px; color: #e8dcc8; }
.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: #d4a017; }

.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; }
}

.hero-static-image {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
}

/* ===== HERO IMAGE SLIDER ===== */
.hero-static-image {
    width: 100%;
    max-width: 1400px;
    margin: 20px auto 0;
    border-radius: 24px;
}

.hero-img-swiper {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px -20px rgba(26, 26, 26, 0.3);
}

.hero-img-swiper .swiper-slide {
    overflow: hidden;
}

.hero-img-swiper .swiper-slide img {
    width: 100%;
    height: 520px;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
}

/* Ken Burns zoom animation — sirf active slide par */
.hero-img-swiper .swiper-slide-active img {
    animation: heroKenBurns 6s ease-out forwards;
}

@keyframes heroKenBurns {
    from { transform: scale(1); }
    to   { transform: scale(1.08); }
}

/* Arrows */
.hero-img-prev,
.hero-img-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 14px;
    opacity: 0;
    box-shadow: 0 10px 24px -8px rgba(26, 26, 26, 0.35);
    transition: all 0.3s ease;
}
.hero-img-prev { left: 16px; }
.hero-img-next { right: 16px; }

.hero-img-swiper:hover .hero-img-prev,
.hero-img-swiper:hover .hero-img-next { opacity: 1; }

.hero-img-prev:hover,
.hero-img-next:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

/* Dots */
.hero-img-swiper .hero-img-pagination {
    position: absolute;
    bottom: 16px !important;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}
.hero-img-swiper .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #fff;
    opacity: 0.6;
    margin: 0 5px !important;
    transition: all 0.3s ease;
}
.hero-img-swiper .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 5px;
    background: #d4a017;
    opacity: 1;
}
.doc-modal {
    max-height: 88vh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}
.doc-modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    min-height: 0 !important;
}
.doc-modal-hero,
.doc-modal-footer {
    flex-shrink: 0 !important;
}
.doc-modal-info-card strong {
    white-space: normal !important;
    overflow: visible !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
}
@media (max-width: 768px) {
    .hero-img-swiper .swiper-slide img { height: 300px; }
    .hero-img-prev, .hero-img-next { width: 36px; height: 36px; opacity: 1; }
    .hero-img-prev { left: 10px; }
    .hero-img-next { right: 10px; }
}
/* =========================================================
   CONSULTING / SERVICES PREVIEW (HOME PAGE)
   ========================================================= */
.cs-preview {
    background: #FFFDF7;
}

.cs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.cs-card {
    background: #ffffff;
    border: 1px solid #f0e6c8;
    border-radius: 18px;
    padding: 32px 24px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(229, 193, 88, 0.08);
    transition: all 0.35s ease;
}

.cs-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #FFE9A8 0%, #F5D77A 40%, #D4AF37 75%, #B7950B 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.cs-card:hover {
    transform: translateY(-8px);
    border-color: #E5C158;
    box-shadow: 0 20px 45px rgba(229, 193, 88, 0.25);
}

.cs-card:hover::before {
    transform: scaleX(1);
}

.cs-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF6D5 0%, #FFE9A8 25%, #F5D77A 55%, #E5C158 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(229, 193, 88, 0.25), inset 0 3px 6px rgba(255, 255, 255, 0.9);
    transition: transform 0.35s ease;
}

.cs-card:hover .cs-icon {
    transform: translateY(-3px) scale(1.05);
}

.cs-icon svg {
    width: 24px;
    height: 24px;
    color: #6B4E00;
}

.cs-card h3 {
    font-size: 1.12rem;
    font-weight: 700;
    color: #111111;
    margin: 0 0 10px;
    line-height: 1.4;
}

.cs-card p {
    font-size: 0.92rem;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 20px;
    flex-grow: 1;
}

.cs-readmore {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #A67C00 !important;
    background: #ffffff;
    border: 1.5px solid #E5C158;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.cs-readmore:hover {
    background: #FFF9E6;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(229, 193, 88, 0.3);
}

.cs-readmore i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.cs-readmore:hover i {
    transform: translateX(3px);
}

.cs-viewall-wrap {
    text-align: center;
    margin-top: 40px;
}

.cs-viewall {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FFE9A8 0%, #F5D77A 40%, #D4AF37 75%, #B7950B 100%);
    color: #4A3500 !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(229, 193, 88, 0.5);
    transition: all 0.3s ease;
}

.cs-viewall:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(229, 193, 88, 0.7);
}
/* ===== Consulting card: two buttons ===== */
.cs-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.cs-readmore {
    cursor: pointer;
    font-family: inherit;
    flex: 1;
    justify-content: center;
    align-self: auto;
}

.cs-book {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFE9A8 0%, #F5D77A 40%, #D4AF37 75%, #B7950B 100%);
    color: #4A3500 !important;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(229, 193, 88, 0.5);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cs-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(229, 193, 88, 0.7);
}

.cs-book i { font-size: 0.7rem; }

/* ===== Service modal ===== */
.cs-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cs-modal-overlay.active { opacity: 1; visibility: visible; }

.cs-modal {
    background: #ffffff;
    border-radius: 20px;
    max-width: 640px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.cs-modal-overlay.active .cs-modal { transform: translateY(0) scale(1); }

.cs-modal-header {
    background: linear-gradient(135deg, #FFFDF5 0%, #FFF6DC 50%, #FDF0C8 100%);
    padding: 32px 30px 28px;
    border-radius: 20px 20px 0 0;
    position: relative;
    border-bottom: 3px solid #E5C158;
}

.cs-modal-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF6D5 0%, #FFE9A8 25%, #F5D77A 55%, #E5C158 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 22px rgba(229, 193, 88, 0.6), inset 0 3px 8px rgba(255, 255, 255, 0.95);
}

.cs-modal-icon svg { width: 28px; height: 28px; color: #6B4E00; }

.cs-modal-header h2 {
    color: #111111;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    padding-right: 40px;
}

.cs-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(229, 193, 88, 0.6);
    color: #A67C00;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cs-modal-close:hover {
    background: linear-gradient(135deg, #FFE9A8 0%, #D4AF37 100%);
    color: #4A3500;
    transform: rotate(90deg);
}

.cs-modal-body { padding: 30px 30px 35px; background: #ffffff; border-radius: 0 0 20px 20px; }

.cs-modal-desc {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.7;
    margin: 0 0 22px;
    padding-bottom: 22px;
    border-bottom: 1px dashed #f0e6c8;
}

.cs-modal-body h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #A67C00;
    margin: 0 0 16px;
}

.cs-modal-list { list-style: none; padding: 0; margin: 0; }

.cs-modal-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.93rem;
    color: #111111;
    line-height: 1.6;
    padding: 10px 0;
    border-bottom: 1px solid #f7f7f7;
}

.cs-modal-list li:last-child { border-bottom: none; }

.cs-modal-list li::before {
    content: "✓";
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF6D5 0%, #E5C158 100%);
    color: #6B4E00;
    font-size: 0.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.cs-modal-cta {
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px dashed #f0e6c8;
    display: flex;
    justify-content: center;
}

.cs-modal-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 280px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, #FFE9A8 0%, #F5D77A 40%, #D4AF37 75%, #B7950B 100%);
    color: #4A3500 !important;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(229, 193, 88, 0.55);
    transition: all 0.3s ease;
}

.cs-modal-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(229, 193, 88, 0.75);
}

body.cs-modal-open { overflow: hidden; }
/* ===== Consulting card: Read More + Book Now in ONE row ===== */
.cs-card .cs-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-top: auto;
    width: 100%;
}

.cs-card .cs-readmore,
.cs-card .cs-book {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 10px 8px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.4px !important;
    gap: 5px !important;
    white-space: nowrap;
    justify-content: center;
    align-self: auto !important;
    box-sizing: border-box;
}

.cs-card .cs-readmore i,
.cs-card .cs-book i {
    font-size: 0.6rem !important;
}

/* Tablet/desktop me jahan card chhota ho */
@media (max-width: 1280px) and (min-width: 1101px) {
    .cs-card .cs-readmore,
    .cs-card .cs-book {
        font-size: 0.62rem !important;
        padding: 10px 6px !important;
        letter-spacing: 0.2px !important;
    }
}

/* Pehle jo mobile me column kiya tha, usse hata do */
@media (max-width: 576px) {
    .cs-card .cs-actions {
        flex-direction: row !important;
    }
}
@media (max-width: 576px) {
    .cs-actions { flex-direction: column; }
    .cs-modal-header { padding: 26px 22px 22px; }
    .cs-modal-header h2 { font-size: 1.25rem; }
    .cs-modal-body { padding: 24px 22px 28px; }
}

/* Consulting preview responsive */
@media (max-width: 1100px) {
    .cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 576px) {
    .cs-grid { grid-template-columns: 1fr; gap: 18px; }
    .cs-card { padding: 26px 20px 22px; }
}
/* =========================================================
   MOBILE RESPONSIVE FIXES (paste at very end)
   ========================================================= */

/* ---------- Hero slider ---------- */
@media (max-width: 768px) {
    .hero-static-image {
        margin: 12px auto 0;
        padding: 0 10px;
        box-sizing: border-box;
        border-radius: 14px;
    }

    .hero-img-swiper {
        border-radius: 12px;
        box-shadow: 0 12px 28px -14px rgba(26, 26, 26, 0.35);
    }

    /* Poora banner dikhe, crop na ho */
    .hero-img-swiper .swiper-slide img {
        width: 100%;
        height: auto !important;
        min-height: 150px;
        object-fit: contain;
        background: #fdf9f0;
    }

    /* Zoom animation phone par band (edges kat jaate hain) */
    .hero-img-swiper .swiper-slide-active img {
        animation: none;
        transform: none;
    }

    .hero-img-prev,
    .hero-img-next {
        width: 30px;
        height: 30px;
        font-size: 11px;
        opacity: 1;
    }
    .hero-img-prev { left: 8px; }
    .hero-img-next { right: 8px; }

    .hero-img-swiper .hero-img-pagination { bottom: 8px !important; }
    .hero-img-swiper .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 3px !important;
    }
    .hero-img-swiper .swiper-pagination-bullet-active { width: 18px; }
}

/* ---------- Stats: phone par 2 cards ek row me ---------- */
@media (max-width: 600px) {
    .cp-stats-section { padding: 28px 0; }

    .cp-stats-section .cp-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    /* Agar cards ki ginti odd ho to aakhri card poori width le */
    .cp-stats-section .cp-stat-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .cp-stat-card {
        padding: 18px 10px;
        border-radius: 14px;
    }

    .cp-stat-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        margin-bottom: 10px;
    }
    .cp-stat-icon i { font-size: 16px; }

    .cp-stat-value {
        font-size: 26px;
        margin-bottom: 6px;
    }
    .cp-stat-highlight { font-size: 18px; }

    .cp-stat-label {
        font-size: 10.5px;
        line-height: 1.3;
    }
}

/* ---------- Doctors ---------- */
@media (max-width: 600px) {
    .cp-doctor-timing {
        white-space: normal;
        text-align: center;
        justify-content: center;
    }
}

/* ---------- Section headings / spacing ---------- */
@media (max-width: 600px) {
    .cp-section-heading p,
    .cp-blog-heading-sub { font-size: 13.5px; }
    .cp-section-heading { padding: 0 4px; }
    .cp-kicker { font-size: 10px; letter-spacing: 0.12em; }
    .cp-gallery-section { padding-top: 50px; }
    .cs-card h3 { font-size: 1.05rem; }
}

/* ---------- Review buttons ---------- */
@media (max-width: 600px) {
    .cp-review-cta-wrap { flex-direction: column; align-items: stretch; }
    .cp-btn-review,
    .cp-btn-review-outline { justify-content: center; width: 100%; box-sizing: border-box; }
}

/* ---------- CTA ---------- */
@media (max-width: 600px) {
    .cp-btn-white {
        white-space: normal;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* ---------- Modals: phone par scroll aur fit ---------- */
@media (max-width: 600px) {
    .cs-modal { max-height: 92vh; border-radius: 16px; }
    .cs-modal-header { border-radius: 16px 16px 0 0; }
    .cs-modal-icon { width: 52px; height: 52px; }
    .cs-modal-list li { font-size: 0.88rem; }
    .cs-modal-book { max-width: 100%; }
    .review-star-input { font-size: 30px; }
}

/* ---------- Bahut chhoti screens (<= 400px) ---------- */
@media (max-width: 400px) {
    .cp-section-heading h2,
    .cp-blog-heading-title { font-size: 22px; }
    .cp-cta h2 { font-size: 21px; }
    .cs-card .cs-readmore,
    .cs-card .cs-book { font-size: 0.6rem !important; padding: 9px 4px !important; }
    .cp-stat-value { font-size: 22px; }
}