/* ════════════════════════════════════════════════════════════════════════════
   sgintmed.org — Main Stylesheet
   Design mirrors dmc.org: deep navy, crimson red, clean white

   HOW THIS FILE IS ORGANIZED:
   1.  Color & Font Variables   ← change colors/fonts site-wide here
   2.  Reset & Base
   3.  Top Utility Bar          ← thin dark strip at very top
   4.  Main Header              ← logo + navigation bar
   5.  Hero Section             ← big banner on homepage
   6.  Section Generics         ← shared heading/eyebrow styles
   7.  Feature Cards            ← program cards on homepage
   8.  Split Content            ← image-left / text-right sections
   9.  Red CTA Band             ← full-width "Apply Now" strip
   10. Navy Band                ← dark navy info strip
   11. Page Banner              ← top banner on inner pages
   12. Inner Page Layout        ← sidebar + main content area
   13. Contact Form             ← form field styles
   14. Footer                   ← dark multi-column footer
   15. Responsive               ← mobile/tablet breakpoints
   ════════════════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════════════════════
   1. COLOR & FONT VARIABLES
   To change a color across the ENTIRE site, edit it here.
   ════════════════════════════════════════════════════════════════════════════ */
:root {
  /* ── Brand Colors ─────────────────────────────────────────────────────── */
  --navy:        #003366;   /* Primary navy — headers, buttons, accents      */
  --navy-dark:   #001f40;   /* Darker navy — utility bar, footer background  */
  --navy-mid:    #004080;   /* Mid navy — gradient fills                     */
  --red:         #cc0000;   /* Primary red — buttons, highlights, accents    */
  --red-hover:   #aa0000;   /* Darker red — used on hover states             */
  --red-light:   #f5e6e6;   /* Light red tint — background highlights        */

  /* ── Neutrals ─────────────────────────────────────────────────────────── */
  --white:       #ffffff;
  --off-white:   #f4f6f8;   /* Light gray page background                   */
  --gray-border: #dde2e8;   /* Borders and dividers                          */
  --gray-light:  #eef1f4;   /* Very light gray — alternate row backgrounds   */
  --gray-mid:    #6b7a8d;   /* Secondary text, labels                        */
  --gray-dark:   #3a4453;   /* Body text                                     */
  --text:        #1a2332;   /* Primary text color                            */
  --link:        #003366;   /* Default link color                            */

  /* ── Typography ───────────────────────────────────────────────────────── */
  /* TO CHANGE FONTS: replace 'Inter' with any Google Font name you import  */
  --font-ui:     'Inter', 'Segoe UI', Arial, sans-serif;   /* Body font     */
  --font-serif:  'Georgia', 'Times New Roman', serif;      /* Accent font   */

  /* ── Shadows ──────────────────────────────────────────────────────────── */
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.10);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.16);

  /* ── Misc ─────────────────────────────────────────────────────────────── */
  --radius:      4px;    /* Border radius on small elements (buttons, tags) */
  --radius-lg:   8px;    /* Border radius on cards and containers           */
  --transition:  0.2s ease;

  /* ── Max page width ───────────────────────────────────────────────────── */
  /* TO MAKE THE SITE WIDER/NARROWER: change 1200px                        */
  --max-width:   1200px;
}


/* ════════════════════════════════════════════════════════════════════════════
   2. RESET & BASE
   You generally don't need to touch anything in this section.
   ════════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: var(--font-ui); color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Centered page wrapper — controls max width and side padding */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}


/* ════════════════════════════════════════════════════════════════════════════
   3. TOP UTILITY BAR
   The thin dark strip at the very top with quick links (DMC Main Site, etc.)
   To edit the links: open any HTML file and find <div class="utility-bar">
   ════════════════════════════════════════════════════════════════════════════ */
.utility-bar {
  background: var(--navy-dark);
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 36px;
  overflow: hidden;
}
.utility-left {
  /* Small text on the left side of the utility bar (e.g. tagline) */
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-right: auto;
  white-space: nowrap;
}
.utility-right {
  /* Container for quick-links on the right side */
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.utility-right a {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  border-left: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition), color var(--transition);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.utility-right a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
/* The highlighted red link (rightmost — "Apply Now") */
.utility-right a.util-highlight {
  background: var(--red);
  color: var(--white);
  font-weight: 600;
}
.utility-right a.util-highlight:hover {
  background: var(--red-hover);
}


/* ════════════════════════════════════════════════════════════════════════════
   4. MAIN HEADER
   The sticky white bar containing the logo and navigation.
   ════════════════════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--navy); /* navy underline accent */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  overflow: visible; /* allows dropdowns to extend below the header */
}
.header-inner {
  display: flex;
  align-items: stretch;
  height: 72px; /* ← TO MAKE THE HEADER TALLER/SHORTER: change this value */
  width: 100%;
  min-width: 0;
}

