﻿/* ============================================================
   Jayhealth Medical Clinic – Premium Design System
   ============================================================ */

/* ---------- Google Fonts (extra weights) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Merriweather:wght@400;700;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --blue-1:      #0A2463;
    --blue-2:      #1B5E9B;
    --blue-3:      #2980B9;
    --blue-4:      #56B4E9;
    --green-1:     #0D6B3A;
    --green-2:     #1e8449;
    --green-3:     #27ae60;
    --teal:        #00B4A6;
    --purple:      #7B2FBE;
    --light-bg:    #EBF5FF;
    --light-bg2:   #F0FDF9;
    --dark:        #0D1B2A;
    --dark-card:   #131F30;
    --text:        #1A2636;
    --text-muted:  #6c7a89;
    --border:      #dce8f5;
    --white:       #ffffff;
    --grad-main:   linear-gradient(135deg,#0A2463 0%,#1B5E9B 50%,#00B4A6 100%);
    --grad-hero:   linear-gradient(140deg,#0A2463 0%,#1B5E9B 45%,#2980B9 75%,#00B4A6 100%);
    --grad-green:  linear-gradient(135deg,#0D6B3A,#27ae60);
    --grad-warm:   linear-gradient(135deg,#1B5E9B,#7B2FBE);
    --grad-card:   linear-gradient(135deg,rgba(27,94,155,.06),rgba(0,180,166,.08));
    --shadow-sm:   0 2px 12px rgba(27,94,155,.10);
    --shadow-md:   0 8px 32px rgba(27,94,155,.14);
    --shadow-lg:   0 20px 60px rgba(10,36,99,.18);
    --shadow-glow: 0 0 40px rgba(27,94,155,.25);
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   20px;
    --radius-xl:   28px;
    --t:           .3s cubic-bezier(.4,0,.2,1);
}

/* ---------- Base Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: #fff;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Merriweather', serif; line-height: 1.25; }
a { color: var(--blue-2); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--blue-1); }
img { max-width: 100%; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5fb; }
::-webkit-scrollbar-thumb { background: var(--blue-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-2); }

/* ---------- Keyframe Animations ---------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideRight {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideLeft {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(.85); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes floatY {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-18px); }
}
@keyframes floatX {
    0%,100% { transform: translateX(0); }
    50%      { transform: translateX(12px); }
}
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes pulseRing {
    0%   { box-shadow: 0 0 0 0 rgba(27,94,155,.45); }
    70%  { box-shadow: 0 0 0 16px rgba(27,94,155,0); }
    100% { box-shadow: 0 0 0 0 rgba(27,94,155,0); }
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}
@keyframes blobMorph {
    0%,100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25%      { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50%      { border-radius: 50% 50% 30% 60% / 30% 60% 70% 50%; }
    75%      { border-radius: 70% 30% 50% 50% / 40% 70% 30% 60%; }
}
@keyframes heartbeat {
    0%,100% { transform: scale(1); }
    14%      { transform: scale(1.18); }
    28%      { transform: scale(1); }
    42%      { transform: scale(1.12); }
    70%      { transform: scale(1); }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes lineGrow {
    from { width: 0; }
    to   { width: 64px; }
}
@keyframes particleDrift {
    0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: .6; }
    33%  { transform: translateY(-60px) translateX(30px) rotate(120deg); opacity: 1; }
    66%  { transform: translateY(-20px) translateX(-20px) rotate(240deg); opacity: .8; }
    100% { transform: translateY(0) translateX(0) rotate(360deg); opacity: .6; }
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity .7s var(--t), transform .7s var(--t); }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity .7s var(--t), transform .7s var(--t); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(.88); transition: opacity .6s var(--t), transform .6s var(--t); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }
.delay-6 { transition-delay: .6s !important; }

/* ---------- Top Bar ---------- */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,.7);
    font-size: .8rem;
    padding: .5rem 0;
    border-bottom: 1px solid rgba(27,94,155,.3);
}
.top-bar a { color: rgba(255,255,255,.7); transition: color var(--t); }
.top-bar a:hover { color: #fff; }
.top-bar .top-bar-pill {
    background: rgba(27,94,155,.35);
    border: 1px solid rgba(27,94,155,.45);
    border-radius: 50px;
    padding: .2rem .8rem;
    font-size: .75rem;
    color: var(--blue-4);
    font-weight: 600;
    letter-spacing: .5px;
}

/* ---------- Navbar ---------- */
#mainNav {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(220,232,245,.6);
    transition: box-shadow var(--t), background var(--t);
    z-index: 1040;
}
#mainNav.scrolled {
    box-shadow: 0 4px 32px rgba(10,36,99,.12);
    background: rgba(255,255,255,.98);
}
#mainNav .nav-link {
    font-weight: 500;
    font-size: .92rem;
    color: #3a4a5c;
    padding: .5rem .85rem;
    border-radius: var(--radius-sm);
    position: relative;
    transition: color var(--t), background var(--t);
}
#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%; right: 50%;
    height: 2px;
    background: var(--grad-main);
    border-radius: 2px;
    transition: left var(--t), right var(--t);
}
#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after { left: .85rem; right: .85rem; }
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: var(--blue-2); background: var(--light-bg); }
.brand-name {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -.2px;
}
.logo-img { border-radius: var(--radius-sm); }

/* ---------- Buttons ---------- */
.btn {
    font-weight: 600;
    border-radius: var(--radius-sm);
    letter-spacing: .3px;
    transition: all var(--t);
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background var(--t);
}
.btn:hover::before { background: rgba(255,255,255,.12); }
.btn-primary {
    background: var(--grad-main);
    background-size: 200% 200%;
    border: none;
    box-shadow: 0 4px 18px rgba(27,94,155,.35);
    animation: gradientShift 5s ease infinite;
}
.btn-primary:hover {
    box-shadow: 0 6px 28px rgba(27,94,155,.5);
    transform: translateY(-2px);
    background: var(--grad-main);
    border: none;
}
.btn-primary:active { transform: translateY(0); }
.btn-outline-primary {
    color: var(--blue-2);
    border: 2px solid var(--blue-2);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--blue-2);
    border-color: var(--blue-2);
    color: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.btn-success {
    background: var(--grad-green);
    border: none;
    box-shadow: 0 4px 18px rgba(30,132,73,.3);
}
.btn-success:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(30,132,73,.4); }
.btn-white {
    background: #fff;
    color: var(--blue-2);
    border: none;
    box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; border-radius: var(--radius-md); }
.btn-pill { border-radius: 50px !important; }
.btn-pulse { animation: pulseRing 2.5s ease infinite; }

