/*
Theme Name: GastroKure - Gastroenterology & Liver Clinic
Theme URI: https://gastrokure.com
Author: GastroKure Media & Tech
Author URI: https://gastrokure.com
Description: A professional Royal Blue + Medical Teal WordPress theme engineered for GastroKure — a dedicated Gastroenterology, Liver & Endoscopy clinic led by Dr. Abhishek Bhowmik (ডিআর. অভিষেক ভৌমিক), Salt Lake, Bidhannagar, Kolkata. Features gastrokurelogo.jpg brand logo, full-width mega menus, category-wise doctor availability, floating WhatsApp booking, Google Maps integration, 5.0 GMB reviews, and complete gastro-only page templates.
Version: 1.3.2
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apexcare
Tags: medical, clinic, gastroenterology, endoscopy, kolkata, black-and-white, whatsapp-booking, custom-logo, mega-menu, doctor-availability
*/

/* Load Master CSS and Mega Menu directly into primary stylesheet */
@import url('assets/css/main.css');
@import url('assets/css/mega-menu.css');
/* =========================================================
   GASTROKURE CLINICAL SERVICES COMPREHENSIVE STYLES
   Updated: High-Contrast Hero Banner & Typography
========================================================= */

/* Hero Banner - High-Contrast Dark Royal/Navy Background */
.services-hero-banner {
    background: linear-gradient(135deg, #032644 0%, #071524 100%) !important;
    color: #ffffff !important;
    padding: clamp(55px, 6vw, 90px) 0 clamp(70px, 8vw, 105px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1;
}

/* Breadcrumbs with Crisp Visibility */
.services-hero-banner .banner-breadcrumbs {
    font-size: 13px;
    color: #93c5fd !important; /* Soft ice-blue */
    margin-bottom: 16px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    font-weight: 600;
}

.services-hero-banner .banner-breadcrumbs a {
    color: #e2e8f0 !important; /* Bright silver */
    transition: color 0.2s ease;
    text-decoration: none;
}

.services-hero-banner .banner-breadcrumbs a:hover {
    color: #38bdf8 !important; /* Vibrant cyan hover */
    text-decoration: underline;
}

.services-hero-banner .banner-breadcrumbs span {
    color: #64748b;
}

/* Hero Title - Stark Pure White */
.services-hero-banner h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* Hero Description - Readable Silver/Ice White */
.services-hero-banner p {
    font-size: clamp(15px, 1.4vw, 18px);
    color: #f1f5f9 !important; /* High contrast off-white */
    line-height: 1.7;
    max-width: 1100px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Quick Anchor Directory Bar */
.services-nav-anchor-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
    position: sticky;
    top: 76px;
    z-index: 100;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.services-anchor-list {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.services-anchor-list::-webkit-scrollbar {
    height: 4px;
}

.services-anchor-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.anchor-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: #f8fafc;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    text-decoration: none;
}

.anchor-chip:hover {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #38bdf8;
    transform: translateY(-1px);
}

/* Big Specialty Department Cards */
.specialty-dept-section {
    padding: clamp(50px, 6vw, 85px) 0;
    border-bottom: 1px solid #e2e8f0;
}

.specialty-dept-section:nth-of-type(even) {
    background: #ffffff;
}

.dept-header-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.dept-header-grid.reverse {
    grid-template-columns: 1fr 1.3fr;
}

.dept-header-grid.reverse .dept-img-box {
    order: 1;
}

.dept-header-grid.reverse .dept-info-box {
    order: 2;
}

.dept-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.dept-info-box h2 {
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: 800;
    color: #091a2e;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.dept-info-box p {
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.dept-img-box {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    height: 380px;
    background: #091a2e;
}

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

/* Specialty Sub-service 3-Column Grid */
.subservices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.subservice-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.specialty-dept-section:nth-of-type(even) .subservice-card {
    background: #f8fafc;
}

.subservice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border-color: #0284c7;
}

.subservice-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00a2b8;
    margin-bottom: 18px;
}

.subservice-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #091a2e;
    margin-bottom: 10px;
}

.subservice-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.subservice-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.subservice-card li {
    font-size: 13px;
    color: #334155;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subservice-card li svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Symptoms Checker Grid */
.symptoms-guide-section {
    background: #091a2e;
    color: #ffffff;
    padding: clamp(50px, 6vw, 85px) 0;
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.symptom-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 24px;
    transition: background 0.2s;
}

.symptom-card:hover {
    background: rgba(255, 255, 255, 0.09);
}

.symptom-badge {
    font-size: 11px;
    font-weight: 800;
    color: #2ed3b2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.symptom-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.symptom-card p {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.6;
}
.gk-doc-slider-track {
    position: relative;
    min-height: 320px;
    flex:1;
    overflow:hidden;/* adjust to your card's actual height so layout doesn't jump */
}
.gk-doctor-slider-wrapper{
    display:flex;
    align-items:center;
    gap:12px;
    position:relative;
}
.gk-doc-profile-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}
.gk-doc-profile-card.active {
    opacity: 1;
    visibility: visible;
    position: relative; /* keeps it in flow so wrapper height is correct */
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .subservices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .symptoms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .dept-header-grid,
    .dept-header-grid.reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .dept-header-grid.reverse .dept-img-box {
        order: unset;
    }
    .dept-header-grid.reverse .dept-info-box {
        order: unset;
    }
    .dept-img-box {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .subservices-grid,
    .symptoms-grid {
        grid-template-columns: 1fr;
    }
    .services-nav-anchor-bar {
        top: 60px;
    }
}

/////ista 


/* =========================================
   GASTROKURE MOBILE PHONE + SOCIAL + MENU ROW
========================================= */

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

.gk-nav-phone-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.gk-nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.gk-nav-social {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.gk-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    flex-shrink: 0;
}

.gk-instagram {
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

.gk-facebook {
    background: #1877F2;
}

/* Hamburger positioning */
.gk-hamb-btn {
    flex-shrink: 0;
    margin-left: auto;
    position: static !important;
}

/* Mobile layout */
@media (max-width: 767px) {

    .gk-header-nav-row {
        display: block;
        width: 100%;
    }

    .gk-header-nav-row .gk-nav-row-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        min-height: 48px;
        padding: 5px 10px;
        gap: 6px;
    }

    .gk-nav-phone-wrap {
        flex: 1;
        min-width: 0;
        gap: 6px;
    }

    .gk-nav-phone strong {
        font-size: 13px;
    }

    .gk-social-icon {
        width: 30px;
        height: 30px;
    }

    .gk-hamb-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        min-width: 36px;
        margin: 0 0 0 auto !important;
        padding: 8px;
        border-radius: 7px;
        background: #00a2b8 !important;
        z-index: 10;
    }
}
/**
 * GastroKure - Mega Menu Styles (clean redesign)
 * Brand: Teal #00a2b8 | Navy #072146 | Ice #f2f8fc | Accent #2ed3b2
 * Dropdowns contain links only (no booking / description boxes).
 *
 * @package GastroKure
 */

/* ==========================================================================
   Brand tokens (local fallbacks so this file works on its own)
   ========================================================================== */
:root {
    --mm-teal: #00a2b8;
    --mm-teal-dark: #008da0;
    --mm-teal-tint: #e6f6f9;
    --mm-navy: #072146;
    --mm-ice: #f2f8fc;
    --mm-border: #dbe9f1;
    --mm-muted: #5b7089;
    --mm-radius: 12px;
}

/* ==========================================================================
   Structure: let the dropdown span the full header width
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.apexcare-header-container,
.apexcare-nav-wrapper,
.apexcare-nav-menu,
.apexcare-nav-menu > li.has-mega-menu {
    position: static !important;
}

/* ==========================================================================
   Top navigation row: keep every item on ONE line
   ========================================================================== */
.gk-header-nav-row .apexcare-nav-menu {
    gap: 2px;
    flex-wrap: nowrap;
}

.gk-header-nav-row .apexcare-nav-menu > li > a,
.gk-header-nav-row .gk-nav-highlight-link {
    white-space: nowrap;
}

.gk-header-nav-row .apexcare-nav-menu > li > a {
    padding: 9px 12px;
    font-size: 15px;
    border-radius: 8px;
}

.gk-header-nav-row .apexcare-nav-menu > li.has-mega-menu:hover > a,
.gk-header-nav-row .apexcare-nav-menu > li.has-mega-menu:focus-within > a {
    background: #ffffff;
    color: var(--mm-teal);
    box-shadow: 0 2px 8px rgba(7, 33, 70, 0.08);
}

.gk-header-nav-row .gk-nav-highlight-link {
    margin-left: 8px !important;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--mm-teal-tint);
    font-size: 14.5px;
    transition: background 0.2s ease, color 0.2s ease;
}

