/*
Theme Name: Shree Jee Hospital
Theme URI: https://shreejee-hospital.com
Author: Shree Jee Hospital
Author URI: https://shreejee-hospital.com
Description: A premium multi-speciality hospital WordPress theme with modern UI/UX, custom post types for doctors, departments, testimonials and health packages.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shree-jee-hospital
Tags: health, medical, hospital, clinic, responsive, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ============================================================ */
:root {
    --primary:       #00A7A0;
    --primary-dark:  #007f79;
    --primary-light: #e0f7f6;
    --secondary:     #0B2C5F;
    --secondary-light: #1a4080;
    --accent:        #FF6B35;
    --bg:            #F5F7FA;
    --bg-white:      #ffffff;
    --text-dark:     #1a1a2e;
    --text-mid:      #4a5568;
    --text-light:    #718096;
    --border:        #e2e8f0;
    --shadow-sm:     0 2px 8px rgba(0,0,0,0.07);
    --shadow-md:     0 8px 30px rgba(0,0,0,0.10);
    --shadow-lg:     0 20px 60px rgba(0,0,0,0.14);
    --radius-sm:     8px;
    --radius-md:     16px;
    --radius-lg:     24px;
    --radius-xl:     32px;
    --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
    --font-head:     'Playfair Display', Georgia, serif;
    --font-body:     'DM Sans', 'Segoe UI', sans-serif;
    --font-accent:   'DM Mono', monospace;
    --navbar-h:      80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   PAGE LOADER
   ============================================================ */
#page-loader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--secondary);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.loaded { opacity: 0; visibility: hidden; }
.loader-inner {
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.loader-logo { font-family: var(--font-head); font-size: 2rem; color: #fff; font-weight: 700; }
.loader-logo span { color: var(--primary); }
.loader-bar {
    width: 200px; height: 3px; background: rgba(255,255,255,0.2);
    border-radius: 2px; overflow: hidden;
}
.loader-bar::after {
    content: ''; display: block; height: 100%;
    background: var(--primary);
    animation: loaderAnim 1.5s ease-in-out infinite;
}
@keyframes loaderAnim {
    0% { width: 0; margin-left: 0; }
    50% { width: 70%; margin-left: 15%; }
    100% { width: 0; margin-left: 100%; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

/* Section Headers */
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--primary-light); color: var(--primary);
    padding: 6px 18px; border-radius: 100px;
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700; color: var(--secondary);
    line-height: 1.25; margin-bottom: 16px;
}
.section-title span { color: var(--primary); }
.section-sub {
    font-size: 1.05rem; color: var(--text-mid);
    max-width: 600px; margin: 0 auto 48px;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 30px; border-radius: 100px;
    font-weight: 600; font-size: 0.95rem;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary); color: #fff;
    box-shadow: 0 4px 20px rgba(0,167,160,0.35);
}
.btn-primary:hover {
    background: var(--primary-dark); color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,167,160,0.45);
}
.btn-secondary {
    background: var(--secondary); color: #fff;
    box-shadow: 0 4px 20px rgba(11,44,95,0.3);
}
.btn-secondary:hover {
    background: var(--secondary-light); color: #fff;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent; color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary); color: #fff;
    transform: translateY(-2px);
}
.btn-white {
    background: #fff; color: var(--secondary);
    box-shadow: var(--shadow-md);
}
.btn-white:hover {
    background: var(--primary); color: #fff;
    transform: translateY(-2px);
}

/* Cards base */
.card {
    background: #fff; border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); overflow: hidden;
    transition: all var(--transition);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--secondary); color: #fff;
    padding: 10px 0; font-size: 0.85rem;
}
.top-bar-inner {
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.top-bar-left, .top-bar-right {
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--primary); }
.top-bar-item {
    display: flex; align-items: center; gap: 7px;
    color: rgba(255,255,255,0.85);
}
.top-bar-item i { color: var(--primary); font-size: 0.9rem; }
.top-bar .btn-apt {
    background: var(--primary); color: #fff;
    padding: 7px 20px; border-radius: 100px;
    font-size: 0.82rem; font-weight: 600;
    transition: all var(--transition);
}
.top-bar .btn-apt:hover { background: #fff; color: var(--primary); }

/* ============================================================
   STICKY NAVBAR
   ============================================================ */
.site-navbar {
    position: sticky; top: 0; z-index: 1000;
    background: #fff; height: var(--navbar-h);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: all var(--transition);
}
.site-navbar.scrolled {
    height: 66px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}
.navbar-inner {
    height: 100%; display: flex;
    align-items: center; justify-content: space-between;
}
.site-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.logo-icon img { width: 30px; filter: brightness(0) invert(1); }
.logo-text .logo-name {
    font-family: var(--font-head); font-size: 1.3rem;
    font-weight: 700; color: var(--secondary); line-height: 1.1;
}
.logo-text .logo-sub {
    font-size: 0.72rem; color: var(--primary);
    letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: flex; align-items: center; gap: 5px;
    padding: 8px 14px; border-radius: 8px;
    font-weight: 500; font-size: 0.93rem;
    color: var(--text-dark);
    transition: all var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    background: var(--primary-light); color: var(--primary);
}
.nav-menu .has-dropdown > a::after {
    content: '\f107'; font-family: 'Font Awesome 6 Free';
    font-weight: 900; font-size: 0.75rem;
}
.dropdown-menu {
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 220px; background: #fff;
    border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
    padding: 8px; opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    border-top: 3px solid var(--primary);
}
.nav-menu .has-dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu li a {
    display: block; padding: 9px 14px; border-radius: 6px;
    font-size: 0.9rem; color: var(--text-dark);
    transition: all var(--transition);
}
.dropdown-menu li a:hover { background: var(--primary-light); color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    padding: 8px; cursor: pointer;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--secondary); border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
    display: none; position: fixed;
    top: var(--navbar-h); left: 0; right: 0; bottom: 0;
    background: #fff; z-index: 999;
    overflow-y: auto; padding: 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul li a {
    display: block; padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem; font-weight: 500;
    color: var(--text-dark);
}
.mobile-menu ul li a:hover { color: var(--primary); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 20px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    min-height: calc(100vh - var(--navbar-h) - 44px);
    background: linear-gradient(135deg, var(--secondary) 0%, #1a3f70 60%, #0d3060 100%);
    position: relative; overflow: hidden;
    display: flex; align-items: center;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-shapes .shape {
    position: absolute; border-radius: 50%;
    background: rgba(0,167,160,0.12);
}
.hero-bg-shapes .shape-1 { width: 500px; height: 500px; top: -100px; right: -100px; }
.hero-bg-shapes .shape-2 { width: 300px; height: 300px; bottom: -50px; left: 200px; background: rgba(255,255,255,0.04); }
.hero-bg-shapes .shape-3 { width: 150px; height: 150px; top: 40%; left: 35%; background: rgba(0,167,160,0.08); }
.hero-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
    position: relative; z-index: 2; width: 100%;
    padding: 80px 0;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,167,160,0.2); color: var(--primary);
    border: 1px solid rgba(0,167,160,0.4);
    padding: 7px 18px; border-radius: 100px;
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-badge i { font-size: 0.8rem; }
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800; color: #fff;
    line-height: 1.15; margin-bottom: 22px;
}
.hero-title .accent { color: var(--primary); }
.hero-title .line-2 { display: block; }
.hero-desc {
    font-size: 1.1rem; color: rgba(255,255,255,0.75);
    margin-bottom: 36px; max-width: 480px; line-height: 1.8;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
    display: flex; gap: 32px; flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .num {
    font-family: var(--font-head); font-size: 2rem;
    font-weight: 800; color: #fff; line-height: 1;
}
.hero-stat .num span { color: var(--primary); }
.hero-stat .label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 4px; }
.hero-image-wrap {
    position: relative; display: flex;
    align-items: center; justify-content: center;
}
.hero-img-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-xl); padding: 20px;
    position: relative; z-index: 2;
}
.hero-img-card img {
    border-radius: var(--radius-lg);
    width: 100%; max-width: 480px;
    object-fit: cover; aspect-ratio: 4/3;
}
.hero-float-card {
    position: absolute; background: #fff;
    border-radius: var(--radius-md); padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 12px;
    min-width: 180px; z-index: 3;
}
.hero-float-card.card-1 { top: 20px; left: -30px; }
.hero-float-card.card-2 { bottom: 30px; right: -20px; }
.float-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.float-icon.green { background: var(--primary-light); color: var(--primary); }
.float-icon.blue { background: rgba(11,44,95,0.1); color: var(--secondary); }
.float-card-text .val {
    font-weight: 700; font-size: 1.1rem; color: var(--secondary);
}
.float-card-text .lbl {
    font-size: 0.78rem; color: var(--text-light);
}

