/**
 * GastroKure - Main Design System & Layouts
 * Color Palette: Royal Blue + Medical Teal (from Gastrokure logo)
 * Primary: #0e2fb3 (KURE blue) | Secondary: #2ed3b2 (GASTRO teal)
 * Deep Navy: #0a1f6e | Ink: #10215a
 *
 * @package GastroKure
 */

:root {
    --brand-blue: #072146;
    --brand-blue-dark: #051833;
    --brand-navy: #072146;
    --brand-teal: #00a2b8;
    --brand-teal-dark: #00899c;
    --brand-teal-soft: #e5f6f8;
    --brand-cyan: #2ed3b2;
    --brand-blue-soft: #f2f8fc;
    --color-black: #072146;
    --color-dark: #072146;
    --color-charcoal: #0a254e;
    --color-gray-dark: #3a4b60;
    --color-gray-mid: #5e718d;
    --color-gray-light: #94a3b8;
    --color-border: #cce3ee;
    --color-border-dark: #00a2b8;
    --color-bg-subtle: #f2f8fc;
    --color-bg-alt: #e9f4f9;
    --color-white: #ffffff;

    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --container-max: 1240px;
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-elevated: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Base Resets & Typography
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-black);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gray-mid);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-black);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.25rem;
    color: var(--color-gray-dark);
}

ul, ol {
    list-style: none;
}

.apexcare-container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* ==========================================================================
   Buttons & Badges (Black & White Aesthetic)
   ========================================================================== */
.apexcare-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--font-main);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1.5px solid transparent;
    text-align: center;
}

.apexcare-btn-dark {
    background-color: var(--color-black);
    color: var(--color-white) !important;
    border-color: var(--color-black);
}

.apexcare-btn-dark:hover {
    background-color: var(--color-white);
    color: var(--color-black) !important;
    border-color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.apexcare-btn-outline {
    background-color: transparent;
    color: var(--color-black) !important;
    border-color: var(--color-black);
}

.apexcare-btn-outline:hover {
    background-color: var(--color-black);
    color: var(--color-white) !important;
    transform: translateY(-2px);
}

.apexcare-btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 8px;
}

.apexcare-btn-book {
    background: var(--color-black);
    color: var(--color-white) !important;
    border: 1.5px solid var(--color-black);
    padding: 9px 18px;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.apexcare-btn-book:hover {
    background: var(--color-white);
    color: var(--color-black) !important;
}

.btn-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: apexcarePulse 1.8s infinite;
}

.apexcare-btn-book:hover .btn-dot {
    background-color: #000000;
}

@keyframes apexcarePulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.modal-badge {
    display: inline-block;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gray-dark);
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-black);
    border-radius: 2px;
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
.apexcare-topbar {
    background: var(--color-black);
    color: var(--color-white);
    font-size: 0.8125rem;
    padding: 7px 0;
    border-bottom: 1px solid var(--color-charcoal);
}

.apexcare-topbar a {
    color: var(--color-white);
}

.apexcare-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topbar-badge {
    background: var(--color-white);
    color: var(--color-black);
    font-weight: 800;
    font-size: 0.6875rem;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.topbar-phone {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-gmb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f1f3f5;
}

.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-fast);
}

.apexcare-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Editable Logo / Brand */
.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo-custom img {
    max-height: 54px;
    width: auto;
    object-fit: contain;
}

.apexcare-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: flex;
    align-items: center;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-black);
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--color-gray-mid);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Nav Menu Core */
.apexcare-nav-wrapper {
    display: flex;
    align-items: center;
}

.apexcare-nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.apexcare-nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-black);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.apexcare-nav-menu > li > a:hover,
.apexcare-nav-menu > li.current-menu-item > a {
    background-color: var(--color-bg-subtle);
    color: var(--color-black);
}

.dropdown-chevron {
    display: inline-flex;
    align-items: center;
    transition: transform var(--transition-fast);
}

.apexcare-nav-menu > li:hover .dropdown-chevron {
    transform: rotate(180deg);
}

/* Mobile Toggle Button (Black & White Minimalist) */
.apexcare-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1.5px solid var(--color-black);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1002;
}

.apexcare-mobile-toggle:hover {
    background-color: var(--color-bg-subtle);
}

.apexcare-mobile-toggle:focus-visible {
    outline: 2px solid var(--color-black);
    outline-offset: 3px;
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2.2px;
    background-color: var(--color-black);
    border-radius: 2px;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background-color 0.2s ease;
    transform-origin: center;
}

/* Active Morph to "X" */
.apexcare-mobile-toggle.is-active {
    background-color: var(--color-black);
}

.apexcare-mobile-toggle.is-active .hamburger-bar {
    background-color: #ffffff;
}

.apexcare-mobile-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(7.2px) rotate(45deg);
}

.apexcare-mobile-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.apexcare-mobile-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-7.2px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.apexcare-hero-section {
    padding: 70px 0 60px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.apexcare-hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-black);
    border-radius: 50%;
    animation: apexcarePulse 1.8s infinite;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.hero-title-highlight {
    color: var(--color-charcoal);
    display: inline-block;
    position: relative;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-gray-dark);
    margin-bottom: 30px;
    max-width: 540px;
    line-height: 1.6;
}

.hero-actions-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid var(--color-border);
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-black);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-gray-mid);
    font-weight: 600;
}

.stat-separator {
    color: var(--color-border);
    font-size: 1.5rem;
    font-weight: 300;
}

/* Hero Visual & Floating Cards */
.hero-visual {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 32px rgba(7, 33, 70, 0.12);
    background: var(--color-bg-subtle);
}

.hero-main-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    filter: grayscale(15%) contrast(105%);
}

.hero-floating-card {
    position: absolute;
    background: var(--color-white);
    border: 1.5px solid var(--color-black);
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.floating-card-top {
    top: 24px;
    right: -15px;
}

.floating-card-bottom {
    bottom: 24px;
    left: -15px;
}

.floating-icon {
    width: 38px;
    height: 38px;
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-text {
    display: flex;
    flex-direction: column;
}

.floating-text strong {
    font-size: 0.875rem;
    color: var(--color-black);
    line-height: 1.2;
}

.floating-text span {
    font-size: 0.75rem;
    color: var(--color-gray-mid);
}

/* ==========================================================================
   Certified Logo Section
   ========================================================================== */
.certified-logo-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-subtle);
}

.section-micro-heading {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-gray-mid);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.certified-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: center;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.cert-item:hover {
    border-color: var(--color-black);
    transform: translateY(-2px);
}

.cert-symbol {
    color: var(--color-black);
    flex-shrink: 0;
}

.cert-info {
    display: flex;
    flex-direction: column;
}

.cert-info strong {
    font-size: 0.875rem;
    line-height: 1.2;
    color: var(--color-black);
}

.cert-info span {
    font-size: 0.75rem;
    color: var(--color-gray-mid);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.apexcare-section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.section-title {
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--color-gray-dark);
}

/* ==========================================================================
   Services Section Grid
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    padding: 32px 28px;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--color-black);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.07);
}

.service-icon-box {
    width: 54px;
    height: 54px;
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-dept {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gray-mid);
    margin-bottom: 6px;
    display: block;
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--color-gray-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 20px;
    border-top: 1px solid var(--color-border);
    padding-top: 14px;
}

.service-features li {
    font-size: 0.875rem;
    color: var(--color-charcoal);
    font-weight: 500;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li span {
    font-weight: bold;
    color: var(--color-black);
}

.service-link {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--color-black);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Doctors Section (Category-Wise with Date & Time Availability)
   ========================================================================== */
.doctor-filter-tabs-wrapper {
    margin-bottom: 35px;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 10px;
}

.doctor-filter-tabs {
    display: inline-flex;
    background: var(--color-bg-subtle);
    padding: 6px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    gap: 4px;
}

.doctor-filter-tabs .tab-item {
    padding: 8px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--color-gray-dark);
    white-space: nowrap;
}

.doctor-filter-tabs .tab-item:hover {
    color: var(--color-black);
}

.doctor-filter-tabs .tab-item.active {
    background: var(--color-black);
    color: var(--color-white);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.doctor-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.doctor-card:hover {
    border-color: var(--color-black);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.doc-img-wrap {
    position: relative;
    height: 320px;
    background: var(--color-bg-subtle);
    overflow: hidden;
}

.doc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--transition-normal);
}

.doctor-card:hover .doc-img {
    transform: scale(1.03);
}

.doc-img-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    color: #444;
}

.doc-dept-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.doc-emergency-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-black);
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.doc-card-body {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.doc-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.25;
}

.doc-name a:hover {
    text-decoration: underline;
}

.doc-specialty {
    font-size: 0.875rem;
    color: var(--color-gray-mid);
    margin-bottom: 16px;
    font-weight: 500;
}

.doc-meta-specs {
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8125rem;
    line-height: 1.35;
}

.meta-icon {
    font-size: 0.9375rem;
}

.meta-text {
    color: var(--color-charcoal);
}

.avail-highlight {
    font-weight: 700;
    color: var(--color-black);
}

.doc-card-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: auto;
}

.doctors-bottom-cta {
    text-align: center;
    margin-top: 45px;
}

/* ==========================================================================
   Associated Section
   ========================================================================== */
.associated-section {
    padding: 35px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: #ffffff;
}

.associated-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 24px;
}

.assoc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0.85;
    transition: opacity var(--transition-fast);
}

.assoc-item:hover {
    opacity: 1;
}