.gk-header-nav-row .gk-nav-highlight-link:hover {
    background: var(--mm-teal);
    color: #ffffff !important;
}

/* ==========================================================================
   Dropdown panel
   ========================================================================== */
.apexcare-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-top: 3px solid var(--mm-teal);
    border-radius: 0 0 var(--mm-radius) var(--mm-radius);
    box-shadow: 0 24px 48px rgba(7, 33, 70, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 999;
    pointer-events: none;
}

/* Invisible bridge so the menu doesn't close while the mouse travels down */
.apexcare-mega-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -30px;
    height: 30px;
}

.apexcare-nav-menu > li.has-mega-menu:hover > .apexcare-mega-dropdown,
.apexcare-nav-menu > li.has-mega-menu:focus-within > .apexcare-mega-dropdown,
.apexcare-nav-menu > li.has-mega-menu.is-active > .apexcare-mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.apexcare-mega-inner {
    padding: 32px 24px 36px;
}

/* All items sit in ONE row, centered on the page */
.apexcare-mega-grid-services,
.apexcare-mega-grid-dept {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    max-width: 1240px;
    margin: 0 auto;
    align-items: stretch;
}

/* Flatten the old column wrappers so every link becomes a direct grid item */
.apexcare-mega-grid-services .mega-menu-col,
.apexcare-mega-grid-services .mega-links-list,
.apexcare-mega-grid-dept .mega-dept-list-wrapper,
.apexcare-mega-grid-dept .mega-dept-grid-links {
    display: contents;
}