/* ============================================================
   STATS COUNTER SECTION
   ============================================================ */
.stats-section {
    background: #fff; padding: 0;
    box-shadow: var(--shadow-md);
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
    display: flex; align-items: center; gap: 20px;
    padding: 40px 32px;
    border-right: 1px solid var(--border);
    transition: all var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--primary-light); }
.stat-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.4rem; flex-shrink: 0;
}
.stat-num {
    font-family: var(--font-head); font-size: 2.2rem;
    font-weight: 800; color: var(--secondary); line-height: 1;
}
.stat-label { font-size: 0.88rem; color: var(--text-mid); margin-top: 4px; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--bg); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 70px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-main {
    border-radius: var(--radius-lg);
    width: 100%; aspect-ratio: 4/5;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}
.about-img-badge {
    position: absolute; bottom: 30px; right: -20px;
    background: #fff; border-radius: var(--radius-md);
    padding: 20px 24px; box-shadow: var(--shadow-lg);
    text-align: center; min-width: 150px;
}
.about-img-badge .big { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.about-img-badge .sm { font-size: 0.85rem; color: var(--text-mid); }
.about-img-accent {
    position: absolute; top: -15px; left: -15px;
    width: 80px; height: 80px; background: var(--primary);
    border-radius: 50%; opacity: 0.15;
}
.about-points { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 32px; }
.about-point {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 20px; background: #fff;
    border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.about-point:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.about-point-icon {
    width: 40px; height: 40px; background: var(--primary-light);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: var(--primary); flex-shrink: 0;
}
.about-point-text h4 { font-weight: 600; color: var(--secondary); margin-bottom: 3px; }
.about-point-text p { font-size: 0.88rem; color: var(--text-mid); }

/* ============================================================
   DEPARTMENTS SECTION
   ============================================================ */
.departments-section { background: #fff; }
.depts-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.dept-card {
    background: var(--bg); border-radius: var(--radius-md);
    padding: 32px 24px; text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition); cursor: pointer;
    position: relative; overflow: hidden;
}
.dept-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0; transition: opacity var(--transition);
}
.dept-card:hover { border-color: var(--primary); transform: translateY(-6px); }
.dept-card:hover::before { opacity: 1; }
.dept-card:hover .dept-icon,
.dept-card:hover .dept-name,
.dept-card:hover .dept-desc { color: #fff; }
.dept-card:hover .dept-icon-wrap { background: rgba(255,255,255,0.2); }
.dept-icon-wrap {
    width: 70px; height: 70px; background: var(--primary-light);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; transition: all var(--transition);
    position: relative; z-index: 1;
}
.dept-icon { font-size: 1.8rem; color: var(--primary); transition: color var(--transition); }
.dept-name {
    font-weight: 700; font-size: 1.05rem; color: var(--secondary);
    margin-bottom: 8px; position: relative; z-index: 1;
    transition: color var(--transition);
}
.dept-desc {
    font-size: 0.85rem; color: var(--text-mid);
    position: relative; z-index: 1;
    transition: color var(--transition);
}

/* ============================================================
   DOCTORS SECTION (Swiper)
   ============================================================ */
.doctors-section { background: var(--bg); }
.doctor-card {
    background: #fff; border-radius: var(--radius-md);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doctor-img {
    width: 100%; aspect-ratio: 3/4; object-fit: cover;
    background: var(--primary-light);
}
.doctor-info { padding: 20px; }
.doctor-spec {
    font-size: 0.78rem; color: var(--primary);
    font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; margin-bottom: 6px;
}
.doctor-name {
    font-family: var(--font-head); font-size: 1.15rem;
    font-weight: 700; color: var(--secondary); margin-bottom: 6px;
}
.doctor-qual { font-size: 0.85rem; color: var(--text-mid); margin-bottom: 14px; }
.doctor-exp {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.85rem; color: var(--text-mid); margin-bottom: 16px;
}
.doctor-exp i { color: var(--primary); }
.doctor-card .btn { width: 100%; justify-content: center; }
.doctors-nav {
    display: flex; gap: 12px; justify-content: center; margin-top: 40px;
}
.swiper-btn {
    width: 48px; height: 48px; border-radius: 50%;
    background: #fff; box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--secondary); cursor: pointer;
    transition: all var(--transition);
}
.swiper-btn:hover { background: var(--primary); color: #fff; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #1a3f70 100%);
    position: relative; overflow: hidden;
}
.why-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='30'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.why-section .section-title { color: #fff; }
.why-section .section-sub { color: rgba(255,255,255,0.7); }
.why-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; position: relative; z-index: 1;
}
.why-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md); padding: 32px 28px;
    text-align: center; transition: all var(--transition);
}
.why-card:hover {
    background: rgba(0,167,160,0.2);
    border-color: rgba(0,167,160,0.4);
    transform: translateY(-6px);
}
.why-icon {
    width: 72px; height: 72px; border-radius: 20px;
    background: rgba(0,167,160,0.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 1.8rem; color: var(--primary);
}
.why-title {
    font-weight: 700; font-size: 1.05rem; color: #fff;
    margin-bottom: 10px;
}
.why-desc { font-size: 0.9rem; color: rgba(255,255,255,0.65); }

/* ============================================================
   HEALTH PACKAGES
   ============================================================ */
.packages-section { background: var(--bg); }
.packages-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.package-card {
    background: #fff; border-radius: var(--radius-md);
    padding: 36px 30px; box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all var(--transition); position: relative; overflow: hidden;
}
.package-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary);
}
.package-card.featured::before {
    content: 'Most Popular';
    position: absolute; top: 20px; right: -28px;
    background: var(--accent); color: #fff;
    font-size: 0.75rem; font-weight: 700;
    padding: 5px 40px; transform: rotate(45deg);
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.package-card.featured:hover { transform: translateY(-6px); }
.pkg-name {
    font-weight: 700; font-size: 1.15rem; color: var(--secondary);
    margin-bottom: 8px;
}
.package-card.featured .pkg-name { color: #fff; }
.pkg-price {
    display: flex; align-items: baseline; gap: 4px;
    margin-bottom: 24px;
}
.pkg-price .currency { font-size: 1.2rem; color: var(--primary); font-weight: 700; }
.package-card.featured .pkg-price .currency { color: rgba(255,255,255,0.8); }
.pkg-price .amount {
    font-family: var(--font-head); font-size: 3rem;
    font-weight: 800; color: var(--secondary); line-height: 1;
}
.package-card.featured .pkg-price .amount { color: #fff; }
.pkg-price .period { font-size: 0.85rem; color: var(--text-mid); }
.pkg-tests { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pkg-test {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; color: var(--text-mid);
}
.package-card.featured .pkg-test { color: rgba(255,255,255,0.85); }
.pkg-test i { color: var(--primary); font-size: 0.85rem; }
.package-card.featured .pkg-test i { color: rgba(255,255,255,0.8); }
.package-card .btn { width: 100%; justify-content: center; }
.package-card.featured .btn { background: #fff; color: var(--primary); }
.package-card.featured .btn:hover { background: var(--secondary); color: #fff; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: #fff; }
.testimonial-card {
    background: linear-gradient(135deg, rgba(0,167,160,0.05), rgba(11,44,95,0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,167,160,0.15);
    border-radius: var(--radius-lg); padding: 36px;
    position: relative;
}
.testi-quote {
    font-size: 3rem; color: var(--primary); opacity: 0.3;
    line-height: 1; margin-bottom: 16px; font-family: serif;
}
.testi-text {
    font-size: 0.98rem; color: var(--text-mid); line-height: 1.8;
    margin-bottom: 24px; font-style: italic;
}
.testi-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testi-stars i { color: #f59e0b; font-size: 0.9rem; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
    width: 52px; height: 52px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    border: 3px solid var(--primary);
    background: var(--primary-light);
}
.testi-name { font-weight: 700; color: var(--secondary); font-size: 0.95rem; }
.testi-role { font-size: 0.82rem; color: var(--text-light); }

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section { background: var(--bg); }
.blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-thumb {
    width: 100%; aspect-ratio: 16/9; object-fit: cover;
    background: var(--primary-light);
}
.blog-thumb-placeholder {
    width: 100%; aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary-light), rgba(11,44,95,0.1));
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--primary);
}
.blog-body { padding: 24px; }
.blog-cat {
    display: inline-block; background: var(--primary-light); color: var(--primary);
    padding: 4px 12px; border-radius: 100px; font-size: 0.75rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 12px;
}
.blog-title {
    font-family: var(--font-head); font-size: 1.05rem;
    font-weight: 700; color: var(--secondary);
    margin-bottom: 10px; line-height: 1.4;
    transition: color var(--transition);
}
.blog-card:hover .blog-title { color: var(--primary); }
.blog-excerpt { font-size: 0.88rem; color: var(--text-mid); margin-bottom: 16px; }
.blog-meta { display: flex; align-items: center; gap: 16px; font-size: 0.82rem; color: var(--text-light); }
.blog-meta i { color: var(--primary); }

/* ============================================================
   APPOINTMENT SECTION
   ============================================================ */
.appointment-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative; overflow: hidden;
}
.appointment-section::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 600px; height: 600px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.appt-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center; position: relative; z-index: 1;
}
.appt-left .section-title { color: #fff; }
.appt-left .section-sub { color: rgba(255,255,255,0.8); }
.appt-features { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.appt-feature { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.9); }
.appt-feature i { color: rgba(255,255,255,0.8); width: 20px; }
.appt-form {
    background: #fff; border-radius: var(--radius-lg);
    padding: 36px; box-shadow: var(--shadow-lg);
}
.appt-form h3 {
    font-family: var(--font-head); font-size: 1.4rem;
    color: var(--secondary); margin-bottom: 24px; font-weight: 700;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
.form-control {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--border); border-radius: 10px;
    font-size: 0.95rem; color: var(--text-dark);
    transition: border-color var(--transition);
    font-family: var(--font-body);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,167,160,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.appt-form .btn { width: 100%; justify-content: center; margin-top: 8px; }
/* CF7 overrides */
.wpcf7-form .form-control { background: var(--bg); }
.wpcf7-spinner { display: none; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { background: var(--bg); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; background: none; font-family: var(--font-body);
    font-size: 1rem; font-weight: 600; color: var(--secondary);
    cursor: pointer; text-align: left; transition: all var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question.active { color: var(--primary); }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.faq-question.active .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-answer.open { max-height: 500px; padding-bottom: 20px; }
.faq-answer p { padding: 0 24px; font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { background: #fff; }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 60px; align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 24px; background: var(--bg);
    border-radius: var(--radius-md); transition: all var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); background: var(--primary-light); }
.contact-card-icon {
    width: 50px; height: 50px; background: var(--primary);
    border-radius: 14px; display: flex; align-items: center;
    justify-content: center; color: #fff; font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-card h4 { font-weight: 700; color: var(--secondary); margin-bottom: 6px; }
.contact-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }
.contact-card a { color: var(--primary); font-weight: 600; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 400px; border: none; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--secondary); color: rgba(255,255,255,0.8);
}
.footer-main { padding: 70px 0 40px; }
.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 48px;
}
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: var(--primary); }
.footer-about {
    font-size: 0.9rem; color: rgba(255,255,255,0.65);
    line-height: 1.8; margin: 16px 0 24px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.8); font-size: 0.9rem;
    transition: all var(--transition);
}
.social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-heading {
    font-weight: 700; color: #fff; font-size: 1rem;
    margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer-heading::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 36px; height: 2px; background: var(--primary);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: all var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 6px; }
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact-item i { color: var(--primary); margin-top: 3px; font-size: 0.9rem; }
.footer-contact-item span { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.newsletter-form { display: flex; gap: 8px; margin-top: 16px; }
.newsletter-input {
    flex: 1; padding: 11px 16px; background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
    color: #fff; font-family: var(--font-body); font-size: 0.9rem;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-input:focus { outline: none; border-color: var(--primary); }
.newsletter-btn {
    padding: 11px 20px; background: var(--primary); color: #fff;
    border-radius: 8px; font-weight: 600; font-size: 0.88rem;
    transition: all var(--transition); white-space: nowrap;
}
.newsletter-btn:hover { background: var(--primary-dark); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.88rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: var(--primary); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--primary); }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-whatsapp {
    position: fixed; bottom: 90px; right: 24px; z-index: 900;
    width: 56px; height: 56px; background: #25D366;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    transition: all var(--transition); cursor: pointer;
}
.floating-whatsapp:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.6); }
.floating-call {
    position: fixed; bottom: 160px; right: 24px; z-index: 900;
    width: 56px; height: 56px; background: var(--accent);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff; box-shadow: 0 4px 20px rgba(255,107,53,0.5);
    transition: all var(--transition); cursor: pointer;
    animation: pulse-call 2s infinite;
}
.floating-call:hover { transform: scale(1.1); }
@keyframes pulse-call {
    0%, 100% { box-shadow: 0 4px 20px rgba(255,107,53,0.5); }
    50% { box-shadow: 0 4px 30px rgba(255,107,53,0.8), 0 0 0 10px rgba(255,107,53,0.1); }
}
.scroll-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 900;
    width: 44px; height: 44px; background: var(--secondary);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: #fff; cursor: pointer;
    opacity: 0; visibility: hidden; transition: all var(--transition);
    box-shadow: var(--shadow-md);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary); transform: translateY(-3px); }

