/* =============================================
   SPANDAN HEART & MEDICARE CLINIC
   Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;600&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red:         #C0272D;
  --red-dark:    #8B1A1F;
  --red-light:   #F9E8E9;
  --blue:        #1B3F7A;
  --blue-mid:    #2D5DA6;
  --blue-light:  #E8EEF8;
  --white:       #FFFFFF;
  --off-white:   #F8F7F5;
  --text:        #1A1A1A;
  --text-muted:  #5A5A5A;
  --border:      #D8D8D8;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.1);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; line-height: 1.3; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- TYPOGRAPHY UTILITIES ---- */
.section-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.section-title { font-size: 32px; font-weight: 600; color: var(--blue); margin-bottom: 0.75rem; }
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 3rem; }

/* ---- LAYOUT ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 4.5rem 2rem; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: var(--white);
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-family: 'Source Sans 3', sans-serif; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--blue);
  padding: 12px 26px; border-radius: var(--radius-sm);
  font-family: 'Source Sans 3', sans-serif; font-size: 15px; font-weight: 600;
  border: 1.5px solid var(--blue); cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { background: var(--blue-light); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  padding: 13px 28px; border-radius: var(--radius-sm);
  font-family: 'Source Sans 3', sans-serif; font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.5); cursor: pointer; transition: border-color 0.2s;
}
.btn-outline-white:hover { border-color: white; }

/* ---- NAVIGATION ---- */
.nav {
  background: var(--blue);
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-icon {
  width: 40px; height: 40px; background: var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-logo-icon svg { width: 22px; height: 22px; fill: white; }
.nav-brand-name { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 600; color: white; line-height: 1.2; }
.nav-brand-sub { font-family: 'Source Sans 3', sans-serif; font-size: 11px; color: rgba(255,255,255,0.6); letter-spacing: 0.5px; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a {
  font-family: 'Source Sans 3', sans-serif; color: rgba(255,255,255,0.8); font-size: 14px;
  padding: 0 15px; height: 68px; display: flex; align-items: center;
  border-bottom: 3px solid transparent; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: white; border-bottom-color: var(--red); }
.nav-links .nav-cta {
  background: var(--red); color: white !important; border-radius: var(--radius-sm);
  height: auto !important; padding: 9px 18px !important; border-bottom: none !important;
  font-weight: 600 !important; margin-left: 8px;
}
.nav-links .nav-cta:hover { background: var(--red-dark) !important; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: all 0.3s; }

/* ---- TRUST STRIP ---- */
.trust-strip {
  background: var(--red); padding: 0.9rem 2rem;
  display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px; color: white;
  font-family: 'Source Sans 3', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
}
.trust-item svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.85); flex-shrink: 0; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #122A58 100%);
  padding: 4rem 2rem; text-align: center;
}
.page-hero h1 { font-size: 38px; color: white; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 520px; margin: 0 auto; font-weight: 300; }
.page-hero-badge {
  display: inline-block; background: rgba(192,39,45,0.3); border: 1px solid rgba(192,39,45,0.5);
  color: #FFB3B5; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 1.25rem;
  font-family: 'Source Sans 3', sans-serif;
}

/* ---- CARDS ---- */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.75rem; transition: all 0.25s;
}
.card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* ---- APPOINTMENT CTA BANNER ---- */
.appt-banner { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); padding: 4rem 2rem; text-align: center; }
.appt-banner h2 { font-size: 34px; color: white; margin-bottom: 0.75rem; }
.appt-banner p { color: rgba(255,255,255,0.8); font-size: 16px; margin-bottom: 2rem; }
.appt-banner-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-appt-call {
  display: inline-flex; align-items: center; gap: 8px; background: white; color: var(--red);
  padding: 14px 30px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; font-family: 'Source Sans 3', sans-serif; transition: background 0.2s;
}
.btn-appt-call:hover { background: #FFF5F5; }
.btn-appt-wa {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); color: white;
  padding: 14px 30px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  font-family: 'Source Sans 3', sans-serif; border: 2px solid rgba(255,255,255,0.45); transition: background 0.2s;
}
.btn-appt-wa:hover { background: rgba(255,255,255,0.25); }

/* ---- FOOTER ---- */
.footer { background: #0D1F40; padding: 3.5rem 2rem 1.5rem; color: rgba(255,255,255,0.6); }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 18px; color: white; margin-bottom: 0.6rem; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-family: 'Source Sans 3', sans-serif; font-size: 13px; color: white; font-weight: 600;
  letter-spacing: 0.5px; margin-bottom: 1rem; text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 12px; }
.footer-disclaimer { margin-top: 0.75rem; font-size: 11px; color: rgba(255,255,255,0.3); text-align: center; line-height: 1.6; }

/* ---- CHIPS / BADGES ---- */
.chip {
  display: inline-block; background: var(--blue-light); color: var(--blue);
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(27,63,122,0.2); font-family: 'Source Sans 3', sans-serif;
}
.badge { display: inline-block; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 10px; font-weight: 600; font-family: 'Source Sans 3', sans-serif; }
.badge-cardio  { background: var(--red-light); color: var(--red); }
.badge-general { background: var(--blue-light); color: var(--blue); }
.badge-special { background: #EEF8F0; color: #1A6B3C; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--blue); padding: 1rem 0; box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  .nav-links.open a { height: auto; padding: 12px 2rem; border-bottom: none; border-left: 3px solid transparent; }
  .nav-links.open a:hover { border-left-color: var(--red); }
  .nav-links .nav-cta { margin: 8px 2rem 0; text-align: center; justify-content: center; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  section { padding: 3rem 1.25rem; }
  .section-title { font-size: 26px; }
  .trust-strip { gap: 1.5rem; }
}
