/**
 * Stylesheet for Chaudhary Hospital Service Landing Pages
 * Consistent with MedZone Lite theme, optimized for SEO landing pages with no banner.
 */

/* Content Wrapper */
.service-landing-content {
    background-color: #ffffff;
    color: #334155;
    padding: 30px 0 70px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.service-landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Breadcrumbs */
.service-breadcrumbs {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.service-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.service-breadcrumbs a:hover {
    color: #17646b;
}

.service-breadcrumbs .sep {
    color: #cbd5e1;
    font-size: 11px;
}

.service-breadcrumbs .current {
    color: #1e293b;
    font-weight: 500;
}

/* Header Info Area */
.service-header-meta {
    margin-bottom: 24px;
}

.service-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 9999px;
    background: #eaf3f4;
    color: #17646b;
    border: 1px solid rgba(23, 100, 107, 0.15);
    margin-bottom: 12px;
}

.service-h1 {
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px 0;
    letter-spacing: -0.02em;
}

.service-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #64748b;
}

.service-meta-row .sep {
    color: #cbd5e1;
}

.service-meta-row .text-verified {
    color: #059669;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* 2-Column Grid Layout */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .service-grid {
        grid-template-columns: minmax(0, 1fr) 330px;
        gap: 45px;
    }
}

/* Main Content Area */
.service-main-content {
    font-size: 17px;
    line-height: 1.75;
    color: #334155;
    min-width: 0;
}

/* Quick Answer Callout Box */
.service-quick-answer {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #17646b;
    border-radius: 12px;
    padding: 22px 26px;
    margin: 0 0 32px 0;
    font-size: 17px;
    line-height: 1.7;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.service-quick-answer p {
    margin: 0;
}

.service-quick-answer p + p {
    margin-top: 12px;
}

.service-quick-answer strong {
    color: #0f172a;
}

/* Headings */
.service-main-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 40px;
    margin-bottom: 18px;
    padding-top: 10px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    scroll-margin-top: 90px;
}

.service-section-num {
    color: #17646b;
    font-weight: 700;
    margin-right: 6px;
}

.service-main-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 24px;
    margin-bottom: 12px;
    line-height: 1.4;
    scroll-margin-top: 90px;
}

.service-main-content p {
    margin-bottom: 0;
}

.service-main-content p + p {
    margin-top: 14px;
}

.service-main-content h3 ~ p {
    border-bottom: 1px solid #dddd;
    padding-bottom: 15px;
}

/* Lists */
.service-main-content ul {
    list-style: none;
    padding-left: 0;
    margin: 16px 0 24px 0;
}

.service-main-content ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    line-height: 1.7;
    color: #334155;
}

.service-main-content ul li::before {
    content: "•";
    position: absolute;
    left: 6px;
    top: -1px;
    color: #17646b;
    font-size: 18px;
    font-weight: bold;
}

.service-main-content ol {
    padding-left: 22px;
    margin: 16px 0 24px 0;
}

.service-main-content li strong {
    color: #0f172a;
}

/* Action Buttons (Quick Answer & In-Content CTA) */
.btn-service-lead,
.service-quick-answer .btn {
    background: #17646b !important;
    border: 1px solid #17646b !important;
    border-color: #17646b !important;
    color: #ffffff !important;
    padding: 8px 20px !important;
    border-radius: 9999px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 6px rgba(23, 100, 107, 0.18);
    transition: all 0.2s ease !important;
    cursor: pointer;
}

.btn-service-lead:hover,
.service-quick-answer .btn:hover {
    background: #0f484d !important;
    border-color: #0f484d !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(23, 100, 107, 0.25);
}

.btn-service-secondary {
    background: #ffffff !important;
    border: 1px solid #17646b !important;
    border-color: #17646b !important;
    color: #17646b !important;
    padding: 8px 18px !important;
    border-radius: 9999px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
}

.btn-service-secondary:hover {
    background: #eaf3f4 !important;
    color: #17646b !important;
    border-color: #17646b !important;
}

.service-quick-answer-actions {
    margin-top: 14px !important;
    margin-bottom: 0 !important;
}