/* ---------- Section Helpers ---------- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg,rgba(27,94,155,.1),rgba(0,180,166,.1));
    border: 1px solid rgba(27,94,155,.2);
    color: var(--blue-2);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: .4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.section-tag i { font-size: .9rem; color: var(--teal); }
.section-title {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: var(--dark);
    margin-bottom: .85rem;
    position: relative;
}
.section-title .gradient-text {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-title::after {
    content: '';
    display: block;
    height: 4px;
    width: 0;
    background: var(--grad-main);
    border-radius: 2px;
    margin: .75rem 0 0;
    transition: width .8s cubic-bezier(.4,0,.2,1);
}
.section-title.visible::after { width: 64px; }
.section-title.text-center::after { margin-left: auto; margin-right: auto; }
.section-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2.75rem;
    line-height: 1.7;
}

/* ---------- HERO ---------- */
.hero-section {
    background: var(--grad-hero);
    background-size: 300% 300%;
    animation: gradientShift 12s ease infinite;
    padding: 110px 0 90px;
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* Floating orbs */
.hero-section .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
.hero-section .orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle,rgba(0,180,166,.25),transparent 70%);
    top: -100px; right: -100px;
    animation: floatY 9s ease-in-out infinite;
}
.hero-section .orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle,rgba(123,47,190,.2),transparent 70%);
    bottom: -120px; left: -80px;
    animation: floatY 11s ease-in-out infinite reverse;
}
.hero-section .orb-3 {
    width: 250px; height: 250px;
    background: radial-gradient(circle,rgba(86,180,233,.3),transparent 70%);
    top: 30%; left: 45%;
    animation: floatX 7s ease-in-out infinite;
}
/* Particle dots */
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-particles span {
    position: absolute;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    animation: particleDrift 8s ease-in-out infinite;
}
.hero-particles span:nth-child(1)  { top:15%; left:10%; animation-delay:0s;    animation-duration:10s; }
.hero-particles span:nth-child(2)  { top:65%; left:25%; animation-delay:1.5s;  animation-duration:8s;  }
.hero-particles span:nth-child(3)  { top:30%; left:70%; animation-delay:3s;    animation-duration:11s; }
.hero-particles span:nth-child(4)  { top:75%; left:80%; animation-delay:2s;    animation-duration:9s;  }
.hero-particles span:nth-child(5)  { top:50%; left:50%; animation-delay:.5s;   animation-duration:7s;  }
.hero-particles span:nth-child(6)  { top:10%; left:85%; animation-delay:4s;    animation-duration:12s; }
.hero-particles span:nth-child(7)  { top:85%; left:5%;  animation-delay:2.5s;  animation-duration:9s;  }
.hero-particles span:nth-child(8)  { top:40%; left:35%; animation-delay:1s;    animation-duration:10s; }

.hero-section > .container { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: .5rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: fadeIn .8s ease forwards;
}
.hero-badge i { color: var(--blue-4); animation: heartbeat 2s ease infinite; }
.hero-section h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,.2);
    animation: fadeUp .9s .2s ease both;
}
.hero-section h1 .highlight {
    background: linear-gradient(90deg,#fff,var(--blue-4),#fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}
.hero-section .lead {
    font-size: 1.1rem;
    opacity: .9;
    line-height: 1.7;
    animation: fadeUp .9s .35s ease both;
}
.hero-actions { animation: fadeUp .9s .5s ease both; }
.hero-stats {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--radius-lg);
    padding: 1.35rem 2rem;
    backdrop-filter: blur(14px);
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    animation: fadeUp .9s .65s ease both;
    margin-top: 2rem;
}
.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(90deg,#fff,var(--blue-4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label { font-size: .75rem; opacity: .75; margin-top: .2rem; letter-spacing: .5px; }
.hero-card {
    background: rgba(255,255,255,.97);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.15);
    color: #333;
    animation: scaleIn .9s .3s ease both;
    position: relative;
    overflow: hidden;
}
.hero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-main);
}
.hero-card h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.hero-card h4::before {
    content: '';
    width: 4px; height: 20px;
    background: var(--grad-main);
    border-radius: 2px;
    display: inline-block;
}

/* ---------- Services ---------- */
.services-section { padding: 90px 0; background: #fff; }
.service-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all .4s cubic-bezier(.4,0,.2,1);
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-card);
    opacity: 0;
    transition: opacity var(--t);
    z-index: 0;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scaleX(1); }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg,var(--light-bg),rgba(0,180,166,.1));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--blue-2);
    margin-bottom: 1.35rem;
    transition: all .4s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 4px 16px rgba(27,94,155,.1);
}
.service-card:hover .service-icon {
    background: var(--grad-main);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 28px rgba(27,94,155,.3);
}
.service-card h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: .6rem;
}
.service-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ---------- Why Us / Features ---------- */
.why-us-section {
    background: linear-gradient(160deg, #f8faff 0%, #f0fdf9 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.why-us-section::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle,rgba(27,94,155,.06),transparent 70%);
    top: -200px; right: -200px;
    pointer-events: none;
}
.feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: all var(--t);
    border: 1px solid transparent;
}
.feature-item:hover {
    background: #fff;
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
    transform: translateX(6px);
}
.feature-icon-wrap {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.fi-blue  { background: linear-gradient(135deg,rgba(27,94,155,.12),rgba(41,128,185,.12)); color: var(--blue-2); }
.fi-green { background: linear-gradient(135deg,rgba(30,132,73,.12),rgba(39,174,96,.12)); color: var(--green-2); }
.fi-teal  { background: linear-gradient(135deg,rgba(0,180,166,.12),rgba(86,180,233,.12)); color: var(--teal); }
.fi-purple{ background: linear-gradient(135deg,rgba(123,47,190,.12),rgba(27,94,155,.12)); color: var(--purple); }
.feature-item h6 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: .3rem; }
.feature-item p  { font-size: .88rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ---------- Doctors ---------- */
.doctors-section { padding: 90px 0; background: #fff; }
.doctor-card {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: all .4s cubic-bezier(.4,0,.2,1);
    height: 100%;
    position: relative;
}
.doctor-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-main);
    opacity: 0;
    transition: opacity .4s;
    z-index: 0;
    border-radius: var(--radius-xl);
}
.doctor-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.doctor-card-img-wrap {
    position: relative;
    overflow: hidden;
}
.doctor-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
    display: block;
}
.doctor-card:hover img { transform: scale(1.06); }
.doctor-card-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to top,var(--dark),transparent);
    opacity: 0;
    transition: opacity var(--t);
}
.doctor-card:hover .doctor-card-img-wrap::after { opacity: .3; }
.doctor-photo-placeholder {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg,var(--light-bg) 0%,rgba(0,180,166,.12) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--blue-2);
}
.doctor-card-body {
    padding: 1.75rem;
    position: relative;
    z-index: 1;
}
.doctor-specialty {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.doctor-card h5 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.15rem; margin: .35rem 0 .6rem; }
.doctor-accept-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 600;
    background: rgba(30,132,73,.1);
    color: var(--green-2);
    padding: .3rem .75rem;
    border-radius: 50px;
    border: 1px solid rgba(30,132,73,.2);
}
.doctor-accept-badge i { font-size: .65rem; }