.apexcare-mega-grid-services .mega-links-list,
.apexcare-mega-grid-dept .mega-dept-grid-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Column titles are not needed in the single-row layout */
.mega-col-title {
    display: none;
}

/* Shared card look (Services + Departments) */
.apexcare-mega-grid-services li,
.apexcare-mega-grid-dept .mega-dept-card-link {
    min-width: 0;
}

.mega-link-item,
.mega-dept-card-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    padding: 18px 16px;
    background: #ffffff;
    border: 1px solid var(--mm-border);
    border-radius: var(--mm-radius);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.apexcare-mega-grid-services li {
    display: flex;
}

.apexcare-mega-grid-services li > .mega-link-item {
    width: 100%;
}

.mega-link-item:hover,
.mega-dept-card-link:hover {
    border-color: var(--mm-teal);
    background: var(--mm-ice);
    box-shadow: 0 10px 24px rgba(0, 162, 184, 0.14);
    transform: translateY(-3px);
}

.mega-item-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--mm-teal-tint);
    color: var(--mm-teal);
    transition: background 0.2s ease, color 0.2s ease;
}

.mega-link-item:hover .mega-item-icon {
    background: var(--mm-teal);
    color: #ffffff;
}

.dept-bullet {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 11px;
    background: var(--mm-teal-tint) radial-gradient(circle, var(--mm-teal) 0 5px, transparent 6px);
    transition: background 0.2s ease;
}

.mega-dept-card-link:hover .dept-bullet {
    background: var(--mm-teal) radial-gradient(circle, #ffffff 0 5px, transparent 6px);
}

.mega-item-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.mega-item-text strong,
.dept-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--mm-navy);
}

.mega-item-text span,
.dept-meta {
    display: block;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--mm-muted);
}

.dept-meta {
    margin-top: 4px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1250px) {
    .gk-header-nav-row .apexcare-nav-menu > li > a {
        padding: 9px 9px;
        font-size: 14px;
    }

    .gk-header-nav-row .gk-nav-highlight-link {
        font-size: 13.5px;
        padding: 8px 11px;
    }

    .gk-nav-desktop-actions .gk-nav-gmb-link {
        display: none;
    }

    .mega-link-item,
    .mega-dept-card-link {
        padding: 16px 12px;
    }
}

/* Small laptops / tablets landscape: 3 per row (2 tidy rows) */
@media (max-width: 1100px) {
    .apexcare-mega-grid-services,
    .apexcare-mega-grid-dept {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Below 992px the desktop dropdown is replaced by the mobile drawer */
@media (max-width: 992px) {
    .apexcare-mega-dropdown {
        display: none !important;
    }
}

/* ==========================================================================
   Mobile drawer polish (brand colors, big touch targets)
   ========================================================================== */
.apexcare-mobile-drawer {
    width: min(360px, 88vw);
    border-left: 0;
    border-radius: 18px 0 0 18px;
}

.mobile-drawer-header {
    background: linear-gradient(120deg, var(--mm-navy), #0a3a63);
    border-bottom: 0;
    padding: 18px 20px;
}

.mobile-drawer-header .mobile-brand-title,
.mobile-drawer-header .mobile-brand-subtitle {
    color: #ffffff;
}

.mobile-drawer-close {
    min-width: 44px;
    min-height: 44px;
}

.mobile-drawer-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 28px;
}

.mobile-nav-link {
    padding: 13px 14px;
    font-size: 1rem;
    color: var(--mm-navy);
    border-radius: 10px;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: var(--mm-ice);
    color: var(--mm-teal);
}

.mobile-sub-toggle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--mm-ice);
    border-color: var(--mm-border);
    color: var(--mm-navy);
}

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

.mobile-sub-menu {
    border-left: 2px solid var(--mm-teal);
}

.mobile-has-sub.is-open > .mobile-sub-menu {
    max-height: 600px;
}

.mobile-sub-menu a {
    padding: 11px 12px;
    font-size: 0.95rem;
    color: var(--mm-navy);
}

.mobile-sub-menu a:hover {
    color: var(--mm-teal);
    background: var(--mm-ice);
}

.mobile-sub-all a {
    color: var(--mm-teal) !important;
}

/* Phone header row */
@media (max-width: 960px) {
    .gk-header-nav-row .gk-nav-row-inner {
        gap: 10px;
    }

    .gk-nav-phone strong {
        font-size: 15px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .gk-nav-social {
        display: none;
    }
}