/* =========================================================
   Karuna Cancer Centre & Research Institute — main stylesheet
   Theme: Light, card-based (structure inspired by the e-marketters
   reference site) recoloured to the Karuna logo's exact colours:
   Red  #C23927  (from the "KARUNA" wordmark)
   Blue #1B4580  (from the cross icon / "CANCER CENTRE" text)
   Footer uses the logo's blue as its background, as requested.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #C23927;        /* logo red   */
    --primary-dark: #9C2D1E;
    --primary-light: #E2604C;
    --accent: #1B4580;         /* logo blue  */
    --accent-hover: #12335F;
    --accent-light: #E9EFF8;

    --white: #ffffff;
    --light-bg: #FBF1EF;       /* faint warm-red tint section bg   */
    --light-bg-2: #EEF2F9;     /* faint blue tint section bg       */
    --light-gray: #F4F6F8;

    --text-dark: #1B222A;
    --text-body: #334155;
    --text-muted: #64748B;
    --border: #E7E3E1;

    --footer-bg: #1B4580;      /* exact logo blue for the footer   */
    --footer-accent: #C23927;  /* logo red used as footer accents  */

    --shadow-sm: 0 2px 10px rgba(194,57,39,0.08);
    --shadow-md: 0 10px 28px rgba(194,57,39,0.14);
    --shadow-lg: 0 18px 46px rgba(27,69,128,0.18);
    --glow: 0 14px 32px -6px rgba(194,57,39,0.20), 0 0 0 1px rgba(27,69,128,0.06);

    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 22px;
    --heading-font: 'El Messiri', serif;
    --body-font: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--body-font);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--light-gray); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Section background variants — alternating light tones keep each
   section visually distinct while staying on one light theme. */
.bg-white { background: var(--white); }
.bg-cream { background: var(--light-bg); }
.bg-tint  { background: var(--light-bg-2); }
.bg-grey  { background: var(--light-gray); }
/* Flat, straight-edged colour blocks — no rounded corners / shadow on the
   section itself, so two stacked sections meet on a clean straight line
   instead of the wavy silhouette rounded corners + shadows used to create. */
section.bg-white, section.bg-cream, section.bg-tint, section.bg-grey { border-radius: 0; box-shadow: none; }

h1, h2, h3, h4, h5 {
    font-family: var(--heading-font);
    color: var(--text-dark);
    line-height: 1.25;
    font-weight: 700;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--body-font); border: none; background: none; }

/* ---- Reusable hover-lift (used on every card across the site) ---- */
.hover-card-glow { transition: var(--transition); }
.hover-card-glow:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary) !important;
}
.img-zoom-container { overflow: hidden; }
.img-zoom-container img { transition: transform 0.6s ease; }
.img-zoom-container:hover img { transform: scale(1.08); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14.5px;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
    position: relative;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 15px rgba(194,57,39,0.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 8px 22px rgba(194,57,39,0.45); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 22px rgba(194,57,39,0.35); }
.btn-outline-light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: #fff; color: var(--accent); border-color: #fff; transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.25); }
.btn-block { width: 100%; justify-content: center; }

.section-heading { max-width: 700px; margin: 0 0 46px; text-align: left; }
.section-heading.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(194,57,39,0.08); color: var(--primary);
    font-weight: 600; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase;
    padding: 6px 16px; border-radius: 30px;
}
.section-heading h2 { font-size: clamp(28px, 3.5vw, 40px); margin-top: 12px; }
.section-heading p { color: var(--text-muted); margin-top: 10px; }

.section-heading.with-link { display: flex; justify-content: space-between; align-items: center; max-width: 100%; text-align: left; gap: 20px; flex-wrap: nowrap; }
.section-heading.with-link > div { text-align: left; min-width: 0; }
.section-heading.with-link .view-all { color: var(--primary); font-weight: 600; }
.section-heading.with-link .btn { flex-shrink: 0; margin-left: auto; }

.why-choose-heading h2 { display: flex; flex-direction: column; gap: 2px; line-height: 1.15; }
.why-choose-heading .line-blue { color: var(--accent); }
.why-choose-heading .line-orange { color: var(--primary); }

/* Every section gets the same padding, and sections sit flush against each
   other (no extra bottom margin) so colour-block sections butt up on one
   clean straight edge instead of leaving an uneven gap between them. */
section { padding: 80px 6%; max-width: 1400px; margin: 0 auto; }

/* =========================== HEADER =========================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 999; transition: var(--transition); }
.topbar { background: var(--accent); color: #fff; font-size: 13px; max-height: 44px; overflow: hidden; transition: max-height .3s ease; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 9px 5%; gap: 20px; }
.topbar a { color: #fff; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #ffd9d3; }
.topbar-links { display: flex; align-items: center; }
.topbar-links a { padding: 0 16px; border-left: 1px solid rgba(255,255,255,.28); }
.topbar-links a:first-child { padding-left: 0; border-left: 0; }
.topbar-contact { display: flex; gap: 22px; align-items: center; }
.topbar .wa { color: #25D366; font-size: 18px; }
.site-header.scrolled .topbar { max-height: 0; }

.header-main { background: rgba(255,255,255,.97); backdrop-filter: blur(8px); box-shadow: 0 2px 18px rgba(27,69,128,0.08); padding: 12px 5%; transition: var(--transition); }
.site-header.scrolled .header-main { box-shadow: 0 4px 22px rgba(27,69,128,0.14); padding: 8px 5%; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; background: #fff; padding: 6px 14px; border-radius: 12px; transition: var(--transition); }
.logo:hover { transform: scale(1.03); }
.logo img { height: 46px; transition: var(--transition); }
.site-header.scrolled .logo { padding: 2px 6px; }
.site-header.scrolled .logo img { height: 40px; }

.main-nav ul { display: flex; gap: 6px; align-items: center; }
.main-nav a { font-weight: 600; font-size: 14.5px; color: var(--text-dark); padding: 9px 14px; border-radius: 50px; position: relative; transition: var(--transition); }
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: rgba(194,57,39,0.08); }

.has-dropdown { position: relative; }
.mega-dropdown {
    position: absolute; top: 130%; left: 50%; transform: translateX(-50%) translateY(10px);
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    display: flex; gap: 10px; padding: 20px; min-width: 480px;
    opacity: 0; visibility: hidden; pointer-events: none; transition: var(--transition);
}
.has-dropdown:hover .mega-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.mega-col { flex: 1; display: flex; flex-direction: column; }
.mega-col a { color: var(--text-body); padding: 9px 12px; border-radius: 8px; font-weight: 500; font-size: 14.5px; transition: var(--transition); }
.mega-col a:hover { background: rgba(194,57,39,0.07); color: var(--primary); padding-left: 18px; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; color: var(--text-dark); font-size: 22px; }

/* Language switch */
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 50px; background: var(--light-gray); color: var(--text-dark); font-weight: 600; font-size: 13.5px; border: 1px solid var(--border); transition: var(--transition); }
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-caret { font-size: 10px; transition: transform .25s ease; }
.lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: 120%; min-width: 140px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition); }
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button { width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; font-weight: 500; font-size: 14px; color: var(--text-body); }
.lang-menu button:hover, .lang-menu button.active { background: rgba(194,57,39,.08); color: var(--primary); }

