/*
Theme Name: IMCH Hospital
Theme URI: https://imchhospital.in
Author: IMCH
Author URI: https://imchhospital.in
Description: Complete professional hospital website for IMCH. Includes Homepage, About, Departments, Doctors, Gallery, Contact, Health Packages pages. Elementor-ready, Amelia booking, Razorpay payments.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: imch-hospital
Tags: medical, hospital, health, elementor, responsive, full-site
*/

/* =============================================
   DESIGN TOKENS
============================================= */
:root {
	--t:   #0d9488;
	--td:  #0f766e;
	--tl:  #ccfbf1;
	--tbg: #f0fdfa;
	--ac:  #14b8a6;
	--gd:  #f59e0b;
	--rd:  #dc2626;
	--gn:  #22c55e;
	--dk:  #1e293b;
	--md:  #475569;
	--lt:  #94a3b8;
	--br:  #e2e8f0;
	--bg:  #f8fafc;
	--wh:  #ffffff;
	--r:   12px;
	--rl:  20px;
	--sh:  0 4px 24px rgba(13,148,136,.10);
	--shl: 0 8px 40px rgba(13,148,136,.18);
	--shc: 0 2px 16px rgba(0,0,0,.07);
	--fn:  'Poppins', sans-serif;
	--tr:  .25s cubic-bezier(.4,0,.2,1);
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--fn); color: var(--dk); background: var(--wh); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--t); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--td); }
ul { list-style: none; }
p { margin-bottom: 1rem; }
h1,h2,h3,h4,h5,h6 { font-family: var(--fn); font-weight: 700; line-height: 1.2; color: var(--dk); }
h1 { font-size: clamp(2rem,5vw,3.2rem); }
h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.05rem; }
input, select, textarea, button { font-family: var(--fn); }

/* =============================================
   LAYOUT
============================================= */
.imch-wrap  { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.imch-sec   { padding: 5rem 0; }
.imch-sec-sm { padding: 3rem 0; }
.imch-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.imch-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.imch-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }

/* Section header */
.imch-sh { text-align: center; margin-bottom: 3rem; }
.imch-sh .tag {
	display: inline-block; background: var(--tl); color: var(--td);
	font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	padding: .3rem 1rem; border-radius: 20px; margin-bottom: .75rem;
}
.imch-sh h2 { margin-bottom: .75rem; }
.imch-sh p  { color: var(--md); max-width: 560px; margin: 0 auto; font-size: .95rem; }

/* =============================================
   BUTTONS
============================================= */
.btn-imch {
	display: inline-flex; align-items: center; gap: .5rem;
	background: linear-gradient(135deg,var(--t),var(--td));
	color: #fff; padding: .85rem 2rem; border-radius: var(--r);
	font-weight: 600; font-size: .95rem; border: none; cursor: pointer;
	text-decoration: none; transition: transform var(--tr), box-shadow var(--tr);
	box-shadow: 0 4px 16px rgba(13,148,136,.35);
}
.btn-imch:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(13,148,136,.45); color: #fff; }
.btn-imch:active { transform: translateY(0); }