/* ---------- Blog Cards ---------- */
.blog-section { padding: 90px 0; background: linear-gradient(160deg,#f8faff,#f5fbff); }
.blog-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: all .4s cubic-bezier(.4,0,.2,1);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card-img-wrap { overflow: hidden; }
.blog-card img { width: 100%; height: 210px; object-fit: cover; transition: transform .6s cubic-bezier(.4,0,.2,1); display: block; }
.blog-card:hover img { transform: scale(1.08); }
.blog-placeholder-img {
    width: 100%; height: 210px;
    background: linear-gradient(135deg,var(--light-bg),rgba(0,180,166,.12));
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; color: var(--blue-2);
}
.blog-card-body { padding: 1.5rem; }
.blog-date { font-size: .75rem; color: var(--text-muted); display: flex; align-items: center; gap: .4rem; }
.blog-date i { color: var(--blue-3); }
.blog-card h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    margin: .6rem 0 .5rem;
    line-height: 1.45;
    transition: color var(--t);
}
.blog-card:hover h5 { color: var(--blue-2); }
.blog-read-more {
    font-size: .82rem;
    font-weight: 600;
    color: var(--blue-2);
    display: flex;
    align-items: center;
    gap: .4rem;
    transition: gap var(--t), color var(--t);
}
.blog-card:hover .blog-read-more { gap: .75rem; color: var(--teal); }

/* ---------- CTA Band ---------- */
.cta-band {
    background: var(--grad-hero);
    background-size: 300% 300%;
    animation: gradientShift 10s ease infinite;
    color: #fff;
    padding: 80px 0;
    border-radius: var(--radius-xl);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle,rgba(255,255,255,.08),transparent 65%);
    top: -200px; right: -100px;
    pointer-events: none;
}
.cta-band::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle,rgba(0,180,166,.18),transparent 65%);
    bottom: -100px; left: 5%;
    pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { font-weight: 900; text-shadow: 0 2px 16px rgba(0,0,0,.15); }
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: rgba(255,255,255,.9);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: .4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
    background: var(--grad-hero);
    background-size: 300% 300%;
    animation: gradientShift 14s ease infinite;
    color: #fff;
    padding: 72px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 400px;
    background: radial-gradient(ellipse,rgba(255,255,255,.06),transparent 70%);
    bottom: -200px; right: -100px;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 900;
    text-shadow: 0 2px 20px rgba(0,0,0,.2);
    animation: fadeUp .7s ease both;
}
.breadcrumb-item a { color: rgba(255,255,255,.75); transition: color var(--t); }
.breadcrumb-item a:hover { color: #fff; }
.breadcrumb-item.active,
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.55); }