/* ── Logo ─────────────────────────────────────────────────────────────────
   TO CHANGE LOGO SIZE: change height in .logo-block img below.
   The logo image file is: sgintmed/img/logo.png
   mix-blend-mode: multiply makes the black PNG background invisible
   on the white header so the logo looks clean without a black box.
   ─────────────────────────────────────────────────────────────────────── */
.logo-block {
  display: flex;
  align-items: center;
  padding-right: 16px;
  border-right: 1px solid var(--gray-border);
  flex-shrink: 0;
}
.logo-block img {
  height: 42px; /* slightly smaller to free up nav room */
  width: auto;
  display: block;
  mix-blend-mode: multiply; /* makes black PNG background disappear on white */
}

/* ── Navigation ──────────────────────────────────────────────────────────
   TO ADD/REMOVE NAV ITEMS: edit the <nav class="main-nav"> in each HTML file.
   ─────────────────────────────────────────────────────────────────────── */
.main-nav {
  display: flex;
  align-items: stretch;
  flex: 1;
  padding-left: 8px;
  min-width: 0;
  overflow: visible; /* must be visible so dropdowns can appear below */
}
.main-nav > ul {
  display: flex;
  align-items: stretch;
  flex: 1;
}
.main-nav > ul > li {
  position: relative;
  display: flex;
  align-items: stretch;
}
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  padding: 0 9px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-bottom: 3px solid transparent; /* red underline appears on hover */
  margin-bottom: -3px;
  transition: color var(--transition), border-color var(--transition);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: var(--red);
  border-bottom-color: var(--red);
}
.main-nav > ul > li:hover .dropdown { display: block; }

/* ── Dropdown Menus ──────────────────────────────────────────────────────
   TO ADD DROPDOWN ITEMS: find <ul class="dropdown"> in the HTML and
   add <li><a href="...">Label</a></li> entries.
   ─────────────────────────────────────────────────────────────────────── */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-top: 3px solid var(--red); /* red top accent on dropdown */
  box-shadow: var(--shadow-lg);
  z-index: 500;
}
.dropdown li a {
  display: block;
  padding: 11px 20px;
  font-size: 0.84rem;
  color: var(--gray-dark);
  border-bottom: 1px solid var(--gray-border);
  transition: background var(--transition), color var(--transition), padding var(--transition);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover {
  background: var(--off-white);
  color: var(--red);
  padding-left: 26px; /* slides right on hover */
}

/* ── "Apply Now" button (header, top-right) ──────────────────────────────
   TO CHANGE BUTTON TEXT/LINK: find <div class="header-apply"> in each HTML.
   TO CHANGE BUTTON COLOR: edit background in .btn-apply below.
   ─────────────────────────────────────────────────────────────────────── */
.header-apply {
  display: flex;
  align-items: center;
  padding-left: 12px;
  flex-shrink: 0;
}
.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  padding: 9px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-apply:hover {
  background: var(--red-hover);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-apply svg { width: 14px; height: 14px; }

/* ── Mobile hamburger menu (shows at ≤960px) ─────────────────────────── */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}


/* ════════════════════════════════════════════════════════════════════════════
   5. HERO SECTION (homepage only)
   The large full-width banner at the top of the homepage.

   TO ADD A BACKGROUND PHOTO to the hero:
     In index.html, find <div class="hero-bg"> and add an <img> tag inside it
     with style="position:absolute;inset:0;width:100%;height:100%;
     object-fit:cover;opacity:0.3;" — the overlay will blend over it.

   TO EDIT HERO TEXT: find <div class="hero-content"> in index.html.
   TO EDIT STATS ROW: find <div class="hero-stats"> in index.html.
   ════════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 520px; /* ← HERO HEIGHT — increase for a taller hero */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-dark);
}

/* Gradient + geometric grid background (shown when no photo is used) */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, #005a9e 100%);
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 50%, rgba(204,0,0,0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0,64,128,0.5) 0%, transparent 50%);
}
.hero-bg-grid {
  /* Subtle grid pattern over the hero background */
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-accent-bar {
  /* Red vertical bar on far left of hero */
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--red);
}