.btn-ghost {
	display: inline-flex; align-items: center; gap: .5rem;
	background: transparent; color: var(--t);
	padding: .8rem 1.8rem; border-radius: var(--r);
	font-weight: 600; font-size: .95rem; border: 2px solid var(--t);
	cursor: pointer; text-decoration: none; transition: all var(--tr);
}
.btn-ghost:hover { background: var(--t); color: #fff; }
.btn-wh {
	display: inline-flex; align-items: center; gap: .5rem;
	color: #fff; border: 2px solid rgba(255,255,255,.55);
	padding: .8rem 1.8rem; border-radius: var(--r);
	font-weight: 600; font-size: .93rem;
	text-decoration: none; transition: background var(--tr);
}
.btn-wh:hover { background: rgba(255,255,255,.15); color: #fff; }

/* =============================================
   EMERGENCY BAR
============================================= */
.imch-ebar {
	background: linear-gradient(90deg,#b91c1c,#dc2626);
	color: #fff; text-align: center; padding: .45rem 1rem; font-size: .82rem; font-weight: 500;
}
.imch-ebar a { color: #fde68a; font-weight: 700; }
.imch-ebar a:hover { color: #fff; }

/* =============================================
   HEADER & NAV
============================================= */
#imch-hdr {
	position: sticky; top: 0; z-index: 200;
	background: var(--wh); box-shadow: 0 2px 16px rgba(0,0,0,.07);
	transition: box-shadow var(--tr);
}
#imch-hdr.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.13); }
#imch-nw {
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 1.5rem; height: 70px; max-width: 1400px; margin: 0 auto;
}
.imch-logo { font-size: 1.5rem; font-weight: 800; color: var(--t); white-space: nowrap; text-decoration: none; }
.imch-logo span { color: var(--dk); }
.imch-logo img { height: 46px; width: auto; }

#imch-nav { display: flex; align-items: center; gap: 1.8rem; }
#imch-nav > li > a {
	font-size: .88rem; font-weight: 500; color: var(--md);
	padding: .4rem 0; position: relative; text-decoration: none; transition: color var(--tr);
}
#imch-nav > li > a::after {
	content:''; position: absolute; bottom: -2px; left: 0;
	width: 0; height: 2px; background: var(--t); transition: width var(--tr);
}
#imch-nav > li > a:hover,
#imch-nav > li.current-menu-item > a { color: var(--t); }
#imch-nav > li > a:hover::after,
#imch-nav > li.current-menu-item > a::after { width: 100%; }

.menu-item-has-children { position: relative; }
.menu-item-has-children > .sub-menu {
	position: absolute; top: 110%; left: 50%; transform: translateX(-50%);
	background: var(--wh); border-radius: var(--r); box-shadow: 0 8px 40px rgba(0,0,0,.14);
	min-width: 200px; padding: .5rem 0; opacity: 0; visibility: hidden;
	transition: all .2s; z-index: 300; border-top: 3px solid var(--t);
}
.menu-item-has-children:hover > .sub-menu { opacity: 1; visibility: visible; top: 100%; }
.sub-menu li a { display: block; padding: .6rem 1.2rem; font-size: .85rem; color: var(--md); transition: all var(--tr); }
.sub-menu li a:hover { background: var(--tbg); color: var(--t); padding-left: 1.5rem; }

.nav-cta { background: var(--t) !important; color: #fff !important; padding: .55rem 1.3rem !important; border-radius: var(--r) !important; font-weight: 600 !important; font-size: .87rem !important; transition: background var(--tr) !important; }
.nav-cta:hover { background: var(--td) !important; color: #fff !important; }
.nav-cta::after { display: none !important; }

#imch-hbg { display: none; background: none; border: 2px solid var(--br); border-radius: 8px; padding: .5rem; cursor: pointer; flex-direction: column; gap: 4px; }
#imch-hbg span { display: block; width: 20px; height: 2px; background: var(--dk); transition: all .3s; }

/* =============================================
   PAGE HERO BANNER (for inner pages)
============================================= */
.page-hero {
	background: linear-gradient(135deg,var(--td) 0%,#0e7490 100%);
	padding: 4rem 0 3rem; text-align: center; position: relative; overflow: hidden;
}
.page-hero::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='%23fff' fill-opacity='.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero::after { content:''; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px; background: var(--wh); clip-path: ellipse(55% 100% at 50% 100%); }
.page-hero-inner { position: relative; z-index: 2; color: #fff; }
.page-hero h1 { color: #fff; font-weight: 800; margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1rem; margin-bottom: 1rem; }
.breadcrumb   { display: inline-flex; gap: .5rem; align-items: center; font-size: .83rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .6; }

/* =============================================
   HOMEPAGE HERO
============================================= */
.home-hero {
	background: linear-gradient(135deg,#0f766e 0%,#0e7490 100%);
	min-height: 88vh; display: flex; align-items: center; position: relative; overflow: hidden;
}
.home-hero::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='%23fff' fill-opacity='.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.home-hero::after { content:''; position: absolute; bottom: -1px; left: 0; right: 0; height: 80px; background: var(--wh); clip-path: ellipse(55% 100% at 50% 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: 4rem 0 5rem; }
.hero-content .badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.15); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: .4rem 1rem; font-size: .8rem; font-weight: 600; color: #fff; margin-bottom: 1.5rem; letter-spacing: .04em; }
.hero-content h1 { color: #fff; font-size: clamp(2.2rem,5vw,3.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.2rem; }
.hero-content h1 em { color: #99f6e4; font-style: normal; }
.hero-content p { color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 500px; margin-bottom: 2rem; line-height: 1.7; }
.hero-btns  { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero-stat  { background: rgba(255,255,255,.12); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r); padding: .9rem 1.2rem; text-align: center; }
.hero-stat .n { font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat .l { font-size: .73rem; color: rgba(255,255,255,.7); margin-top: .2rem; }
.hero-img-wrap { position: relative; display: flex; justify-content: center; }
.hero-img-wrap img { border-radius: var(--rl); max-height: 480px; object-fit: cover; }
.hero-img-placeholder { background: rgba(255,255,255,.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--rl); padding: 3.5rem 2.5rem; text-align: center; color: #fff; }
.hero-pill { position: absolute; bottom: -1rem; left: -1rem; background: var(--wh); border-radius: 14px; padding: .9rem 1.2rem; box-shadow: 0 8px 32px rgba(0,0,0,.2); display: flex; align-items: center; gap: .7rem; min-width: 200px; }
.hero-pill .ico { width: 38px; height: 38px; background: #dcfce7; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.hero-pill .nm { font-weight: 700; color: var(--dk); font-size: .88rem; }
.hero-pill .tx { font-size: .75rem; color: var(--lt); }

/* =============================================
   ABOUT SECTION / PAGE
============================================= */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--rl); box-shadow: var(--shl); }
.about-years { position: absolute; bottom: -1rem; right: -1rem; background: var(--t); color: #fff; border-radius: var(--r); padding: 1.2rem 1.5rem; text-align: center; box-shadow: var(--sh); }
.about-years .big { font-size: 2rem; font-weight: 800; line-height: 1; }
.about-years .sm  { font-size: .75rem; opacity: .85; }
.about-subtitle { display: inline-block; background: var(--tl); color: var(--td); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .9rem; border-radius: 20px; margin-bottom: 1rem; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.feat-item { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; background: var(--tbg); border-radius: 10px; font-size: .87rem; font-weight: 500; }
.feat-item .ico { width: 32px; height: 32px; background: var(--tl); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .95rem; }
.mission-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.mission-card { background: var(--wh); border-radius: var(--rl); padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shc); border-top: 4px solid var(--t); }
.mission-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.mission-card h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.mission-card p  { font-size: .88rem; color: var(--md); margin: 0; }
.team-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 3rem; }
.team-card  { background: var(--wh); border-radius: var(--rl); overflow: hidden; box-shadow: var(--shc); transition: transform var(--tr), box-shadow var(--tr); text-align: center; }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shl); }
.team-card img   { width: 100%; height: 220px; object-fit: cover; }
.team-card-body  { padding: 1.2rem; }
.team-card h4    { font-size: .93rem; margin-bottom: .2rem; }
.team-card .role { font-size: .78rem; color: var(--t); font-weight: 600; }
.team-card .dept { font-size: .75rem; color: var(--lt); margin-top: .15rem; }

/* =============================================
   DEPARTMENTS SECTION / PAGE
============================================= */
.dept-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.dept-card {
	background: var(--wh); border-radius: var(--rl); padding: 1.75rem 1.2rem;
	text-align: center; box-shadow: var(--shc);
	transition: all var(--tr); border: 2px solid transparent;
	text-decoration: none; display: block; position: relative; overflow: hidden;
	color: var(--dk);
}
.dept-card::before { content:''; position: absolute; inset: 0; background: linear-gradient(135deg,var(--tl),transparent); opacity: 0; transition: opacity var(--tr); }
.dept-card:hover { transform: translateY(-5px); box-shadow: var(--shl); border-color: var(--tl); color: var(--dk); }
.dept-card:hover::before { opacity: 1; }
.dept-ico { width: 62px; height: 62px; background: var(--tl); border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; margin: 0 auto 1rem; position: relative; z-index: 1; transition: background var(--tr); }
.dept-card:hover .dept-ico { background: var(--t); }
.dept-card h4 { font-size: .93rem; margin-bottom: .4rem; position: relative; z-index: 1; }
.dept-card p  { font-size: .77rem; color: var(--lt); margin: 0; position: relative; z-index: 1; }
.dept-arrow   { display: block; margin-top: .6rem; font-size: .77rem; font-weight: 600; color: var(--t); opacity: 0; transition: opacity var(--tr); position: relative; z-index: 1; }
.dept-card:hover .dept-arrow { opacity: 1; }

/* Full dept page card */
.dept-full-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.dept-full-card { background: var(--wh); border-radius: var(--rl); overflow: hidden; box-shadow: var(--shc); transition: all var(--tr); }
.dept-full-card:hover { transform: translateY(-5px); box-shadow: var(--shl); }
.dept-full-header { background: linear-gradient(135deg,var(--t),var(--td)); padding: 2rem 1.5rem; text-align: center; }
.dept-full-ico  { font-size: 2.5rem; margin-bottom: .75rem; }
.dept-full-header h3 { color: #fff; font-size: 1.1rem; }
.dept-full-header p  { color: rgba(255,255,255,.8); font-size: .82rem; margin: .3rem 0 0; }
.dept-full-body { padding: 1.5rem; }
.dept-full-body ul li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; padding: .35rem 0; border-bottom: 1px solid var(--br); color: var(--md); }
.dept-full-body ul li:last-child { border: none; }
.dept-full-body ul li::before { content: '&#x2713;'; color: var(--t); font-weight: 700; flex-shrink: 0; }
.dept-full-footer { padding: 1rem 1.5rem 1.5rem; }
.dept-full-footer .btn-imch { width: 100%; justify-content: center; }

/* =============================================
   DOCTORS PAGE
============================================= */
.doctors-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.doc-card { background: var(--wh); border-radius: var(--rl); overflow: hidden; box-shadow: var(--shc); transition: all var(--tr); }
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shl); }
.doc-img { width: 100%; height: 240px; object-fit: cover; object-position: top; background: linear-gradient(135deg,var(--tbg),var(--tl)); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.doc-body { padding: 1.25rem; }
.doc-body h4 { font-size: .95rem; margin-bottom: .2rem; }
.doc-spec  { font-size: .8rem; color: var(--t); font-weight: 600; margin-bottom: .4rem; }
.doc-qual  { font-size: .78rem; color: var(--lt); margin-bottom: .75rem; }
.doc-tags  { display: flex; gap: .4rem; flex-wrap: wrap; }
.doc-tag   { background: var(--tbg); color: var(--td); font-size: .7rem; font-weight: 600; padding: .2rem .6rem; border-radius: 20px; }
.doc-foot  { padding: 0 1.25rem 1.25rem; }
.doc-foot .btn-imch { width: 100%; justify-content: center; font-size: .85rem; padding: .65rem 1rem; }
.doc-filter { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.doc-filter-btn { background: var(--bg); color: var(--md); border: 2px solid var(--br); padding: .5rem 1.2rem; border-radius: 20px; font-size: .83rem; font-weight: 600; cursor: pointer; font-family: var(--fn); transition: all var(--tr); }
.doc-filter-btn.active, .doc-filter-btn:hover { background: var(--t); color: #fff; border-color: var(--t); }

/* =============================================
   GALLERY PAGE
============================================= */
.gallery-filter { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.5rem; justify-content: center; }
.gal-btn { background: var(--bg); color: var(--md); border: 2px solid var(--br); padding: .5rem 1.4rem; border-radius: 20px; font-size: .83rem; font-weight: 600; cursor: pointer; font-family: var(--fn); transition: all var(--tr); }
.gal-btn.active, .gal-btn:hover { background: var(--t); color: #fff; border-color: var(--t); }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 220px; gap: .75rem; }
.gal-item { border-radius: var(--r); overflow: hidden; cursor: pointer; position: relative; background: var(--bg); }
.gal-item.span2 { grid-column: span 2; grid-row: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal-item:hover img { transform: scale(1.06); }
.gal-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(15,118,110,.8),transparent); opacity: 0; transition: opacity var(--tr); display: flex; align-items: flex-end; padding: 1rem; }
.gal-item:hover .gal-overlay { opacity: 1; }
.gal-overlay span { color: #fff; font-size: .83rem; font-weight: 600; }
.gal-item.hidden { display: none; }

/* Lightbox */
#imch-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9000; align-items: center; justify-content: center; }
#imch-lightbox.open { display: flex; }
.lb-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lb-inner img { border-radius: var(--r); max-height: 85vh; object-fit: contain; }
.lb-close { position: absolute; top: -2.5rem; right: 0; background: none; border: none; color: #fff; font-size: 1.75rem; cursor: pointer; }
.lb-cap { color: rgba(255,255,255,.8); text-align: center; margin-top: .75rem; font-size: .88rem; }

/* =============================================
   CONTACT PAGE
============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; }
.contact-info-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.ci-card { background: var(--wh); border-radius: var(--rl); padding: 1.4rem 1.6rem; box-shadow: var(--shc); display: flex; gap: 1rem; align-items: flex-start; transition: transform var(--tr), box-shadow var(--tr); }
.ci-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.ci-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--tl); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.ci-card h4 { font-size: .9rem; margin-bottom: .25rem; }
.ci-card p, .ci-card a { font-size: .85rem; color: var(--md); line-height: 1.6; }
.ci-card a:hover { color: var(--t); }
.hours-tbl { width: 100%; font-size: .82rem; margin-top: .4rem; }
.hours-tbl td { padding: .2rem 0; color: var(--md); }
.hours-tbl td:last-child { text-align: right; font-weight: 600; color: var(--dk); }
.hours-open { background: #dcfce7; color: #16a34a; font-size: .68rem; font-weight: 700; padding: .15rem .5rem; border-radius: 20px; margin-left: .3rem; }

.contact-form-card { background: var(--wh); border-radius: var(--rl); padding: 2.25rem; box-shadow: var(--shc); }
.contact-form-card h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.contact-form-card > p { font-size: .88rem; color: var(--md); margin-bottom: 1.5rem; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.cf-group { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; }
.cf-group label { font-size: .82rem; font-weight: 600; color: var(--dk); }
.cf-group input,
.cf-group select,
.cf-group textarea { border: 1.5px solid var(--br); border-radius: 10px; padding: .65rem .9rem; font-family: var(--fn); font-size: .88rem; color: var(--dk); outline: none; background: #fafafa; transition: border var(--tr), box-shadow var(--tr); }
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus { border-color: var(--t); box-shadow: 0 0 0 3px rgba(13,148,136,.1); background: var(--wh); }
.cf-group textarea { resize: vertical; min-height: 110px; }
.cf-submit { width: 100%; background: linear-gradient(135deg,var(--t),var(--td)); color: #fff; border: none; padding: 1rem; border-radius: var(--r); font-family: var(--fn); font-weight: 700; font-size: 1rem; cursor: pointer; transition: opacity var(--tr), transform var(--tr); }
.cf-submit:hover { opacity: .92; transform: translateY(-1px); }

.map-section { margin-top: 2.5rem; }
.map-section h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.map-wrap { border-radius: var(--rl); overflow: hidden; box-shadow: var(--shc); height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* =============================================
   HEALTH PACKAGES PAGE
============================================= */
.pkg-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.pkg-card { border-radius: var(--rl); padding: 2.5rem 2rem; position: relative; overflow: hidden; transition: transform var(--tr), box-shadow var(--tr); }
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--shl); }
.pkg-basic { background: var(--bg); border: 2px solid var(--br); }
.pkg-std   { background: linear-gradient(135deg,#0f766e,var(--ac)); color: #fff; }
.pkg-prem  { background: linear-gradient(135deg,#1e293b,#334155); color: #fff; }
.pkg-adv   { background: linear-gradient(135deg,#7c3aed,#5b21b6); color: #fff; }
.pkg-badge { position: absolute; top: 1.2rem; right: 1.2rem; background: var(--gd); color: #78350f; font-size: .7rem; font-weight: 700; padding: .25rem .8rem; border-radius: 20px; text-transform: uppercase; }
.pkg-nm { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: .4rem; }
.pkg-std .pkg-nm, .pkg-prem .pkg-nm, .pkg-adv .pkg-nm { color: rgba(255,255,255,.8); }
.pkg-price { margin: .5rem 0 1.5rem; line-height: 1; }
.pkg-price .cr { font-size: 1.3rem; vertical-align: top; margin-top: .4rem; display: inline-block; }
.pkg-price .am { font-size: 2.6rem; font-weight: 800; }
.pkg-std .cr, .pkg-std .am, .pkg-prem .cr, .pkg-prem .am, .pkg-adv .cr, .pkg-adv .am { color: #fff; }
.pkg-card ul { margin-bottom: 1.8rem; }
.pkg-card ul li { display: flex; align-items: center; gap: .5rem; font-size: .87rem; padding: .4rem 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.pkg-std ul li, .pkg-prem ul li, .pkg-adv ul li { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.88); }
.pck { color: var(--gn); font-weight: 700; }
.pkg-std .pck, .pkg-prem .pck, .pkg-adv .pck { color: #99f6e4; }
.pkg-cta { width: 100%; padding: .85rem; border-radius: var(--r); font-family: var(--fn); font-weight: 700; font-size: .92rem; cursor: pointer; border: none; transition: opacity var(--tr); }
.pkg-basic .pkg-cta { background: var(--t); color: #fff; }
.pkg-std .pkg-cta, .pkg-prem .pkg-cta, .pkg-adv .pkg-cta { background: rgba(255,255,255,.18); color: #fff; border: 2px solid rgba(255,255,255,.4); }
.pkg-cta:hover { opacity: .88; }

/* =============================================
   REVIEWS / TESTIMONIALS
============================================= */
.reviews-dark { background: linear-gradient(135deg,#0f766e,#0e7490); }
.reviews-dark .imch-sh .tag { background: rgba(255,255,255,.15); color: #fff; }
.reviews-dark .imch-sh h2  { color: #fff; }
.reviews-dark .imch-sh p   { color: rgba(255,255,255,.75); }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.rev-card { background: rgba(255,255,255,.13); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.18); border-radius: var(--rl); padding: 1.75rem; transition: transform var(--tr); }
.rev-card:hover { transform: translateY(-4px); }
.rev-stars { color: var(--gd); margin-bottom: .75rem; letter-spacing: .1em; font-size: 1rem; }
.rev-text  { font-size: .87rem; line-height: 1.7; color: rgba(255,255,255,.85); margin-bottom: 1.2rem; }
.rev-auth  { display: flex; align-items: center; gap: .7rem; }
.rev-ava   { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: .95rem; flex-shrink: 0; }
.rev-name  { font-weight: 600; color: #fff; font-size: .88rem; }
.rev-dept  { font-size: .74rem; color: rgba(255,255,255,.6); }

/* =============================================
   FLOAT BOOK BUTTON
============================================= */
.imch-float {
	position: fixed; bottom: 1.75rem; left: 1.75rem;
	background: linear-gradient(135deg,var(--t),var(--td));
	color: #fff; padding: .8rem 1.3rem; border-radius: 50px;
	display: flex; align-items: center; gap: .5rem;
	font-weight: 700; font-size: .85rem; font-family: var(--fn);
	text-decoration: none; z-index: 150; border: none; cursor: pointer;
	box-shadow: 0 4px 20px rgba(13,148,136,.5);
	animation: fpulse 2.5s infinite;
}
@keyframes fpulse { 0%,100%{box-shadow:0 4px 20px rgba(13,148,136,.5)} 50%{box-shadow:0 4px 30px rgba(13,148,136,.75)} }
.imch-float:hover { color: #fff; transform: scale(1.04); }

/* =============================================
   FOOTER
============================================= */
#imch-footer { background: #1e293b; color: #94a3b8; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.flogo { font-size: 1.5rem; font-weight: 800; color: var(--wh); margin-bottom: 1rem; }
.flogo span { color: var(--t); }
.fcol h4 { color: var(--wh); font-size: .93rem; margin-bottom: 1.2rem; }
.fcol ul li { margin-bottom: .5rem; }
.fcol ul li a { color: #94a3b8; font-size: .87rem; text-decoration: none; transition: color var(--tr); }
.fcol ul li a:hover { color: var(--t); }
.fcontact { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .85rem; font-size: .86rem; }
.fcontact-lbl { color: var(--wh); font-size: .78rem; font-weight: 600; margin-bottom: .1rem; }
.fcontact a { color: #94a3b8; text-decoration: none; }
.fcontact a:hover { color: var(--t); }
.footer-bottom { border-top: 1px solid #334155; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: .82rem; flex-wrap: wrap; gap: .5rem; }
.footer-bottom a { color: #64748b; text-decoration: none; margin-left: 1rem; }
.footer-bottom a:hover { color: var(--t); }
.fsocial { display: flex; gap: .65rem; margin-top: 1.2rem; }
.fsocial a { width: 34px; height: 34px; background: #2d3748; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: .85rem; text-decoration: none; transition: all var(--tr); }
.fsocial a:hover { background: var(--t); color: #fff; }

/* =============================================
   AMELIA + WOOCOMMERCE OVERRIDES
============================================= */
.amelia-app-booking .el-button--primary,
.amelia-container .el-button--primary { background: var(--t) !important; border-color: var(--t) !important; }
.amelia-app-booking .am-step-bookings-header { background: var(--t) !important; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce #place_order { background: var(--t) !important; color: #fff !important; font-family: var(--fn) !important; font-weight: 600 !important; border-radius: var(--r) !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--td) !important; }

/* =============================================
   TOAST NOTIFICATION
============================================= */
#imch-toast { position: fixed; bottom: 2rem; right: 2rem; padding: 1rem 1.5rem; border-radius: var(--r); font-weight: 600; font-size: .88rem; z-index: 9999; transform: translateY(100px); opacity: 0; transition: all .3s; pointer-events: none; }
#imch-toast.show { transform: translateY(0); opacity: 1; }
#imch-toast.success { background: #059669; color: #fff; }
#imch-toast.error   { background: #dc2626; color: #fff; }

/* =============================================
   SCROLL REVEAL ANIMATION
============================================= */
[data-anim] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
[data-anim].visible { opacity: 1; transform: translateY(0); }
[data-anim="left"]  { transform: translateX(-28px); }
[data-anim="left"].visible  { transform: translateX(0); }
[data-anim="right"] { transform: translateX(28px); }
[data-anim="right"].visible { transform: translateX(0); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
	.dept-grid, .doctors-grid { grid-template-columns: repeat(3,1fr); }
	.pkg-grid { grid-template-columns: 1fr 1fr; }
	.review-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
	.hero-inner { grid-template-columns: 1fr; }
	.hero-img-wrap { display: none; }
	.imch-grid-2 { grid-template-columns: 1fr; gap: 2rem; }
	.contact-grid { grid-template-columns: 1fr; }
	.mission-grid { grid-template-columns: 1fr 1fr; }
	.team-grid    { grid-template-columns: repeat(2,1fr); }
	.dept-full-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	#imch-nav { display: none; }
	#imch-nav.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 70px; left: 0; right: 0; background: var(--wh); padding: 1rem; z-index: 300; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
	#imch-nav.open > li { width: 100%; }
	#imch-nav.open > li > a { display: block; padding: .75rem 1rem; border-radius: 8px; }
	#imch-hbg { display: flex; }
	.dept-grid, .gallery-grid { grid-template-columns: repeat(2,1fr); }
	.gallery-grid { grid-auto-rows: 160px; }
	.gal-item.span2 { grid-column: span 1; grid-row: span 1; }
	.pkg-grid { grid-template-columns: 1fr; }
	.review-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; text-align: center; }
	.cf-row { grid-template-columns: 1fr; }
	.feat-grid { grid-template-columns: 1fr; }
	.mission-grid { grid-template-columns: 1fr; }
	.team-grid { grid-template-columns: 1fr 1fr; }
	.doctors-grid { grid-template-columns: 1fr 1fr; }
	.dept-full-grid { grid-template-columns: 1fr; }
	.hero-stats { gap: .75rem; }
	.imch-float { bottom: 1rem; left: 1rem; font-size: .8rem; padding: .7rem 1rem; }
}
@media (max-width: 480px) {
	.dept-grid { grid-template-columns: repeat(2,1fr); }
	.doctors-grid { grid-template-columns: 1fr; }
	.team-grid    { grid-template-columns: 1fr; }
	#imch-nw      { padding: 0 1rem; }
}