/* Transparent header over the home-page video */
.site-header.header-home:not(.scrolled) .header-main { background: transparent; box-shadow: none; backdrop-filter: none; }
.site-header.header-home:not(.scrolled) .main-nav a { color: #fff; }
.site-header.header-home:not(.scrolled) .main-nav a:hover, .site-header.header-home:not(.scrolled) .main-nav a.active { background: rgba(255,255,255,.18); color: #fff; }
.site-header.header-home:not(.scrolled) .lang-btn { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.site-header.header-home:not(.scrolled) .nav-toggle { color: #fff; }

/* Right-side rail: Book Appointment tab + socials */

/* =========================== HERO =========================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    max-width: none; margin: 0; padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: var(--text-dark);
}
.hero-bg-image, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,.55) 0%, rgba(15,23,42,.25) 40%, rgba(15,23,42,.78) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 900px; width: 100%; text-align: center; padding: 160px 6% 70px; color: #fff; display: flex; flex-direction: column; align-items: center; }
.hero-content .eyebrow-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 50px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff;
    font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-content .eyebrow-badge i { color: var(--primary-light); }
.hero-content h1 { color: #fff; font-size: clamp(34px, 5.4vw, 64px); margin-bottom: 14px; text-shadow: 0 4px 22px rgba(0,0,0,.4); }
.hero-content p { font-size: 17px; opacity: .95; margin-bottom: 26px; max-width: 620px; color: #E6ECF5; }

.hero-search { display: flex; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 50px; padding: 6px; backdrop-filter: blur(6px); max-width: 520px; width: 100%; margin-bottom: 10px; }
.hero-search input { flex: 1; background: transparent; border: none; outline: none; padding: 12px 18px; color: #fff; font-size: 14.5px; }
.hero-search input::placeholder { color: rgba(255,255,255,.7); }
.hero-search button { background: var(--primary); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.hero-search button:hover { background: var(--accent); transform: rotate(90deg); }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: flex; align-items: center; gap: 10px;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}
.hero-cta i { background: rgba(255,255,255,.15); width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; transition: var(--transition); }
.hero-cta:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(194,57,39,0.45); }
.hero-cta:hover i { background: rgba(255,255,255,.3); transform: rotate(45deg); }

/* =========================== TICKER =========================== */
.ticker-strip { display: flex; align-items: center; background: #0f2a52; color: #fff; overflow: hidden; }
.ticker-label { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; background: #0f2a52; color: var(--primary-light); font-weight: 700; font-size: 12px; letter-spacing: 1px; position: relative; z-index: 2; }
.ticker-label i { font-size: 7px; }
.ticker-viewport { overflow: hidden; flex: 1; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { color: #fff; font-weight: 500; font-size: 14px; padding: 14px 36px; position: relative; white-space: nowrap; }
.ticker-track span::after { content: '\2022'; position: absolute; right: -4px; color: var(--primary-light); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Quick action cards under the hero */
.quick-cards { max-width: 1400px; margin: 0 auto; padding: 30px 6% 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.quick-card { display: block; text-align: left; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: var(--transition); cursor: pointer; }
.quick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.quick-card i { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--accent-light); color: var(--accent); font-size: 18px; margin-bottom: 14px; transition: var(--transition); }
.quick-card:hover i { background: var(--primary); color: #fff; }
.quick-card h4 { font-size: 16px; color: var(--text-dark); margin-bottom: 4px; }
.quick-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* =========================== COUNTER / KEY FACTS =========================== */
/* Compact layout: smaller padding, a tilted "3D" photo stack on the left,
   and one tidy row of bevelled stat cards on the right. */
.counter-section { padding: 56px 6%; display: grid; grid-template-columns: .7fr 1.3fr; gap: 44px; align-items: center; }

.counter-image-side { position: relative; width: 100%; max-width: 300px; margin: 0 auto; }
.counter-image-side::before {
    content: ''; position: absolute; inset: 16px -16px -16px 16px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: var(--radius-lg); z-index: 0; opacity: .9;
}
.counter-img-swap {
    position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 4/5; width: 100%; box-shadow: 0 22px 40px -14px rgba(15,23,42,.35);
    border: 5px solid var(--white);
    transform: perspective(1000px) rotateY(-6deg);
    transition: transform .5s ease;
}
.counter-image-side:hover .counter-img-swap { transform: perspective(1000px) rotateY(0deg); }
.counter-img-swap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s ease, opacity .6s ease; }
.counter-img-swap .img-hover { opacity: 0; }
.counter-img-swap:hover .img-default { opacity: 0; }
.counter-img-swap:hover .img-hover { opacity: 1; }
.counter-img-swap:not(:hover) .img-default { transform: scale(1.08); }

.counter-stats-side h2 { font-size: 26px; margin-bottom: 20px; }
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.counter-box {
    position: relative; overflow: hidden;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 12px;
    text-align: center;
    box-shadow: 0 14px 26px -14px rgba(27,69,128,.3);
    transition: var(--transition);
}
.counter-box:hover { transform: translateY(-6px); box-shadow: 0 18px 30px -12px rgba(194,57,39,.35); border-color: var(--primary); }
.counter-icon {
    width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, var(--accent-light), #fff);
    box-shadow: inset 0 1px 2px rgba(255,255,255,.9), 0 6px 14px -6px rgba(27,69,128,.4);
    color: var(--accent); font-size: 17px; transition: var(--transition);
}
.counter-box:hover .counter-icon { color: #fff; background: linear-gradient(150deg, var(--primary), var(--primary-dark)); }
.counter-number { font-family: var(--heading-font); font-size: 22px; font-weight: 700; color: var(--text-dark); transition: var(--transition); }
.counter-box p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 1100px) {
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================== SPECIALITIES =========================== */
.specialities-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.spec-tile { border-radius: 20px; transition: var(--transition); }
.spec-img { overflow: hidden; min-height: 230px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.spec-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 230px; transition: transform .6s ease; }
.spec-pair:hover .spec-img img { transform: scale(1.12); }
.spec-pair:hover .spec-img { box-shadow: var(--shadow-md); }

.spec-text {
    position: relative;
    background: var(--white);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 30px 26px 26px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
}
.spec-text h3 { font-size: 19px; margin-bottom: 10px; }
.spec-text p { font-size: 13.8px; color: var(--text-muted); margin-bottom: 16px; }
.spec-pair:hover .spec-text { box-shadow: var(--shadow-md); border-color: var(--primary); }

.know-more { color: var(--primary); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.know-more i {
    background: var(--accent); color: #fff; width: 26px; height: 26px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: 11px;
    transition: var(--transition);
}
.spec-pair:hover .know-more i, .blog-feature:hover .know-more i, .blog-side-card:hover .know-more i { transform: translate(3px,-3px); background: var(--primary); }

.spec-num { position: absolute; right: 14px; bottom: 8px; font-family: var(--heading-font); font-weight: 700; color: var(--primary); font-size: 16px; z-index: 2; opacity: .5; }
.spec-pair.spec-hidden .spec-tile { display: none; }
.load-more-wrap { text-align: center; margin-top: 40px; }

/* =========================== DOCTORS =========================== */
.doctors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.doctor-card {
    position: relative; overflow: hidden;
    background: var(--white); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius);
    padding: 24px; transition: var(--transition);
}
.doctor-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg, var(--accent), var(--primary)); transform:scaleX(0); transition:transform .3s ease; }
.doctor-card:hover::before { transform: scaleX(1); }
.doctor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-8px); border-color: var(--primary); }
.doctor-top { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.doctor-top img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; transition: var(--transition); border: 2px solid var(--border); }
.doctor-card:hover .doctor-top img { transform: scale(1.08); border-color: var(--primary); }
.doctor-top h3 { font-size: 17px; }
.doctor-designation { font-size: 13px; color: var(--text-muted); }
.doctor-tag { display: inline-block; background: var(--accent-light); border: 1px solid rgba(27,69,128,.25); color: var(--accent); font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 50px; margin-bottom: 16px; }
.doctor-meta { display: flex; justify-content: space-between; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); padding: 14px 0; margin-bottom: 18px; }
.doctor-meta div { font-weight: 700; color: var(--text-dark); font-size: 15px; }
.doctor-meta span { display: block; font-weight: 400; color: var(--text-muted); font-size: 12px; }
.doctor-actions { display: flex; gap: 10px; }
.doctor-actions .btn { flex: 1; justify-content: center; padding: 11px 12px; font-size: 13px; }

/* =========================== WHY CHOOSE US =========================== */
.why-choose-columns { display: grid; grid-template-columns: .85fr 1.15fr; gap: 26px; }
.why-choose-video { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; box-shadow: var(--shadow-md); }
.why-choose-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.why-choose-video:hover img { transform: scale(1.08); }
.why-choose-video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,69,128,.05), rgba(15,23,42,.82)); }
.why-choose-card { position: absolute; bottom: 24px; left: 24px; right: 24px; background: rgba(27,69,128,.55); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 22px; z-index: 2; color: #fff; }
.why-choose-card p { font-size: 13px; opacity: .88; margin-bottom: 4px; }
.why-choose-card h4 { color: #fff; font-size: 22px; margin-bottom: 14px; }
.why-choose-mini-stats { display: flex; gap: 30px; }
.why-choose-mini-stats strong { font-family: var(--heading-font); font-size: 22px; display: block; color: var(--primary-light); }
.why-choose-mini-stats span { font-size: 12px; opacity: .85; }

.why-choose-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-choose-tile {
    position: relative; border-radius: var(--radius); overflow: hidden; min-height: 160px;
    background-size: cover; background-position: center; box-shadow: var(--shadow-sm);
}
.why-choose-tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,69,128,0), rgba(15,23,42,.78)); transition: var(--transition); }
.why-choose-tile:hover::before { background: linear-gradient(180deg, rgba(194,57,39,.35), rgba(15,23,42,.92)); }
.why-choose-tile { transition: transform .6s ease, background-size .6s ease, box-shadow .35s ease; }
.why-choose-tile:hover { box-shadow: var(--shadow-md); transform: scale(1.015); background-size: 112%; }
.tile-overlay { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; z-index: 1; }
.tile-overlay i { font-size: 20px; color: var(--primary-light); margin-bottom: 8px; }
.tile-overlay h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.tile-overlay p { font-size: 12.8px; opacity: 0; max-height: 0; overflow: hidden; transition: var(--transition); }
.why-choose-tile:hover p { opacity: .92; max-height: 100px; margin-top: 4px; }

/* =========================== BLOG =========================== */
.blog-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; }
.blog-feature {
    position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px;
    background-size: cover; background-position: center; display: block; transition: background-size .6s ease, box-shadow .35s ease; box-shadow: var(--shadow-sm);
}
.blog-feature:hover { background-size: 112%; box-shadow: var(--shadow-md); }
.blog-feature-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,69,128,.08), rgba(15,23,42,.92)); padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; }
.blog-feature-overlay h3 { color: #fff; font-size: 24px; margin-bottom: 14px; }
.blog-feature-overlay .know-more { color: var(--primary-light); }
.blog-feature-overlay .know-more i { background: #fff; color: var(--primary); }

.blog-side { display: flex; flex-direction: column; gap: 18px; }
.blog-side-card { display: flex; gap: 16px; background: var(--white); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden; padding: 12px; transition: var(--transition); }
.blog-side-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: var(--primary); }
.blog-side-card img { width: 100px; height: 100px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.blog-side-card h4 { font-size: 15px; margin-bottom: 8px; }

/* =========================== PATIENT STORIES =========================== */

.story-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.story-card:hover { box-shadow: var(--shadow-md); }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-card:hover img { transform: scale(1.1); }
.story-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,69,128,0), rgba(15,23,42,.82)); }
.story-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 16px; z-index: 2; transition: var(--transition); }
.story-card:hover .story-play { background: var(--primary); color: #fff; transform: translate(-50%,-50%) scale(1.12); box-shadow: 0 0 22px rgba(194,57,39,.55); }
.story-label { position: absolute; bottom: 12px; left: 12px; color: #fff; font-weight: 600; font-size: 13px; z-index: 2; }

/* Staggered "masonry" grid — a tall card, a stacked pair, a raised feature
   card in the centre, another stacked pair, and a final tall card. */
.patient-masonry { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 150px; gap: 16px; }
.patient-masonry .story-card:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.patient-masonry .story-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.patient-masonry .story-card:nth-child(3) { grid-column: 2; grid-row: 2; }
.patient-masonry .story-card:nth-child(4) {
    grid-column: 3; grid-row: 1 / span 2; margin: -22px 0; z-index: 2;
    box-shadow: var(--shadow-lg); border: 4px solid var(--white);
}
.patient-masonry .story-card:nth-child(5) { grid-column: 4; grid-row: 1; }
.patient-masonry .story-card:nth-child(6) { grid-column: 4; grid-row: 2; }
.patient-masonry .story-card:nth-child(7) { grid-column: 5; grid-row: 1 / span 2; }

.masonry-view-all { text-align: center; margin-top: 34px; }
.view-all-link { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 600; font-size: 15px; }
.view-all-link i { font-size: 13px; transition: transform .3s ease; }
.view-all-link:hover i { transform: translateX(4px); }

@media (max-width: 900px) {
    .patient-masonry { display: flex; overflow-x: auto; gap: 14px; padding-bottom: 8px; }
    .patient-masonry .story-card { flex: 0 0 170px; height: 230px !important; grid-column: unset !important; grid-row: unset !important; margin: 0 !important; border: none; }
}

/* =========================== GALLERY CAROUSEL =========================== */
/* Always-running auto carousel: the track holds the gallery items twice
   back-to-back and scrolls continuously in a seamless loop; no manual
   prev/next controls, pauses gently on hover so items can be read. */
.gallery-carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; gap: 18px; width: max-content; animation: gallery-scroll 32s linear infinite; }
.gallery-carousel:hover .carousel-track { animation-play-state: paused; }
@keyframes gallery-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.carousel-item { position: relative; flex: 0 0 260px; height: 200px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.carousel-item:hover { box-shadow: var(--shadow-md); }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.carousel-item:hover img { transform: scale(1.1); }
.carousel-item span { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 14px; background: linear-gradient(0deg, rgba(15,23,42,.9), transparent); color: #fff; font-size: 13px; font-weight: 500; }

/* =========================== REAL REVIEWS =========================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: var(--white); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius); padding: 26px; transition: var(--transition); }
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: var(--accent); }
.star-rating i { color: #F5B942; font-size: 14px; margin-right: 2px; }
.star-rating i.star-empty { color: var(--border); }
.review-message { color: var(--text-body); font-size: 14.5px; margin: 14px 0 20px; line-height: 1.7; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author img, .review-avatar-fallback { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-avatar-fallback { background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--heading-font); }
.review-author strong { display: block; font-size: 14.5px; color: var(--text-dark); }
.review-author span { font-size: 12.5px; color: var(--text-muted); }

.page-banner-intro { margin-top: 14px; opacity: .92; max-width: 640px; }

/* =========================== EMERGENCY SERVICES =========================== */
.emergency-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.emergency-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 220px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.emergency-tile:hover { box-shadow: var(--shadow-md); }
.emergency-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.emergency-tile:hover img { transform: scale(1.12); }
.emergency-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,69,128,0) 35%, rgba(15,23,42,.85)); padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.emergency-overlay i { font-size: 20px; color: var(--primary-light); margin-bottom: 8px; }
.emergency-overlay h4 { color: #fff; font-size: 18px; }
.emergency-detail { font-size: 13px; opacity: 0; max-height: 0; overflow: hidden; transition: var(--transition); margin-top: 4px; color: #E6ECF5; }
.emergency-tile:hover .emergency-detail { opacity: .92; max-height: 100px; }

/* =========================== CTA SECTION =========================== */
/* One full-bleed hospital photo covers the entire section; a dark gradient
   sits on top for readability; intro text sits left, the request-a-callback
   form floats as a white card on the right, above the image. */
.cta-section {
    position: relative; padding: 0; min-height: 460px;
    display: flex; align-items: center; flex-wrap: wrap;
    border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg, rgba(15,23,42,.85) 0%, rgba(27,69,128,.62) 42%, rgba(27,69,128,.22) 75%);
}
.cta-intro { position: relative; z-index: 2; max-width: 440px; padding: 54px 20px 54px 6%; color: #fff; }
.cta-intro .eyebrow { background: rgba(255,255,255,.15); color: #fff; }
.cta-intro h3 { color: #fff; font-size: 28px; margin: 14px 0 12px; }
.cta-intro p { color: rgba(255,255,255,.86); font-size: 14px; }
.cta-form-box {
    position: relative; z-index: 2; background: var(--white);
    margin: 34px 6% 34px auto; border-radius: var(--radius); padding: 30px;
    box-shadow: var(--shadow-lg); width: 380px; max-width: 92%;
}
.cta-form-box h4 { font-size: 19px; margin-bottom: 6px; }
.cta-form-box .form-sub { color: var(--text-muted); font-size: 13px; margin-bottom: 18px; }
.cta-form-box form { display: flex; flex-direction: column; gap: 14px; }

@media (max-width: 720px) {
    .cta-section { min-height: unset; }
    .cta-intro { max-width: 100%; padding: 40px 6% 0; }
    .cta-form-box { margin: 24px auto; }
}

/* =========================== FORM ELEMENTS =========================== */
input, select, textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px;
    font-family: var(--body-font); font-size: 14.5px; outline: none; transition: var(--transition);
    background: var(--white); color: var(--text-dark);
}
input::placeholder, textarea::placeholder { color: #9AA5B1; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(27,69,128,.15); }
.form-group { margin-bottom: 4px; }

/* =========================== APPOINTMENT MODAL =========================== */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(15,23,42,.65); z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: var(--transition);
    padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box.appointment-modal {
    background: var(--white); border-radius: 20px; overflow: hidden; max-width: 820px; width: 100%;
    display: grid; grid-template-columns: 1fr 1.1fr; position: relative;
    transform: scale(.92); transition: var(--transition); max-height: 90vh;
    box-shadow: var(--shadow-lg);
}
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-image { display: none; }
.modal-image img { width: 100%; height: 100%; object-fit: cover; }
.modal-form { padding: 34px; overflow-y: auto; }
.modal-form h3 { font-size: 24px; margin-bottom: 8px; }
.modal-form p { color: var(--text-muted); font-size: 13.5px; margin-bottom: 20px; }
.modal-form form { display: flex; flex-direction: column; gap: 14px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--light-gray); display: flex; align-items: center; justify-content: center; z-index: 3; color: var(--text-dark); transition: var(--transition); }
.modal-close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }

@media (min-width: 720px) { .modal-image { display: block; } }

/* =========================== FOOTER (logo blue background) =========================== */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.8); padding: 70px 6% 0; }
.footer-top { display: grid; grid-template-columns: 1.2fr .8fr 1.4fr .9fr; gap: 40px; padding-bottom: 14px; max-width: 1400px; margin: 0 auto; }
.footer-brand-badge { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 12px; background: #fff; margin-bottom: 18px; }
.footer-logo { height: 42px; }
.footer-col h4 { color: #fff; font-size: 17px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 3px; background: var(--footer-accent); border-radius: 3px; }
.footer-col p { font-size: 13.8px; line-height: 1.7; margin-bottom: 10px; color: rgba(255,255,255,.75); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; transition: var(--transition); color: rgba(255,255,255,.82); }
.footer-col ul a:hover { color: #fff; padding-left: 5px; }
.footer-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); display: flex; align-items: center; justify-content: center; transition: var(--transition); color: #fff; }
.footer-social a:hover { background: var(--footer-accent); border-color: var(--footer-accent); transform: translateY(-4px); box-shadow: 0 6px 18px rgba(194,57,39,.5); }
.contact-col p { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.82); }
.contact-col i { color: var(--primary-light); margin-top: 3px; }
.contact-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); text-align: center; padding: 20px 0; font-size: 13px; color: rgba(255,255,255,.65); margin-top: 0; max-width: 1400px; margin-left: auto; margin-right: auto; }

#backToTop {
    position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
    background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 500;
    box-shadow: var(--shadow-md);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--accent); transform: translateY(-4px); }

/* =========================== INNER PAGE BANNER (About/Services/Blog/etc.) =========================== */
.page-banner {
    position: relative; min-height: 320px; display: flex; align-items: center;
    background: linear-gradient(120deg, rgba(27,69,128,.90) 0%, rgba(15,23,42,.80) 55%, rgba(194,57,39,.32) 100%), var(--text-dark);
    padding: 180px 6% 50px;
}
.page-banner-inner { position: relative; z-index: 2; color: #fff; max-width: 1400px; margin: 0 auto; width: 100%; }
.page-banner h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.page-banner .breadcrumb { font-size: 14px; opacity: .88; color: #E6ECF5; }
.page-banner .breadcrumb a { font-weight: 600; color: var(--primary-light); }
.page-banner .breadcrumb a:hover { color: #fff; }

.content-block { max-width: 1400px; margin: 0 auto; padding: 70px 6%; }
.content-block.narrow { max-width: 900px; }
.content-block p { color: var(--text-body); margin-bottom: 16px; }
.content-block h2 { margin-bottom: 16px; }
.content-block h3 { margin-bottom: 10px; }

.two-col-content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.two-col-content img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }

.mission-vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.mv-box { position: relative; overflow: hidden; background: var(--white); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius); padding: 28px; text-align: center; transition: var(--transition); }
.mv-box::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg, var(--accent), var(--primary)); transform:scaleX(0); transition:transform .3s ease; }
.mv-box:hover::before { transform: scaleX(1); }
.mv-box:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.mv-box i { font-size: 26px; color: var(--accent); margin-bottom: 14px; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; transition: var(--transition); }
.mv-box:hover i { background: var(--primary); color: #fff; }
.mv-box h3 { margin-bottom: 10px; font-size: 18px; }
.mv-box p { margin-bottom: 0; font-size: 13.8px; color: var(--text-muted); }

/* ---- Feature icon grid (About page highlights) ---- */
.feature-icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.feature-icon-card { background: var(--light-gray); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; transition: var(--transition); }
.feature-icon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); background: var(--white); }
.feature-icon-card .icon-box { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 10px; background: rgba(194,57,39,.1); border: 1px solid rgba(194,57,39,.25); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 18px; transition: var(--transition); }
.feature-icon-card:hover .icon-box { background: var(--primary); color: #fff; }
.feature-icon-card h4 { color: var(--text-dark); font-size: 14px; margin-bottom: 6px; }
.feature-icon-card p { font-size: 12px; color: var(--text-muted); }

/* ---- Milestones timeline (About page) ---- */
.milestones-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.milestones-grid::before { content: ''; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px; background: var(--border); z-index: 0; }
.milestone-card { position: relative; z-index: 1; background: var(--white); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius); padding: 20px; text-align: center; transition: var(--transition); }
.milestone-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.milestone-year { width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.milestone-card:hover .milestone-year { transform: scale(1.1); background: var(--accent); }
.milestone-card h4 { color: var(--text-dark); font-size: 14px; margin-bottom: 6px; }
.milestone-card p { font-size: 12px; color: var(--text-muted); }

/* ---- Partner / accreditation badge strip ---- */
.partner-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 30px; margin-top: 10px; }
.partner-badge { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--white); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); border-radius: 12px; transition: var(--transition); cursor: default; }
.partner-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.partner-badge i { font-size: 18px; color: var(--primary); }
.partner-badge span { font-size: 13px; font-weight: 700; color: var(--text-dark); }