/* ---------- Appointment Form ---------- */
.appointment-section { background: linear-gradient(160deg,#f8faff,#f0fdf9); padding: 64px 0; }
.form-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.75rem 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad-main);
}
.form-label { font-weight: 600; font-size: .875rem; color: #374151; }
.form-control, .form-select {
    border-color: #d0dde8;
    border-radius: var(--radius-sm);
    font-size: .92rem;
    padding: .65rem 1rem;
    transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.form-control:focus, .form-select:focus {
    border-color: var(--blue-2);
    box-shadow: 0 0 0 3px rgba(27,94,155,.13);
    transform: translateY(-1px);
}

/* ---------- Insurance Table ---------- */
.insurance-table thead th {
    background: var(--grad-main);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 1rem 1.25rem;
}
.insurance-table tbody tr { transition: all var(--t); }
.insurance-table tbody tr:hover td { background: var(--light-bg); }
.insurance-table tbody td { padding: .85rem 1.25rem; vertical-align: middle; }

/* ---------- Stat Cards ---------- */
.stat-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.35rem;
    transition: all var(--t);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    width: 0;
    background: var(--grad-main);
    transition: width .5s cubic-bezier(.4,0,.2,1);
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stat-card:hover::after { width: 100%; }
.stat-icon {
    width: 60px; height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.si-blue   { background: linear-gradient(135deg,#EBF5FF,rgba(41,128,185,.15)); color: var(--blue-2); }
.si-green  { background: linear-gradient(135deg,rgba(30,132,73,.1),rgba(39,174,96,.12)); color: var(--green-2); }
.si-teal   { background: linear-gradient(135deg,rgba(0,180,166,.1),rgba(86,180,233,.12)); color: var(--teal); }
.si-purple { background: linear-gradient(135deg,rgba(123,47,190,.1),rgba(27,94,155,.12)); color: var(--purple); }
.si-yellow { background: linear-gradient(135deg,#FFF8E1,rgba(245,127,23,.12)); color: #F57F17; }
.stat-label { font-size: .78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.stat-value { font-size: 1.85rem; font-weight: 800; color: var(--dark); line-height: 1; margin-top: .15rem; }

/* ---------- Portal ---------- */
.portal-sidebar {
    background: var(--dark-card);
    min-height: calc(100vh - 130px);
    padding: 2rem 1.25rem;
    border-right: 1px solid rgba(255,255,255,.05);
    width: 240px;
    flex-shrink: 0;
}
.portal-sidebar .nav-link {
    color: rgba(255,255,255,.6);
    border-radius: var(--radius-sm);
    padding: .65rem 1rem;
    font-weight: 500;
    font-size: .915rem;
    transition: all var(--t);
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .2rem;
}
.portal-sidebar .nav-link:hover { color: #fff; background: rgba(255,255,255,.07); transform: translateX(4px); }
.portal-sidebar .nav-link.active {
    color: #fff;
    background: var(--blue-2);
    box-shadow: 0 4px 18px rgba(27,94,155,.35);
}
.portal-sidebar .nav-link i { width: 20px; text-align: center; }
.portal-main { padding: 2.5rem 2rem; background: #F4F7FC; min-height: calc(100vh - 130px); }

/* ---------- Admin Sidebar ---------- */
.admin-sidebar {
    background: #0D1B2A;
    min-height: 100vh;
    padding: 1.25rem 1rem;
    width: 250px;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,.05);
}
.admin-sidebar .brand-area {
    padding: .75rem 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    margin-bottom: 1rem;
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,.6);
    border-radius: var(--radius-sm);
    padding: .6rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    transition: all var(--t);
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .15rem;
}
.admin-sidebar .nav-link:hover { color: #fff; background: rgba(255,255,255,.07); transform: translateX(3px); }
.admin-sidebar .nav-link.active { color: #fff; background: var(--blue-2); box-shadow: 0 4px 16px rgba(27,94,155,.3); }
.admin-sidebar .nav-section-label {
    font-size: .67rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(255,255,255,.27);
    padding: 1.2rem 1rem .4rem;
    font-weight: 700;
}
.admin-topbar {
    background: #fff;
    border-bottom: 1.5px solid #eef1f6;
    padding: .8rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.admin-content { padding: 2rem; flex: 1; background: #F2F5FA; min-height: 100vh; }
.admin-wrapper { display: flex; min-height: 100vh; }
.main-area { display: flex; flex-direction: column; flex: 1; min-width: 0; }

/* Admin cards */
.admin-stat-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid #e8edf5;
    position: relative;
    overflow: hidden;
    transition: all var(--t);
}
.admin-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.admin-stat-card .card-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,.65);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    width: 600px; height: 400px;
    background: radial-gradient(ellipse,rgba(27,94,155,.12),transparent 70%);
    top: -200px; right: -100px;
    pointer-events: none;
}
.footer-brand-name {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.25rem;
    background: linear-gradient(90deg,#fff,var(--blue-4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
    color: rgba(255,255,255,.5);
    font-size: .875rem;
    transition: all var(--t);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.footer-links a::before { content: '›'; color: var(--blue-4); font-weight: 700; opacity: 0; transform: translateX(-6px); transition: all var(--t); }
.footer-links a:hover { color: #fff; padding-left: 10px; }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1rem; font-size: .875rem; }
.footer-contact i {
    color: var(--blue-4);
    margin-top: 3px;
    min-width: 16px;
    flex-shrink: 0;
}
.footer-contact a { color: rgba(255,255,255,.6); transition: color var(--t); }
.footer-contact a:hover { color: #fff; }
.footer-divider { border-color: rgba(255,255,255,.08) !important; }
.footer-bottom-text { font-size: .8rem; color: rgba(255,255,255,.35); }

/* ---------- Map ---------- */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t);
}
.map-wrapper:hover { box-shadow: var(--shadow-md); }
.map-wrapper iframe { display: block; }

/* ---------- Badges ---------- */
.badge { font-weight: 600; letter-spacing: .3px; }
.badge-gradient {
    background: var(--grad-main);
    color: #fff;
    border: none;
}
.status-pending   { background: #fff8e1; color: #b7790a; border: 1px solid #ffe082; }
.status-confirmed { background: #e8f5e9; color: #1e8449; border: 1px solid #a5d6a7; }
.status-completed { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
.status-cancelled { background: #fce4ec; color: #c62828; border: 1px solid #ef9a9a; }

/* ---------- Info / Contact Cards ---------- */
.info-card {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    padding: 2rem;
    transition: all var(--t);
    position: relative;
    overflow: hidden;
}
.info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.info-card:hover::before { transform: scaleX(1); }
.info-icon {
    width: 54px; height: 54px;
    border-radius: var(--radius-md);
    background: var(--grad-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--blue-2);
    margin-bottom: 1rem;
    transition: all var(--t);
}
.info-card:hover .info-icon {
    background: var(--grad-main);
    color: #fff;
    transform: scale(1.1);
}

/* ---------- Testimonials / Quote ---------- */
.quote-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1.5px solid var(--border);
    position: relative;
    transition: all var(--t);
}
.quote-card::before {
    content: '\201C';
    font-size: 5rem;
    font-family: Georgia, serif;
    line-height: 1;
    color: var(--blue-4);
    opacity: .25;
    position: absolute;
    top: .5rem;
    left: 1.25rem;
}
.quote-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* ---------- Avatar ---------- */
.avatar-placeholder {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--grad-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(27,94,155,.25);
}

/* ---------- Utility ---------- */
.bg-light-blue { background: var(--light-bg); }
.bg-gradient-subtle { background: linear-gradient(135deg,#f8faff,#f0fdf9); }
.text-brand  { color: var(--blue-2) !important; }
.text-teal   { color: var(--teal) !important; }
.text-dark-c { color: var(--dark) !important; }
.border-brand { border-color: var(--blue-2) !important; }
.rounded-xl   { border-radius: var(--radius-lg) !important; }
.rounded-2xl  { border-radius: var(--radius-xl) !important; }
.gradient-text {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.gradient-text-green {
    background: var(--grad-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.shadow-brand { box-shadow: 0 6px 24px rgba(27,94,155,.2) !important; }
.divider-gradient {
    border: none;
    height: 2px;
    background: linear-gradient(90deg,transparent,var(--blue-3),transparent);
    opacity: .3;
    margin: 2rem 0;
}

/* ---------- Number counter ---------- */
.counter { animation: countUp .6s ease both; }

/* ---------- Blob shape ---------- */
.blob-shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blobMorph 12s ease-in-out infinite;
}

/* ---------- Floating animation helpers ---------- */
.float-anim   { animation: floatY 6s ease-in-out infinite; }
.float-slow   { animation: floatY 10s ease-in-out infinite; }
.rotate-slow  { animation: rotateSlow 30s linear infinite; }
.heartbeat    { animation: heartbeat 1.8s ease infinite; }

/* ---------- Shimmer skeleton ---------- */
.shimmer {
    background: linear-gradient(90deg,#f0f3f8 25%,#e4e9f0 50%,#f0f3f8 75%);
    background-size: 400px 100%;
    animation: shimmer 1.4s infinite;
    border-radius: var(--radius-sm);
}

/* ---------- Testimonials ---------- */
.testimonials-section { padding: 90px 0; background: linear-gradient(160deg,#f0f7ff 0%,#f5fbff 100%); }
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    transition: box-shadow var(--t), transform var(--t), border-color var(--t);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s var(--t);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: transparent; }
.testimonial-card:hover::before { transform: scaleX(1); }
.testimonial-stars { color: #f59e0b; font-size: .92rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text {
    color: var(--text);
    font-size: .93rem;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}
.testimonial-text::before {
    content: '\201C';
    position: absolute;
    left: 0; top: -6px;
    font-size: 3.2rem;
    line-height: 1;
    color: var(--blue-3);
    opacity: .2;
    font-style: normal;
    font-family: Georgia, serif;
    font-weight: 700;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: .85rem;
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
}
.testimonial-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--grad-main);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(27,94,155,.25);
}
.testimonial-name { font-weight: 700; font-size: .9rem; color: var(--dark); }
.testimonial-loc { font-size: .775rem; color: var(--text-muted); margin-top: .15rem; }
.testimonial-loc i { color: var(--teal); font-size: .7rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .admin-sidebar { width: 220px; }
}
@media (max-width: 991.98px) {
    .portal-sidebar, .admin-sidebar { min-height: auto; width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
    .admin-wrapper, .main-area { flex-direction: column; }
    .hero-stats { gap: 1.25rem; }
    .portal-main, .admin-content { padding: 1.5rem 1rem; }
    .hero-section { padding: 80px 0 70px; }
    .services-section, .doctors-section, .blog-section, .why-us-section, .testimonials-section { padding: 70px 0; }
}
@media (max-width: 767.98px) {
    .section-title { font-size: 1.65rem; }
    .hero-section { padding: 65px 0 55px; }
    .cta-band { border-radius: var(--radius-md); padding: 50px 20px; }
    .form-card { padding: 1.75rem 1.25rem; }
    .hero-stats { padding: 1rem 1.25rem; }
    .hero-stat-num { font-size: 1.5rem; }
    .hero-badge { font-size: .7rem; }
}

/* ============================================================
   EXTENDED UTILITY COMPONENTS
   ============================================================ */

/* ---------- Footer Logo ---------- */
.logo-footer { filter: brightness(0) invert(1); }

/* ---------- Social Media Buttons ---------- */
.social-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.65);
    font-size: .88rem;
    transition: all var(--t);
    text-decoration: none;
    background: rgba(255,255,255,.06);
}
.social-btn:hover {
    background: var(--blue-2);
    border-color: var(--blue-2);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(27,94,155,.4);
}

/* ---------- Tile Card (2×2 icon grid inside image columns) ---------- */
.tile-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: .9rem 1rem;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,.03);
    transition: all var(--t);
}
.tile-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.tile-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: .6rem;
    flex-shrink: 0;
}
.tile-icon.ti-blue   { background: rgba(27,94,155,.08);  color: var(--blue-2); }
.tile-icon.ti-teal   { background: rgba(0,180,166,.08);  color: var(--teal); }
.tile-icon.ti-green  { background: rgba(30,132,73,.08);  color: var(--green-2); }
.tile-icon.ti-purple { background: rgba(123,47,190,.08); color: var(--purple); }
.tile-title { font-weight: 700; font-size: .88rem; color: var(--dark); line-height: 1.3; margin-bottom: .22rem; }
.tile-text  { font-size: .8rem; color: var(--text-muted); line-height: 1.5; }

/* ---------- Promise Card (about.php) ---------- */
.promise-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border: 1.5px solid rgba(0,0,0,.04);
    transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s;
}
.promise-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.promise-icon {
    width: 54px; height: 54px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: .85rem;
}
.promise-icon.pi-blue   { background: rgba(27,94,155,.08);  color: var(--blue-2); }
.promise-icon.pi-teal   { background: rgba(0,180,166,.08);  color: var(--teal); }

/* ---------- Mini Info Card (appointment sidebar) ---------- */
.mini-info-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: .9rem 1rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.03);
    transition: all var(--t);
}
.mini-info-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.mini-info-icon {
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.mini-info-icon.mii-blue   { background: rgba(27,94,155,.08); color: var(--blue-2); }
.mini-info-icon.mii-teal   { background: rgba(0,180,166,.08); color: var(--teal); }
.mini-info-title { font-weight: 600; font-size: .87rem; color: var(--dark); line-height: 1.3; margin-bottom: .1rem; }
.mini-info-text  { font-size: .82rem; color: var(--text-muted); line-height: 1.4; }

/* ---------- Benefit Strip (appointment.php top strip) ---------- */
.benefit-strip { background: linear-gradient(135deg,#f0f6ff 0%,#f0fdf9 100%); border-bottom: 1px solid rgba(27,94,155,.08); }
.benefit-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: .85rem 1rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    border: 1px solid rgba(0,0,0,.03);
    transition: all var(--t);
}
.benefit-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.benefit-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.benefit-icon.bi-blue   { background: rgba(27,94,155,.08); color: var(--blue-2); }
.benefit-icon.bi-teal   { background: rgba(0,180,166,.08); color: var(--teal); }
.benefit-title { font-weight: 700; font-size: .87rem; color: var(--dark); line-height: 1.3; }
.benefit-text  { font-size: .78rem; color: var(--text-muted); line-height: 1.4; }

/* ---------- Why Us Image Column ---------- */
.why-us-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.why-us-image-wrap > img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.why-us-image-wrap:hover > img { transform: scale(1.04); }
.why-us-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(10,36,99,.92) 0%, rgba(10,36,99,.5) 60%, transparent 100%);
    padding: 2rem 2rem 1.75rem;
    color: #fff;
}
.why-us-overlay .wuo-stat-num {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}
.why-us-overlay .wuo-stat-label {
    font-size: .72rem;
    opacity: .75;
    letter-spacing: .4px;
}

/* ---------- Hero Doctor Strip (inside hero card) ---------- */
.hero-doc-strip {
    display: flex;
    align-items: center;
    gap: .85rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: .85rem 1rem;
    margin-bottom: 1.35rem;
    border: 1px solid var(--border);
}
.hero-doc-photo {
    width: 54px; height: 54px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2.5px solid #fff;
    box-shadow: 0 4px 12px rgba(27,94,155,.2);
    flex-shrink: 0;
}
.hero-doc-photo-placeholder {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: var(--grad-main);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(27,94,155,.2);
}
.hero-doc-name { font-weight: 700; font-size: .88rem; color: var(--dark); line-height: 1.3; }
.hero-doc-spec { font-size: .77rem; color: var(--text-muted); margin-top: .08rem; }
.hero-doc-online {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #27ae60;
    margin-right: .35rem;
    box-shadow: 0 0 0 3px rgba(39,174,96,.2);
    vertical-align: middle;
}
.hero-doc-badge {
    margin-left: auto;
    font-size: .7rem;
    font-weight: 700;
    background: rgba(39,174,96,.1);
    color: var(--green-2);
    border: 1px solid rgba(39,174,96,.25);
    padding: .25rem .65rem;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---------- Intro Banner (shared pattern) ---------- */
.intro-banner { background: linear-gradient(135deg,#f0f6ff 0%,#f0fdf9 100%); }
.intro-image {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(27,94,155,.18);
    display: block;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.intro-image:hover { transform: scale(1.02); }
.intro-image-wrap { border-radius: var(--radius-lg); overflow: hidden; }

@media (max-width: 991.98px) {
    .why-us-image-wrap > img { height: 340px; }
}
@media (max-width: 767.98px) {
    .why-us-image-wrap > img { height: 280px; }
    .hero-doc-strip { padding: .75rem .875rem; }
}

/* ============================================================
   HERO REDESIGN — Clean, Full-Viewport, Beautiful
   ============================================================ */

/* Boost h1 size slightly */
.hero-section h1.hero-h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); letter-spacing: -.5px; }

/* ── 3D Particle Canvas ── */
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: .52;
}

/* ── Perspective orbit rings ── */
.hero-rings {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
    overflow: visible;
    transform-style: preserve-3d;
}
.h-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid transparent;
    transform-style: preserve-3d;
}
.h-ring-1 {
    width: 680px; height: 680px;
    top: -250px; right: -160px;
    border-color: rgba(0,180,166,.18);
    animation: ring3d-1 30s linear infinite;
}
.h-ring-2 {
    width: 440px; height: 440px;
    top: -110px; right: -20px;
    border-color: rgba(86,180,233,.13);
    animation: ring3d-2 20s linear infinite;
}
.h-ring-3 {
    width: 260px; height: 260px;
    top: 18%; left: 44%;
    border-color: rgba(255,255,255,.08);
    animation: ring3d-3 14s linear infinite;
}
.h-ring-dot {
    position: absolute;
    top: 50%; left: 100%;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #00B4A6;
    box-shadow: 0 0 14px 4px rgba(0,180,166,.55);
    transform: translate(-50%,-50%);
}
@keyframes ring3d-1 { 0%{transform:rotateX(68deg) rotateZ(0deg)}   100%{transform:rotateX(68deg) rotateZ(360deg)} }
@keyframes ring3d-2 { 0%{transform:rotateX(72deg) rotateZ(0deg)}   100%{transform:rotateX(72deg) rotateZ(-360deg)} }
@keyframes ring3d-3 { 0%{transform:rotateX(62deg) rotateZ(0deg)}   100%{transform:rotateX(62deg) rotateZ(360deg)} }

/* ── Floating 3D medical icons ── */
.hero-floaters {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 1;
    overflow: hidden;
}
.hf {
    position: absolute;
    width: 50px; height: 50px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    color: rgba(255,255,255,.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.15);
    will-change: transform;
}
/* cross made of two divs */
.hf-cross .cv { position:absolute; width:8px; height:26px; background:rgba(255,255,255,.92); border-radius:3px; top:50%; left:50%; transform:translate(-50%,-50%); }
.hf-cross .ch { position:absolute; width:26px; height:8px; background:rgba(255,255,255,.92); border-radius:3px; top:50%; left:50%; transform:translate(-50%,-50%); }
.hf-cross   { top:11%; left:7%;  background:rgba(0,180,166,.22);  border-color:rgba(0,180,166,.45);  animation:hfBob1  7s ease-in-out infinite 0s; }
.hf-heart   { top:73%; left:5%;  background:rgba(239,68,68,.16);  border-color:rgba(239,68,68,.38);  animation:hfBob2  8s ease-in-out infinite 1.2s; }
.hf-shield  { top:40%; left:3%;  background:rgba(27,94,155,.28);  border-color:rgba(27,94,155,.55);  animation:hfBob3  9s ease-in-out infinite 2.8s; }
.hf-dna     { top:8%;  right:4%; background:rgba(123,47,190,.22); border-color:rgba(123,47,190,.42); animation:hfBob2 10s ease-in-out infinite 0.5s; }
.hf-stet    { top:58%; right:3%; animation:hfBob3 8s ease-in-out infinite 3.2s; }

@keyframes hfBob1 {
    0%,100% { transform: translateY(0)    rotate(0deg)  rotateY(0deg); }
    30%      { transform: translateY(-14px) rotate(6deg)  rotateY(22deg); }
    65%      { transform: translateY(-5px)  rotate(-3deg) rotateY(-10deg); }
}
@keyframes hfBob2 {
    0%,100% { transform: translateY(0)    rotate(0deg)   rotateX(0deg); }
    40%      { transform: translateY(-18px) rotate(-5deg)  rotateX(18deg); }
    70%      { transform: translateY(-7px)  rotate(4deg)   rotateX(-8deg); }
}
@keyframes hfBob3 {
    0%,100% { transform: translateY(0)    scale(1)    rotateY(0deg); }
    50%      { transform: translateY(-12px) scale(1.07) rotateY(180deg); }
}

/* ── Right column: image + card stack ── */
.hero-right-stack { display: flex; flex-direction: column; gap: 1.25rem; height: 100%; }

.hero-img-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    flex: 1;
    min-height: 260px;
    box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.hero-img-frame img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center top;
    display: block;
    transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.hero-img-frame:hover img { transform: scale(1.04); }
.hero-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,36,99,.75) 0%, rgba(10,36,99,.15) 55%, transparent 100%);
    pointer-events: none;
}
.hero-trust-row {
    position: absolute; bottom: 1.1rem; left: 1.1rem; right: 1.1rem;
    display: flex; gap: .5rem; flex-wrap: wrap;
}
.hero-trust-pill {
    display: inline-flex; align-items: center; gap: .35rem;
    background: rgba(255,255,255,.95);
    border-radius: 50px;
    padding: .3rem .85rem;
    font-size: .74rem; font-weight: 700; color: var(--dark);
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
    white-space: nowrap;
}

/* ── ECG bottom accent (fixed SVG) ── */
.hero-ecg {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 52px;
    pointer-events: none; z-index: 1;
    overflow: hidden;
}
.hero-ecg svg { width: 100%; height: 100%; }
.ecg-line {
    fill: none;
    stroke: rgba(0,180,166,.55);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
    animation: ecgDraw 2.6s cubic-bezier(.4,0,.2,1) forwards .9s,
               ecgPulse 4s ease-in-out 3.6s infinite;
    filter: drop-shadow(0 0 5px rgba(0,180,166,.4));
}
@keyframes ecgDraw  { to { stroke-dashoffset: 0; } }
@keyframes ecgPulse { 0%,100%{opacity:.55} 50%{opacity:.9} }

/* ── Enhanced hero CTA buttons ── */
.hero-btn-3d {
    transition: transform .28s cubic-bezier(.4,0,.2,1), box-shadow .28s !important;
    transform: translateZ(0);
}
.hero-btn-3d:hover {
    transform: translateY(-5px) scale(1.025) !important;
    box-shadow: 0 16px 38px rgba(0,0,0,.28) !important;
}
.hero-btn-3d:active { transform: translateY(-2px) scale(1) !important; }

/* ── Stats bar glow ── */
.hero-stats.hero-stats-glow {
    box-shadow: 0 0 44px rgba(0,180,166,.1), inset 0 1px 0 rgba(255,255,255,.1);
}
.hero-stats > div + div { border-left: 1px solid rgba(255,255,255,.15); padding-left: 2rem; }

/* ── Image frame entrance animation ── */
.hero-img-frame {
    animation: imgFrameIn .9s .25s cubic-bezier(.4,0,.2,1) both;
}
@keyframes imgFrameIn {
    from { opacity: 0; transform: translateY(20px) scale(.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* ── Hero card (right column, mouse-tilt via JS) ── */
#hero3dCard {
    position: relative;
    animation: cardSlideIn .8s .4s cubic-bezier(.4,0,.2,1) both;
    will-change: transform;
}
@keyframes cardSlideIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Gloss specular layer inside card */
.card-gloss {
    position: absolute; inset: 0;
    border-radius: inherit;
    pointer-events: none; z-index: 10;
    transition: background .07s ease-out;
    mix-blend-mode: overlay;
}

/* ── Sequential reveal on hero load (CSS only, no JS) ── */
.h-reveal {
    opacity: 0;
    transform: translateY(28px);
    animation: hReveal .8s cubic-bezier(.4,0,.2,1) forwards;
}
.h-reveal-2 { animation-delay: .18s; }
.h-reveal-3 { animation-delay: .32s; }
.h-reveal-4 { animation-delay: .48s; }
.h-reveal-5 { animation-delay: .65s; }
@keyframes hReveal { to { opacity: 1; transform: translateY(0); } }

/* ── Organised hero appointment card internals ── */
.hero-appt-header {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1rem 1.1rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 1.35rem;
}
.hero-appt-icon {
    width: 42px; height: 42px;
    border-radius: var(--radius-sm);
    background: var(--grad-main);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(27,94,155,.3);
}
.hero-appt-title { font-weight: 700; font-size: .92rem; color: var(--dark); line-height: 1.25; }
.hero-appt-sub   { font-size: .73rem; color: var(--text-muted); margin-top: .08rem; }
.hero-appt-live  {
    margin-left: auto; flex-shrink: 0;
    font-size: .7rem; font-weight: 700;
    color: var(--green-2);
    background: rgba(30,132,73,.1);
    border: 1px solid rgba(30,132,73,.22);
    border-radius: 50px;
    padding: .22rem .65rem;
    display: flex; align-items: center; gap: .3rem;
}

.hero-appt-form  { display: flex; flex-direction: column; gap: .75rem; }
.hero-field      { display: flex; flex-direction: column; gap: .25rem; }
.hero-field-label {
    font-size: .75rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .6px;
    display: flex; align-items: center; gap: .4rem;
}
.hero-field-label i { font-size: .7rem; color: var(--blue-3); }
.hero-field .form-control {
    font-size: .88rem;
    padding: .6rem .9rem;
    border-color: var(--border);
    border-radius: var(--radius-sm);
}
.hero-field .form-control:focus {
    border-color: var(--blue-2);
    box-shadow: 0 0 0 3px rgba(27,94,155,.12);
}
.hero-appt-btn {
    margin-top: .3rem;
    padding: .78rem;
    border-radius: var(--radius-md);
    font-size: .92rem;
    letter-spacing: .2px;
}
.hero-appt-footer {
    margin-top: 1rem;
    padding-top: .9rem;
    border-top: 1px solid var(--border);
    font-size: .78rem;
    color: var(--text-muted);
    text-align: center;
    display: flex; align-items: center; justify-content: center; gap: .35rem;
}
.hero-appt-footer i { color: var(--blue-3); font-size: .72rem; }

/* ── Responsive ── */
@media (max-width: 1199.98px) {
    .hero-img-frame { min-height: 220px; }
}
@media (max-width: 991.98px) {
    .hero-rings, .hero-ecg { display: none; }
    #hero-canvas { opacity: .3; }
}
@media (max-width: 767.98px) {
    #hero-canvas { display: none; }
}

/* ============================================================
   PORTAL LAYOUT
   ============================================================ */
.portal-layout {
    display: flex;
    min-height: calc(100vh - 130px);
}
.portal-sidebar {
    width: 240px;
    flex-shrink: 0;
}

/* ============================================================
   BLOG POST CONTENT TYPOGRAPHY
   ============================================================ */
.blog-content {
    font-size: 1.05rem;
    line-height: 1.82;
    color: var(--text);
}
.blog-content h1, .blog-content h2, .blog-content h3,
.blog-content h4, .blog-content h5 {
    margin-top: 2rem;
    margin-bottom: .85rem;
    color: var(--dark);
    font-family: 'Merriweather', serif;
}
.blog-content h2 { font-size: 1.55rem; border-bottom: 2px solid var(--border); padding-bottom: .5rem; }
.blog-content h3 { font-size: 1.25rem; }
.blog-content p  { margin-bottom: 1.35rem; }
.blog-content a  { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.blog-content a:hover { color: var(--teal); }
.blog-content img {
    max-width: 100%; border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); margin: 1.5rem 0; display: block;
}
.blog-content blockquote {
    border-left: 4px solid var(--teal);
    padding: 1rem 1.5rem;
    background: var(--light-bg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-muted);
}
.blog-content ul, .blog-content ol { margin-bottom: 1.35rem; padding-left: 1.5rem; }
.blog-content li { margin-bottom: .4rem; }
.blog-content strong { color: var(--dark); }
.blog-content code {
    background: var(--light-bg); border-radius: 4px;
    padding: .15rem .4rem; font-size: .9em; color: var(--blue-2);
}
.blog-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.blog-content table th, .blog-content table td { border: 1px solid var(--border); padding: .65rem 1rem; }
.blog-content table th { background: var(--light-bg); font-weight: 700; }
.blog-content table tr:hover td { background: #fafcff; }

/* Blog post hero image */
.blog-post-img {
    width: 100%; height: 420px;
    object-fit: cover; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); display: block;
    margin-bottom: 2rem;
}

/* Blog author meta bar */
.blog-meta-bar {
    display: flex; align-items: center; gap: 1.25rem;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    background: var(--light-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    font-size: .84rem; color: var(--text-muted);
}
.blog-meta-bar i { color: var(--blue-3); }
.blog-meta-bar strong { color: var(--dark); }

/* ============================================================
   AUTH PAGES (Login / Register)
   ============================================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

/* Left decorative panel */
.auth-panel {
    background: var(--grad-hero);
    background-size: 300% 300%;
    animation: gradientShift 14s ease infinite;
    color: #fff;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.auth-panel::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(0,180,166,.22), transparent 60%);
    pointer-events: none;
}
.auth-panel > * { position: relative; z-index: 1; }
.auth-panel-logo { margin-bottom: 2.5rem; }
.auth-panel-logo img { height: 52px; filter: brightness(0) invert(1); opacity: .92; }
.auth-panel h2 { font-size: 2rem; font-weight: 900; margin-bottom: 1rem; line-height: 1.2; }
.auth-panel p  { opacity: .82; line-height: 1.72; font-size: .97rem; margin-bottom: 2rem; }
.auth-panel-features { display: flex; flex-direction: column; gap: .75rem; }
.auth-panel-feature {
    display: flex; align-items: center; gap: .75rem;
    font-size: .88rem; opacity: .85;
}
.auth-panel-feature i { color: var(--teal); font-size: 1rem; width: 20px; flex-shrink: 0; }

/* Right form panel */
.auth-form-col {
    background: #fff;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 3rem 2rem;
}
.auth-form-inner { width: 100%; max-width: 420px; }
.auth-logo-mobile { display: none; text-align: center; margin-bottom: 2rem; }
.auth-logo-mobile img { height: 48px; }

/* Input icon wrapper */
.input-icon-wrap { position: relative; }
.input-icon-wrap i {
    position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); font-size: .88rem; pointer-events: none;
}
.input-icon-wrap .form-control { padding-left: 2.5rem; }

@media (max-width: 991.98px) {
    .auth-panel { display: none; }
    .auth-logo-mobile { display: block; }
    .auth-form-col { padding: 2rem 1.5rem; }
}
@media (max-width: 767.98px) {
    .auth-form-inner { max-width: 100%; }
    .blog-post-img { height: 240px; }
}

/* ============================================================
   RICH INNER-PAGE HERO  (.ph-img)
   One unified hero with background image + gradient overlay.
   Replaces the fragmented page-hero + intro-banner pattern.
   ============================================================ */
.ph-img {
    position: relative;
    padding: 120px 0 80px;
    color: #fff;
    overflow: hidden;
    background-color: var(--dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
}
.ph-img::before {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(
        135deg,
        rgba(10,36,99,.95)  0%,
        rgba(27,94,155,.85) 55%,
        rgba(0,36,99,.7)    100%
    );
}
.ph-img::after {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(ellipse at 80% 40%, rgba(0,180,166,.15), transparent 55%);
}
.ph-img > .container { position: relative; z-index: 1; }

/* Breadcrumbs inside ph-img */
.ph-img .breadcrumb-item a              { color: rgba(255,255,255,.68); }
.ph-img .breadcrumb-item a:hover        { color: #fff; }
.ph-img .breadcrumb-item.active,
.ph-img .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.45); }

/* Tag pill */
.ph-img .section-tag {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.28);
    color: rgba(255,255,255,.9);
}
.ph-img .section-tag i { color: #56B4E9; }

/* Heading */
.ph-img h1 {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    font-weight: 900; line-height: 1.12;
    text-shadow: 0 2px 24px rgba(0,0,0,.25);
    animation: fadeUp .7s .1s ease both;
}

/* Lead text */
.ph-lead {
    font-size: 1.05rem; opacity: .88;
    line-height: 1.75; max-width: 580px;
    animation: fadeUp .7s .25s ease both;
}

/* CTA row */
.ph-actions {
    display: flex; gap: .85rem; flex-wrap: wrap;
    animation: fadeUp .7s .38s ease both;
}

/* Stats bar */
.ph-stats {
    display: inline-flex; align-items: stretch;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    padding: .9rem 0;
    backdrop-filter: blur(12px);
    animation: fadeUp .7s .52s ease both;
    flex-wrap: wrap;
}
.ph-stat { padding: .1rem 1.75rem; text-align: center; }
.ph-stat + .ph-stat { border-left: 1px solid rgba(255,255,255,.15); }
.ph-stat-n {
    font-size: 1.5rem; font-weight: 800;
    line-height: 1; display: block;
    background: linear-gradient(90deg, #fff, #56B4E9);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ph-stat-l {
    font-size: .68rem; opacity: .68;
    letter-spacing: .4px; display: block; margin-top: .2rem;
}

@media (max-width: 991.98px) {
    .ph-img { padding: 100px 0 64px; }
}
@media (max-width: 767.98px) {
    .ph-img { padding: 85px 0 55px; }
    .ph-stats { gap: 0; }
    .ph-stat { flex: 1 0 45%; padding: .5rem .75rem; }
    .ph-stat + .ph-stat { border-left: none; border-top: 1px solid rgba(255,255,255,.12); }
    .ph-stat:nth-child(2n) { border-left: 1px solid rgba(255,255,255,.12) !important; border-top: none; }
}

/* ---------- ph-img heading accent (replaces all inline gradient spans) ---------- */
.ph-title-accent {
    background: linear-gradient(90deg, #fff, #56B4E9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Process / How-It-Works steps ---------- */
.process-wrap { position: relative; }
.process-connector {
    position: absolute;
    top: 27px; left: calc(16.666% + 24px); right: calc(16.666% + 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--blue-2), var(--teal));
    opacity: .2;
    pointer-events: none;
}
.process-step { text-align: center; padding: 0 1rem; }
.process-step-num {
    width: 54px; height: 54px;
    background: var(--grad-main);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 800; color: #fff;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 18px rgba(27,94,155,.3);
    position: relative; z-index: 1;
    transition: transform var(--t), box-shadow var(--t);
}
.process-step:hover .process-step-num { transform: scale(1.1); box-shadow: var(--shadow-glow); }
.process-step h6 { font-weight: 700; font-size: .97rem; color: var(--dark); margin-bottom: .4rem; }
.process-step p  { font-size: .84rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ---------- Insurance Badge Grid ---------- */
.insurance-badge-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.insurance-badge {
    display: inline-flex; align-items: center; gap: .55rem;
    background: #fff; border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: .55rem 1rem;
    font-size: .83rem; font-weight: 600; color: var(--dark);
    box-shadow: var(--shadow-sm);
    transition: all var(--t);
}
.insurance-badge:hover { border-color: var(--blue-3); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--blue-2); }
.insurance-badge i { color: var(--teal); }

/* ---------- Doctor Profile Page ---------- */
.doctor-profile-card {
    background: #fff; border-radius: var(--radius-xl);
    border: 1.5px solid var(--border); box-shadow: var(--shadow-md);
    overflow: hidden; position: sticky; top: 100px;
}
.doctor-profile-img  { width: 100%; height: 300px; object-fit: cover; object-position: top; display: block; }
.doctor-profile-ph   { width: 100%; height: 300px; background: var(--grad-card); display: flex; align-items: center; justify-content: center; font-size: 5rem; color: var(--blue-3); }
.doctor-profile-body { padding: 1.5rem; text-align: center; }
.doctor-profile-spec {
    display: inline-block; font-size: .7rem; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--teal); background: rgba(0,180,166,.1);
    border: 1px solid rgba(0,180,166,.25);
    border-radius: 50px; padding: .28rem .9rem; margin-bottom: .6rem;
}
.doctor-profile-name {
    font-size: 1.25rem; font-weight: 800;
    background: var(--grad-main);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: .5rem;
}
.profile-section {
    background: #fff; border-radius: var(--radius-lg);
    border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
    padding: 1.75rem; margin-bottom: 1.25rem;
    transition: box-shadow var(--t);
}
.profile-section:hover { box-shadow: var(--shadow-md); }
.profile-section-title {
    display: flex; align-items: center; gap: .75rem;
    font-size: 1rem; font-weight: 700; color: var(--dark);
    margin-bottom: 1rem; padding-bottom: .75rem;
    border-bottom: 2px solid var(--border);
}
.profile-section-title .pst-icon {
    width: 34px; height: 34px;
    background: var(--light-bg); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-2); flex-shrink: 0; font-size: .9rem;
}
.tag-chip {
    display: inline-flex; align-items: center; gap: .35rem;
    background: var(--light-bg); border: 1px solid var(--border);
    border-radius: 50px; padding: .3rem .9rem;
    font-size: .8rem; font-weight: 600; color: var(--blue-2); margin: .2rem;
    transition: all var(--t);
}
.tag-chip:hover { background: var(--blue-2); color: #fff; border-color: var(--blue-2); }
.tag-chip-teal { background: rgba(0,180,166,.1); border-color: rgba(0,180,166,.25); color: var(--teal); }
.tag-chip-teal:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

/* ---------- Blog improvements ---------- */
.blog-featured {
    border-radius: var(--radius-xl); overflow: hidden; background: #fff;
    border: 1.5px solid var(--border); box-shadow: var(--shadow-md);
    transition: all .4s ease; margin-bottom: 3rem;
    display: flex; flex-direction: column;
}
@media (min-width: 768px) { .blog-featured { flex-direction: row; } }
.blog-featured:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-featured-img-wrap { flex: 0 0 45%; overflow: hidden; }
.blog-featured-img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; transition: transform .6s ease; }
.blog-featured:hover .blog-featured-img { transform: scale(1.05); }
.blog-featured-ph { width: 100%; min-height: 260px; background: linear-gradient(135deg,var(--light-bg),rgba(0,180,166,.15)); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--blue-2); }
.blog-featured-body { flex: 1; padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-label { display: inline-flex; align-items: center; gap: .4rem; background: var(--light-bg); border: 1px solid rgba(27,94,155,.15); color: var(--blue-2); font-size: .7rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; padding: .28rem .8rem; border-radius: 50px; margin-bottom: .85rem; }
.blog-featured-title { font-size: 1.4rem; font-weight: 800; line-height: 1.3; color: var(--dark); margin-bottom: .75rem; font-family: 'Merriweather', serif; transition: color var(--t); }
.blog-featured:hover .blog-featured-title { color: var(--blue-2); }

/* ---------- Blog post reading info & share ---------- */
.reading-info { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 600; opacity: .78; }
.reading-info i { color: #56B4E9; }
.share-bar { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .95rem; border-radius: 50px; font-size: .78rem; font-weight: 600; border: 1.5px solid; transition: all var(--t); text-decoration: none; }
.share-btn-fb    { color:#1877f2; border-color:#1877f2; } .share-btn-fb:hover    { background:#1877f2; color:#fff; }
.share-btn-tw    { color:#1da1f2; border-color:#1da1f2; } .share-btn-tw:hover    { background:#1da1f2; color:#fff; }
.share-btn-email { color:var(--blue-2); border-color:var(--blue-2); } .share-btn-email:hover { background:var(--blue-2); color:#fff; }

/* ---------- Contact page cards ---------- */
.contact-card {
    background: #fff; border-radius: var(--radius-lg);
    border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
    padding: 1.5rem; transition: all var(--t);
    display: flex; align-items: flex-start; gap: 1.1rem;
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(27,94,155,.2); }
.contact-card-icon {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0;
}
.cci-blue   { background: linear-gradient(135deg,rgba(27,94,155,.12),rgba(41,128,185,.12)); color: var(--blue-2); }
.cci-teal   { background: linear-gradient(135deg,rgba(0,180,166,.12),rgba(86,180,233,.12)); color: var(--teal); }
.cci-green  { background: linear-gradient(135deg,rgba(30,132,73,.12),rgba(39,174,96,.12));  color: var(--green-2); }
.cci-purple { background: linear-gradient(135deg,rgba(123,47,190,.12),rgba(27,94,155,.12)); color: var(--purple); }
.contact-card-label { font-size: .68rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-muted); margin-bottom: .2rem; }
.contact-card-value { font-size: .93rem; font-weight: 600; color: var(--dark); line-height: 1.5; }
.contact-card-value a { color: var(--blue-2); }
.contact-card-value a:hover { color: var(--teal); }

/* ---------- Urgent strip ---------- */
.urgent-strip {
    background: linear-gradient(90deg, #0a5c2e, #1e8449);
    color: #fff; padding: .65rem 0;
    text-align: center; font-size: .87rem; font-weight: 600;
}
.urgent-strip a { color: #fff; }
.urgent-strip i { color: #7dff9d; }
