* { box-sizing: border-box; }
:root {
  --bg: #f7fafc;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #4b5563;
  --accent: #22c55e;
  --accent-700: #16a34a;
  --border: #e5e7eb;
  --focus: #2563eb;
}
html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  color: var(--text);
}
.container { width: min(1100px, 92%); margin: 0 auto; }

.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; padding: 8px 12px; background: #ffffff; border: 2px solid var(--focus); border-radius: 8px; }

.header { position: sticky; top: 0; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: 44px; object-fit: cover; border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.brand .name { font-weight: 800; letter-spacing: .2px; }
.nav a { color: var(--text); text-decoration: none; margin-left: 14px; font-weight: 600; opacity: .9; }
.nav a[aria-current="page"] { color: var(--text); border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.nav a:focus { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 6px; }

.hero { padding: 48px 0 22px; border-bottom: 1px solid var(--border); background: radial-gradient(1100px 520px at 5% -20%, rgba(34,197,94,.10), transparent), radial-gradient(1100px 520px at 100% -20%, rgba(34,197,94,.08), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.6vw, 54px); margin: 0 0 10px; letter-spacing: -0.02em; }
.hero p { color: var(--muted); font-size: clamp(16px, 2.4vw, 18px); margin: 0 0 18px; }
.hero img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.btn { display: inline-block; background: var(--accent); color: #052e16; font-weight: 800; padding: 12px 18px; border-radius: 10px; text-decoration: none; }
.btn:hover { background: var(--accent-700); color: white; }

.main { padding: 28px 0 60px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: 0 8px 24px rgba(0,0,0,.10); }
.card h2 { margin-top: 4px; }
.card p { color: var(--text); opacity: .92; line-height: 1.65; }
.list { margin: 0; padding-left: 18px; }

.gallery-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
  gap: 24px;
  margin-top: 20px;
}
.gallery-item { 
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.gallery-item img { 
  width: 100%; 
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}
.gallery-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.gallery-caption {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  flex: 1;
}

/* IHS Service Badges */
.service-badge {
  display: inline-block;
  background: var(--accent);
  color: #052e16;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.service-badge.training { 
  background: #d1fae5;
  color: #065f46;
}
.service-badge.support { 
  background: #dbeafe;
  color: #1e40af;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .gallery-item {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
}

.footer { border-top: 1px solid var(--border); padding: 22px 0; color: var(--muted); text-align: center; }
.footer .logo { height: 28px; border-radius: 6px; vertical-align: middle; margin-right: 8px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
}