/* ---- Simple grid listing pages (services / gallery / blog / doctors) ---- */
.simple-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.simple-card { background: var(--white); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.simple-card:hover { box-shadow: var(--shadow-md); transform: translateY(-8px); border-color: var(--primary); }
.simple-card img { width: 100%; height: 190px; object-fit: cover; }
.simple-card-body { padding: 20px; }
.simple-card-body h3 { font-size: 17px; margin-bottom: 8px; }
.simple-card-body p { font-size: 13.8px; color: var(--text-muted); margin-bottom: 14px; }

.gallery-full-grid { columns: 4 220px; column-gap: 18px; }
.gallery-full-item { break-inside: avoid; margin-bottom: 18px; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-full-item img, .gallery-full-item video { width: 100%; display: block; }
.gallery-full-item span { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 14px; background: linear-gradient(0deg, rgba(15,23,42,.85), transparent); color: #fff; font-size: 13px; }

.stories-full-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ---- Contact page ---- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius); padding: 18px; transition: var(--transition); }
.contact-info-item:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.contact-info-item i { font-size: 20px; color: var(--primary); margin-top: 3px; }
.contact-info-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-form-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); }
.contact-form-card form { display: flex; flex-direction: column; gap: 14px; }
.map-embed-wrap { border-radius: var(--radius); overflow: hidden; margin-top: 40px; box-shadow: var(--shadow-md); }
.map-embed-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---- Single service / blog / doctor pages ---- */
.single-hero-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; max-height: 420px; box-shadow: var(--shadow-md); }
.single-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.single-layout { display: grid; grid-template-columns: 1fr .55fr; gap: 40px; align-items: start; }
.single-sidebar { background: var(--white); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius); padding: 26px; position: sticky; top: 110px; }
.single-sidebar h4 { margin-bottom: 14px; }
.doctor-profile-top { display: flex; gap: 24px; align-items: center; margin-bottom: 24px; }
.doctor-profile-top img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-md); border: 3px solid var(--white); outline: 1px solid var(--border); }

.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.no-results i { font-size: 40px; color: var(--border); margin-bottom: 16px; display: block; }

@media (max-width: 1100px) {
    .simple-grid, .stories-full-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col-content, .contact-grid, .single-layout, .mission-vision-grid, .feature-icon-grid { grid-template-columns: 1fr; }
    .gallery-full-grid { columns: 2 220px; }
    .milestones-grid { grid-template-columns: repeat(3, 1fr); }
    .milestones-grid::before { display: none; }
    .specialities-grid { grid-template-columns: repeat(4, 1fr); }
    .doctors-grid { grid-template-columns: repeat(2, 1fr); }
    .counter-section, .why-choose-columns, .blog-grid { grid-template-columns: 1fr; }
    .why-choose-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .emergency-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .section-heading.with-link { flex-wrap: wrap; align-items: flex-start; }
}
@media (max-width: 720px) {
    .main-nav, .header-phone span { display: none; }
    .nav-toggle { display: block; }
    .simple-grid, .stories-full-grid { grid-template-columns: 1fr; }
    .gallery-full-grid { columns: 1; }
    .page-banner { padding: 150px 6% 40px; min-height: 220px; }
    .specialities-grid, .doctors-grid, .why-choose-grid, .emergency-grid, .reviews-grid { grid-template-columns: 1fr; }
    .specialities-grid .spec-img { order: 1; }
    .specialities-grid .spec-text { order: 2; }
    .footer-top { grid-template-columns: 1fr; }
    .modal-box.appointment-modal { grid-template-columns: 1fr; }
    section { padding: 60px 6%; }
    .milestones-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Contact page: straight, clean corners on the info cards, form card and map */
.contact-info-item, .contact-form-card, .map-embed-wrap { border-radius: 0; }
.cta-banner { border-radius: 0; }

/* =========================== ABOUT PAGE (new layout) =========================== */
.about-banner { background-size: cover; background-position: center right; min-height: 280px; }
.about-banner h1 { color: var(--accent); max-width: 560px; font-size: clamp(26px, 3.4vw, 38px); }
.about-banner .breadcrumb, .about-banner .breadcrumb a { color: var(--text-body); opacity: 1; }
.about-banner .breadcrumb a { color: var(--accent); }
.about-banner .page-banner-intro { color: var(--accent); margin-top: 10px; font-size: 14px; }

.ab-section { padding: 56px 6%; }
.ab-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--accent); margin-bottom: 8px; }
.ab-eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--primary); }
.ab-head { margin-bottom: 30px; }
.ab-head h2, .ab-text h2, .ab-h2 { color: var(--accent); font-size: clamp(22px, 2.4vw, 30px); }

.ab-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.ab-split.reverse { grid-template-columns: 1fr 1.1fr; }
.ab-img img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); display: block; }
.ab-text p { color: var(--text-body); margin: 14px 0 20px; font-size: 15px; }

.ab-mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.ab-mvv-card { background: var(--light-bg-2); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.ab-mvv-card i { font-size: 28px; color: var(--primary); }
.ab-mvv-card h3 { color: var(--accent); font-size: 19px; margin: 12px 0 10px; }
.ab-mvv-card p { font-size: 14px; color: var(--text-body); }

.ab-reasons { display: grid; grid-template-columns: repeat(6, 1fr); }
.ab-reasons > div { text-align: center; padding: 6px 16px; border-right: 1px solid #d6dfee; }
.ab-reasons > div:last-child { border-right: 0; }
.ab-reasons i { font-size: 34px; color: var(--primary); margin-bottom: 14px; }
.ab-reasons h4 { font-size: 15px; color: var(--accent); margin-bottom: 8px; }
.ab-reasons p { font-size: 13px; color: var(--text-muted); }

.ab-timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; padding-top: 6px; }
.ab-timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 33px; height: 2px; background: var(--primary); }
.ab-timeline > div { position: relative; }
.ab-year { display: block; font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.ab-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--primary); margin-bottom: 16px; position: relative; z-index: 1; }
.ab-timeline h4 { font-size: 15px; color: var(--accent); margin-bottom: 6px; }
.ab-timeline p { font-size: 13px; color: var(--text-muted); }

.ab-link { color: var(--accent); font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; flex-shrink: 0; margin-left: auto; }
.ab-link:hover { color: var(--primary); }
.ab-experts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ab-expert { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); display: block; }
.ab-expert:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ab-expert img { width: 100%; height: 210px; object-fit: cover; display: block; }
.ab-expert-body { padding: 16px; position: relative; }
.ab-expert-body h4 { font-size: 15px; color: var(--accent); margin-bottom: 4px; }
.ab-expert-body strong { display: block; font-size: 12.5px; color: var(--text-dark); margin-bottom: 4px; }
.ab-expert-body span { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 30px; }
.ab-expert-body i { position: absolute; left: 16px; bottom: 14px; width: 24px; height: 24px; border: 1.5px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--accent); }

.ab-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ab-services > div { display: flex; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.ab-services > div:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.ab-services i { font-size: 28px; color: var(--primary); width: 40px; text-align: center; flex-shrink: 0; }
.ab-services h4 { font-size: 15px; color: var(--accent); margin-bottom: 4px; }
.ab-services p { font-size: 13px; color: var(--text-muted); }

.ab-stats-wrap { padding-top: 20px; padding-bottom: 20px; }
.ab-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--light-bg-2); border-radius: var(--radius); padding: 26px 10px; }
.ab-stats > div { text-align: center; border-right: 1px solid #d6dfee; padding: 4px 10px; }
.ab-stats > div:last-child { border-right: 0; }
.ab-stats i { font-size: 26px; color: var(--accent); display: block; margin-bottom: 8px; }
.ab-stats strong { display: block; font-family: var(--heading-font); font-size: 26px; color: var(--accent); }
.ab-stats span { font-size: 13px; color: var(--text-muted); }

.ab-affil { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; align-items: center; }
.ab-affil > div { text-align: center; padding: 14px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ab-affil i { font-size: 30px; }
.ab-affil b { font-family: var(--heading-font); font-size: 24px; letter-spacing: .5px; }
.ab-affil small { font-size: 10px; color: var(--text-muted); line-height: 1.3; }
.ab-affil .c1 { color: var(--accent); } .ab-affil .c2 { color: #a1352a; } .ab-affil .c3 { color: #1e5aa8; }
.ab-affil .c4 { color: #14285a; } .ab-affil .c5 { color: #1a6fb5; } .ab-affil .c6 { color: #2f7fc1; }

@media (max-width: 1100px) {
    .ab-reasons, .ab-timeline, .ab-affil { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
    .ab-reasons > div:nth-child(3n) { border-right: 0; }
    .ab-timeline::before { display: none; }
    .ab-experts { grid-template-columns: repeat(2, 1fr); }
    .ab-services { grid-template-columns: repeat(2, 1fr); }
    .ab-split, .ab-split.reverse { grid-template-columns: 1fr; }
    .ab-split.reverse .ab-img { order: -1; }
}
@media (max-width: 720px) {
    .ab-mvv, .ab-services, .ab-experts { grid-template-columns: 1fr; }
    .ab-reasons, .ab-timeline, .ab-affil { grid-template-columns: repeat(2, 1fr); }
    .ab-reasons > div { border-right: 0; }
    .ab-stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
}

/* Header: tablet / mobile */
@media (max-width: 1100px) { .quick-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
    .topbar-links a:not(:first-child) { display: none; }
    .topbar-inner { padding: 7px 5%; }
    .topbar-contact a:first-child { display: none; }
    .quick-cards { grid-template-columns: 1fr; }
    .side-rail { width: 34px; top: auto; bottom: 90px; transform: none; }
    .rail-book span { display: none; }
    .rail-book { padding: 12px 0; }
    .rail-social { height: 32px; }
    .main-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow-md); padding: 10px 5% 16px; }
    .main-nav.open ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav.open a { color: var(--text-dark) !important; display: block; }
    .site-header .header-main { position: relative; }
}

/* =========================== ABOUT PAGE: hover effects + motion (same feel as home page) =========================== */
@keyframes abFadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.ab-section > *, .ab-mvv-card, .ab-reasons > div, .ab-timeline > div, .ab-expert, .ab-services > div, .ab-stats > div, .ab-affil > div { animation: abFadeUp .7s ease backwards; }
.ab-mvv-card:nth-child(2), .ab-reasons > div:nth-child(2), .ab-timeline > div:nth-child(2), .ab-expert:nth-child(2), .ab-services > div:nth-child(2) { animation-delay: .1s; }
.ab-mvv-card:nth-child(3), .ab-reasons > div:nth-child(3), .ab-timeline > div:nth-child(3), .ab-expert:nth-child(3), .ab-services > div:nth-child(3) { animation-delay: .2s; }
.ab-reasons > div:nth-child(4), .ab-timeline > div:nth-child(4), .ab-expert:nth-child(4), .ab-services > div:nth-child(4) { animation-delay: .3s; }
.ab-reasons > div:nth-child(5), .ab-timeline > div:nth-child(5) { animation-delay: .4s; }
.ab-reasons > div:nth-child(6), .ab-timeline > div:nth-child(6) { animation-delay: .5s; }

/* Big split images: zoom + lift + colour frame */
.ab-img { position: relative; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-md); transition: var(--transition); }
.ab-img img { box-shadow: none; border-radius: 0; transition: transform .8s ease; }
.ab-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(27,69,128,.0), rgba(194,57,39,.0)); transition: background .5s ease; pointer-events: none; }
.ab-img:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ab-img:hover img { transform: scale(1.09); }
.ab-img:hover::after { background: linear-gradient(135deg, rgba(27,69,128,.18), rgba(194,57,39,.18)); }
.ab-text .btn i { transition: transform .3s ease; }
.ab-text .btn:hover i { transform: translateX(5px); }

/* Mission / Vision / Values */
.ab-mvv-card { position: relative; overflow: hidden; border: 1.5px solid transparent; transition: var(--transition); }
.ab-mvv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent), var(--primary)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.ab-mvv-card i { width: 62px; height: 62px; border-radius: 50%; background: var(--white); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: var(--transition); }
.ab-mvv-card:hover { transform: translateY(-10px); background: var(--white); border-color: var(--primary); box-shadow: var(--glow); }
.ab-mvv-card:hover::before { transform: scaleX(1); }
.ab-mvv-card:hover i { background: var(--primary); color: #fff; transform: rotateY(360deg) scale(1.08); }

/* Reasons to trust */
.ab-reasons > div { border-radius: var(--radius-sm); transition: var(--transition); }
.ab-reasons i { width: 66px; height: 66px; border-radius: 50%; background: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: var(--shadow-sm); transition: var(--transition); }
.ab-reasons > div:hover { background: var(--white); transform: translateY(-8px); box-shadow: var(--shadow-md); }
.ab-reasons > div:hover i { background: var(--primary); color: #fff; transform: scale(1.12) rotate(-6deg); box-shadow: 0 10px 22px rgba(194,57,39,.4); }
.ab-reasons > div:hover h4 { color: var(--primary); }
.ab-reasons h4 { transition: color .3s ease; }

/* Timeline */
.ab-timeline > div { transition: var(--transition); padding: 4px 6px 12px; border-radius: var(--radius-sm); }
.ab-timeline > div:hover { transform: translateY(-8px); background: var(--white); box-shadow: var(--shadow-md); }
.ab-dot { transition: var(--transition); }
.ab-timeline > div:hover .ab-dot { background: var(--primary); transform: scale(1.35); box-shadow: 0 0 0 7px rgba(194,57,39,.18); }
.ab-timeline > div:hover .ab-year { color: var(--accent); }
.ab-timeline h4 { transition: color .3s ease; }
.ab-timeline > div:hover h4 { color: var(--primary); }

/* Expert cards */
.ab-expert { position: relative; }
.ab-expert img { transition: transform .7s ease; }
.ab-expert { overflow: hidden; }
.ab-expert:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-10px); }
.ab-expert:hover img { transform: scale(1.1); }
.ab-expert::before { content: ''; position: absolute; left: 0; right: 0; top: 210px; height: 4px; background: linear-gradient(90deg, var(--accent), var(--primary)); transform: scaleX(0); transition: transform .4s ease; z-index: 2; }
.ab-expert:hover::before { transform: scaleX(1); }
.ab-expert-body i { transition: var(--transition); }
.ab-expert:hover .ab-expert-body i { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateX(6px) rotate(-45deg); }
.ab-expert:hover .ab-expert-body h4 { color: var(--primary); }
.ab-expert-body h4 { transition: color .3s ease; }
.ab-link i { transition: transform .3s ease; }
.ab-link:hover i { transform: translateX(6px); }