/* Hero text content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 0 64px;
  max-width: 680px; /* ← controls how wide the hero text column is */
}
.hero-tag {
  /* Small red label above the h1 (e.g. "ACGME Accredited Program") */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 5px 22px 5px 10px;
  margin-bottom: 20px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); /* angled right edge */
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero h1 {
  /* Main hero headline */
  font-size: clamp(2rem, 4.5vw, 3.2rem); /* scales with viewport width */
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero h1 em {
  /* <em> tags inside h1 render in light blue instead of italic */
  font-style: normal;
  color: #7ec8f0;
}
.hero-desc {
  /* Paragraph under the headline */
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.65;
}
.hero-actions {
  /* Row of buttons below the hero text */
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Primary red button (used in hero and elsewhere) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 14px 28px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--red-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204,0,0,0.35);
}
/* Ghost/outline button (used alongside primary) */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  padding: 14px 28px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: background var(--transition), border-color var(--transition);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-primary svg, .btn-secondary svg { width: 16px; height: 16px; }

/* ── Hero Stats Row ───────────────────────────────────────────────────────
   The 4 stat boxes at the bottom of the hero (Beds, Programs, etc.)
   TO EDIT: find <div class="hero-stats"> in index.html
   ─────────────────────────────────────────────────────────────────────── */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(0,20,40,0.85);
  backdrop-filter: blur(4px);
  border-top: 3px solid var(--red);
}
.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 stat boxes — change to 3 for 3 boxes */
}
.hs-item {
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 16px;
}
.hs-item:last-child { border-right: none; }
.hs-icon {
  width: 40px; height: 40px;
  background: rgba(204,0,0,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hs-icon svg { width: 20px; height: 20px; color: #ff9999; }
.hs-text .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hs-text .label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}


/* ════════════════════════════════════════════════════════════════════════════
   6. SECTION GENERICS
   Shared styles for section headings, eyebrow labels, and layout.
   ════════════════════════════════════════════════════════════════════════════ */
section { padding: 64px 0; } /* vertical space between sections */

.section-header { margin-bottom: 44px; }

/* Small red label above section headings (e.g. "OUR PROGRAMS") */
.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 10px;
}
.section-header .eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--red); /* red dash before eyebrow text */
  flex-shrink: 0;
}

/* Section heading (h2) */
.section-header h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.section-header p {
  margin-top: 12px;
  font-size: 0.97rem;
  color: var(--gray-mid);
  max-width: 600px;
}

/* Centered section header variant */
.section-header.centered { text-align: center; }
.section-header.centered p { margin-left: auto; margin-right: auto; }
.section-header.centered .eyebrow { justify-content: center; }
.section-header.centered .eyebrow::before { display: none; }
.section-header.centered .eyebrow::after {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--red);
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════════════════════════
   7. FEATURE CARDS
   The program cards on the homepage (Internal Medicine, Transitional, Research)

   CARD PHOTO SLOT: each card has <div class="card-media"> — drop an <img>
   inside it with style="width:100%;height:100%;object-fit:cover;" to add a photo.
   The recommended photo size is 600×360px.

   TO ADD MORE CARDS: copy a <div class="dmc-card"> block and paste it
   inside the same <div class="card-row"> in index.html.
   ════════════════════════════════════════════════════════════════════════════ */
.card-row   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-row-2 { grid-template-columns: repeat(2, 1fr); }
.card-row-4 { grid-template-columns: repeat(4, 1fr); }

.dmc-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.dmc-card:hover {
  transform: translateY(-4px); /* cards lift on hover */
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-mid);
}
.dmc-card .card-top {
  /* Colored stripe at the very top of each card */
  height: 10px;
  background: var(--navy);
  flex-shrink: 0;
}
.dmc-card .card-top.red { background: var(--red); } /* add class="red" for red stripe */

/* ── Card photo area ──────────────────────────────────────────────────────
   This is the image slot at the top of each card.
   TO ADD A PHOTO: replace the SVG placeholder inside with:
     <img src="img/your-photo.jpg" alt="description"
          style="width:100%;height:100%;object-fit:cover;">
   ─────────────────────────────────────────────────────────────────────── */