.assoc-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: var(--color-black);
}

.assoc-item small {
    font-size: 0.6875rem;
    color: var(--color-gray-mid);
    text-transform: uppercase;
}

/* ==========================================================================
   Patient Say GMB (Google My Business Reviews)
   ========================================================================== */
.gmb-reviews-section {
    background: var(--color-bg-subtle);
}

.gmb-header-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    padding: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
    gap: 25px;
}

.gmb-header-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.gmb-google-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-right: 25px;
    border-right: 1.5px solid var(--color-border);
}

.gmb-big-score {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-black);
}

.stars-gold {
    color: var(--color-black);
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.gmb-verified-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gray-dark);
}

.gmb-title {
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.gmb-sub {
    font-size: 0.9375rem;
    color: var(--color-gray-mid);
    margin: 0;
}

.gmb-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.gmb-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-fast);
}

.gmb-card:hover {
    border-color: var(--color-black);
    transform: translateY(-3px);
}

.gmb-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9375rem;
}

.reviewer-meta {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 0.9375rem;
    color: var(--color-black);
}

.review-date {
    font-size: 0.75rem;
    color: var(--color-gray-mid);
}

.gmb-pill {
    margin-left: auto;
    font-size: 0.6875rem;
    font-weight: 800;
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    padding: 2px 8px;
    border-radius: 20px;
}

.gmb-stars {
    font-size: 1rem;
    color: var(--color-black);
    margin-bottom: 8px;
}

.review-dept-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gray-mid);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.review-body {
    font-size: 0.9375rem;
    color: var(--color-gray-dark);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-accordion-wrapper {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-accordion-item {
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-white);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-accordion-item.active {
    border-color: var(--color-black);
}

.faq-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-black);
    cursor: pointer;
    gap: 16px;
}

.faq-toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--color-black);
    flex-shrink: 0;
}

.faq-accordion-content {
    padding: 0 24px 20px;
    font-size: 0.9375rem;
    color: var(--color-gray-dark);
    line-height: 1.65;
}

.faq-accordion-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Location Section
   ========================================================================== */
.location-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    align-items: stretch;
}

.location-info-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-black);
    border-radius: 12px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.loc-card-header {
    margin-bottom: 24px;
}

.loc-badge {
    background: var(--color-black);
    color: var(--color-white);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.loc-card-header h3 {
    font-size: 1.5rem;
    margin-top: 8px;
}

.loc-detail-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 25px;
}

.loc-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.loc-icon {
    color: var(--color-black);
    flex-shrink: 0;
    margin-top: 2px;
}

.loc-detail-item strong {
    font-size: 0.875rem;
    color: var(--color-black);
    display: block;
}

.loc-detail-item p {
    font-size: 0.875rem;
    color: var(--color-gray-dark);
    margin: 0;
}

.loc-phone-num {
    font-weight: 800;
    font-size: 1.0625rem !important;
    color: var(--color-black) !important;
}

.location-map-wrap {
    height: 100%;
    min-height: 380px;
    border: 1.5px solid var(--color-black);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #111;
}

.map-placeholder-box {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #222222 10%, #0d0d0d 90%);
}

.map-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.map-marker-center {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-pin {
    width: 50px;
    height: 50px;
    background: #000;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    animation: apexcarePulse 2s infinite;
}

.map-tooltip {
    background: #fff;
    color: var(--brand-navy);
    padding: 8px 14px;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(7,33,70,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8125rem;
}

.map-live-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
    background: var(--brand-navy);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: apexcarePulse 1.5s infinite;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.g-filter-btn {
    background: var(--color-bg-subtle);
    border: 1.5px solid var(--color-border);
    color: var(--color-black);
    padding: 8px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.g-filter-btn.active, .g-filter-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid var(--color-border);
    background: #000;
    position: relative;
}

.g-img-wrap {
    position: relative;
    height: 270px;
    overflow: hidden;
}

.g-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover .g-img {
    transform: scale(1.05);
}

.g-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--color-white);
}

.g-overlay h4 {
    color: var(--color-white);
    font-size: 1.0625rem;
    margin-bottom: 2px;
}

.g-overlay span {
    font-size: 0.75rem;
    color: #cccccc;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-black);
    color: var(--color-white);
    padding-top: 70px;
    border-top: 2px solid var(--color-black);
}

.apexcare-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--color-charcoal);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.footer-desc {
    color: #999999;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-accreditation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.f-badge {
    background: var(--color-charcoal);
    color: var(--color-white);
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid #333;
}

.footer-heading {
    color: var(--color-white);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaaaaa;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #cccccc;
    font-size: 0.875rem;
}

.footer-contact-item svg {
    color: var(--color-white);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item strong {
    color: var(--color-white);
    font-size: 1rem;
}

.apexcare-footer-bottom {
    padding: 24px 0;
    font-size: 0.8125rem;
    color: #777777;
}

.apexcare-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a {
    color: #aaaaaa;
}

.footer-bottom-links a:hover {
    color: var(--color-white);
}

.apexcare-back-to-top {
    background: var(--color-charcoal);
    border: 1px solid #444;
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.apexcare-back-to-top:hover {
    background: #fff;
    color: #000;
}

/* ==========================================================================
   Quick Doctor Book Modal - Mobile Optimized & Scrolling Fix
   ========================================================================== */
.apexcare-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 33, 70, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 100000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 14px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.apexcare-modal-container {
    background: #ffffff;
    border: 2px solid #072146;
    border-radius: 16px;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 32px 28px 24px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    margin: auto 0;
}

@keyframes modalSlideIn {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.apexcare-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f0f7fb;
    border: 1px solid #cce3ee;
    font-size: 24px;
    line-height: 1;
    color: #072146;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    padding: 0;
}

.apexcare-modal-close:hover {
    background: #00a2b8;
    color: #ffffff;
    border-color: #00a2b8;
}

.apexcare-modal-header {
    margin-bottom: 22px;
    padding-right: 36px;
}

.apexcare-modal-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #072146;
    margin-top: 8px;
    margin-bottom: 6px;
    line-height: 1.2;
}

.apexcare-modal-header p {
    font-size: 0.875rem;
    color: #5e718d;
    line-height: 1.5;
    margin: 0;
}

.booking-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 12.5px;
    font-weight: 700;
    color: #072146;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1.5px solid #cce3ee;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: #072146;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23072146' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    padding-right: 38px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00a2b8;
    box-shadow: 0 0 0 3px rgba(0, 162, 184, 0.15);
}

.doc-avail-preview {
    font-size: 12px;
    background: #f0fbfd;
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 3px solid #00a2b8;
    color: #072146;
    font-weight: 600;
    margin-top: 4px;
}

.booking-submit-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.booking-submit-btn {
    width: 100%;
}

.booking-notice {
    font-size: 0.75rem;
    color: #5e718d;
    margin: 0;
    text-align: center;
}

.booking-result {
    margin-top: 15px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.875rem;
    text-align: center;
    font-weight: 600;
}

.booking-result.success {
    background: #e6f9f0;
    color: #0b6b38;
    border: 1px solid #a3e6c0;
}

.booking-result.error {
    background: #fdf2f2;
    color: #b81c1c;
    border: 1px solid #f8b4b4;
}

@media (max-width: 640px) {
    .apexcare-modal-overlay {
        padding: 8px;
        align-items: flex-start;
    }
    .apexcare-modal-container {
        padding: 22px 16px 18px;
        max-height: 94vh;
        margin: 6px 0;
        border-radius: 14px;
    }
    .booking-form-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
        margin-bottom: 14px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important; /* Prevents auto-zoom in iOS Safari */
        padding: 11px 12px;
    }
    .apexcare-modal-header h3 {
        font-size: 1.35rem;
    }
    .apexcare-modal-close {
        top: 10px;
        right: 12px;
        width: 34px;
        height: 34px;
        font-size: 22px;
    }
    .apexcare-btn-whatsapp,
    .booking-submit-btn {
        height: 46px;
        font-size: 13.5px;
    }
}

/* ==========================================================================
   Page Banner & Single Pages
   ========================================================================== */
.page-header-banner {
    background: linear-gradient(135deg, #072146 0%, #0c336b 100%);
    color: var(--color-white);
    padding: 60px 0 50px;
    border-bottom: 3px solid var(--brand-teal);
}

.banner-breadcrumbs {
    font-size: 0.8125rem;
    color: #999;
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.banner-breadcrumbs a {
    color: #fff;
}

.banner-title {
    color: var(--color-white);
    font-size: 2.6rem;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.banner-subtitle {
    color: #bbb;
    font-size: 1.0625rem;
    max-width: 650px;
    margin: 0;
}

/* Single Doctor Profile */
.single-doc-layout {
    padding-top: 50px;
    padding-bottom: 70px;
}

.doc-profile-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: flex-start;
}

.doc-profile-card {
    background: var(--color-white);
    border: 2px solid var(--color-black);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 8px 8px 0px var(--color-black);
}

.doc-avatar-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.doc-profile-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.profile-emergency-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-white);
    color: var(--color-black);
    border: 1.5px solid var(--color-black);
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
}

.doc-quick-facts h3 {
    font-size: 1.125rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.facts-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-bg-subtle);
}

.doc-schedule-box {
    background: var(--color-bg-subtle);
    border: 1.5px solid var(--color-black);
    border-radius: 10px;
    padding: 24px;
    margin: 30px 0;
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sched-icon {
    font-size: 1.5rem;
}

.sched-sub {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-black);
    margin: 0;
}