/* ============================================================
   AOS Animations (fallback for AOS library)
   ============================================================ */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].aos-animate { opacity: 1; transform: translateY(0); }
[data-aos="fade-left"] { transform: translateX(-30px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }
[data-aos="fade-right"] { transform: translateX(30px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs-wrap {
    background: var(--secondary); padding: 60px 0;
    position: relative; overflow: hidden;
}
.breadcrumbs-wrap::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,167,160,0.3), transparent);
}
.breadcrumbs-inner { position: relative; z-index: 1; }
.breadcrumbs-inner h1 {
    font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700; color: #fff; margin-bottom: 12px;
}
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb-nav a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.breadcrumb-nav a:hover { color: var(--primary); }
.breadcrumb-nav span { color: rgba(255,255,255,0.4); font-size: 0.9rem; }
.breadcrumb-nav .current { color: var(--primary); font-size: 0.9rem; }

/* ============================================================
   SINGLE POST / PAGE STYLES
   ============================================================ */
.content-area { padding: 70px 0; }
.content-inner { display: grid; grid-template-columns: 1fr 340px; gap: 48px; }
.entry-content h2, .entry-content h3 { font-family: var(--font-head); color: var(--secondary); margin: 28px 0 14px; }
.entry-content p { color: var(--text-mid); margin-bottom: 16px; line-height: 1.8; }
.entry-content img { border-radius: var(--radius-md); margin: 20px 0; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 16px; color: var(--text-mid); }
.entry-content li { margin-bottom: 8px; }
.entry-title { font-family: var(--font-head); font-size: 2rem; color: var(--secondary); margin-bottom: 20px; }
.entry-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.88rem; color: var(--text-light); margin-bottom: 28px; }
.entry-meta i { color: var(--primary); }
.widget-area { display: flex; flex-direction: column; gap: 28px; }
.widget { background: #fff; border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); }
.widget-title { font-family: var(--font-head); font-size: 1.1rem; color: var(--secondary); font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.widget ul { display: flex; flex-direction: column; gap: 10px; }
.widget ul li a { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-mid); padding: 8px 0; border-bottom: 1px solid var(--border); }
.widget ul li a:hover { color: var(--primary); }
.widget ul li a::before { content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.7rem; color: var(--primary); }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 0; }
.error-number { font-family: var(--font-head); font-size: clamp(6rem, 15vw, 12rem); font-weight: 800; color: var(--primary); opacity: 0.15; line-height: 1; }
.error-content { margin-top: -40px; }
.error-content h2 { font-family: var(--font-head); font-size: 2rem; color: var(--secondary); margin-bottom: 16px; }
.error-content p { color: var(--text-mid); margin-bottom: 28px; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-desc { margin: 0 auto 28px; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image-wrap { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-img-wrap { max-width: 500px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .depts-grid { grid-template-columns: repeat(2, 1fr); }
    .packages-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; }
    .appt-inner { grid-template-columns: 1fr; }
    .content-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    :root { --navbar-h: 66px; }
    .section-pad { padding: 60px 0; }
    .top-bar { display: none; }
    .nav-menu, .nav-cta .btn { display: none; }
    .hamburger { display: flex; }
    .stat-item { padding: 28px 20px; }
    .depts-grid { grid-template-columns: 1fr 1fr; }
    .packages-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .stats-grid { grid-template-columns: 1fr; }
    .depts-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; align-items: center; }
    .hero-stats { gap: 20px; }
}

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.search-result { background: #fff; border-radius: var(--radius-md); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.search-result h2 { font-family: var(--font-head); font-size: 1.3rem; color: var(--secondary); margin-bottom: 10px; }
.search-result h2 a:hover { color: var(--primary); }
.search-result p { color: var(--text-mid); font-size: 0.95rem; }
.search-form-wrap { max-width: 600px; margin: 0 auto 40px; }
.search-form { display: flex; gap: 12px; }
.search-form input[type="search"] { flex: 1; }