.dmc-card .card-media {
  height: 180px; /* ← CARD PHOTO HEIGHT — increase for taller photos */
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.dmc-card .card-media-icon {
  /* Icon shown when no photo is present */
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.dmc-card .card-media-icon svg { width: 36px; height: 36px; }
.dmc-card .card-media .card-media-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

/* Card text body */
.dmc-card .card-body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dmc-card .card-body .tag {
  /* Small label above card title (e.g. "3-YEAR PROGRAM") */
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 8px;
}
.dmc-card .card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}
.dmc-card .card-body p {
  font-size: 0.88rem;
  color: var(--gray-dark);
  line-height: 1.65;
  flex: 1;
}
.dmc-card .card-link {
  /* "Learn More →" link at bottom of card */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), gap var(--transition);
  width: fit-content;
}
.dmc-card .card-link:hover {
  border-bottom-color: var(--red);
  gap: 10px; /* arrow slides right on hover */
}
.dmc-card .card-link svg { width: 14px; height: 14px; }


/* ════════════════════════════════════════════════════════════════════════════
   8. SPLIT CONTENT (image left / text right)
   Used on the homepage and inner pages to show a photo beside text.

   PHOTO SLOT: find <div class="split-media"> in the HTML.
   TO ADD A PHOTO: replace the placeholder inside with:
     <img src="img/your-photo.jpg" alt="description"
          style="width:100%;height:100%;object-fit:cover;">
   TO FLIP (text left / image right): add class="reverse" to <div class="split">
   ════════════════════════════════════════════════════════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr; /* equal halves — change to e.g. 2fr 3fr to adjust ratio */
  gap: 0;
  align-items: stretch;
}
.split.reverse { direction: rtl; } /* flips image/text sides */
.split.reverse > * { direction: ltr; }

.split-media {
  /* The image side of a split section */
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* ← MINIMUM HEIGHT of split image — increase as needed */
  position: relative;
  overflow: hidden;
}
.split-media-bg {
  /* Gradient placeholder shown when no photo is present */
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--navy) 0%, #005a9e 100%);
}
.split-media-content {
  /* Icon/label shown over placeholder background */
  position: relative;
  z-index: 1;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
}
.split-media-content svg { width: 64px; height: 64px; }

.split-text {
  /* The text side of a split section */
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.split-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 14px;
}
.split-text .eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--red);
}
.split-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.split-text p {
  font-size: 0.93rem;
  color: var(--gray-dark);
  line-height: 1.72;
  margin-bottom: 14px;
}

/* Checkmark bullet list (inside split sections) */
.bullet-check {
  margin: 14px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bullet-check li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-dark);
  align-items: flex-start;
}
.bullet-check li .check {
  width: 18px; height: 18px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.bullet-check li .check svg { width: 10px; height: 10px; color: white; }


/* ════════════════════════════════════════════════════════════════════════════
   9. RED CTA BAND
   Full-width crimson strip with a heading and button.
   TO EDIT: find <div class="cta-band"> in the HTML page.
   TO CHANGE COLOR: replace background: var(--red) with any color.
   ════════════════════════════════════════════════════════════════════════════ */
.cta-band {
  background: var(--red);
  padding: 52px 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.cta-band p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  max-width: 560px;
}
/* White button used inside the red CTA band */
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--red);
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-white:hover {
  background: #f0f0f0;
  color: var(--red-hover);
  transform: translateY(-2px);
}
.btn-white svg { width: 16px; height: 16px; }


/* ════════════════════════════════════════════════════════════════════════════
   10. NAVY BAND
   Full-width navy information strip.
   ════════════════════════════════════════════════════════════════════════════ */
.navy-band {
  background: var(--navy);
  padding: 60px 0;
}
.navy-band h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.navy-band p { color: rgba(255,255,255,0.65); font-size: 0.93rem; }


/* ════════════════════════════════════════════════════════════════════════════
   11. PAGE BANNER (inner pages)
   The dark navy top banner on every page except the homepage.
   TO EDIT: find <div class="page-banner"> in any inner page HTML.
   ════════════════════════════════════════════════════════════════════════════ */
.page-banner {
  background: var(--navy);
  padding: 48px 0 44px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  /* gradient overlay inside the banner */
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(204,0,0,0.12) 0%, transparent 55%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}
.page-banner::after {
  /* red vertical accent bar on the left edge */
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}
.page-banner .container { position: relative; z-index: 1; }

/* Breadcrumb trail (e.g. "Home > About > Faculty") */
.breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.breadcrumb a:hover { color: #7ec8f0; }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

.page-banner h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.page-banner .subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 0.97rem;
  max-width: 580px;
}


/* ════════════════════════════════════════════════════════════════════════════
   12. INNER PAGE LAYOUT — Sidebar + Main Content
   Used on all inner pages (About, Programs, Research, etc.)

   SIDEBAR: left column with in-section navigation links
   MAIN CONTENT: right column with all the page text and images

   TO ADD CONTENT TO A PAGE: edit the <div class="main-content"> section
   in the relevant HTML file.
   ════════════════════════════════════════════════════════════════════════════ */