.schedule-days-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sched-day-pill {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sched-day-pill.avail {
    background: var(--color-white);
    border-color: var(--color-black);
}

.sched-day-pill.off {
    background: #e9ecef;
    opacity: 0.6;
}

.day-code {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.day-status {
    font-size: 0.75rem;
    color: var(--color-gray-mid);
}

.doc-inline-booking {
    border: 2px solid var(--color-black);
    border-radius: 12px;
    padding: 30px;
    background: #fff;
    margin-top: 30px;
}

/* Service Detailed Rows */
.services-full-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-detailed-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    padding: 35px;
}

.service-detailed-row.row-reverse {
    grid-template-columns: 1.2fr 1fr;
}

.service-detailed-row.row-reverse .service-detail-img {
    order: 2;
}

.service-detail-img img {
    border-radius: 8px;
    border: 1.5px solid var(--color-black);
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.service-tag-mono {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    background: var(--color-black);
    color: var(--color-white);
    padding: 2px 8px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 10px;
}

.service-perks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 20px 0 25px;
}

/* Departments Page */
.departments-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.dept-overview-card {
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.dept-overview-card:hover {
    border-color: var(--color-black);
    transform: translateY(-3px);
}

.dept-card-img-wrap {
    position: relative;
    height: 220px;
}

.dept-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dept-card-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.dept-card-body {
    padding: 24px;
}

.dept-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

/* About Page Leadership */
.about-story-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-img-frame {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--color-black);
    box-shadow: 10px 10px 0 var(--color-black);
}

.about-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-story-media {
    position: relative;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--color-black);
    color: var(--color-white);
    padding: 16px 22px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.badge-num {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.badge-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ccc;
}

.about-values-list {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9375rem;
}

.value-check {
    width: 22px;
    height: 22px;
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.leader-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    padding: 24px;
    text-align: center;
}

.leader-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 2px solid var(--color-black);
}

.leader-role {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-gray-mid);
    display: block;
    margin-bottom: 12px;
}

/* Contact Page Two Columns */
.contact-two-cols-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card-box, .contact-form-box {
    background: #fff;
    border: 2px solid var(--color-black);
    border-radius: 12px;
    padding: 35px;
}

/* Blog Layout Grid */
.blog-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.blog-card {
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--color-black);
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    font-size: 0.75rem;
    color: var(--color-gray-mid);
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--color-gray-dark);
    margin-bottom: 16px;
    flex-grow: 1;
}

.apexcare-link-arrow {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-black);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sidebar-widget {
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 25px;
}

.widget-title {
    font-size: 1.125rem;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}

/* Typography styles for pages/posts */
.typography-styled {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #222;
}

.typography-styled h2 {
    font-size: 1.85rem;
    margin-top: 35px;
    margin-bottom: 15px;
}

.typography-styled h3 {
    font-size: 1.45rem;
    margin-top: 25px;
    margin-bottom: 12px;
}

.typography-styled ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 20px;
}

.typography-styled blockquote {
    border-left: 3px solid var(--color-black);
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #444;
}

body.mobile-nav-open {
    overflow: hidden !important;
    touch-action: none;
}

/* Mobile Drawer Navigation Styles (Black & White Luxury) */
.apexcare-mobile-drawer {
    position: fixed;
    top: 0;
    right: -105%;
    width: min(340px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    border-left: 3px solid var(--brand-teal);
    z-index: 10001;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
    overscroll-behavior: contain;
}

.apexcare-mobile-drawer.open {
    right: 0;
}

.apexcare-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.apexcare-mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1.5px solid var(--color-black);
    background: #0000;
}

.mobile-brand-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-brand-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
    letter-spacing: -0.02em;
}

.mobile-brand-subtitle {
    font-size: 0.72rem;
    color: #fdfdfe;
    font-weight: 600;
}

.mobile-drawer-close {
    background: transparent;
    border: 1.5px solid var(--color-border);
    border-radius: 6px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fdfdfe;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-drawer-close:hover {
    background: var(--color-black);
    color: #ffffff;
    border-color: var(--color-black);
}

.mobile-drawer-body {
    padding: 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

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

.mobile-nav-list li {
    margin: 0;
    list-style: none;
}

.mobile-nav-link {
    font-weight: 700;
    font-size: 1.05rem;
    display: block;
    padding: 9px 12px;
    color: var(--color-black);
    border-radius: 6px;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    text-decoration: none;
}

.mobile-nav-link:hover {
    background-color: var(--color-bg-subtle);
}

.mobile-item-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mobile-item-wrap a {
    flex-grow: 1;
}

.mobile-sub-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-black);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    margin-left: 6px;
    padding: 0;
}

.mobile-sub-toggle:hover {
    background: var(--color-black);
    color: #ffffff;
    border-color: var(--color-black);
}

.mobile-chevron-icon {
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-has-sub.is-open > .mobile-item-wrap > .mobile-sub-toggle .mobile-chevron-icon {
    transform: rotate(180deg);
}

.mobile-has-sub.is-open > .mobile-item-wrap > .mobile-sub-toggle {
    background: var(--color-black);
    color: #ffffff;
    border-color: var(--color-black);
}

.mobile-sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
    border-left: 2px solid var(--color-black);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, margin 0.25s ease;
}

.mobile-has-sub.is-open > .mobile-sub-menu {
    max-height: 450px;
    opacity: 1;
    margin: 6px 0 10px 10px;
}

.mobile-sub-menu li {
    margin-bottom: 2px;
}

.mobile-sub-menu a {
    font-size: 0.92rem;
    font-weight: 500;
    color: #444;
    padding: 6px 10px;
    display: block;
    border-radius: 4px;
    text-decoration: none;
}

.mobile-sub-menu a:hover {
    color: var(--color-black);
    font-weight: 700;
    background: var(--color-bg-subtle);
}

.mobile-sub-all a {
    color: var(--color-black) !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    margin-top: 4px;
    border-top: 1px dashed var(--color-border);
    padding-top: 8px !important;
}

.mobile-drawer-cta {
    padding-top: 20px;
    border-top: 1.5px solid var(--color-border);
    margin-top: 20px;
}

.mobile-btn-wa {
    background: #25D366;
    color: #ffffff;
    border: 1px solid #20ba5a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
}

.mobile-btn-wa:hover {
    background: #20ba5a;
    color: #ffffff;
}

.mobile-emergency-call {
    margin-top: 15px;
    text-align: center;
    background: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 10px;
}

.mobile-emergency-call small {
    display: block;
    color: #666;
    font-size: 0.78rem;
    font-weight: 600;
}

