/* ============================================
   GAIA MEDICAL INSTITUTE — Global Stylesheet
   Color scheme: Dark navy / clinical blue
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --navy: #0B1D3A;
  --navy-mid: #132B50;
  --navy-light: #1A3A6B;
  --blue-accent: #2E7DBA;
  --blue-bright: #4A9FE5;
  --ice: #D0E4F5;
  --ice-light: #E8F1FA;
  --cream: #F7F9FC;
  --white: #FFFFFF;
  --gold: #C8962E;
  --gold-light: #E8C675;
  --text-dark: #1A1A2E;
  --text-mid: #4A5568;
  --text-light: #8896A6;
  --border: #D6DFE8;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-width: 1200px;
  --section-pad: 100px 0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-bright); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* ---- NAVIGATION ---- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11, 29, 58, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-size: 18px; font-weight: 600;
  color: var(--white); letter-spacing: 0.02em;
}
.nav-logo img { height: 42px; width: auto; border-radius: 4px; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white);
  margin: 5px 0; transition: 0.3s;
}

/* ---- HERO SECTIONS ---- */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden; padding-top: 72px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,29,58,0.92) 0%, rgba(19,43,80,0.85) 50%, rgba(11,29,58,0.7) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.6);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-label {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 20px;
  padding: 6px 16px; border: 1px solid rgba(200,150,46,0.35);
  border-radius: 2px;
}
.hero h1 {
  font-family: var(--font-heading); font-size: clamp(36px, 5vw, 56px);
  font-weight: 600; color: var(--white); line-height: 1.15;
  margin-bottom: 24px;
}
.hero p {
  font-size: 19px; color: rgba(255,255,255,0.8); line-height: 1.7;
  margin-bottom: 36px; max-width: 560px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block; padding: 14px 32px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 3px; cursor: pointer; transition: all 0.25s;
  border: none;
}
.btn-primary {
  background: var(--gold); color: var(--white);
}
.btn-primary:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-navy {
  background: var(--navy); color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- SECTION STYLES ---- */
section { padding: var(--section-pad); }
.section-dark { background: var(--navy); color: var(--white); }
.section-cream { background: var(--cream); }
.section-ice { background: var(--ice-light); }

.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.section-dark .section-label { color: var(--gold-light); }

h2 {
  font-family: var(--font-heading); font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600; line-height: 1.2; margin-bottom: 20px;
}
h3 {
  font-family: var(--font-heading); font-size: 24px;
  font-weight: 600; line-height: 1.3; margin-bottom: 12px;
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.78); }

.lead {
  font-size: 19px; color: var(--text-mid); line-height: 1.7;
  max-width: 700px;
}
.section-dark .lead { color: rgba(255,255,255,0.75); }

/* ---- TWO-COLUMN LAYOUT ---- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ---- STAT CALLOUTS ---- */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; text-align: center; padding: 60px 0;
}
.stat-item .stat-number {
  font-family: Georgia, 'Times New Roman', serif; font-size: 56px; font-weight: 700;
  color: var(--blue-bright); line-height: 1;
}
.stat-item .stat-number-lg {
  font-family: Georgia, 'Times New Roman', serif; font-size: 42px; font-weight: 700;
  color: var(--blue-bright); line-height: 1;
}
.section-dark .stat-number { color: var(--gold-light); }
.section-dark .stat-number-lg { color: var(--gold-light); }
.stat-item .stat-label {
  font-size: 14px; color: var(--text-mid); margin-top: 8px;
  letter-spacing: 0.03em;
}
.section-dark .stat-label { color: rgba(255,255,255,0.6); }

/* ---- CARDS ---- */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.card {
  background: var(--white); border-radius: 6px;
  padding: 40px 32px; border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover { box-shadow: 0 12px 40px rgba(11,29,58,0.1); transform: translateY(-3px); }
.card-icon {
  width: 48px; height: 48px; margin-bottom: 20px;
  background: var(--ice-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--blue-accent);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-mid); }

/* ---- TEAM GRID ---- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.team-member { text-align: center; }
.team-photo {
  width: 200px; height: 200px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 20px;
  border: 4px solid var(--ice);
}
.team-member h3 { font-size: 20px; margin-bottom: 2px; }
.team-role {
  font-size: 14px; font-weight: 500; color: var(--gold);
  letter-spacing: 0.03em; margin-bottom: 12px;
}
.team-bio { font-size: 15px; color: var(--text-mid); max-width: 360px; margin: 0 auto; }

/* ---- COMPARISON TABLE ---- */
.comparison-table {
  width: 100%; border-collapse: collapse;
  font-size: 15px; margin-top: 32px;
}
.comparison-table th {
  background: var(--navy); color: var(--white);
  padding: 14px 20px; text-align: left; font-weight: 600;
  font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
}
.comparison-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
}
.comparison-table tr:nth-child(even) { background: var(--cream); }
.comparison-table .highlight { color: var(--blue-accent); font-weight: 600; }

/* ---- LOGO BANNER ---- */
.logo-banner {
  display: flex; align-items: center; justify-content: center;
  gap: 60px; flex-wrap: wrap; padding: 40px 0;
  opacity: 0.7;
}
.logo-banner img { height: 48px; width: auto; filter: grayscale(1); }

/* ---- FORMS ---- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-mid); margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 16px;
  font-family: var(--font-body); font-size: 16px;
  border: 1.5px solid var(--border); border-radius: 4px;
  background: var(--white); color: var(--text-dark);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue-accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-container {
  max-width: 540px; background: var(--white);
  padding: 48px; border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(11,29,58,0.06);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p { font-size: 15px; max-width: 320px; margin-top: 12px; }
.footer-heading {
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--white); margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 15px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px; font-size: 13px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom a { color: rgba(255,255,255,0.5); margin-left: 20px; }

/* ---- PAGE HERO (Shorter) ---- */
.page-hero {
  background: var(--navy); padding: 140px 0 80px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-heading); font-size: clamp(32px, 4vw, 48px);
  font-weight: 600; color: var(--white); margin-bottom: 16px;
}
.page-hero p { font-size: 19px; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }

/* ---- FEATURE LIST ---- */
.feature-list { list-style: none; margin-top: 24px; }
.feature-list li {
  padding: 12px 0 12px 32px; position: relative;
  font-size: 16px; color: var(--text-mid);
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 20px;
  width: 16px; height: 2px; background: var(--gold);
}
.section-dark .feature-list li { color: rgba(255,255,255,0.78); }
.section-dark .feature-list li::before { background: var(--gold-light); }

/* ---- IMAGE STYLING ---- */
.img-rounded { border-radius: 8px; }
.img-shadow { box-shadow: 0 16px 48px rgba(11,29,58,0.15); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }
  .card-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); padding: 24px 32px;
    gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .hero { min-height: 70vh; }
  .hero h1 { font-size: 32px; }
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  .page-hero { padding: 110px 0 60px; }
}