.content-wrap {
  display: grid;
  grid-template-columns: 256px 1fr; /* sidebar width | main content */
  gap: 0;
  align-items: start;
}

/* ── Sidebar ──────────────────────────────────────────────────────────────
   Sticks to the top as you scroll (sticky).
   TO ADD SIDEBAR LINKS: find <div class="sidebar"> in the HTML
   and add <li><a href="...">Label</a></li> items.
   ─────────────────────────────────────────────────────────────────────── */
.sidebar {
  background: var(--white);
  border-right: 1px solid var(--gray-border);
  min-height: 400px;
  padding: 32px 0 40px;
  position: sticky;
  top: 75px; /* sticks just below the fixed header */
}
.sidebar .sidebar-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-mid);
  padding: 0 24px 12px;
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 4px;
}
.sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: 0.88rem;
  color: var(--gray-dark);
  border-left: 3px solid transparent; /* red bar appears on active link */
  transition: all var(--transition);
  line-height: 1.4;
}
.sidebar ul li a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gray-border);
  flex-shrink: 0;
  transition: background var(--transition);
}
.sidebar ul li a:hover,
.sidebar ul li a.active {
  color: var(--red);
  border-left-color: var(--red);
  background: var(--off-white);
  padding-left: 28px;
}
.sidebar ul li a:hover::before,
.sidebar ul li a.active::before {
  background: var(--red);
}

/* ── Main Content Area ────────────────────────────────────────────────────
   This is where all the page body text lives.
   TO EDIT PAGE CONTENT: open the HTML file and find <div class="main-content">
   ─────────────────────────────────────────────────────────────────────── */
.main-content {
  padding: 44px 48px 60px;
}
.main-content h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-border); /* underline on h2 */
}
.main-content h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 10px;
}
.main-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 20px 0 8px;
}
.main-content p {
  font-size: 0.93rem;
  color: var(--gray-dark);
  line-height: 1.75;
  margin-bottom: 14px;
}
/* Red-dot bullet list inside main content */
.main-content ul.bullet {
  list-style: none;
  margin: 10px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.main-content ul.bullet li {
  display: flex;
  gap: 10px;
  font-size: 0.91rem;
  color: var(--gray-dark);
  align-items: flex-start;
}
.main-content ul.bullet li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red); /* red dot */
  flex-shrink: 0;
  margin-top: 7px;
}

/* Callout box — navy left border highlight box */
.callout-box {
  background: var(--off-white);
  border-left: 4px solid var(--red);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 22px 0;
}
.callout-box .cb-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}
.callout-box p { font-size: 0.87rem; margin: 0; }

/* Info bar — navy background info box with icon */
.info-bar {
  background: var(--navy);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius);
  margin: 22px 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.info-bar svg { width: 20px; height: 20px; color: #7ec8f0; flex-shrink: 0; }
.info-bar p { font-size: 0.88rem; color: rgba(255,255,255,0.8); margin: 0; }

/* Data table (e.g. rotation schedule) */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 24px;
  font-size: 0.88rem;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.data-table th {
  background: var(--navy);
  color: var(--white);
  padding: 11px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.data-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-border);
  color: var(--gray-dark);
  vertical-align: top;
}
.data-table tbody tr:nth-child(even) td { background: var(--off-white); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* ── Faculty Grid ──────────────────────────────────────────────────────────
   Photo cards for faculty members on about/faculty-and-staff.html

   PHOTO SLOT: each card has <div class="faculty-photo"> — the script has
   already wired up <img> tags pointing to ../img/filename.jpg
   Just drop headshot photos into the sgintmed/img/ folder.
   Recommended size: 300×300px square, or any square crop.
   ─────────────────────────────────────────────────────────────────────── */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row — change to 2 or 4 as needed */
  gap: 20px;
  margin-top: 24px;
}
.faculty-card {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.faculty-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.faculty-photo {
  height: 140px; /* ← FACULTY PHOTO HEIGHT — increase for taller headshots */
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.faculty-photo svg { width: 52px; height: 52px; color: rgba(255,255,255,0.25); }
.faculty-info {
  padding: 16px;
  border-top: 3px solid var(--red);
}
.faculty-info h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.faculty-info .role { font-size: 0.75rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; }
.faculty-info .specialty { font-size: 0.8rem; color: var(--gray-mid); margin-top: 3px; }


/* ════════════════════════════════════════════════════════════════════════════
   13. CONTACT FORM
   TO CHANGE WHERE FORM SUBMISSIONS GO: open contact.html and find
   <form action="https://formspree.io/f/yourformid"> — replace yourformid
   with your actual Formspree form ID.
   ════════════════════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,51,102,0.1); /* navy focus ring */
}
.form-group textarea { resize: vertical; min-height: 120px; }


/* ════════════════════════════════════════════════════════════════════════════
   14. FOOTER
   Dark navy multi-column footer.
   TO EDIT FOOTER LINKS: find <footer class="site-footer"> in any HTML file.
   TO EDIT FOOTER LOGO: the image is sgintmed/img/logo.png (white-filtered).
   ════════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-dark);
}
.footer-top {
  padding: 52px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
/* Footer: logo on left, then Programs | About | Applicants as 3 columns */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr; /* logo column + 3 equal nav columns */
  gap: 48px;
  align-items: start;
}