.mobile-call-number {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-black);
    display: block;
    margin-top: 4px;
    text-decoration: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
    .apexcare-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 900px) {
    .site-header {
        position: sticky;
        top: 0;
    }

    .apexcare-header-container {
        height: 72px;
        padding: 0 20px;
    }

    .apexcare-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .floating-card-top, .floating-card-bottom {
        position: static;
        margin: 10px 0;
    }

    .location-grid, .about-story-grid, .contact-two-cols-grid, .blog-layout-grid, .doc-profile-grid {
        grid-template-columns: 1fr;
    }

    .service-detailed-row, .service-detailed-row.row-reverse {
        grid-template-columns: 1fr;
    }

    .service-detailed-row.row-reverse .service-detail-img {
        order: -1;
    }

    .apexcare-nav-wrapper {
        display: none !important; /* Mobile menu active */
    }

    .apexcare-mobile-toggle {
        display: flex;
    }

    .d-none-mobile {
        display: none !important;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .apexcare-header-container {
        height: 66px;
        padding: 0 16px;
    }

    .brand-title {
        font-size: 1.15rem;
    }

    .brand-tagline {
        font-size: 0.68rem;
        max-width: 190px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .apexcare-topbar-inner {
        height: auto;
        min-height: 36px;
        padding: 5px 0;
        font-size: 0.78rem;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.15;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .hero-actions-wrap .apexcare-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-stats-row {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
    }

    .hero-stat-box {
        flex: 1 1 calc(50% - 10px);
        min-width: 120px;
    }

    .stat-separator {
        display: none;
    }

    .services-grid, .doctors-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }

    .apexcare-modal-container {
        padding: 24px 16px;
        margin: 10px;
        max-height: 90vh;
    }

    .booking-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .apexcare-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .certified-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .associated-logos-grid {
        gap: 16px;
    }

    .gastrokure-floating-whatsapp {
        bottom: 74px !important;
        right: 16px !important;
        z-index: 99999 !important;
    }

    .whatsapp-float-btn {
        width: 56px !important;
        height: 56px !important;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
    }

    .whatsapp-float-btn svg {
        width: 30px !important;
        height: 30px !important;
    }

    .whatsapp-label-tooltip {
        display: none !important;
    }
}

@media (max-width: 400px) {
    .brand-title {
        font-size: 1.05rem;
    }

    .brand-tagline {
        display: none;
    }

    .apexcare-mobile-toggle {
        width: 40px;
        height: 40px;
    }

    .hero-stat-box {
        flex: 1 1 100%;
    }
}

/* ==========================================================================
   Floating WhatsApp Button & WhatsApp Actions
   ========================================================================== */
.gastrokure-floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
}

.whatsapp-float-btn {
    position: relative;
    width: 62px;
    height: 62px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: 2px solid #ffffff;
}

.whatsapp-float-btn:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(0.95); opacity: 0.9; }
    50% { transform: scale(1.2); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.whatsapp-label-tooltip {
    position: absolute;
    right: 74px;
    background: var(--brand-navy);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.25s, transform 0.25s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    border: 1px solid #333;
}

.whatsapp-label-tooltip strong {
    font-size: 0.8125rem;
    line-height: 1.2;
}

.whatsapp-label-tooltip small {
    font-size: 0.6875rem;
    color: #25D366;
}

.whatsapp-float-btn:hover .whatsapp-label-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.apexcare-btn-whatsapp {
    background: #25D366;
    color: #ffffff !important;
    border: 1.5px solid #25D366;
    font-weight: 700;
}

.apexcare-btn-whatsapp:hover {
    background: #1eb857;
    color: #ffffff !important;
    border-color: #1eb857;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

/* Dedicated Floating WhatsApp Mobile Positioning (Floats safely above 58px bottom sticky bar) */
@media (max-width: 960px) {
    .gastrokure-floating-whatsapp {
        bottom: 74px !important;
        right: 16px !important;
        z-index: 99999 !important;
    }
    .whatsapp-float-btn {
        width: 52px !important;
        height: 52px !important;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45) !important;
    }
    .whatsapp-float-btn svg {
        width: 28px !important;
        height: 28px !important;
    }
    .whatsapp-label-tooltip {
        display: none !important;
    }
}
body.home #page,body.home .site,body.home #primary.site-main.gk{max-width:none !important;width:100% !important;margin:0 !important;padding:0 !important;background:#fff}
body.home .gk .wrap{max-width:1240px !important}
/* === GASTROKURE BRAND OVERRIDES — Royal Blue + Medical Teal, Gastro-only === */
.apexcare-topbar{background:linear-gradient(90deg,#0a1f6e 0%,#0e2fb3 55%,#0a2290 100%);border-bottom:1px solid rgba(255,255,255,.18);}
.topbar-badge{background:var(--brand-teal);color:#06281f;}
.apexcare-header-container{height:86px;}
.brand-title{color:#0a1f6e;}
.site-logo-custom img{max-height:64px;}
.apexcare-brand-link,.gastrokure-brand-link{align-items:center;}
.apexcare-nav-menu .nav-link{font-weight:600;color:#10215a;}
.apexcare-nav-menu .nav-link:hover,.apexcare-nav-menu .current-menu-item .nav-link{color:var(--brand-blue);}
.apexcare-btn-dark{background:linear-gradient(135deg,#0e2fb3,#0a1f6e);border-color:#0e2fb3;color:#fff !important;box-shadow:0 6px 18px rgba(14,47,179,.28);}
.apexcare-btn-dark:hover{background:#fff;color:#0e2fb3 !important;border-color:#0e2fb3;box-shadow:0 6px 18px rgba(14,47,179,.18);}
.apexcare-btn-outline{color:#0e2fb3 !important;border-color:#0e2fb3;background:#fff;}
.apexcare-btn-outline:hover{background:#0e2fb3;color:#fff !important;}
.apexcare-btn-book{background:linear-gradient(135deg,#0e2fb3,#0a1f6e);border-color:#0e2fb3;}
.apexcare-btn-book:hover{background:var(--brand-teal);border-color:var(--brand-teal-dark);color:#06281f !important;}
.btn-dot{background:var(--brand-teal);}
.apexcare-btn-book:hover .btn-dot{background:#06281f;}
.modal-badge{background:linear-gradient(90deg,#0e2fb3,#14b894);color:#fff;}
.section-tag{color:#0e2fb3;}
.section-tag::before{background:linear-gradient(135deg,#0e2fb3,#2ed3b2);}
.page-header-banner{background:radial-gradient(900px 320px at 15% 20%,rgba(46,211,178,.35),transparent 60%),radial-gradient(700px 300px at 85% 10%,rgba(120,150,255,.35),transparent 60%),linear-gradient(120deg,#0a1f6e 0%,#0e2fb3 65%,#0a2290 100%);border-bottom:3px solid var(--brand-teal);}
.banner-title{color:#fff;}
.banner-subtitle{color:#dbe4ff;}
.banner-breadcrumbs a{color:#9fe9d6;}
.hero-title-highlight{background:linear-gradient(90deg,#2ed3b2,#7aa2ff);-webkit-background-clip:text;background-clip:text;color:transparent;}
.hero-badge-pill{border-color:#c9d6ff;background:#eef2ff;color:#0a1f6e;}
.pulse-dot{background:var(--brand-teal);}
.dept-bullet{background:linear-gradient(135deg,#0e2fb3,#2ed3b2);}
.mega-promo-badge{background:linear-gradient(90deg,#0e2fb3,#14b894);}
.mega-schedule-box{background:linear-gradient(160deg,#0a1f6e,#0e2fb3);border-color:#0a1f6e;color:#fff;}
.mega-schedule-box h4,.mega-schedule-box p{color:#fff;}
.mega-action-box{border-color:#0e2fb3;background:linear-gradient(180deg,#eef2ff,#e6faf4);}
.action-icon{background:linear-gradient(135deg,#0e2fb3,#14b894);}
.doc-dept-badge{background:linear-gradient(90deg,#0e2fb3,#14b894);}
.doc-card-actions .apexcare-btn-dark{background:linear-gradient(135deg,#0e2fb3,#0a1f6e);}
.apexcare-footer{background:linear-gradient(180deg,#0a1f6e 0%,#0a184f 100%);}
.f-badge{border-color:rgba(46,211,178,.45);color:#d7fff4;}
.footer-heading{color:#fff;}
.footer-heading::after{background:var(--brand-teal);}
.service-tag-mono{background:linear-gradient(90deg,#0e2fb3,#14b894);}
.location-info-card{border-color:#0e2fb3;}
.loc-icon{background:linear-gradient(135deg,#0e2fb3,#2ed3b2);}
.g-filter-btn.active,.tab-item.active{background:linear-gradient(135deg,#0e2fb3,#0a1f6e);border-color:#0e2fb3;}
.faq-accordion-item.open,.faq-accordion-header[aria-expanded="true"]{border-color:var(--brand-teal);}
.apexcare-modal-container{border-color:#0e2fb3;box-shadow:0 24px 60px rgba(14,47,179,.35);}
.booking-submit-btn{background:linear-gradient(135deg,#0e2fb3,#14b894) !important;border-color:#0e2fb3 !important;}
input:focus,textarea:focus,select:focus{border-color:var(--brand-teal) !important;box-shadow:0 0 0 3px rgba(46,211,178,.25);outline:none;}
.mobile-drawer-header{background:linear-gradient(120deg,#0a1f6e,#0e2fb3);}
@media(max-width:768px){.apexcare-header-container{height:76px;}}


/* ==========================================================================
   GASTROKURE EXACT REDESIGN & UNIFIED BRAND SYSTEM
   Colors: Teal #00a2b8 | Deep Navy #072146 | Ice Blue #f2f8fc | Accent #2ed3b2
   ========================================================================== */
:root {
    --gk-teal: #00a2b8;
    --gk-teal-hover: #008da0;
    --gk-cyan: #2ed3b2;
    --gk-navy: #072146;
    --gk-navy-dark: #051937;
    --gk-blue: #0a2a7a;
    --gk-bg-ice: #f2f8fc;
    --gk-bg-soft: #f8fbfe;
    --gk-border: #cce3ee;
    --gk-border-subtle: #e2edf5;
    --gk-text-muted: #4b6584;
}

/* Global utility colors */
.txt-teal { color: var(--gk-teal) !important; }
.txt-navy { color: var(--gk-navy) !important; }
.txt-cyan { color: var(--gk-cyan) !important; }

/* 1. MASTER HEADER (NO DUPLICATE NAVBAR) */
.gk-header-master {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(7, 33, 70, 0.08);
}

/* Header Master & Navbar Full Width Accordingly to Banner */
.gk-header-master {
    width: 100%;
    position: relative;
    z-index: 1000;
}

.gk-header-top-row,
.gk-header-cta-row,
.gk-header-nav-row {
    width: 100%;
}

.gk-header-top-row .apexcare-container,
.gk-header-cta-row .apexcare-container,
.gk-header-nav-row .apexcare-container {
    max-width: 100% !important;
    padding-left: clamp(16px, 3.5vw, 40px) !important;
    padding-right: clamp(16px, 3.5vw, 40px) !important;
    width: 100% !important;
    box-sizing: border-box;
}

.gk-header-top-row {
    background: #ffffff;
    border-bottom: 1px solid #f0f5fa;
    padding: 10px 0;
}

.gk-header-row-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.gk-brand-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.brand-text .brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    display: block;
}

.brand-text .brand-tagline {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #4b6584;
    display: block;
    margin-top: 3px;
}

.gk-specialist-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f4fbfe;
    border: 1.5px solid #bce3eb;
    border-radius: 10px;
    padding: 6px 14px;
    flex-shrink: 0;
}

.gk-specialist-badge .badge-icon {
    flex-shrink: 0;
}

.gk-specialist-badge .badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.gk-specialist-badge .badge-kicker {
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #072146;
}

.gk-specialist-badge .badge-sub {
    font-size: 11px;
    font-weight: 800;
    color: #072146;
    letter-spacing: 0.02em;
}

/* Header Action Buttons Row */
.gk-header-cta-row {
    background: #ffffff;
    padding: 8px 0;
    border-bottom: 1px solid #f0f5fa;
}

.gk-cta-row-inner {
    display: flex;
    gap: 10px;
    width: 100%;
}

.gk-head-btn {
    flex: 1 1 0;
    height: 44px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gk-head-btn.btn-teal {
    background: #00a2b8;
    color: #ffffff;
}

.gk-head-btn.btn-teal:hover {
    background: #008da0;
    transform: translateY(-1px);
}

.gk-head-btn.btn-navy {
    background: #072146;
    color: #ffffff;
}

.gk-head-btn.btn-navy:hover {
    background: #051937;
    transform: translateY(-1px);
}

/* Header Navbar Row */
.gk-header-nav-row {
    background: #f2f6fa;
    border-top: 1px solid #e2edf5;
    border-bottom: 1px solid #d8e5ef;
    padding: 8px 0;
}

.gk-nav-row-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.gk-nav-phone {
    color: #072146;
    font-size: 16.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.gk-nav-phone:hover {
    color: #00a2b8;
}

.gk-header-nav-row .main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.gk-hamb-btn {
    width: 44px;
    height: 38px;
    border-radius: 8px;
    background: #00a2b8;
    border: none;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.gk-hamb-btn:hover {
    background: #008da0;
}

.gk-hamb-btn .hamburger-bar {
    width: 22px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
}

.gk-nav-desktop-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.gk-nav-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #072146;
    background: #e6f7ef;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #c2eed5;
}

.gk-nav-wa-link .wa-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25D366;
}

.gk-nav-gmb-link {
    font-size: 13px;
    font-weight: 700;
    color: #072146;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #d8e5ef;
}

/* Mobile Breakpoint for Header Rows */
@media (max-width: 960px) {
    .gk-hamb-btn {
        display: flex;
    }
    .gk-header-nav-row .main-navigation {
        display: none !important;
    }
    .d-none-mobile {
        display: none !important;
    }
    body {
        padding-bottom: 64px;
    }
}

@media (max-width: 640px) {
    .gk-header-top-row {
        padding: 8px 0;
    }
    .gk-brand-logo-img {
        width: 42px;
        height: 42px;
        border-radius: 8px;
    }
    .brand-text .brand-title {
        font-size: 1.15rem;
    }
    .brand-text .brand-tagline {
        font-size: 0.58rem;
        letter-spacing: 0.08em;
    }
    .gk-specialist-badge {
        padding: 4px 8px;
        gap: 5px;
        border-radius: 8px;
    }
    .gk-specialist-badge .badge-icon {
        width: 16px;
        height: 16px;
    }
    .gk-specialist-badge .badge-kicker {
        font-size: 7.5px;
    }
    .gk-specialist-badge .badge-sub {
        font-size: 9.5px;
    }
    .gk-header-cta-row {
        padding: 6px 0;
    }
    .gk-cta-row-inner {
        gap: 6px;
    }
    .gk-head-btn {
        height: 40px;
        font-size: clamp(10px, 2.7vw, 12px);
        padding: 0 8px;
        gap: 5px;
        white-space: nowrap;
        border-radius: 7px;
    }
    .gk-head-btn svg {
        width: 15px;
        height: 15px;
    }
    .gk-header-nav-row {
        padding: 6px 0;
    }
    .gk-nav-phone {
        font-size: 14.5px;
        gap: 6px;
    }
    .gk-nav-phone svg {
        width: 16px;
        height: 16px;
    }
    .gk-hamb-btn {
        width: 38px;
        height: 34px;
        border-radius: 7px;
        gap: 4px;
    }
    .gk-hamb-btn .hamburger-bar {
        width: 18px;
        height: 2px;
    }
}

@media (max-width: 420px) {
    .gk-specialist-badge {
        display: none !important;
    }
}

@media (min-width: 961px) {
    .d-only-mobile {
        display: none !important;
    }
    .gk-hamb-btn {
        display: none !important;
    }
}

/* 2. FRONT PAGE HERO BANNER - 4-BANNER SLIDER (HERO 1, HERO 2, HERO 3, HERO 4) */
.gk-hero-section.gk-hero-banner-only {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f0f7fb;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #dce9f2;
    line-height: 0;
    display: block;
}

.gk-hero-slider-container,
.gk-hero-banner-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    line-height: 0;
    display: block;
    position: relative;
    overflow: hidden;
    background: #f0f7fb;
}

.gk-hero-slides-track {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.gk-hero-slide-item {
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.gk-hero-slide-item.active {
    display: block;
    opacity: 1;
}

.gk-hero-full-banner-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    margin: 0 auto;
    border: none;
    box-shadow: none;
}

/* Minimal Sleek Arrow Controls */
.gk-hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(7, 33, 70, 0.45);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    line-height: 1;
    padding: 0;
}

.gk-hero-nav-arrow:hover {
    background: #00a2b8;
    border-color: #00a2b8;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}

.gk-hero-nav-arrow.arrow-left {
    left: 20px;
}

.gk-hero-nav-arrow.arrow-right {
    right: 20px;
}

@media (max-width: 768px) {
    .gk-hero-nav-arrow {
        width: 32px;
        height: 32px;
    }
    .gk-hero-nav-arrow.arrow-left {
        left: 8px;
    }
    .gk-hero-nav-arrow.arrow-right {
        right: 8px;
    }
    .gk-hero-nav-arrow svg {
        width: 16px;
        height: 16px;
    }
}

/* Minimal Sleek Indicator Dots */
.gk-hero-dots-wrap {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    background: rgba(7, 33, 70, 0.35);
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    line-height: 1;
}

.gk-hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.gk-hero-dot:hover {
    background: #ffffff;
}

.gk-hero-dot.active {
    width: 26px;
    border-radius: 6px;
    background: #00a2b8;
}

@media (max-width: 600px) {
    .gk-hero-dots-wrap {
        bottom: 8px;
        padding: 4px 8px;
        gap: 6px;
    }
    .gk-hero-dot {
        width: 7px;
        height: 7px;
    }
    .gk-hero-dot.active {
        width: 18px;
    }
}


/* 3. EXPERTS SECTION: GASTROENTEROLOGY & DIGESTIVE CARE (FULL WIDTH ACCORDING TO BANNER) */
.gk-experts-section {
    width: 100%;
    background: #072146;
    padding: 48px 0 56px;
    color: #ffffff;
}

.gk-experts-section .apexcare-container {
    max-width: 100% !important;
    padding-left: clamp(16px, 3.5vw, 40px) !important;
    padding-right: clamp(16px, 3.5vw, 40px) !important;
    width: 100% !important;
    box-sizing: border-box;
}

.gk-section-header-center {
    text-align: center;
    margin-bottom: 26px;
}

.gk-kicker-cyan {
    color: #2ed3b2;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.gk-section-title-white {
    color: #ffffff;
    font-size: clamp(22px, 3.2vw, 34px);
    font-weight: 800;
    margin: 0;
}

.gk-services-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

@media (max-width: 960px) {
    .gk-services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 580px) {
    .gk-services-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

.gk-service-card-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.gk-service-card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.gk-service-card-item .card-thumb {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #072146;
}

.gk-service-card-item .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gk-service-card-item .card-title {
    font-size: clamp(13px, 2.9vw, 15px);
    font-weight: 700;
    color: #072146;
    line-height: 1.35;
    flex: 1;
}

.gk-service-card-item .card-arrow-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #00a2b8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

/* 4. ADVANCED DIAGNOSTIC SERVICES (FULL WIDTH ACCORDING TO BANNER) */
.gk-diagnostic-section {
    width: 100%;
    background: #f2f8fc;
    padding: 44px 0;
}

.gk-diagnostic-section .apexcare-container {
    max-width: 100% !important;
    padding-left: clamp(16px, 3.5vw, 40px) !important;
    padding-right: clamp(16px, 3.5vw, 40px) !important;
    width: 100% !important;
    box-sizing: border-box;
}

.gk-section-header-left {
    margin-bottom: 22px;
}

.gk-tag-advanced {
    color: #00a2b8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.gk-diag-title {
    color: #072146;
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: 800;
}

.gk-cyan-line {
    width: 60px;
    height: 3px;
    background: #00a2b8;
    border-radius: 2px;
    margin-top: 8px;
}

.gk-cyan-line-sm {
    width: 44px;
    height: 3px;
    background: #00a2b8;
    border-radius: 2px;
    margin: 6px 0 8px;
}

.gk-diagnostic-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
}

@media (max-width: 900px) {
    .gk-diagnostic-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .gk-diagnostic-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .gk-diag-card-box {
        padding: 16px 10px !important;
    }
    .gk-diag-card-box .diag-icon-wrap svg {
        width: 32px !important;
        height: 32px !important;
    }
    .gk-diag-card-box .diag-card-name {
        font-size: 12.5px !important;
        min-height: auto !important;
    }
}

.gk-diag-card-box {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #cce3ee;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(7, 33, 70, 0.05);
    transition: all 0.2s ease;
}

.gk-diag-card-box:hover {
    border-color: #00a2b8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 162, 184, 0.15);
}

.gk-diag-card-box .diag-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: #e6f6f9;
    border: 1.5px solid #c2eaf0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 162, 184, 0.1);
}

.gk-diag-card-box:hover .diag-icon-wrap {
    background: #00a2b8;
    border-color: #00a2b8;
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 162, 184, 0.3);
}

.gk-diag-card-box .diag-card-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #072146;
    line-height: 1.25;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gk-diag-card-box .diag-circle-arrow {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #00a2b8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* 5. WELCOME TO GASTROKURE (FULL WIDTH ACCORDING TO BANNER - LARGE PROMINENT CLINIC IMAGE) */
.gk-welcome-section {
    width: 100%;
    background: #ffffff;
    padding: 50px 0;
}

.gk-welcome-section .apexcare-container {
    max-width: 100% !important;
    padding-left: clamp(16px, 3.5vw, 40px) !important;
    padding-right: clamp(16px, 3.5vw, 40px) !important;
    width: 100% !important;
    box-sizing: border-box;
}

.gk-welcome-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 44px;
    align-items: center;
}

@media (max-width: 960px) {
    .gk-welcome-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.gk-welcome-heading {
    color: #072146;
    font-size: clamp(24px, 3.4vw, 36px);
    font-weight: 800;
    margin: 0;
}

.welcome-subhead {
    color: #072146;
    font-size: 16px;
    font-weight: 700;
    margin: 14px 0 8px;
}

.welcome-desc {
    color: #46587e;
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 16px;
}

/* Welcome SEO Features Checklist */
.welcome-seo-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0 20px;
}

@media (max-width: 640px) {
    .welcome-seo-features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.welcome-feat-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f8fbfe;
    border: 1px solid #dbe9f2;
    padding: 10px 12px;
    border-radius: 10px;
}

.feat-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #00a2b8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.welcome-feat-item strong {
    font-size: 12.5px;
    color: #072146;
    display: block;
    line-height: 1.25;
}

.welcome-feat-item small {
    font-size: 11px;
    color: #5b6e8a;
    display: block;
    line-height: 1.3;
    margin-top: 2px;
}

.welcome-action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .welcome-action-buttons {
        flex-direction: column;
    }
    .welcome-action-buttons .gk-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Prominent Welcome Clinic Image Card */
.welcome-img-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(7, 33, 70, 0.16);
    border: 3px solid #ffffff;
    background: #072146;
}

.welcome-reception-img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    max-height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.welcome-img-card:hover .welcome-reception-img {
    transform: scale(1.03);
}

/* Floating Emergency Top Badge */
.welcome-badge-emergency {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(7, 33, 70, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(46, 211, 178, 0.45);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 11.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 2;
}

.pulse-emerald {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ed3b2;
    box-shadow: 0 0 0 0 rgba(46, 211, 178, 0.7);
    animation: emeraldPulse 2s infinite;
}

@keyframes emeraldPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 211, 178, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(46, 211, 178, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 211, 178, 0); }
}

/* Floating Experience & Google Rating Overlay */
.welcome-img-badge-experience {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    background: rgba(7, 33, 70, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
}

.badge-star-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #00a2b8;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    flex-shrink: 0;
}

.badge-stars {
    color: #ffd166;
    font-size: 11px;
    letter-spacing: 0.1em;
}

.badge-gmb-score {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
}

.badge-exp-info strong {
    font-size: 13.5px;
    display: block;
    color: #ffffff;
}

.badge-exp-info small {
    font-size: 11.5px;
    color: #cce3ee;
    display: block;
}

@media (max-width: 600px) {
    .welcome-reception-img {
        min-height: 250px;
        max-height: 320px;
    }
    .welcome-img-badge-experience {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 10px 12px;
        gap: 10px;
    }
    .welcome-badge-emergency {
        top: 10px;
        left: 10px;
        font-size: 10px;
        padding: 6px 10px;
    }
    .gk-diag-card-box .diag-icon-wrap {
        width: 58px;
        height: 58px;
    }
}

/* 6. MET OUR DOCTORS SECTION (FULL WIDTH ACCORDING TO BANNER) */
.gk-doctors-section {
    width: 100%;
    background: #f2f8fc;
    padding: 44px 0;
}

.gk-doctors-section .apexcare-container {
    max-width: 100% !important;
    padding-left: clamp(16px, 3.5vw, 40px) !important;
    padding-right: clamp(16px, 3.5vw, 40px) !important;
    width: 100% !important;
    box-sizing: border-box;
}

.gk-kicker-cyan-clean {
    color: #00a2b8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gk-doctors-heading {
    color: #072146;
    font-size: clamp(22px, 3.2vw, 32px);
    font-weight: 800;
    margin: 4px 0 0;
}

.gk-doctor-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 860px;
    margin: 20px auto 0;
}

.gk-doc-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cce3ee;
    color: #072146;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    cursor: pointer;
    flex-shrink: 0;
    z-index: 5;
    transition: all 0.2s ease;
    margin-top: -100px;
}

.gk-doc-nav-btn:hover {
    background: #00a2b8;
    color: #ffffff;
    border-color: #00a2b8;
}

.gk-doc-slider-track {
    flex: 1;
    overflow: hidden;
}

.gk-doc-profile-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #cce3ee;
    padding: 22px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 8px 24px rgba(7, 33, 70, 0.08);
    margin: 0 10px;
}

@media (max-width: 640px) {
    .gk-doctor-slider-wrapper {
        margin: 14px auto 0;
        gap: 6px;
    }
    .gk-doc-nav-btn {
        width: 32px;
        height: 32px;
        box-shadow: none;
    }
    .gk-doc-profile-card {
        flex-direction: column;
        text-align: center;
        padding: 18px 14px;
        margin: 0;
        gap: 12px;
    }
    .doc-photo-wrap {
        width: 110px;
        height: 110px;
        margin: 0 auto;
    }
    .doc-name-title {
        font-size: 18px;
    }
}

.doc-photo-wrap {
    width: 130px;
    height: 130px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e2edf5;
}

.doc-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doc-name-title {
    font-size: 20px;
    font-weight: 800;
    color: #072146;
    margin: 0 0 2px;
}

.doc-specialty-subtitle {
    font-size: 13.5px;
    font-weight: 700;
    color: #00a2b8;
    margin-bottom: 4px;
}

.doc-degrees-text {
    font-size: 12px;
    color: #5b6e8a;
    font-weight: 600;
    margin-bottom: 8px;
}

.doc-bio-paragraph {
    font-size: 13px;
    color: #46587e;
    line-height: 1.5;
    margin-bottom: 14px;
}

.doc-profile-btn {
    background: #00a2b8;
    color: #ffffff;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
}

/* 7. CLINIC LOCATION (FULL WIDTH ACCORDING TO BANNER) */
.gk-location-section {
    width: 100%;
    padding: 44px 0;
    background: #ffffff;
}

.gk-location-section .apexcare-container {
    max-width: 100% !important;
    padding-left: clamp(16px, 3.5vw, 40px) !important;
    padding-right: clamp(16px, 3.5vw, 40px) !important;
    width: 100% !important;
    box-sizing: border-box;
}

.gk-location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 860px) {
    .gk-location-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.gk-location-info-card {
    background: #072146;
    color: #ffffff;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gk-location-info-card .loc-badge {
    color: #2ed3b2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 6px;
}

.gk-location-info-card h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
}

.gk-location-info-card .loc-addr {
    color: #cce3ee;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.loc-contact-line {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.loc-phone-btn, .loc-wa-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.loc-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gk-location-map-card {
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
    border: 1px solid #dce9f2;
}

/* 8. GLOBAL MOBILE BOTTOM STICKY BAR */
.gk-mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: #ffffff;
    border-top: 1px solid #dbe7ef;
    box-shadow: 0 -4px 16px rgba(7, 33, 70, 0.08);
    grid-template-columns: 1fr 1fr 1fr;
    padding: 4px 0 6px;
}

@media (max-width: 960px) {
    .gk-mobile-sticky-bar {
        display: grid;
    }
}

.gk-sticky-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 11px;
    font-weight: 700;
    color: #072146;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
}

.gk-sticky-tab:hover {
    color: #00a2b8;
}

.gk-sticky-center {
    position: relative;
}

.gk-sticky-bubble {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #00a2b8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -16px;
    box-shadow: 0 4px 14px rgba(0, 162, 184, 0.35);
    border: 3px solid #ffffff;
}

/* 9. DOCTOR-FIRST APPOINTMENT BOOKING PAGE STYLES */
.booking-steps-section {
    padding: 36px 0 60px;
    background: #f8fbfe;
}

.booking-step-container {
    background: #ffffff;
    border: 1px solid #cce3ee;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 26px;
    box-shadow: 0 6px 20px rgba(7, 33, 70, 0.05);
}

@media (max-width: 600px) {
    .booking-step-container {
        padding: 18px;
    }
}

.booking-step-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.step-num-badge {
    background: #00a2b8;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 3px;
}

.step-heading-title {
    font-size: 22px;
    font-weight: 800;
    color: #072146;
    margin: 0 0 4px;
}

.step-heading-desc {
    color: #556877;
    font-size: 14px;
    margin: 0;
}

.doc-select-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.doc-filter-btn {
    border-radius: 8px;
    border: 1px solid #cce3ee;
    background: #f4fbfe;
    color: #072146;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.doc-filter-btn.active, .doc-filter-btn:hover {
    background: #00a2b8;
    color: #ffffff;
    border-color: #00a2b8;
}

.booking-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .booking-doc-grid {
        grid-template-columns: 1fr;
    }
}

.doc-select-card {
    background: #ffffff;
    border: 2px solid #dce9f2;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    gap: 16px;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.doc-select-card:hover {
    border-color: #00a2b8;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 162, 184, 0.12);
}

.doc-select-card.active-selected {
    border-color: #00a2b8;
    background: #f0fbfd;
    box-shadow: 0 8px 24px rgba(0, 162, 184, 0.2);
}

.doc-select-card .card-radio-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #cce3ee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: transparent;
    background: #ffffff;
}

.doc-select-card.active-selected .card-radio-indicator {
    border-color: #00a2b8;
    background: #00a2b8;
    color: #ffffff;
}

.doc-card-photo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #dce9f2;
}

.doc-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doc-card-info {
    flex: 1;
}

.doc-cat-tag {
    font-size: 11px;
    font-weight: 700;
    color: #00a2b8;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.doc-card-name {
    font-size: 17px;
    font-weight: 800;
    color: #072146;
    margin: 0 0 2px;
}

.doc-card-degrees {
    font-size: 12px;
    color: #556877;
    margin-bottom: 4px;
}

.doc-card-exp {
    font-size: 12px;
    color: #072146;
    font-weight: 600;
    margin-bottom: 2px;
}

.doc-card-timing {
    font-size: 11.5px;
    color: #2e7d32;
    font-weight: 700;
    margin-bottom: 8px;
}

.doc-card-choose-btn {
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    background: #f2f6fa;
    color: #072146;
    border: 1px solid #dce9f2;
    cursor: pointer;
}

.doc-select-card.active-selected .doc-card-choose-btn {
    background: #00a2b8;
    color: #ffffff;
    border-color: #00a2b8;
}

.selected-doc-summary-banner {
    background: linear-gradient(135deg, #072146 0%, #00a2b8 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: 0 6px 18px rgba(7, 33, 70, 0.15);
}

.summary-doc-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.summary-check-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}

.summary-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #cce3ee;
    display: block;
}

.summary-name {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.summary-dept {
    font-size: 12.5px;
    color: #dbe4ff;
}

.change-doc-link-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.change-doc-link-btn:hover {
    background: #ffffff;
    color: #072146;
}

.booking-form-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

@media (max-width: 640px) {
    .booking-form-grid-v2 {
        grid-template-columns: 1fr;
    }
}

.form-group-v2 {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group-v2.full-width {
    grid-column: 1 / -1;
}

.form-group-v2 label {
    font-size: 13px;
    font-weight: 700;
    color: #072146;
}

.form-group-v2 input,
.form-group-v2 select,
.form-group-v2 textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #cce3ee;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #072146;
    background: #ffffff;
    transition: all 0.2s ease;
}

.form-group-v2 input:focus,
.form-group-v2 select:focus,
.form-group-v2 textarea:focus {
    border-color: #00a2b8 !important;
    box-shadow: 0 0 0 3px rgba(0, 162, 184, 0.15) !important;
    outline: none;
}

.booking-submit-area-v2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.gk-btn-booking-wa {
    background: #25D366;
    color: #ffffff;
    border-radius: 10px;
    padding: 15px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
    transition: all 0.2s ease;
}

.gk-btn-booking-wa:hover {
    background: #20ba59;
    transform: translateY(-1px);
}

.gk-btn-booking-online {
    background: #00a2b8;
    color: #ffffff;
    border-radius: 10px;
    padding: 15px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 162, 184, 0.25);
    transition: all 0.2s ease;
}

.gk-btn-booking-online:hover {
    background: #008da0;
    transform: translateY(-1px);
}

.booking-page-security-notice {
    font-size: 12.5px;
    color: #556877;
    text-align: center;
    margin-top: 6px;
}

/* 10. UNIFIED THEME COLORS ACROSS ALL EXISTING PAGES */
.page-header-banner {
    background: linear-gradient(135deg, #072146 0%, #0a2a7a 50%, #00a2b8 100%) !important;
    border-bottom: 3px solid #00a2b8 !important;
}

.apexcare-btn-dark {
    background: #072146 !important;
    border-color: #072146 !important;
    color: #ffffff !important;
}

.apexcare-btn-dark:hover {
    background: #00a2b8 !important;
    border-color: #00a2b8 !important;
    color: #ffffff !important;
}

.apexcare-btn-outline {
    border-color: #00a2b8 !important;
    color: #00a2b8 !important;
}

.apexcare-btn-outline:hover {
    background: #00a2b8 !important;
    color: #ffffff !important;
}

.apexcare-footer {
    background: linear-gradient(180deg, #072146 0%, #04142b 100%) !important;
}

.footer-heading::after {
    background: #00a2b8 !important;
}

.modal-badge {
    background: #00a2b8 !important;
}

.tab-item.active, .g-filter-btn.active {
    background: #00a2b8 !important;
    border-color: #00a2b8 !important;
}

/* ==========================================================================
   11. MASTER THEME CORE COMPONENTS & BUTTON SYSTEM
   ========================================================================== */

/* Universal Reset to Prevent Horizontal Overflow on Mobile */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

#page, .site {
    overflow-x: hidden;
    width: 100%;
}

/* Master Button System */
.gk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1.2;
    text-align: center;
    box-sizing: border-box;
    font-family: inherit;
}

.gk-btn.btn-teal,
.btn-teal,
a.btn-teal,
button.btn-teal {
    background: #00a2b8 !important;
    color: #ffffff !important;
    border-color: #00a2b8 !important;
    box-shadow: 0 4px 14px rgba(0, 162, 184, 0.28);
}

.gk-btn.btn-teal:hover,
.btn-teal:hover,
a.btn-teal:hover,
button.btn-teal:hover {
    background: #008da0 !important;
    border-color: #008da0 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 162, 184, 0.38);
}

.gk-btn.btn-navy,
.btn-navy,
a.btn-navy,
button.btn-navy {
    background: #072146 !important;
    color: #ffffff !important;
    border-color: #072146 !important;
    box-shadow: 0 4px 14px rgba(7, 33, 70, 0.25);
}

.gk-btn.btn-navy:hover,
.btn-navy:hover,
a.btn-navy:hover,
button.btn-navy:hover {
    background: #051833 !important;
    border-color: #051833 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 33, 70, 0.35);
}

.gk-btn.btn-ghost,
.btn-ghost,
a.btn-ghost,
button.btn-ghost {
    background: transparent !important;
    color: #072146 !important;
    border: 2px solid #00a2b8 !important;
}

.gk-btn.btn-ghost:hover,
.btn-ghost:hover,
a.btn-ghost:hover,
button.btn-ghost:hover {
    background: #00a2b8 !important;
    color: #ffffff !important;
    border-color: #00a2b8 !important;
    transform: translateY(-2px);
}

/* Hero Section Slide Wrapper & Mobile Responsiveness */
.gk-front-page {
    width: 100%;
    overflow-x: hidden;
}

.gk-sec {
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

/* Master Section Spacing & Balanced Heights (Desktop & Mobile) */
.gk-experts-section {
    padding: 64px 0 76px;
    min-height: 420px;
}

.gk-diagnostic-section {
    padding: 60px 0 70px;
    min-height: 320px;
}

.gk-welcome-section {
    padding: 65px 0 75px;
    min-height: 460px;
}

.gk-doctors-section {
    padding: 65px 0 75px;
    min-height: 420px;
}

.gk-location-section {
    padding: 65px 0 75px;
    min-height: 460px;
}

/* Mobile & Tablet Balanced Height and Spacing */
@media (max-width: 768px) {
    .gk-experts-section {
        padding: 44px 0 52px;
        min-height: auto;
    }
    .gk-diagnostic-section {
        padding: 42px 0 48px;
        min-height: auto;
    }
    .gk-welcome-section {
        padding: 44px 0 50px;
        min-height: auto;
    }
    .gk-doctors-section {
        padding: 44px 0 52px;
        min-height: auto;
    }
    .gk-location-section {
        padding: 44px 0 52px;
        min-height: auto;
    }
}

/* Welcome Section Grid Columns */
.welcome-text-col {
    display: flex;
    flex-direction: column;
}

.welcome-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gk-welcome-title-wrap {
    margin-bottom: 8px;
}

/* Doctor Profile Details & Navigation Wrap */
.doc-details-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 640px) {
    .doc-details-wrap {
        align-items: center;
        text-align: center;
    }
    .doc-details-wrap .doc-profile-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Header & Phone Bar Support */
.gk-header-badge-wrap {
    display: flex;
    align-items: center;
}

.gk-nav-phone-wrap {
    display: flex;
    align-items: center;
}

.gk-nav-phone .phone-icon {
    flex-shrink: 0;
    color: #00a2b8;
}

.skip-link {
    position: absolute;
    top: -9999px;
    left: -9999px;
}
.skip-link:focus {
    top: 10px;
    left: 10px;
    z-index: 99999;
    background: #072146;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
}

/* Booking Flow Helpers */
.page-booking-main {
    background: #f8fbfe;
    min-height: calc(100vh - 350px);
}

.step-appointment-container {
    transition: all 0.3s ease;
}

.check-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.btn-spinner {
    display: inline-block;
    margin-left: 6px;
}

.btn-text {
    display: inline-block;
}

.apexcare-open-booking-modal {
    cursor: pointer;
}

/* Footer Grid & Sticky Bar Helpers */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col-brand {
    max-width: 400px;
}

.footer-col-contact {
    display: flex;
    flex-direction: column;
}

.footer-copy {
    color: #94a3b8;
    font-size: 13px;
}

.brand-mark-inv {
    display: inline-flex;
    background: #ffffff;
    border-radius: 12px;
    padding: 4px;
}

.gk-sticky-icon {
    display: block;
}

.whatsapp-icon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-nav-prev,
.doc-nav-next {
    cursor: pointer;
}

.apexcare-footer-top {
    width: 100%;
}

.apexcare-booking-form,
.apexcare-booking-form-v2 {
    width: 100%;
    display: block;
}

/* ==========================================================================
   12. INNER PAGES, ARCHIVES & COMPONENT LAYOUTS
   ========================================================================== */

/* Blog, Search & Single Articles */
.blog-posts-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
}

.blog-card-media {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apexcare-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.apexcare-pagination .page-numbers {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    color: #072146;
    font-weight: 700;
    text-decoration: none;
}

.apexcare-pagination .page-numbers.current,
.apexcare-pagination .page-numbers:hover {
    background: #00a2b8;
    color: #fff;
    border-color: #00a2b8;
}

/* Service Detail Columns */
.service-detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-row-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

/* Single Doctor Profile */
.single-doc-layout {
    padding: 48px 16px 70px;
}

.doc-profile-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 36px;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .doc-profile-grid {
        grid-template-columns: 1fr;
    }
}

.doc-sidebar-col {
    display: flex;
    flex-direction: column;
}

.doc-content-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.doc-bio-section {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #cce3ee;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(7,33,70,0.05);
}

.meta-avail-row {
    background: #f0fbfd;
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 3px solid #00a2b8;
}

/* Common main page wrappers */
.not-found-main,
.archive-doctor-main,
.generic-archive-main,
.blog-index-main,
.page-about-main,
.page-contact-main,
.page-departments-main,
.page-doctors-main,
.page-faq-main,
.page-gallery-main,
.page-services-main,
.default-page-main,
.search-results-main,
.single-doctor-main,
.single-post-main,
.taxonomy-doctor_department.php {
    width: 100%;
    min-height: calc(100vh - 400px);
}

/* ==========================================================================
   13. KOLKATA LOCAL SEO ENGINE & FAQ ACCORDION STYLES
   ========================================================================== */
.gk-faq-section {
    width: 100%;
    background: #f8fbfe;
    padding: 48px 0;
    border-top: 1px solid #dce9f2;
}

.gk-faq-section .apexcare-container {
    max-width: 100% !important;
    padding-left: clamp(16px, 3.5vw, 40px) !important;
    padding-right: clamp(16px, 3.5vw, 40px) !important;
    width: 100% !important;
    box-sizing: border-box;
}

.gk-faq-accordion-wrap {
    max-width: 860px;
    margin: 26px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-accordion-item {
    background: #ffffff;
    border: 1.5px solid #dce9f2;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(7, 33, 70, 0.04);
}

.faq-accordion-item:hover,
.faq-accordion-item.active {
    border-color: #00a2b8;
    box-shadow: 0 6px 18px rgba(0, 162, 184, 0.12);
}

.faq-accordion-header {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    gap: 12px;
}

.faq-question-text {
    font-size: clamp(14px, 2.5vw, 16px);
    font-weight: 700;
    color: #072146;
    line-height: 1.35;
}

.faq-toggle-icon {
    font-size: 20px;
    font-weight: 700;
    color: #00a2b8;
    line-height: 1;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e6f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.faq-accordion-item.active .faq-toggle-icon {
    background: #00a2b8;
    color: #ffffff;
}

.faq-accordion-content {
    padding: 0 20px 18px;
    color: #46587e;
    font-size: 14.5px;
    line-height: 1.65;
}

.faq-accordion-content p {
    margin: 0;
}

.kolkata-areas-box {
    background: #ffffff;
    border: 1px solid #dce9f2;
    border-radius: 14px;
    padding: 22px 20px;
    max-width: 960px;
    margin: 36px auto 0;
    box-shadow: 0 4px 16px rgba(7, 33, 70, 0.04);
}

.kolkata-areas-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.area-tag {
    background: #f0f7fb;
    border: 1px solid #cce3ee;
    color: #072146;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.2s ease;
}

.area-tag:hover {
    background: #00a2b8;
    color: #ffffff;
    border-color: #00a2b8;
    transform: translateY(-1px);
}

/* ==========================================================
   Single Doctor Profile (single-doctor.php)
   Paste this block at the very END of assets/css/main.css
   (if you pasted an older "Single Doctor Profile" block, delete it first)
   ========================================================== */

.single-doctor-main {
    --sd-navy: #0b2545;
    --sd-teal: #0e9aa7;
    --sd-teal-soft: #eaf6f8;
    --sd-border: #d5e8ee;
    --sd-text: #334155;
    --sd-muted: #64748b;
}

/* ---------- Banner ---------- */
.single-doctor-main .page-header-banner {
    padding: 44px 0 40px;
}
.single-doctor-main .banner-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    margin-bottom: 10px;
}
.single-doctor-main .banner-title {
    font-size: clamp(26px, 4.5vw, 40px);
    line-height: 1.2;
    margin: 0 0 8px;
}
.single-doctor-main .banner-subtitle {
    font-size: clamp(14px, 2vw, 17px);
    margin: 0;
}

/* ---------- Page layout ---------- */
.single-doctor-main .sd-layout {
    padding-top: 48px;
    padding-bottom: 80px;
}

/* ---------- Hero: photo + details ---------- */
.single-doctor-main .sd-hero {
    display: grid;
    grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.single-doctor-main .sd-photo {
    position: sticky;
    top: 100px;
}
.single-doctor-main .sd-photo-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--sd-teal-soft);
    border: 2px solid var(--sd-navy);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 8px 8px 0 var(--sd-navy);
}
.single-doctor-main .sd-photo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.single-doctor-main .sd-photo-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #fff;
    color: var(--sd-navy);
    border: 1px solid var(--sd-navy);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

/* ---------- Details panel ---------- */
.single-doctor-main .sd-info {
    background: #fff;
    border: 1px solid var(--sd-border);
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: 0 6px 24px rgba(11, 37, 69, 0.06);
}
.single-doctor-main .sd-info-head {
    margin-bottom: 24px;
}
.single-doctor-main .sd-dept-pill {
    display: inline-block;
    padding: 6px 14px;
    background: var(--sd-teal-soft);
    color: var(--sd-teal);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.single-doctor-main .sd-designation {
    margin: 12px 0 0;
    font-size: clamp(17px, 2.4vw, 22px);
    font-weight: 600;
    line-height: 1.35;
    color: var(--sd-navy);
}

/* Key facts as tiles */
.single-doctor-main .sd-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.single-doctor-main .sd-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--sd-teal-soft);
    border: 1px solid var(--sd-border);
    border-radius: 14px;
}
.single-doctor-main .sd-stat--wide {
    grid-column: 1 / -1;
}
.single-doctor-main .sd-stat-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    font-size: 19px;
    line-height: 1;
}
.single-doctor-main .sd-stat-label {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sd-muted);
}
.single-doctor-main .sd-stat-value {
    display: block;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--sd-navy);
    overflow-wrap: anywhere;
}

/* Biography */
.single-doctor-main .sd-bio {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--sd-border);
}
.single-doctor-main .sd-bio h2 {
    margin: 0 0 16px;
    padding-left: 14px;
    border-left: 4px solid var(--sd-teal);
    font-size: clamp(21px, 3vw, 26px);
    line-height: 1.25;
    color: var(--sd-navy);
}
.single-doctor-main .sd-bio-content {
    color: var(--sd-text);
    font-size: 16px;
    line-height: 1.8;
}
.single-doctor-main .sd-bio-content > :first-child { margin-top: 0; }
.single-doctor-main .sd-bio-content > :last-child { margin-bottom: 0; }
.single-doctor-main .sd-bio-content img { max-width: 100%; height: auto; }

/* ---------- Other specialists ---------- */
.single-doctor-main .sd-others {
    margin-top: 72px;
}
.single-doctor-main .sd-others-head {
    text-align: center;
    margin-bottom: 32px;
}
.single-doctor-main .sd-others-head h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3.4vw, 32px);
    color: var(--sd-navy);
}
.single-doctor-main .sd-others-head p {
    margin: 0;
    color: var(--sd-muted);
}
.single-doctor-main .sd-others .doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.single-doctor-main .sd-others-cta {
    margin-top: 32px;
    text-align: center;
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
    .single-doctor-main .sd-layout {
        padding-top: 36px;
        padding-bottom: 60px;
    }
    .single-doctor-main .sd-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .single-doctor-main .sd-photo {
        position: static;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }
    .single-doctor-main .sd-others {
        margin-top: 56px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
    .single-doctor-main .page-header-banner {
        padding: 32px 0 28px;
    }
    .single-doctor-main .banner-breadcrumbs {
        font-size: 13px;
    }
    .single-doctor-main .sd-layout {
        padding-top: 28px;
        padding-bottom: 110px; /* room for the fixed bottom bar */
    }
    .single-doctor-main .sd-hero {
        gap: 26px;
    }
    .single-doctor-main .sd-photo-frame {
        aspect-ratio: 1 / 1;
        border-radius: 16px;
        box-shadow: 5px 5px 0 var(--sd-navy);
    }
    .single-doctor-main .sd-info {
        padding: 22px 18px;
        border-radius: 16px;
    }
    .single-doctor-main .sd-info-head {
        margin-bottom: 18px;
    }
    .single-doctor-main .sd-stats {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
    .single-doctor-main .sd-stat {
        padding: 12px 14px;
    }
    .single-doctor-main .sd-bio {
        margin-top: 24px;
        padding-top: 22px;
    }
    .single-doctor-main .sd-bio-content {
        font-size: 15px;
        line-height: 1.75;
    }
    .single-doctor-main .sd-others {
        margin-top: 44px;
    }
    .single-doctor-main .sd-others .doctors-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
