/* ===== PARKVIEW INTERNAL MEDICINE — SHARED STYLESHEET ===== */

/* CSS RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: #1a2332;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* DESIGN TOKENS */
:root {
  --primary:        #0B3D91;
  --primary-light:  #1565C0;
  --teal:           #1A8FBF;
  --teal-light:     #E3F4FB;
  --accent:         #E8732A;
  --accent-dark:    #d4611e;
  --bg-light:       #F4F8FF;
  --bg-gray:        #F7F9FC;
  --text:           #1a2332;
  --text-muted:     #5a6a7e;
  --border:         #D8E2F0;
  --white:          #ffffff;
  --shadow-sm:      0 2px 8px rgba(11,61,145,.08);
  --shadow-md:      0 6px 24px rgba(11,61,145,.12);
  --shadow-lg:      0 16px 48px rgba(11,61,145,.16);
  --radius:         12px;
  --radius-lg:      20px;
}

/* UTILITY */
.container      { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section        { padding: 80px 0; }
.section-alt    { background: var(--bg-light); }
.section-gray   { background: var(--bg-gray); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.text-center    { text-align: center; }

.section-tag {
  display: inline-block;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-light);
  padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700; line-height: 1.25;
  color: var(--text); margin-bottom: 16px;
}
.section-title.light { color: white; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 620px; }
.section-subtitle.light { color: rgba(255,255,255,.8); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: all .2s;
  border: 2px solid transparent;
}
.btn-primary  { background: var(--accent); color: white; border-color: var(--accent); }
.btn-primary:hover  { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-teal     { background: var(--teal); color: white; border-color: var(--teal); }
.btn-teal:hover     { background: #157fa8; border-color: #157fa8; transform: translateY(-1px); }
.btn-outline-white  { background: transparent; color: white; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: white; }
.btn-outline-blue   { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-outline-blue:hover  { border-color: var(--teal); color: var(--teal); }
.btn-sm { padding: 9px 20px; font-size: .85rem; }

/* PAGE HERO BANNER */
.page-hero {
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #1565C0 55%, var(--teal) 100%);
  color: white;
}
.page-hero::after {
  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='0.03'%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");
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; margin-bottom: 12px;
}
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.85); max-width: 600px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb i { font-size: .55rem; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,.85);
  font-size: .8rem; padding: 8px 0;
}
.top-bar .container {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.top-bar a { color: rgba(255,255,255,.85); }
.top-bar a:hover { color: white; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.top-bar-item { display: flex; align-items: center; gap: 6px; }
.top-bar-item i { color: var(--accent); font-size: .75rem; }

/* ===== HEADER / NAV ===== */
.site-header {
  background: white; box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 1000;
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}
/* legacy icon/text kept for fallback — hidden when logo img present */
.nav-logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  border-radius: 10px; display: flex;
  align-items: center; justify-content: center;
  color: white; font-size: 1.2rem; flex-shrink: 0;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-text .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700; color: var(--primary);
}
.nav-logo-text .tagline { font-size: .7rem; color: var(--text-muted); }
/* Footer logo image */
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 14px;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: .88rem; font-weight: 500;
  color: var(--text); padding: 8px 14px;
  border-radius: 6px; transition: all .18s;
}
.nav-link:hover { color: var(--primary); background: var(--bg-light); }
.nav-link.active { color: var(--primary); font-weight: 600; background: var(--bg-light); }
.nav-portals { display: flex; gap: 8px; }
.portal-btn {
  font-size: .8rem; font-weight: 600;
  padding: 8px 14px; border-radius: 7px;
  white-space: nowrap; transition: all .18s;
}
.portal-btn.dhupati { background: var(--primary); color: white; }
.portal-btn.dhupati:hover { background: var(--primary-light); transform: translateY(-1px); }
.portal-btn.ariff { background: var(--teal); color: white; }
.portal-btn.ariff:hover { background: #157fa8; transform: translateY(-1px); }
.nav-mobile-toggle {
  display: none; background: none; border: none;
  font-size: 1.4rem; color: var(--primary); cursor: pointer;
}
.mobile-menu {
  display: none; background: white;
  border-top: 1px solid var(--border);
  padding: 16px 24px; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { padding: 10px 12px; display: block; }
.mobile-menu .portal-btn { text-align: center; width: 100%; justify-content: center; display: flex; margin-top: 6px; padding: 11px; }

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: white; border-bottom: 1px solid var(--border); padding: 20px 0;
}
.trust-strip .container {
  display: flex; align-items: center;
  justify-content: space-around; gap: 16px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--text-muted); font-weight: 500; }
.trust-item i { font-size: 1.1rem; color: var(--teal); }

/* ===== FOOTER ===== */
.site-footer { background: #0a1628; color: rgba(255,255,255,.75); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
}
.footer-brand .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; color: white; font-weight: 700; margin-bottom: 4px;
}
.footer-brand .tagline { font-size: .78rem; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-brand p { font-size: .85rem; line-height: 1.7; }
.footer-heading {
  font-size: .85rem; font-weight: 700; color: white;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .85rem; transition: color .15s; }
.footer-links a:hover { color: var(--teal); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .85rem; }
.footer-contact-item i { color: var(--teal); margin-top: 2px; font-size: .8rem; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: .78rem; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--teal); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 4px 10px; border-radius: 6px;
  font-size: .72rem; color: rgba(255,255,255,.5);
}
.badge i { color: var(--teal); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-links, .nav-portals { display: none; }
  .nav-mobile-toggle { display: block; }
  .top-bar-right { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