/* Logo + tagline block */
.footer-brand .wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand .wm-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-brand .wm-icon svg { width: 22px; height: 22px; }
.footer-brand .wm-text .top { font-size: 0.6rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.14em; }
.footer-brand .wm-text .main { font-size: 0.88rem; font-weight: 800; color: var(--white); letter-spacing: -0.01em; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 14px; }
.footer-brand .dmc-badge {
  /* "Part of DMC Health System" badge */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.07);
  padding: 7px 12px;
  border-radius: var(--radius);
  font-size: 0.73rem;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .dmc-badge svg { width: 14px; height: 14px; color: rgba(255,255,255,0.4); }

/* Programs / About / Applicants columns */
.footer-col h4 {
  /* Column heading */
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  line-height: 1.5;
}
.footer-col ul li a:hover { color: var(--white); }

/* Footer bottom bar (copyright + legal links) */
.footer-bottom {
  padding: 16px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom .copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-bottom .copy a { color: rgba(255,255,255,0.4); }
.footer-bottom .copy a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom .footer-links { display: flex; gap: 20px; }
.footer-bottom .footer-links a {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-bottom .footer-links a:hover { color: rgba(255,255,255,0.7); }


/* ════════════════════════════════════════════════════════════════════════════
   15. RESPONSIVE BREAKPOINTS
   These rules adjust the layout at different screen widths.
   You generally don't need to edit these.
   ════════════════════════════════════════════════════════════════════════════ */

/* Tablet landscape (≤1100px) */
@media (max-width: 1100px) {
  .card-row-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { max-width: 200px; padding-right: 28px; margin-right: 28px; }
  .content-wrap { grid-template-columns: 220px 1fr; }
  .split-text { padding: 48px 40px; }
}

/* Tablet portrait (≤960px) — hamburger menu kicks in */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--red);
    z-index: 999;
    padding: 8px 0;
  }
  .main-nav.open > ul { flex-direction: column; }
  .main-nav.open > ul > li > a { border-bottom: 1px solid var(--gray-border); padding: 14px 20px; font-size: 0.88rem; }
  .main-nav.open .dropdown { position: static; box-shadow: none; border: none; background: var(--off-white); }
  .header-apply { display: none; }
  .hamburger { display: flex; }
  .utility-right a:not(.util-highlight):not(:last-of-type) { display: none; }
}

/* Tablet small (≤900px) */
@media (max-width: 900px) {
  .card-row { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .hs-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .content-wrap { grid-template-columns: 1fr; } /* sidebar moves above content */
  .sidebar { position: static; border-right: none; border-bottom: 1px solid var(--gray-border); padding: 24px 0; min-height: auto; }
  .main-content { padding: 32px 24px 48px; }
  .split { grid-template-columns: 1fr; } /* split sections stack vertically */
  .split.reverse { direction: ltr; }
  .split-media { min-height: 240px; }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .utility-bar { display: none; } /* hide utility bar on mobile */
  .cta-band .container { flex-direction: column; text-align: center; }
  .cta-band .container .btn-white { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col { padding: 0; }
  .contact-grid { grid-template-columns: 1fr !important; } /* contact form stacks */
}

/* Small mobile (≤560px) */
@media (max-width: 560px) {
  .card-row { grid-template-columns: 1fr; }
  .card-row-2 { grid-template-columns: 1fr; }
  .hero-stats .container { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .faculty-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .container { padding: 0 16px; }
  .hero-content { padding: 48px 0 52px; }
}