.service-contact-actions {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

/* Responsive Table */
.service-table-container {
    overflow-x: auto;
    margin: 26px 0 34px 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.service-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 15px;
}

.service-table th {
    background-color: #f8fafc;
    padding: 14px 18px;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.service-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    line-height: 1.6;
}

.service-table tr:last-child td {
    border-bottom: none;
}

.service-table tr:hover td {
    background-color: #fdfdfe;
}

/* FAQs */
.service-faqs {
    margin: 24px 0 34px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background-color: #ffffff;
    padding: 18px 22px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-faq-item:hover {
    border-color: #17646b;
    box-shadow: 0 2px 8px rgba(23, 100, 107, 0.08);
}

.service-faq-question {
    font-size: 17.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.service-faq-answer {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.68;
    margin: 0;
}

/* In-Content Contact & Notice Box */
.service-contact-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 36px 0 20px 0;
}

.service-contact-box p {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.service-contact-box p + p {
    margin-top: 10px;
}

.service-contact-box a {
    color: #17646b;
    text-decoration: underline;
}

.service-contact-box a.btn {
    text-decoration: none !important;
}

.service-contact-box h3 {
    margin-top: 0;
    color: #0f172a;
}

.service-disclaimer {
    font-size: 13.5px;
    color: #64748b;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    font-style: italic;
}

/* Sidebar Styles */
.service-sidebar {
    position: relative;
}

.service-sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Table of Contents Card */
.service-toc-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.service-toc-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-toc-list li {
    margin: 0;
    padding: 0;
}

.service-toc-list a {
    display: block;
    font-size: 14px;
    color: #475569;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    line-height: 1.45;
    transition: all 0.15s ease-in-out;
}

.service-toc-list a:hover {
    color: #17646b;
    background-color: #f0f7f7;
}

/* Active Pill Highlight matching screenshot */
.service-toc-list a.active {
    color: #17646b;
    background-color: #eaf3f4;
    font-weight: 600;
}

/* Sticky Conversion CTA Card */
.service-cta-card {
    background: linear-gradient(135deg, #17646b 0%, #0d383c 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 10px 25px -5px rgba(23, 100, 107, 0.3);
}

.service-cta-card .cta-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #92e0e7;
    margin-bottom: 10px;
}

.service-cta-card .cta-title {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.service-cta-card .cta-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: #94a3b8;
    margin-bottom: 20px;
}

.service-cta-card .cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid #17646b;
    border-color: #17646b;
    transition: transform 0.15s ease, background-color 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-cta-card .cta-btn-primary:hover {
    background-color: #f1f5f9;
    color: #17646b;
    transform: translateY(-1px);
}

.service-cta-card .cta-link-secondary {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 12.5px;
    color: #cbd5e1;
    text-decoration: underline;
}

.service-cta-card .cta-link-secondary:hover {
    color: #ffffff;
}

/* Service Page Buttons */
.service-landing-content .btn,
.service-main-content .btn,
.service-quick-answer .btn,
.service-contact-box .btn,
.service-btn {
    border: 1px solid #17646b;
    border-color: #17646b;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .service-h1 {
        font-size: 28px;
    }
    .service-main-content h2 {
        font-size: 22px;
    }
    .service-quick-answer {
        font-size: 16px;
        padding: 18px 20px;
    }
    .service-sidebar {
        order: -1;
        margin-bottom: 20px;
    }
    .service-sidebar-sticky {
        position: static;
    }
}

/* Healthcare Services Section (Homepage & Archive) */
.healthcare-services-home-section {
    background-color: #f8fafc;
    padding: 65px 0 75px;
    border-top: 1px solid #e2e8f0;
}

.healthcare-services-eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #17646b;
    margin-bottom: 6px;
}

.healthcare-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

/* Service Card (No Image) */
.healthcare-service-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.healthcare-service-card:hover {
    transform: translateY(-4px);
    border-color: #17646b;
    box-shadow: 0 12px 24px -6px rgba(23, 100, 107, 0.12);
}

.healthcare-service-card-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 24px 22px;
    text-decoration: none;
    color: inherit;
}

.service-card-header {
    margin-bottom: 14px;
}

.service-card-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 9999px;
    background-color: #eaf3f4;
    color: #17646b;
    border: 1px solid rgba(23, 100, 107, 0.18);
}

.service-card-title {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin: 0 0 16px 0;
    transition: color 0.15s ease;
}

.healthcare-service-card:hover .service-card-title {
    color: #17646b;
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #64748b;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.service-card-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card-read-more {
    font-weight: 600;
    color: #17646b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.15s ease;
}

.healthcare-service-card:hover .service-card-read-more {
    gap: 8px;
}

/* View All Services Button */
.btn-healthcare-view-all {
    background-color: #17646b !important;
    border: 1px solid #17646b !important;
    border-color: #17646b !important;
    color: #ffffff !important;
    padding: 13px 34px !important;
    border-radius: 9999px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 12px rgba(23, 100, 107, 0.2) !important;
    transition: all 0.2s ease !important;
}

.btn-healthcare-view-all:hover {
    background-color: #0f4a4f !important;
    border-color: #0f4a4f !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(23, 100, 107, 0.28) !important;
}

/* Archive page specific */
.healthcare-services-archive {
    padding-top: 25px;
}