/* Service cards */
.ab-services > div { position: relative; overflow: hidden; }
.ab-services > div::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--accent), var(--primary)); transform: scaleY(0); transform-origin: top; transition: transform .4s ease; }
.ab-services > div:hover::before { transform: scaleY(1); }
.ab-services i { width: 52px; height: 52px; line-height: 52px; border-radius: 14px; background: var(--accent-light); font-size: 24px; transition: var(--transition); }
.ab-services > div:hover i { background: var(--primary); color: #fff; transform: rotate(-8deg) scale(1.1); box-shadow: 0 8px 18px rgba(194,57,39,.35); }
.ab-services > div:hover h4 { color: var(--primary); }
.ab-services h4 { transition: color .3s ease; }

/* Stats */
.ab-stats > div { border-radius: var(--radius-sm); transition: var(--transition); }
.ab-stats > div:hover { background: var(--white); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ab-stats i { transition: var(--transition); }
.ab-stats > div:hover i { color: var(--primary); transform: scale(1.25); }
.ab-stats > div:hover strong { color: var(--primary); }
.ab-stats strong { transition: color .3s ease; }

/* Affiliations */
.ab-affil > div { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: var(--transition); }
.ab-affil > div:hover { transform: translateY(-8px) scale(1.04); border-color: var(--primary); box-shadow: var(--shadow-md); }
.ab-affil i, .ab-affil b { transition: transform .3s ease; }
.ab-affil > div:hover b, .ab-affil > div:hover i { transform: scale(1.12); }

/* Banner */
.about-banner { background-size: 108%; animation: abBanner 18s ease-in-out infinite alternate; }
@keyframes abBanner { from { background-position: 100% 50%; } to { background-position: 60% 50%; } }
.about-banner h1, .about-banner .breadcrumb, .about-banner .page-banner-intro { animation: abFadeUp .8s ease backwards; }
.about-banner h1 { animation-delay: .1s; } .about-banner .page-banner-intro { animation-delay: .2s; }


/* =====================================================================
   HOME REFINEMENTS (v2)
   ===================================================================== */

/* ---------- Side rail: floating tab + socials that slide out on hover ---------- */
.side-rail { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 990; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; animation: rail-in .9s cubic-bezier(.22,1,.36,1) both; }
@keyframes rail-in { from { transform: translate(60px,-50%); opacity: 0; } to { transform: translate(0,-50%); opacity: 1; } }
.rail-book { width: 40px; background: var(--primary); color: #fff; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; border-radius: 12px 0 0 12px; position: relative; transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .3s, box-shadow .3s; box-shadow: var(--shadow-md); }
.rail-book::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(194,57,39,.55); animation: rail-pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes rail-pulse { 0% { box-shadow: 0 0 0 0 rgba(194,57,39,.55); } 70%,100% { box-shadow: 0 0 0 14px rgba(194,57,39,0); } }
.rail-book:hover { background: var(--primary-dark); transform: translateX(-8px); }
.rail-book i { font-size: 15px; animation: rail-ring 2.8s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes rail-ring { 0%,60%,100% { transform: rotate(0); } 65% { transform: rotate(-18deg); } 72% { transform: rotate(16deg); } 79% { transform: rotate(-12deg); } 86% { transform: rotate(8deg); } }
.rail-book span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.rail-item { display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-start; width: 40px; height: 38px; color: #fff; font-size: 14px; overflow: hidden; white-space: nowrap; border-radius: 10px 0 0 10px; box-shadow: var(--shadow-sm);
    animation: rail-float 3.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .28s);
    transition: width .4s cubic-bezier(.34,1.56,.64,1), box-shadow .3s, filter .3s; }
.rail-item i { flex: 0 0 40px; width: 40px; text-align: center; }
.rail-item .rail-label { padding: 0 6px 0 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .3px; opacity: 0; transform: translateX(10px); transition: opacity .3s .05s, transform .35s .05s; }
.rail-item:hover, .rail-item:focus-visible { width: 158px; animation-play-state: paused; box-shadow: -8px 8px 22px rgba(15,23,42,.28); filter: brightness(1.08); }
.rail-item:hover .rail-label, .rail-item:focus-visible .rail-label { opacity: 1; transform: translateX(0); }
@keyframes rail-float { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
.rail-item.fb { background: #3b5998; } .rail-item.ig { background: linear-gradient(45deg,#f09433,#dc2743 55%,#bc1888); } .rail-item.x { background: #111; }
.rail-item.yt { background: #e02a1f; } .rail-item.li { background: #0e76a8; } .rail-item.pin { background: #bd081c; }

/* ---------- Our Specialities: compact square cards ---------- */
.specialities-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.spec-pair { display: block; }
.spec-pair.spec-hidden { display: none; }
.spec-square { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); border: 1.5px solid var(--border); transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease; }
.spec-square img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; min-height: 0; transition: transform .7s ease; }
.spec-square::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0) 38%, rgba(15,23,42,.88) 100%); transition: background .4s ease; }
.spec-pair:hover .spec-square { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.spec-pair:hover .spec-square img { transform: scale(1.1); }
.spec-pair:hover .spec-square::after { background: linear-gradient(180deg, rgba(27,69,128,.15) 0%, rgba(15,23,42,.94) 100%); }
.spec-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 14px 13px; color: #fff; }
.spec-info h3 { color: #fff; font-size: 16px; line-height: 1.25; margin: 0; }
.spec-info p { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.88); margin: 0; max-height: 0; opacity: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; transition: max-height .45s ease, opacity .35s ease, margin .35s ease; }
.spec-info .know-more { color: var(--primary-light); font-size: 12.5px; margin-top: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s ease, opacity .35s ease, margin .35s ease; }
.spec-info .know-more i { width: 22px; height: 22px; font-size: 10px; }
.spec-pair:hover .spec-info p { max-height: 70px; opacity: 1; margin-top: 6px; }
.spec-pair:hover .spec-info .know-more { max-height: 30px; opacity: 1; margin-top: 8px; }
.spec-square .spec-num { position: absolute; top: 10px; right: 12px; bottom: auto; z-index: 2; color: #fff; opacity: .85; font-size: 12px; background: rgba(15,23,42,.35); backdrop-filter: blur(4px); padding: 2px 9px; border-radius: 20px; }

/* ---------- Why Choose Us: video support ---------- */
.why-choose-video video.why-media-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Latest Blogs: 1 featured + 3 side cards filling the height ---------- */
.blog-grid { align-items: stretch; }
.blog-side { justify-content: space-between; }
.blog-side-card { flex: 1; align-items: center; min-height: 0; }
.blog-side-card img { width: 120px; height: 100%; min-height: 100px; max-height: 130px; }
.blog-feature { min-height: 460px; }

/* ---------- Real Reviews: carousel ---------- */
.reviews-section .reviews-carousel { position: relative; }
.reviews-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 4px 22px; -ms-overflow-style: none; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track .review-card { position: relative; flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; }
.review-quote { position: absolute; top: 22px; right: 24px; font-size: 26px; color: var(--accent); opacity: .1; }
.reviews-track .review-message { flex: 1; }
.rc-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; }
.rc-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--white); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; transition: var(--transition); box-shadow: var(--shadow-sm); }
.rc-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.08); }
.rc-dots { display: flex; gap: 8px; align-items: center; }
.rc-dot { width: 9px; height: 9px; border-radius: 10px; background: #cfd6e0; border: 0; padding: 0; cursor: pointer; transition: all .35s ease; }
.rc-dot.active { width: 26px; background: var(--primary); }
.reviews-carousel.rc-static .rc-controls { display: none; }

/* ---------- Gallery carousel: full-bleed edge to edge ---------- */
.gallery-section { max-width: none; padding-left: 0; padding-right: 0; overflow: hidden; }
.gallery-section .section-heading { padding: 0 6%; }
.gallery-section .gallery-carousel { width: 100%; }
.gallery-section .carousel-track { gap: 18px; padding-left: 18px; }
.carousel-item video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Emergency: image or video tiles ---------- */
.emergency-tile .emergency-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.emergency-tile:hover .emergency-media { transform: scale(1.1); }

/* ---------- CTA: full-bleed (no rounded corner gaps) + enhanced form card ---------- */
.cta-section { max-width: none; width: 100%; margin: 0; border-radius: 0; box-shadow: none; min-height: 520px; overflow: hidden; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.cta-form-box { border-radius: 22px; padding: 34px 30px 26px; margin: 40px 6% 40px auto; width: 400px; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 30px 60px -20px rgba(15,23,42,.35); animation: cta-rise 1s cubic-bezier(.22,1,.36,1) both; }
@keyframes cta-rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: translateY(0); } }
.cta-form-badge { position: absolute; top: -22px; left: 30px; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; box-shadow: 0 10px 22px rgba(194,57,39,.4); }
.cta-form-box h4 { font-size: 22px; margin-top: 6px; }
.cta-field { position: relative; display: block; }
.cta-field i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--accent); opacity: .65; font-size: 14px; pointer-events: none; }
.cta-field input { width: 100%; padding-left: 44px; }
.cta-form-box .btn-block i { transition: transform .3s ease; }
.cta-form-box .btn-block:hover i { transform: translateX(5px); }
.cta-trust { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--border); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); }
.cta-trust i { color: var(--primary); margin-right: 5px; }
.cta-helpline { position: absolute; left: 3%; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); padding: 10px 20px 10px 10px; border-radius: 60px; box-shadow: 0 14px 34px -10px rgba(15,23,42,.4); transition: transform .35s ease; animation: rail-float 3.4s ease-in-out infinite; }
.cta-helpline:hover { transform: translateY(-4px); animation-play-state: paused; }
.cta-helpline-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; position: relative; }
.cta-helpline-icon::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(194,57,39,.5); animation: rail-pulse 2s ease-out infinite; }
.cta-helpline small { display: block; font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px; }
.cta-helpline strong { font-size: 15px; color: var(--text-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .specialities-grid { grid-template-columns: repeat(4, 1fr); }
    .reviews-track .review-card { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 900px) {
    .specialities-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .blog-side-card { flex: none; }
    .cta-helpline { display: none; }
}
@media (max-width: 720px) {
    .specialities-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .spec-info { padding: 10px; }
    .spec-info h3 { font-size: 14px; }
    .spec-info p, .spec-info .know-more { display: none; }
    .reviews-track .review-card { flex-basis: 88%; }
    .cta-section { min-height: unset; }
    .cta-form-box { margin: 40px auto 30px; width: 92%; }
    .rail-item { width: 34px; height: 32px; animation: none; }
    .rail-item i { flex-basis: 34px; width: 34px; }
    .rail-item .rail-label { display: none; }
    .rail-item:hover { width: 34px; }
    .rail-book { width: 34px; padding: 12px 0; }
    .rail-book span { display: none; }
    .side-rail { top: auto; bottom: 90px; transform: none; animation: none; }
}
@media (prefers-reduced-motion: reduce) {
    .rail-item, .rail-book i, .rail-book::after, .cta-helpline, .cta-helpline-icon::after, .cta-form-box, .side-rail { animation: none !important; }
}


/* =====================================================================
   v3 — HEADER (centre logo, hide-on-scroll-down / show-on-scroll-up),
        compact language switch, Patient Care Desk, animations, polish
   ===================================================================== */
html, body { overflow-x: hidden; }
body { overflow-x: clip; }

/* ---------- Header: hides while scrolling down, returns instantly on any scroll up ---------- */
.site-header { transition: transform .45s cubic-bezier(.22,1,.36,1), background .3s ease, box-shadow .3s ease; will-change: transform; }
.site-header.header-hidden { transform: translateY(-110%); box-shadow: none; }

.header-inner { position: relative; justify-content: center; }
.header-actions { position: absolute; right: 0; top: 50%; transform: translateY(-50%); gap: 10px; }
.main-nav ul { justify-content: center; }

/* Logo: light version over the hero video, normal version on scroll / inner pages */
.logo .logo-light { display: none; }
.site-header.header-home:not(.scrolled) .logo .logo-dark { display: none; }
.site-header.header-home:not(.scrolled) .logo .logo-light { display: block; height: 50px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.site-header.header-home:not(.scrolled) .logo { background: transparent; padding: 0 10px; }
.main-nav .nav-logo { margin: 0 clamp(10px, 2.2vw, 34px); }
.main-nav .nav-logo a.logo { padding: 4px 10px; background: transparent; border-radius: 12px; }
.main-nav .nav-logo a.logo:hover { background: transparent; }
.site-header.header-home.scrolled .main-nav .nav-logo a.logo,
.site-header:not(.header-home) .main-nav .nav-logo a.logo { background: #fff; padding: 2px 6px; }
.logo-mobile { display: none; }

/* Language switch: tiny pill at the far right */
.lang-btn { padding: 5px 11px; font-size: 12px; gap: 6px; }
.lang-btn i.fa-globe { font-size: 12px; }
.lang-caret { font-size: 8px; }
.lang-menu { min-width: 112px; padding: 4px; }
.lang-menu button { padding: 7px 10px; font-size: 13px; }

/* Hide Google Translate's own UI completely (we use our own switch) */
.goog-te-banner-frame, .goog-te-banner-frame.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .goog-tooltip:hover { display: none !important; }
iframe.skiptranslate { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: none !important; }
#google_translate_element { display: none; }

@media (max-width: 960px) {
    .main-nav, .header-phone span { display: none; }
    .nav-toggle { display: block; }
    .header-inner { justify-content: space-between; }
    .header-actions { position: static; transform: none; }
    .logo-mobile { display: inline-flex; }
    .main-nav .nav-logo { display: none; }
    .main-nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow-md); padding: 10px 5% 16px; }
    .main-nav.open ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav.open a { color: var(--text-dark) !important; display: block; }
    .site-header .header-main { position: relative; }
    .site-header.header-home:not(.scrolled) .logo-mobile .logo-light { height: 42px; }
}

/* ---------- Patient Care Desk (quick action cards) ---------- */
.quick-section { padding: 70px 6% 60px; max-width: none; position: relative; }
.quick-section .section-heading { margin-bottom: 34px; }
.quick-section .quick-cards { padding: 0; max-width: 1300px; margin: 0 auto; }
.quick-card { position: relative; overflow: hidden; padding: 26px 24px 24px; border-radius: 18px; background: linear-gradient(160deg, #fff 55%, var(--accent-light)); }
.quick-card::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.quick-card:hover::before { transform: scaleX(1); }
.quick-card::after { content: '\f061'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 20px; bottom: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 12px; transition: var(--transition); }
.quick-card:hover::after { background: var(--primary); color: #fff; transform: translateX(4px) rotate(-45deg); }
.quick-card i { width: 50px; height: 50px; border-radius: 14px; font-size: 20px; background: linear-gradient(135deg, var(--accent), #2c63b0); color: #fff; box-shadow: 0 10px 20px -8px rgba(27,69,128,.55); }
.quick-card:hover i { background: linear-gradient(135deg, var(--primary), var(--primary-light)); box-shadow: 0 10px 20px -8px rgba(194,57,39,.6); transform: rotate(-8deg) scale(1.06); }
.quick-card h4 { font-size: 17px; }

/* ---------- Hero entrance + scroll cue ---------- */
.hero-content > * { opacity: 0; animation: hero-up .9s cubic-bezier(.22,1,.36,1) forwards; }
.hero-content > *:nth-child(1) { animation-delay: .15s; } .hero-content > *:nth-child(2) { animation-delay: .3s; }
.hero-content > *:nth-child(3) { animation-delay: .45s; } .hero-content > *:nth-child(4) { animation-delay: .6s; }
@keyframes hero-up { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.hero-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.75); border-radius: 20px; display: block; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scroll-dot 1.7s ease-in-out infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Scroll reveal (sections slide in from the sides) ---------- */
.js-reveal .rv { opacity: 0; transition: opacity .9s ease var(--d, 0s), transform .9s cubic-bezier(.22,1,.36,1) var(--d, 0s); will-change: transform, opacity; }
.js-reveal .rv-left  { transform: translateX(-90px); }
.js-reveal .rv-right { transform: translateX(90px); }
.js-reveal .rv-up    { transform: translateY(50px); }
.js-reveal .rv-zoom  { transform: scale(.88); }
.js-reveal .rv.in { opacity: 1; transform: none; }
@media (max-width: 720px) { .js-reveal .rv-left, .js-reveal .rv-right { transform: translateY(40px); } }
@media (prefers-reduced-motion: reduce) { .js-reveal .rv { opacity: 1 !important; transform: none !important; transition: none !important; } .hero-content > * { animation: none; opacity: 1; } }

/* ---------- Aesthetic polish ---------- */
.section-heading h2::after { content: ''; display: block; width: 64px; height: 4px; margin-top: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.section-heading.center h2::after { margin-left: auto; margin-right: auto; }
.section-heading .eyebrow i { font-size: 11px; }

section.bg-cream, section.bg-tint, section.bg-grey, section.bg-white { position: relative; isolation: isolate; overflow: hidden; }
section.bg-cream::before, section.bg-tint::before, section.bg-grey::before { content: ''; position: absolute; z-index: -1; top: -120px; right: -100px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(194,57,39,.10), transparent 68%); pointer-events: none; }
section.bg-cream::after, section.bg-tint::after, section.bg-grey::after { content: ''; position: absolute; z-index: -1; bottom: -140px; left: -110px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(27,69,128,.10), transparent 68%); pointer-events: none; }
section.bg-grey { background-image: radial-gradient(rgba(27,69,128,.075) 1.2px, transparent 1.4px); background-size: 22px 22px; }
section.bg-tint { background-image: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 40%); }
.gallery-section .carousel-item { border: 3px solid #fff; }
.doctor-card, .review-card, .story-card { border-radius: 20px; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.btn-primary:hover::after { left: 130%; }

/* =========================================================================
   HOME PAGE — sticky in-page navigation (Care Desk / Specialities / Doctors /
   Why Choose Us / Patient Stories / Blog / Reviews / Gallery). Same visual
   language and the same bug-fixed sticky behaviour as the service page's
   sub-nav (assets/css/service-page.css .sv-subnav) so scrolling feels
   identical across the site.
   ========================================================================= */
.hp-subnav {
    position: sticky; top: 0; z-index: 900;
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border); box-shadow: 0 2px 14px rgba(27,69,128,.06);
    transition: top .45s cubic-bezier(.22,1,.36,1);
}
.hp-subnav-inner { max-width: 1400px; margin: 0 auto; padding: 0 6%; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.hp-subnav-inner::-webkit-scrollbar { display: none; }
.hp-subnav a {
    position: relative; flex-shrink: 0; padding: 17px 16px; font-size: 14px; font-weight: 500; color: var(--text-muted); white-space: nowrap;
}
.hp-subnav a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.hp-subnav a:hover { color: var(--accent); }
.hp-subnav a:hover::after { transform: scaleX(.5); }
.hp-subnav a.active { color: var(--primary); font-weight: 600; }
.hp-subnav a.active::after { transform: scaleX(1); }

/* Anchors should land below the fixed header + sticky sub-nav, not tucked under them */
#patientCareDesk, #specialities, #doctors, #whyChoose, #stories, #blog, #reviews, #gallery {
    scroll-margin-top: 132px;
}

@media (max-width: 720px) {
    .hp-subnav a { padding: 14px 13px; font-size: 13px; }
}

/* =========================================================================
   INNER PAGES — richer hero banner (About / Services / Doctors / Blog /
   Gallery / Patient Stories / Contact / Search / single pages) so every
   page opens with the same premium feel as the service page's hero.
   ========================================================================= */
.page-banner {
    background:
        radial-gradient(circle at 90% 8%, rgba(194,57,39,.28), transparent 46%),
        radial-gradient(circle at 6% 92%, rgba(255,255,255,.10), transparent 40%),
        linear-gradient(120deg, rgba(27,69,128,.92) 0%, rgba(15,23,42,.85) 55%, rgba(194,57,39,.38) 100%), var(--text-dark);
}
.page-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 40px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px);
    color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .3px; margin-bottom: 16px;
}
.page-eyebrow i { color: var(--primary-light); }
.page-eyebrow.on-light { background: rgba(27,69,128,.08); border-color: rgba(27,69,128,.20); color: var(--accent); }
.page-eyebrow.on-light i { color: var(--primary); }
.page-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Quick-stat / quick-link strip that overlaps the bottom of a page banner —
   the site-wide version of the service page's .sv-quickbar. */
.pg-quickbar-wrap { max-width: 1400px; margin: -34px auto 0; padding: 0 6%; position: relative; z-index: 5; }
.pg-quickbar { display: grid; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); }
.pg-quickbar.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pg-quickbar.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pg-q {
    display: flex; align-items: center; gap: 14px; padding: 20px 22px; text-align: left; width: 100%;
    color: var(--text-dark); transition: var(--transition); border-left: 1px solid var(--border);
}
.pg-q:first-child { border-left: 0; }
.pg-q i { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 13px; background: rgba(194,57,39,.09); color: var(--primary); font-size: 17px; transition: var(--transition); }
.pg-q b { display: block; font-family: var(--heading-font); font-size: 20px; color: var(--accent); }
.pg-q span { display: block; font-size: 12.5px; color: var(--text-muted); }
.pg-q.pg-q-link { cursor: pointer; }
.pg-q.pg-q-link:hover { background: var(--primary); color: #fff; }
.pg-q.pg-q-link:hover b, .pg-q.pg-q-link:hover span { color: #fff; }
.pg-q.pg-q-link:hover i { background: #fff; color: var(--primary); }
.content-block.has-quickbar { padding-top: 46px; }

@media (max-width: 900px) {
    .pg-quickbar.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .pg-quickbar-wrap { margin-top: -24px; }
    .pg-quickbar.cols-3, .pg-quickbar.cols-4 { grid-template-columns: 1fr; }
    .pg-q { border-left: 0; border-top: 1px solid var(--border); padding: 16px 18px; }
    .pg-q:first-child { border-top: 0; }
}

/* Services listing page: reuse the homepage's .spec-pair card, add a search box */
.svc-search-wrap { max-width: 560px; margin: 0 auto 40px; position: relative; }
.svc-search-wrap i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.svc-search-wrap input {
    width: 100%; padding: 15px 20px 15px 48px; border: 1.5px solid var(--border); border-radius: 40px;
    font: 400 15px var(--body-font); color: var(--text-dark); background: #fff; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.svc-search-wrap input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(27,69,128,.12); }
.svc-empty { text-align: center; padding: 40px 20px; color: var(--text-muted); display: none; }
.svc-empty.show { display: block; }

/* =====================================================================
   WHATSAPP (side rail) + HERO EMBED (YouTube / Vimeo)
   ===================================================================== */
.rail-item.wa { background: #25D366; }
.rail-item.wa i { font-size: 18px; }
.rail-item.wa::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: wa-pulse 2.2s ease-out infinite; pointer-events: none; }
.rail-item.wa { position: relative; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); } 70%,100% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }

.hero-embed { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: var(--text-dark); }
.hero-embed iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.78vh; transform: translate(-50%, -50%); border: 0; }

/* =====================================================================
   CTA BANNER (includes/cta-banner.php) — gradient card, floating image on the right
   ===================================================================== */
.cta-wrap { padding: 90px 6% 70px; max-width: 1400px; margin: 0 auto; }
.cta-banner {
    position: relative; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 30px;
    padding: 62px 60px 62px 64px; border-radius: 28px; color: #fff;
    background:
        radial-gradient(circle at 92% 10%, rgba(226,96,76,.55), transparent 42%),
        radial-gradient(circle at 4% 100%, rgba(255,255,255,.10), transparent 40%),
        linear-gradient(120deg, #12335F 0%, var(--accent) 55%, #24528f 100%);
    box-shadow: 0 30px 70px -22px rgba(27,69,128,.6);
}
.cta-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-orb-1 { width: 260px; height: 260px; left: -90px; bottom: -110px; border: 2px solid rgba(255,255,255,.12); }
.cta-orb-2 { width: 120px; height: 120px; left: 46%; top: -46px; background: rgba(255,255,255,.06); }
.cta-ribbon { position: absolute; right: 44%; bottom: 22px; font-size: 92px; color: rgba(255,255,255,.05); transform: rotate(-14deg); pointer-events: none; }
.cta-banner-content { position: relative; z-index: 2; }
.cta-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 40px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); font-size: 12.5px; font-weight: 600; letter-spacing: .3px; margin-bottom: 18px; }
.cta-eyebrow i { color: var(--primary-light); }
.cta-banner h3 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.18; margin-bottom: 14px; }
.cta-banner-content > p { color: #DCE6F5; font-size: 16px; max-width: 540px; margin-bottom: 26px; }
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-btn-wa { background: #25D366; color: #fff; border: 0; box-shadow: 0 10px 24px -8px rgba(37,211,102,.7); }
.cta-btn-wa:hover { background: #1ebe5b; transform: translateY(-3px); color: #fff; }
.cta-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; font-size: 13.5px; color: #DCE6F5; }
.cta-points i { color: #7fe0a3; margin-right: 6px; }

.cta-visual { position: relative; z-index: 2; align-self: stretch; min-height: 320px; }
.cta-photo {
    position: absolute; right: 0; bottom: -62px; width: min(100%, 360px); height: calc(100% + 150px);
    border-radius: 200px 200px 26px 26px; overflow: hidden; border: 6px solid rgba(255,255,255,.95);
    box-shadow: 0 30px 60px -18px rgba(8,20,45,.65); background: #fff;
    animation: cta-float 5s ease-in-out infinite;
}
.cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; display: block; }
@keyframes cta-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.cta-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; background: #fff; color: var(--text-dark); padding: 10px 18px 10px 10px; border-radius: 60px; box-shadow: 0 16px 36px -10px rgba(8,20,45,.55); animation: cta-float 4.2s ease-in-out infinite; }
.cta-chip i { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.cta-chip small { display: block; font-size: 10.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .7px; line-height: 1.2; }
.cta-chip b { display: block; font-size: 14px; color: var(--accent); line-height: 1.25; white-space: nowrap; }
.cta-chip-call { left: -22px; bottom: 6px; animation-delay: .6s; }
.cta-chip-stat { right: 14px; top: -30px; animation-delay: 1.2s; }
.cta-chip-stat i { background: var(--accent); }

@media (max-width: 1000px) {
    .cta-banner { grid-template-columns: 1fr; padding: 46px 30px 0; }
    .cta-visual { min-height: 300px; margin-top: 10px; }
    .cta-chip-call { left: 6%; bottom: 20px; } .cta-chip-stat { right: 6%; top: 10px; }
    .cta-ribbon { display: none; }
}
@media (max-width: 560px) { .cta-wrap { padding: 60px 5% 50px; } .cta-chip-call { display: none; } }

/* =====================================================================
   SERVICES LISTING PAGE — fuller layout
   ===================================================================== */
.svc-page { padding-bottom: 80px; }
.svc-page .specialities-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-page .spec-square { aspect-ratio: 4 / 4.3; }
/* On this page the short description is always visible (no hover needed) */
.svc-page .spec-info { padding: 18px 18px 16px; }
.svc-page .spec-info h3 { font-size: 18px; }
.svc-page .spec-info p { max-height: 60px; opacity: .92; margin-top: 6px; -webkit-line-clamp: 2; }
.svc-page .spec-info .know-more { max-height: 30px; opacity: 1; margin-top: 10px; }
.svc-page .spec-square::after { background: linear-gradient(180deg, rgba(15,23,42,0) 25%, rgba(15,23,42,.92) 100%); }
.svc-page .spec-pair:hover .spec-info p { max-height: 60px; margin-top: 6px; }

.svp-inner { max-width: 1400px; margin: 0 auto; padding: 0 6%; }
.svp-band { background: var(--light-bg); padding: 80px 0; }
.svp-journey { padding: 80px 0 30px; }
.svp-band .section-heading, .svp-journey .section-heading { margin-bottom: 42px; }

.svp-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svp-pillar { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 34px 30px; box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; overflow: hidden; }
.svp-pillar::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.svp-pillar:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svp-pillar:hover::before { transform: scaleX(1); }
.svp-pillar-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(194,57,39,.09); color: var(--primary); font-size: 24px; margin-bottom: 20px; transition: var(--transition); }
.svp-pillar:hover .svp-pillar-ic { background: var(--primary); color: #fff; }
.svp-pillar h3 { font-size: 21px; margin-bottom: 10px; color: var(--accent); }
.svp-pillar p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

.svp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.svp-steps::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; border-top: 2px dashed rgba(27,69,128,.25); }
.svp-step { position: relative; text-align: center; padding: 0 8px; }
.svp-step > i { width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); color: var(--accent); display: grid; place-items: center; margin: 0 auto 18px; font-size: 24px; position: relative; z-index: 1; box-shadow: 0 0 0 8px #fff; transition: var(--transition); }
.svp-step:hover > i { background: var(--accent); color: #fff; transform: scale(1.08); }
.svp-step-no { position: absolute; top: -6px; left: calc(50% + 14px); z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 700; display: grid; place-items: center; }
.svp-step h4 { font-size: 18px; margin-bottom: 8px; color: var(--text-dark); }
.svp-step p { font-size: 14px; color: var(--text-muted); margin: 0; }

.svp-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.svp-faq-grid .section-heading { text-align: left; margin-bottom: 26px; }
.svp-help { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.svp-help > i { width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 19px; }
.svp-help div { flex: 1; min-width: 150px; } .svp-help b { display: block; color: var(--text-dark); } .svp-help span { font-size: 13px; color: var(--text-muted); }
.svp-faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; transition: var(--transition); }
.svp-faq details[open] { border-color: var(--primary); box-shadow: var(--shadow-md); }
.svp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; font-weight: 600; font-size: 15.5px; color: var(--text-dark); }
.svp-faq summary::-webkit-details-marker { display: none; }
.svp-faq summary i { font-size: 13px; color: var(--primary); transition: transform .3s ease; flex-shrink: 0; }
.svp-faq details[open] summary i { transform: rotate(180deg); }
.svp-faq details p { padding: 0 22px 20px; margin: 0; color: var(--text-muted); font-size: 14.5px; }

@media (max-width: 1100px) { .svc-page .specialities-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
    .svp-pillars { grid-template-columns: 1fr; }
    .svp-steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; } .svp-steps::before { display: none; }
    .svp-faq-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
    .svc-page .specialities-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .svc-page .spec-square { aspect-ratio: 1 / 1.15; }
    .svc-page .spec-info p { display: none; } .svc-page .spec-info .know-more { display: inline-flex; }
    .svp-band { padding: 56px 0; } .svp-journey { padding: 56px 0 10px; }
}
@media (max-width: 480px) { .svp-steps { grid-template-columns: 1fr; } }

/* =====================================================================
   CONTACT PAGE map section + FOOTER mini map
   ===================================================================== */
.pg-q-link { text-decoration: none; }
.pg-q .fa-whatsapp { background: rgba(37,211,102,.14); color: #1faa54; }
.pg-q.pg-q-link:hover .fa-whatsapp { background: #fff; color: #1faa54; }
.pg-q > span > span { line-height: 1.4; }
.ct-map-section { background: var(--light-bg); padding: 70px 6% 80px; }
.ct-map-inner { max-width: 1400px; margin: 0 auto; }
.ct-map-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.ct-map-head h2 { margin: 6px 0 8px; }
.ct-map-head p { margin: 0; color: var(--text-muted); }
.ct-map-head p i { color: var(--primary); margin-right: 6px; }
.ct-map-frame { border-radius: 22px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); background: #fff; }
.ct-map-frame iframe { width: 100%; height: 440px; border: 0; display: block; }

.footer-map { position: relative; margin-top: 16px; border-radius: 12px; overflow: hidden; border: 2px solid rgba(255,255,255,.22); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.footer-map iframe { width: 100%; height: 130px; border: 0; display: block; }
.footer-map-link { position: absolute; right: 8px; bottom: 8px; background: var(--primary); color: #fff !important; font-size: 11.5px; font-weight: 600; padding: 6px 12px; border-radius: 30px; display: inline-flex; gap: 6px; align-items: center; box-shadow: 0 6px 14px rgba(0,0,0,.35); transition: var(--transition); }
.footer-map-link:hover { background: var(--primary-dark); transform: translateY(-2px); }
@media (max-width: 720px) { .ct-map-frame iframe { height: 320px; } .ct-map-section { padding: 50px 5% 60px; } }

/* ---- Inner page hero banner: fully responsive (all inner pages share .page-banner) ---- */
.page-banner { min-height: clamp(240px, 30vw, 360px); background-size: cover; }
.page-banner h1 { line-height: 1.2; overflow-wrap: anywhere; }
.page-banner-intro { max-width: min(640px, 100%); }
@media (max-width: 900px) { .page-banner { padding: 160px 6% 44px; } }
@media (max-width: 720px) {
    .page-banner { padding: 132px 5% 34px; min-height: 230px; }
    .page-banner h1 { font-size: clamp(22px, 6.4vw, 28px); }
    .page-banner-intro { font-size: 14px; margin-top: 10px; }
    .page-banner .breadcrumb { font-size: 13px; }
    .page-eyebrow { font-size: 11.5px; padding: 6px 13px; margin-bottom: 12px; }
    .page-banner-actions { margin-top: 16px; }
    .page-banner-actions .btn { flex: 1 1 100%; justify-content: center; }
}
[data-count] { font-variant-numeric: tabular-nums; }

/* =========================================================================
   HOME HEADER (over the hero) — always readable on first load, not only after scroll
   ========================================================================= */
.site-header.header-home:not(.scrolled) {
    background: linear-gradient(180deg, rgba(10,24,48,.80) 0%, rgba(10,24,48,.42) 62%, rgba(10,24,48,0) 100%);
}
.site-header.header-home:not(.scrolled) .header-main {
    background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.site-header.header-home:not(.scrolled) .main-nav > ul > li > a { text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.site-header.header-home:not(.scrolled) .nav-logo .logo { background: transparent !important; box-shadow: none; }
.site-header.header-home:not(.scrolled) .nav-logo .logo-dark { display: none !important; }
.site-header.header-home:not(.scrolled) .nav-logo .logo-light { display: block !important; }

/* =========================================================================
   FOOTER — follow-us icons, language switch, developer credit
   ========================================================================= */
.footer-follow, .footer-lang { margin-top: 22px; }
.footer-mini-title { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: 11px; }
.footer-mini-title i { font-size: 13px; color: var(--primary-light); }
.footer-follow .footer-social { margin-top: 0; flex-wrap: wrap; gap: 10px; }
.footer-social a { width: 40px; height: 40px; font-size: 16px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.24); position: relative; overflow: hidden; }
.footer-social a:hover { color: #fff; transform: translateY(-5px) scale(1.06); }
.footer-social a.fs-wa:hover  { background: #25D366; border-color: #25D366; box-shadow: 0 8px 20px -4px rgba(37,211,102,.65); }
.footer-social a.fs-fb:hover  { background: #1877F2; border-color: #1877F2; box-shadow: 0 8px 20px -4px rgba(24,119,242,.65); }
.footer-social a.fs-ig:hover  { background: linear-gradient(45deg,#f09433,#dc2743 55%,#bc1888); border-color: #dc2743; box-shadow: 0 8px 20px -4px rgba(220,39,67,.6); }
.footer-social a.fs-x:hover   { background: #000; border-color: #000; box-shadow: 0 8px 20px -4px rgba(0,0,0,.6); }
.footer-social a.fs-yt:hover  { background: #FF0000; border-color: #FF0000; box-shadow: 0 8px 20px -4px rgba(255,0,0,.55); }
.footer-social a.fs-li:hover  { background: #0A66C2; border-color: #0A66C2; box-shadow: 0 8px 20px -4px rgba(10,102,194,.65); }
.footer-social a.fs-pin:hover { background: #E60023; border-color: #E60023; box-shadow: 0 8px 20px -4px rgba(230,0,35,.6); }

.lang-seg { display: inline-flex; padding: 4px; border-radius: 50px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.24); }
.lang-seg button { padding: 8px 20px; border-radius: 50px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.85); transition: background .3s ease, color .3s ease, box-shadow .3s ease; }
.lang-seg button:hover { color: #fff; background: rgba(255,255,255,.12); }
.lang-seg button.active { background: #fff; color: var(--accent); box-shadow: 0 6px 16px -6px rgba(0,0,0,.45); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; text-align: left; }
.footer-bottom p { margin: 0; }
.footer-bottom-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom .fb-credit a { color: #fff; font-weight: 600; border-bottom: 1px dashed rgba(255,255,255,.5); padding-bottom: 1px; transition: color .25s ease, border-color .25s ease; }
.footer-bottom .fb-credit a:hover { color: var(--primary-light); border-color: var(--primary-light); }
.footer-bottom .fb-admin { display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,.48); font-size: 11px; text-decoration: none; transition: color .2s ease; }
.footer-bottom .fb-admin:hover, .footer-bottom .fb-admin:focus-visible { color: #fff; }
.footer-bottom .fb-admin:focus-visible { outline: 2px solid var(--primary-light); outline-offset: 4px; }
@media (max-width: 720px) { .footer-bottom { justify-content: center; text-align: center; } .footer-bottom-meta { justify-content: center; } }

/* =========================================================================
   APPOINTMENT POPUP — redesigned (split card, icon fields, success state)
   ========================================================================= */
.modal-overlay {
    background: radial-gradient(circle at 30% 20%, rgba(27,69,128,.55), rgba(10,18,36,.82));
    -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
    transition: opacity .4s ease, visibility .4s ease;
}
.modal-box.appointment-modal {
    max-width: 920px; grid-template-columns: .92fr 1.08fr; border-radius: 26px; max-height: 92vh;
    transform: translateY(26px) scale(.96); opacity: 0;
    transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .4s ease;
    box-shadow: 0 40px 90px -20px rgba(0,0,0,.6);
}
.modal-overlay.active .modal-box.appointment-modal { transform: none; opacity: 1; }

.modal-image { position: relative; min-height: 560px; background: var(--accent); }
.modal-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mi-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,82,.25) 0%, rgba(15,42,82,.55) 45%, rgba(10,24,48,.94) 100%); }
.mi-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 30px 28px; color: #fff; display: flex; flex-direction: column; gap: 18px; }
.mi-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; letter-spacing: .4px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mi-badge i { font-size: 7px; color: #4ade80; animation: miPulse 1.6s ease-in-out infinite; }
@keyframes miPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(1.5); } }
.mi-points { display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; list-style: none; }
.mi-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; font-weight: 500; }
.mi-points li i { color: var(--primary-light); margin-top: 3px; font-size: 15px; flex-shrink: 0; }
.mi-call { display: flex; align-items: center; gap: 13px; padding: 13px 16px; border-radius: 16px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 13px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s ease, transform .3s ease; }
.mi-call:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.mi-call i { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.mi-call span { display: flex; flex-direction: column; line-height: 1.35; }
.mi-call b { font-size: 16px; letter-spacing: .3px; }

.modal-form { padding: 40px 38px 30px; background: linear-gradient(180deg, #fff 0%, #f7faff 100%); position: relative; }
.mf-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--primary); background: rgba(194,57,39,.08); padding: 6px 13px; border-radius: 50px; margin-bottom: 14px; }
.modal-form h3 { font-size: 27px; line-height: 1.2; color: var(--accent); margin: 0 0 8px; }
.modal-form .mf-sub { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
.modal-form form { display: flex; flex-direction: column; gap: 13px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.mf-field { position: relative; display: flex; align-items: center; background: #fff; border: 1.5px solid #dbe4f1; border-radius: 14px; transition: border-color .25s ease, box-shadow .25s ease; }
.mf-field > i { width: 46px; text-align: center; color: #8a97ab; font-size: 14px; flex-shrink: 0; transition: color .25s ease; }
.mf-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(27,69,128,.12); }
.mf-field:focus-within > i { color: var(--accent); }
.mf-field input, .mf-field select, .mf-field textarea { flex: 1; min-width: 0; width: 100%; border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 14px 14px 14px 0; font-size: 14.5px; outline: none; color: var(--text-dark); border-radius: 14px; }
.mf-field select { cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a97ab' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 16px center !important; padding-right: 38px; }
.mf-field textarea { resize: none; }
.mf-area { align-items: flex-start; }
.mf-area > i { margin-top: 16px; }
.mf-phone .mf-cc { font-size: 14.5px; font-weight: 600; color: var(--text-dark); padding-right: 10px; margin-right: 2px; border-right: 1.5px solid #dbe4f1; line-height: 1.2; margin-left: -6px; }
.mf-phone input { padding-left: 12px; }
.mf-field.invalid { border-color: #d93025; box-shadow: 0 0 0 4px rgba(217,48,37,.10); }
.modal-form .mf-error { margin: 0; font-size: 13px; color: #d93025; background: #fdecea; border-radius: 10px; padding: 10px 14px; }
.mf-submit { margin-top: 4px; padding: 15px 22px; font-size: 15.5px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border-radius: 14px; }
.mf-submit i { transition: transform .3s ease; }
.mf-submit:hover i { transform: translateX(5px); }
.mf-submit.loading { pointer-events: none; opacity: .85; }
.mf-submit.loading i { animation: mfSpin .8s linear infinite; }
.mf-submit.loading i::before { content: '\f110'; }
@keyframes mfSpin { to { transform: rotate(360deg); } }
.modal-form .mf-note { margin: 2px 0 0; text-align: center; font-size: 12px; color: #8a97ab; }
.mf-note i { margin-right: 4px; color: #2e9e5b; }

.mf-success { text-align: center; padding: 40px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mf-success[hidden], #apptFormWrap[hidden], .mf-error[hidden] { display: none; }
.mf-tick { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, #2e9e5b, #57c785); color: #fff; font-size: 34px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; box-shadow: 0 14px 30px -10px rgba(46,158,91,.7); animation: mfPop .6s cubic-bezier(.22,1,.36,1); }
@keyframes mfPop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.mf-success h3 { margin-bottom: 6px; }
.modal-form .mf-success p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 20px; max-width: 320px; }

.modal-close { top: 14px; right: 14px; width: 40px; height: 40px; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(0,0,0,.18); font-size: 15px; }

@media (max-width: 899px) { .modal-box.appointment-modal { max-width: 780px; } .modal-form { padding: 34px 28px 26px; } }
@media (max-width: 719px) {
    .modal-overlay { padding: 12px; align-items: flex-end; }
    .modal-box.appointment-modal { grid-template-columns: 1fr; border-radius: 22px; max-height: 94vh; overflow-y: auto; }
    .modal-image { display: none; }
    .modal-form { padding: 32px 20px 22px; }
    .modal-form h3 { font-size: 23px; }
    .modal-close { background: var(--light-gray); box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .modal-box.appointment-modal, .mi-badge i, .mf-tick { transition: none; animation: none; } }

/* =========================================================================
   FIXES — appointment popup fits every screen height, doctor buttons, gallery lightbox
   ========================================================================= */
/* ---- Popup: never taller than the screen; the form scrolls inside if needed ---- */
.modal-box.appointment-modal {
    max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px);
    grid-template-rows: minmax(0, 1fr);
}
.modal-image { min-height: 0; height: 100%; overflow: hidden; }
.modal-form { min-height: 0; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
@media (max-height: 800px) and (min-width: 720px) {
    .modal-form { padding: 28px 32px 20px; }
    .mf-eyebrow { margin-bottom: 10px; }
    .modal-form h3 { font-size: 24px; margin-bottom: 6px; }
    .modal-form .mf-sub { font-size: 13.5px; margin-bottom: 14px; }
    .modal-form form { gap: 10px; }
    .mf-field input, .mf-field select, .mf-field textarea { padding-top: 11px; padding-bottom: 11px; font-size: 14px; }
    .mf-area > i { margin-top: 13px; }
    .mf-submit { padding: 13px 20px; }
    .modal-form .mf-note { margin-top: 0; }
    .mi-content { padding: 20px 22px 20px; gap: 12px; }
    .mi-points { gap: 8px; }
    .mi-points li { font-size: 13.5px; }
    .mi-call { padding: 9px 12px; }
    .mi-call i { width: 34px; height: 34px; font-size: 13px; }
    .mi-call b { font-size: 14.5px; }
}
@media (max-height: 660px) and (min-width: 720px) {
    .mi-points li:nth-child(n+3) { display: none; }
    .modal-form .mf-sub, .modal-form .mf-note { display: none; }
    .mf-area textarea { min-height: 0; }
}
@media (max-height: 560px) and (min-width: 720px) {
    .mi-points { display: none; }
}

/* ---- Doctor cards: both buttons always fit ---- */
.doctor-actions { gap: 10px; align-items: stretch; }
.doctor-actions .btn { flex: 1 1 0; min-width: 0; padding: 12px 8px; font-size: 13px; white-space: normal; text-align: center; line-height: 1.25; justify-content: center; }
.doctor-card .doctor-actions .btn-primary { box-shadow: 0 4px 12px rgba(194,57,39,.28); }
@media (max-width: 420px) { .doctor-actions { flex-direction: column; } }

/* ---- Reviews carousel: soft edges ---- */
.reviews-track { scroll-padding-left: 4px; }

/* ---- Gallery: tap to open ---- */
.carousel-item[data-gal], .gal-hit { cursor: zoom-in; }
.carousel-item[data-gal]:focus-visible, .gal-hit:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.gal-hit { display: block; overflow: hidden; }
.gal-hit img { transition: transform .5s ease; }
.gal-hit:hover img { transform: scale(1.06); }
.gallery-full-item .gal-hit::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 13px; opacity: 0; transform: scale(.8); transition: opacity .3s ease, transform .3s ease; }
.gallery-full-item:hover .gal-hit::after { opacity: 1; transform: scale(1); }

.k-lightbox { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; background: rgba(6,12,24,.94); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.k-lightbox.open { opacity: 1; visibility: visible; }
.k-lb-stage { max-width: min(94vw, 1300px); max-height: 82vh; max-height: 82dvh; display: flex; align-items: center; justify-content: center; }
.k-lb-stage img, .k-lb-stage video { max-width: 100%; max-height: 82vh; max-height: 82dvh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #000; animation: kLbIn .35s ease; }
@keyframes kLbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.k-lb-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 70px 22px; text-align: center; color: #fff; font-size: 15px; font-weight: 500; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent); pointer-events: none; }
.k-lb-cap small { display: block; margin-top: 3px; font-size: 12px; opacity: .65; font-weight: 400; }
.k-lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 17px; display: flex; align-items: center; justify-content: center; transition: background .25s ease, transform .25s ease; z-index: 2; }
.k-lb-btn:hover { background: var(--primary); }
.k-lb-close { top: 18px; right: 18px; } .k-lb-close:hover { transform: rotate(90deg); }
.k-lb-prev { left: 18px; top: 50%; margin-top: -23px; } .k-lb-next { right: 18px; top: 50%; margin-top: -23px; }
@media (max-width: 720px) { .k-lb-prev, .k-lb-next { top: auto; bottom: 62px; margin-top: 0; } .k-lb-prev { left: 22%; } .k-lb-next { right: 22%; } .k-lb-cap { padding-bottom: 20px; } .k-lb-stage { max-height: 70vh; } .k-lb-stage img, .k-lb-stage video { max-height: 70vh; } }

/* Hero: sound on/off button (video is muted by default so browsers autoplay it) */
.hero-sound { position: absolute; right: 22px; bottom: 22px; z-index: 4; width: 46px; height: 46px; border-radius: 50%; background: rgba(15,23,42,.55); border: 1px solid rgba(255,255,255,.5); color: #fff; font-size: 17px; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(6px); transition: background .25s, transform .25s; }
.hero-sound:hover { background: var(--primary); transform: scale(1.08); }
@media (max-width: 600px) { .hero-sound { right: 14px; bottom: 14px; width: 40px; height: 40px; font-size: 15px; } }

/* ---- CTA banner: animated cancer-awareness ribbon (replaces the photo) ---- */
.cta-art { position: absolute; inset: -46px -8px -46px -8px; pointer-events: none; }
.cta-art svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 22px 26px rgba(8,20,45,.45)); }
.cta-art svg * { transform-box: fill-box; transform-origin: center; }
.cta-ribbon-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: drop-shadow(0 22px 24px rgba(8,20,45,.5)); }
.cta-rib-pop  { animation: rib-pop 1.3s cubic-bezier(.22,1,.36,1) both; }
.cta-rib-sway { transform-origin: 50% 88%; animation: rib-sway 6s ease-in-out 1.3s infinite; }
.cta-shine    { stroke-dasharray: 90 910; animation: rib-dash 3.6s linear infinite; }
.cta-halo     { animation: rib-halo 4.5s ease-out infinite; opacity: 0; }
.cta-halo.h2  { animation-delay: 1.5s; } .cta-halo.h3 { animation-delay: 3s; }
.cta-mini     { opacity: .95; }
.cta-mini.m1  { animation: rib-drift-a 5.5s ease-in-out infinite; }
.cta-mini.m2  { animation: rib-drift-b 6.5s ease-in-out .6s infinite; }
.cta-mini.m3  { animation: rib-drift-a 7s ease-in-out 1.1s infinite; }
.cta-mini.m4  { animation: rib-drift-b 5.8s ease-in-out .3s infinite; }
.cta-spark    { animation: rib-twinkle 2.8s ease-in-out infinite; opacity: 0; }
.cta-spark.s2 { animation-delay: .7s; } .cta-spark.s3 { animation-delay: 1.4s; } .cta-spark.s4 { animation-delay: 2.1s; }
@keyframes rib-pop   { from { opacity: 0; transform: scale(.55) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes rib-sway  { 0%,100% { transform: translateY(0) rotate(-4.5deg); } 50% { transform: translateY(-14px) rotate(4.5deg); } }
@keyframes rib-dash  { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1000; } }
@keyframes rib-halo  { 0% { transform: scale(.55); opacity: .5; } 100% { transform: scale(1.3); opacity: 0; } }
@keyframes rib-drift-a { 0%,100% { transform: translate(0,0) rotate(-14deg); } 50% { transform: translate(10px,-18px) rotate(10deg); } }
@keyframes rib-drift-b { 0%,100% { transform: translate(0,0) rotate(12deg); } 50% { transform: translate(-10px,-14px) rotate(-10deg); } }
@keyframes rib-twinkle { 0%,100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.15); } }
@media (max-width: 1000px) { .cta-art { inset: 0 0 0 0; } }
@media (prefers-reduced-motion: reduce) { .cta-art svg *, .cta-rib-pop, .cta-rib-sway { animation: none !important; } .cta-halo { opacity: .25; } .cta-spark { opacity: .8; } }

/* ---- Hero: dark overlay above the video so the text/search stays readable ---- */
.hero-section { --hero-dim: 9,18,38; }
.hero-overlay {
    background:
        radial-gradient(ellipse 80% 62% at 50% 80%, rgba(var(--hero-dim), .72) 0%, rgba(var(--hero-dim), 0) 100%),
        linear-gradient(180deg, rgba(var(--hero-dim), .62) 0%, rgba(var(--hero-dim), .40) 32%, rgba(var(--hero-dim), .56) 62%, rgba(var(--hero-dim), .88) 100%);
}
.hero-content p { text-shadow: 0 2px 14px rgba(0,0,0,.55); opacity: 1; }
.hero-content h1 { text-shadow: 0 4px 26px rgba(0,0,0,.65); }

/* ---- Footer + Contact: "Our other website" highlight card ---- */
.sister-site { margin-top: 22px; }
.sister-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; color: #fff; overflow: hidden;
    background: linear-gradient(120deg, rgba(194,57,39,.95), rgba(226,96,76,.92) 55%, rgba(232,71,122,.9));
    border: 1px solid rgba(255,255,255,.45); box-shadow: 0 14px 30px -12px rgba(194,57,39,.75), 0 0 0 0 rgba(226,96,76,.5);
    animation: sister-pulse 2.8s ease-out infinite; transition: transform .3s ease, box-shadow .3s ease; }
.sister-card::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: sister-shine 3.6s ease-in-out infinite; }
.sister-card:hover { transform: translateY(-4px); color: #fff; box-shadow: 0 20px 38px -12px rgba(194,57,39,.9); }
.sister-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 19px; }
.sister-text { min-width: 0; flex: 1; }
.sister-text small { display: block; font-size: 10.5px; letter-spacing: 1.3px; text-transform: uppercase; opacity: .9; }
.sister-text b { display: block; font-size: 16px; line-height: 1.25; color: #fff; }
.sister-text em { display: block; font-style: normal; font-size: 12px; opacity: .88; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sister-go { flex-shrink: 0; font-size: 15px; transition: transform .3s ease; }
.sister-card:hover .sister-go { transform: translate(4px,-4px); }
@keyframes sister-pulse { 0% { box-shadow: 0 14px 30px -12px rgba(194,57,39,.75), 0 0 0 0 rgba(226,96,76,.55); } 70%,100% { box-shadow: 0 14px 30px -12px rgba(194,57,39,.75), 0 0 0 12px rgba(226,96,76,0); } }
@keyframes sister-shine { 0%,55% { left: -60%; } 100% { left: 130%; } }
.contact-info-item.sister-item { grid-column: 1 / -1; }
.contact-info-item.sister-item i { color: var(--primary); }
.contact-info-item.sister-item a.sister-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 16px; border-radius: 40px; background: var(--primary); color: #fff; font-weight: 600; font-size: 14px; transition: transform .25s ease, box-shadow .25s ease; }
.contact-info-item.sister-item a.sister-link:hover { transform: translateY(-3px); box-shadow: 0 10px 22px -8px rgba(194,57,39,.7); color: #fff; }
@media (prefers-reduced-motion: reduce) { .sister-card, .sister-card::after, .rail-book { animation: none !important; } }

/* Footer: line under the logo */
.footer-tagline { margin: 16px 0 0; font-size: 17px; font-weight: 600; line-height: 1.45; color: #fff; max-width: 300px; }

/* Footer logo: no extra space below it, social icons right under */
.footer-logo-link { display: inline-block; line-height: 0; }
.footer-logo { display: block; height: auto; width: 230px; max-width: 100%; margin: 0; }
.footer-social.footer-social-top { margin-top: 16px; flex-wrap: wrap; gap: 10px; }
.about-col .sister-site { margin-top: 20px; }

/* Book an Appointment tab (right side): gentle up-down float */
.rail-book { animation: rail-bob 3s ease-in-out infinite; }
.rail-book:hover { animation-play-state: paused; }
@keyframes rail-bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* Services dropdown on the home page: links were white-on-white while the header sits over the hero video */
.site-header.header-home:not(.scrolled) .main-nav .mega-col a { color: var(--text-dark); text-shadow: none; background: transparent; }
.site-header.header-home:not(.scrolled) .main-nav .mega-col a:hover { color: var(--primary); background: rgba(194,57,39,.09); }
.mega-dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -26px; height: 26px; } /* keeps the menu open while the mouse moves down to it */


/* ===== Blog post body (written in the admin rich editor) ===== */
.blog-body { font-size: 16.5px; line-height: 1.85; color: var(--text-body); }
.blog-body h1, .blog-body h2, .blog-body h3, .blog-body h4, .blog-body h5, .blog-body h6 { color: var(--text-dark); line-height: 1.3; margin: 1.6em 0 .6em; font-family: 'El Messiri', serif; }
.blog-body h1 { font-size: 2rem; } .blog-body h2 { font-size: 1.6rem; } .blog-body h3 { font-size: 1.3rem; }
.blog-body h4 { font-size: 1.15rem; } .blog-body h5, .blog-body h6 { font-size: 1rem; }
.blog-body p { margin: 0 0 1.1em; }
.blog-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.blog-body ul, .blog-body ol { margin: 0 0 1.2em 1.4em; } .blog-body li { margin-bottom: .4em; }
.blog-body blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--primary); background: var(--light-bg); border-radius: 0 12px 12px 0; font-style: italic; }
.blog-body img { max-width: 100%; height: auto; border-radius: 14px; margin: 1em 0; display: block; }
.blog-body table { width: 100%; border-collapse: collapse; margin: 1.2em 0; } .blog-body th, .blog-body td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.blog-faqs { margin-top: 44px; } .blog-faqs h2 { margin-bottom: 16px; }
.sv-rich p { margin: 0 0 1em; } .sv-rich a { color: var(--primary); text-decoration: underline; } .sv-rich ul, .sv-rich ol { margin: 0 0 1em 1.3em; }


/* =====================================================================
   HOME: VIDEO TABS SHOWCASE
   ===================================================================== */
.vt-section { background: #fff; position: relative; }
.vt-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 3; box-shadow: 0 6px 24px -14px rgba(15,23,42,.25); overflow-x: auto; scrollbar-width: none; }
.vt-tabs::-webkit-scrollbar { display: none; }
.vt-tab { border: 0; background: #fff; cursor: pointer; text-align: left; padding: 22px 28px; display: flex; flex-direction: column; gap: 4px; position: relative; font-family: inherit; min-width: 190px; transition: background .35s ease, color .35s ease; }
.vt-tab strong { font-size: 17px; color: var(--text-dark); font-weight: 700; display: flex; align-items: center; gap: 10px; transition: all .35s ease; }
.vt-tab strong::before { content: ''; width: 0; height: 2px; background: #fff; transition: width .35s ease; }
.vt-tab small { font-size: 12.5px; color: var(--text-muted); transition: color .35s ease; }
.vt-tab:hover { background: var(--accent-light); }
.vt-tab.active { background: linear-gradient(135deg, var(--accent) 0%, #2a63b8 100%); }
.vt-tab.active strong, .vt-tab.active small { color: #fff; }
.vt-tab.active strong::before { width: 16px; }
.vt-tab.active::after { content: ''; position: absolute; left: 50%; bottom: -9px; margin-left: -9px; border: 9px solid transparent; border-top-color: #2a63b8; border-bottom: 0; }

.vt-stage { position: relative; min-height: 560px; background: var(--accent); overflow: hidden; }
.vt-panel { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; visibility: hidden; transform: scale(1.04); transition: opacity .7s ease, transform 1.2s ease, visibility 0s .7s; display: flex; align-items: center; }
.vt-panel.active { opacity: 1; visibility: visible; transform: scale(1); transition: opacity .7s ease, transform 1.2s ease; position: relative; min-height: 560px; }
.vt-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,51,95,.93) 0%, rgba(27,69,128,.82) 55%, rgba(27,69,128,.62) 100%); }
.vt-play { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); width: 76px; height: 76px; border-radius: 50%; border: 0; background: #fff; color: var(--accent); font-size: 24px; cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center; padding-left: 5px; box-shadow: 0 12px 34px rgba(0,0,0,.35); transition: transform .35s ease, background .35s ease, color .35s ease; }
.vt-play::before, .vt-play::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); animation: vt-ring 2.4s ease-out infinite; }
.vt-play::after { animation-delay: 1.2s; }
@keyframes vt-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.vt-play:hover { transform: translateX(-50%) scale(1.1); background: var(--primary); color: #fff; }
.vt-content { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 150px 6% 70px; display: grid; grid-template-columns: 330px 1fr; gap: 56px; align-items: start; }
.vt-left h2 { color: #fff; font-size: 34px; display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.vt-line { flex: 1; height: 2px; background: rgba(255,255,255,.55); min-width: 30px; transform-origin: left; }
.vt-thumb { border-radius: 10px; overflow: hidden; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 18px 40px -12px rgba(0,0,0,.5); aspect-ratio: 16/10; }
.vt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vt-thumb:hover img { transform: scale(1.1); }
.vt-right p { color: rgba(255,255,255,.92); font-size: 15px; line-height: 1.85; margin-bottom: 16px; text-align: justify; }
.vt-btn { display: inline-flex; align-items: center; gap: 10px; background: #4a90e2; color: #fff; padding: 13px 26px; font-weight: 600; font-size: 14px; border-radius: 4px; transition: all .3s ease; }
.vt-btn i { transition: transform .3s ease; }
.vt-btn:hover { background: var(--primary); transform: translateY(-3px); box-shadow: 0 14px 28px -10px rgba(194,57,39,.6); }
.vt-btn:hover i { transform: translateX(6px); }
.vt-panel.active .vt-left, .vt-panel.active .vt-right > * { animation: vt-up .8s cubic-bezier(.22,1,.36,1) both; }
.vt-panel.active .vt-right > *:nth-child(2) { animation-delay: .1s; } .vt-panel.active .vt-right > *:nth-child(3) { animation-delay: .2s; }
.vt-panel.active .vt-line { animation: vt-line 1s .3s ease both; }
@keyframes vt-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes vt-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.vt-modal { position: fixed; inset: 0; background: rgba(8,15,30,.92); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.vt-modal.open { display: flex; }
.vt-modal-box { width: min(960px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; }
.vt-modal-box iframe, .vt-modal-box video { width: 100%; height: 100%; border: 0; }
.vt-modal-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 18px; cursor: pointer; transition: transform .3s; }
.vt-modal-close:hover { transform: rotate(90deg); background: var(--primary); color: #fff; }

@media (max-width: 900px) {
    .vt-tab { padding: 16px 18px; min-width: 165px; } .vt-tab strong { font-size: 15px; }
    .vt-content { grid-template-columns: 1fr; gap: 26px; padding: 140px 6% 50px; }
    .vt-thumb { max-width: 340px; } .vt-left h2 { font-size: 28px; } .vt-right p { text-align: left; }
}

/* =====================================================================
   HOME: HIGHLIGHT PANELS  (hover: photo reveals, panel lifts, icon spins)
   ===================================================================== */
.hl-section { padding: 0; background: #fff; }
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.hl-grid.hl-count-1 { grid-template-columns: 1fr; } .hl-grid.hl-count-2 { grid-template-columns: repeat(2, 1fr); } .hl-grid.hl-count-4 { grid-template-columns: repeat(4, 1fr); }
.hl-card { position: relative; overflow: hidden; color: #fff; min-height: 470px; display: flex; align-items: center; padding: 60px 40px; outline: none; isolation: isolate; transition: flex .4s ease; }
.hl-red { background: #c44030; } .hl-blue { background: #1a4a9c; }
.hl-bg { position: absolute; inset: -6%; background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity .6s ease, transform 1.4s ease; z-index: -2; }
.hl-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: inherit; opacity: 1; transition: opacity .6s ease; }
.hl-red::before { background: linear-gradient(160deg, rgba(196,64,48,.96), rgba(150,38,26,.9)); }
.hl-blue::before { background: linear-gradient(160deg, rgba(26,74,156,.95), rgba(18,51,110,.92)); }
.hl-card::after { content: ''; position: absolute; left: 0; bottom: 0; height: 5px; width: 0; background: #fff; transition: width .6s cubic-bezier(.22,1,.36,1); }
.hl-inner { position: relative; text-align: center; width: 100%; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.hl-icon { width: 92px; height: 92px; margin: 0 auto 30px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; font-size: 34px; transition: all .6s cubic-bezier(.22,1,.36,1); box-shadow: 0 0 0 0 rgba(255,255,255,.35); }
.hl-card h3 { color: #fff; font-size: 24px; margin-bottom: 18px; transition: letter-spacing .4s ease; }
.hl-card p { color: rgba(255,255,255,.92); font-size: 14.5px; line-height: 1.9; text-align: justify; transition: color .4s; }
.hl-card:hover::before, .hl-card:focus-visible::before { opacity: .78; }
.hl-card:hover .hl-bg, .hl-card:focus-visible .hl-bg { opacity: 1; transform: scale(1); }
.hl-card:hover::after, .hl-card:focus-visible::after { width: 100%; }
.hl-card:hover .hl-inner { transform: translateY(-10px); }
.hl-card:hover .hl-icon { background: #fff; color: var(--primary); transform: rotateY(360deg) scale(1.1); box-shadow: 0 0 0 14px rgba(255,255,255,.16); }
.hl-blue:hover .hl-icon { color: var(--accent); }
.hl-card:hover h3 { letter-spacing: .6px; }
@media (max-width: 960px) { .hl-grid, .hl-grid.hl-count-4 { grid-template-columns: 1fr; } .hl-card { min-height: 0; padding: 50px 6%; } }

/* =====================================================================
   HOME: EXPERTISE (left, solid panel)  +  APPOINTMENT FORM (right, photo)
   ===================================================================== */
.xp-section { display: grid; grid-template-columns: 1fr 1fr; padding: 0; max-width: none; width: 100%; margin: 0; background: #f4f6fa; }
.xp-left { background: #f4f6fa; display: flex; align-items: center; padding: 90px 5% 90px max(6%, calc((100vw - 1300px) / 2)); }
.xp-left-in { width: 100%; max-width: 580px; margin-left: auto; }
.xp-left h2, .xp-left h3 { font-size: 36px; color: var(--text-dark); margin: 10px 0 8px; display: flex; align-items: center; gap: 14px; }
.xp-left h2::after, .xp-left h3::after { content: ''; width: 70px; height: 3px; background: linear-gradient(90deg, var(--primary), transparent); border-radius: 3px; }
.xp-sub { color: var(--text-muted); font-size: 14.5px; margin-bottom: 26px; max-width: 480px; }
.xp-list { display: flex; flex-direction: column; gap: 10px; }
.xp-item { display: flex; gap: 20px; align-items: flex-start; padding: 20px 22px; border-radius: 16px; background: transparent; border: 1px solid transparent; position: relative; overflow: hidden; transition: all .45s cubic-bezier(.22,1,.36,1); }
.xp-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--primary), var(--accent)); transform: scaleY(0); transition: transform .45s ease; }
.xp-ic { flex: 0 0 66px; height: 66px; border-radius: 50%; background: #dcebff; display: flex; align-items: center; justify-content: center; transition: all .45s ease; }
.xp-ic i { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #2a63b8); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: all .45s ease; }
.xp-txt h4 { font-size: 18px; color: var(--text-dark); margin-bottom: 6px; transition: color .3s; }
.xp-txt p { font-size: 14px; color: #55627a; line-height: 1.7; margin-bottom: 10px; }
.xp-more { font-size: 13.5px; font-weight: 600; color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }
.xp-more i { transition: transform .35s ease; }
.xp-item:hover { background: #fff; border-color: var(--border); box-shadow: 0 22px 44px -22px rgba(27,69,128,.4); transform: translateX(10px); }
.xp-item:hover::before { transform: scaleY(1); }
.xp-item:hover .xp-ic { background: var(--primary); transform: scale(1.08) rotate(-6deg); }
.xp-item:hover .xp-ic i { background: #fff; color: var(--primary); transform: rotate(360deg); }
.xp-item:hover h4 { color: var(--primary); }
.xp-item:hover .xp-more i { transform: translateX(8px); }

/* right: photo + colour wash, form card stretches to fill the whole panel */
.xp-right { position: relative; display: flex; padding: 50px max(5%, calc((100vw - 1300px) / 2)) 50px 5%; background-size: cover; background-position: center; isolation: isolate; }
.xp-right-ov { position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, rgba(150,38,26,.86) 0%, rgba(27,69,128,.92) 100%); }
.xp-form { flex: 1; width: 100%; max-width: 640px; display: flex; flex-direction: column; color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 24px; padding: 40px 38px 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.xp-form-head { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.xp-badge { flex: 0 0 60px; height: 60px; border-radius: 18px; background: #fff; color: var(--primary); display: grid; place-items: center; font-size: 24px; box-shadow: 0 12px 26px -8px rgba(0,0,0,.4); }
.xp-form h2, .xp-form h3, .xp-form h4 { color: #fff; font-size: 32px; line-height: 1.15; margin: 0 0 4px; }
.xp-note { color: #d6e4ff; font-size: 13.5px; margin: 0; }
.xp-emg { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 50px; padding: 7px 18px 7px 8px; margin-bottom: 22px; font-size: 14px; transition: background .3s, transform .3s; }
.xp-emg span { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; font-size: 13px; animation: xp-ring 2s infinite; }
.xp-emg em { font-style: normal; opacity: .9; } .xp-emg b { font-weight: 700; }
.xp-emg:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }
@keyframes xp-ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
.xp-flash { background: #e7f7ec; color: #17603a; border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.xp-form form { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.xp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.xp-f { position: relative; display: block; }
.xp-f > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #7d8aa3; font-size: 14px; pointer-events: none; z-index: 1; transition: color .3s; }
.xp-f-area > i { top: 22px; transform: none; }
.xp-form input:not([type=hidden]), .xp-form select, .xp-form textarea { width: 100%; background: #fff; border: 2px solid transparent; border-radius: 12px; padding: 18px 16px 18px 44px; font-size: 14.5px; color: var(--text-dark); font-family: inherit; transition: border-color .3s, box-shadow .3s, transform .3s; appearance: none; -webkit-appearance: none; }
.xp-form select { background-image: linear-gradient(45deg, transparent 50%, #7d8aa3 50%), linear-gradient(135deg, #7d8aa3 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.xp-form textarea { resize: none; min-height: 150px; flex: 1; padding-top: 18px; }
.xp-f-area { flex: 1; display: flex; }
.xp-f-area textarea { height: 100%; }
.xp-form input:focus, .xp-form select:focus, .xp-form textarea:focus { outline: none; border-color: #4a90e2; box-shadow: 0 0 0 4px rgba(74,144,226,.35); transform: translateY(-2px); }
.xp-f:focus-within > i { color: #2a63b8; }
.xp-submit { display: flex; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(135deg, #4a90e2, #2a63b8); color: #fff; border: 0; padding: 19px; font-size: 14px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer; border-radius: 12px; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); }
.xp-submit::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--primary), var(--primary-light)); opacity: 0; transition: opacity .35s; }
.xp-submit > * { position: relative; }
.xp-submit i { transition: transform .3s; }
.xp-submit:hover { transform: translateY(-3px); box-shadow: 0 22px 36px -12px rgba(0,0,0,.6); }
.xp-submit:hover::before { opacity: 1; } .xp-submit:hover i { transform: translateX(6px); }
.xp-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.22); font-size: 12.5px; color: #dbe7ff; }
.xp-trust i { color: #ffb3a8; margin-right: 6px; }
@media (max-width: 960px) {
    .xp-section { grid-template-columns: 1fr; }
    .xp-left { padding: 60px 6%; } .xp-left-in { max-width: 100%; }
    .xp-right { padding: 44px 5%; } .xp-form { max-width: 100%; padding: 30px 22px 24px; }
    .xp-item:hover { transform: none; }
}
@media (max-width: 520px) { .xp-row { grid-template-columns: 1fr; } .xp-left h2, .xp-left h3 { font-size: 28px; } .xp-form h2, .xp-form h3, .xp-form h4 { font-size: 26px; } }

/* =====================================================================
   SERVICES PAGE: FOUNDER MESSAGE + NEWSLETTER
   ===================================================================== */
.fd-band { background: #fff; padding: 0; overflow: hidden; }
.fd-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 1400px; margin: 0 auto; }
.fd-photo { position: relative; min-height: 380px; overflow: hidden; }
.fd-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s ease; }
.fd-photo:hover img { transform: scale(1.06); }
.fd-photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(transparent, rgba(27,69,128,.35)); }
.fd-quote { padding: 60px 9%; display: flex; flex-direction: column; justify-content: center; position: relative; }
.fd-mark { font-size: 90px; line-height: .8; color: #b8975f; font-family: Georgia, serif; height: 56px; }
.fd-quote blockquote { font-size: 19px; line-height: 1.75; color: var(--text-body); margin: 8px 0 26px; }
.fd-name { display: flex; align-items: center; gap: 16px; font-size: 20px; font-weight: 700; color: var(--text-dark); }
.fd-name::after { content: ''; width: 48px; height: 3px; background: var(--primary); border-radius: 3px; transition: width .4s ease; }
.fd-inner:hover .fd-name::after { width: 90px; }
.fd-role { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

.nl-band { background: linear-gradient(115deg, #1B4580 0%, #2560c4 55%, #1a4a9c 100%); padding: 60px 5%; position: relative; overflow: hidden; }
.nl-band::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -100px; top: -160px; background: rgba(255,255,255,.07); }
.nl-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.nl-inner h3, .nl-inner h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.nl-inner p { color: #cfe0ff; font-size: 14.5px; line-height: 1.8; }
.nl-form { display: flex; }
.nl-form input[type=email] { flex: 1; min-width: 0; border: 0; background: #f6f7f9; padding: 18px 20px; font-size: 14px; font-family: inherit; border-radius: 4px 0 0 4px; }
.nl-form input:focus { outline: none; box-shadow: inset 0 0 0 2px #4a90e2; }
.nl-form button { border: 0; background: #C23927; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 0 32px; cursor: pointer; border-radius: 0 4px 4px 0; transition: background .3s; }
.nl-form button:hover { background: #1B4580; }
.nl-msg { margin-top: 12px; font-size: 13.5px; font-weight: 600; min-height: 20px; color: #fff; }
.nl-msg.err { color: #ffd0c9; }
@media (max-width: 860px) { .fd-inner, .nl-inner { grid-template-columns: 1fr; gap: 26px; } .fd-photo { min-height: 300px; } .fd-quote { padding: 40px 6%; } }
@media (max-width: 480px) { .nl-form { flex-direction: column; gap: 10px; } .nl-form input[type=email], .nl-form button { border-radius: 4px; padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .vt-play::before, .vt-play::after, .vt-panel.active * { animation: none !important; } }


/* ===== FIX: full-width sections (global `section{max-width:1400px;padding:80px 6%}` was boxing them in) ===== */
.vt-section, .hl-section, .fd-band, .nl-band { max-width: none; width: 100%; margin-left: 0; margin-right: 0; }
.vt-section, .hl-section, .fd-band { padding: 0; }
.vt-tabs { width: 100%; }
.vt-content { max-width: 1400px; }

/* ===== Reviews carousel: continuous auto-slide (never stops on hover) ===== */
.reviews-section .reviews-carousel { overflow: hidden; }
.reviews-track { overflow: visible; scroll-snap-type: none; scroll-behavior: auto; padding: 16px 4px 26px; transition: transform .8s cubic-bezier(.22,1,.36,1); will-change: transform; touch-action: pan-y; }
.reviews-track.rc-jump { transition: none !important; }
.reviews-track .review-card { scroll-snap-align: none; }

/* footer about text (Site Settings → Footer) */
.footer-about-text { color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.8; margin: 14px 0 16px; max-width: 340px; }

/* Karuna logo badge in the top-right corner of blog images (home page cards; blog pages use blog.css) */
.bl-mark { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(255,255,255,.95); border-radius: 12px; padding: 6px 10px; box-shadow: 0 6px 18px rgba(0,0,0,.22); display: flex; align-items: center; }
.bl-mark img { height: 26px; width: auto; max-width: 92px; object-fit: contain; display: block; }
.blog-feature .bl-mark { top: 16px; right: 16px; padding: 8px 13px; } .blog-feature .bl-mark img { height: 32px; max-width: 116px; }
.bl-thumb { position: relative; width: 100px; height: 100px; flex-shrink: 0; border-radius: 10px; overflow: hidden; display: block; }
.bl-thumb > img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.bl-thumb .bl-mark { top: 5px; right: 5px; padding: 3px 5px; border-radius: 7px; } .bl-thumb .bl-mark img { height: 13px; max-width: 46px; }
.bl-date { display: block; font-size: 12px; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; } .bl-date i { color: var(--primary); margin-right: 3px; }
.blog-feature-overlay .bl-date { color: rgba(255,255,255,.85); margin-bottom: 10px; } .blog-feature-overlay .bl-date i { color: #ffb4a8; }
.blog-side-card .bl-mark img, .blog-feature .bl-mark img { width: auto; border-radius: 0; flex-shrink: 1; }
.blog-side-card .bl-thumb .bl-mark img { height: 13px; max-width: 46px; }

/* ---- Home blog cards: keep the logo badge small (was inheriting .blog-side-card img sizing) ---- */
.blog-side-card .bl-thumb .bl-mark { top: 5px; right: 5px; padding: 2px 4px; border-radius: 6px; width: auto; height: auto; max-width: 52px; }
.blog-side-card .bl-thumb .bl-mark img { width: auto; height: 11px; min-height: 0; max-height: 11px; max-width: 42px; border-radius: 0; object-fit: contain; }
.blog-feature .bl-mark img { min-height: 0; max-height: 32px; }
@media (max-width: 600px) { .blog-feature .bl-mark img { height: 26px; max-height: 26px; max-width: 96px; } .blog-feature .bl-mark { padding: 6px 10px; } }
