:root {
  /* Clinical & Professional Palette */
  --navy: #0A2540;
  --navy-light: #1A365D;
  --teal: #00A3B5;
  --teal-light: #E6F6F7;
  --slate: #475569;
  --slate-light: #94A3B8;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  
  --radius: 8px; 
  --shadow: 0 10px 30px -10px rgba(10, 37, 64, 0.1);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Libre Baskerville', serif; color: var(--navy); line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

/* --- Animations --- */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
@keyframes drawPulse {
  0% { stroke-dashoffset: 1000; }
  100% { stroke-dashoffset: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Top Contact Bar & Navigation --- */
.top-bar {
  background: var(--navy); color: white; padding: 8px 5%;
  display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 500;
}
.top-bar a { color: var(--teal); }
.top-bar a:hover { color: white; }

nav {
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); padding: 20px 5%;
  position: sticky; top: 0; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
}
.brand { font-family: 'Libre Baskerville', serif; font-weight: 700; font-size: 1.3rem; }
.brand span { color: var(--teal); font-style: italic; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--slate); }
.nav-links a.active, .nav-links a:hover { color: var(--teal); }

.btn {
  background: var(--teal); color: white; padding: 12px 24px;
  border-radius: var(--radius); font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.btn:hover { background: var(--navy); transform: translateY(-2px); }

/* --- Layout Utilities --- */
section { padding: 80px 5%; }
.container { max-width: 1200px; margin: 0 auto; }
.page-header {
  background: var(--navy); color: white; padding: 80px 5%; text-align: center;
}
.page-header h1 { color: white; font-size: 3rem; margin-bottom: 10px; }
.page-header p { color: var(--slate-light); font-size: 1.1rem; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: var(--teal-light); color: var(--teal);
  border-radius: 4px; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px;
}
.badge::before { content: ''; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }

.sec-title { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 20px; }
.sec-desc { font-size: 1.1rem; color: var(--slate); max-width: 700px; margin-bottom: 60px; }

/* --- Hero Section (Home) --- */
.hero { position: relative; background: var(--surface); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 100px 0; }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; }
.hero-content p { font-size: 1.15rem; color: var(--slate); margin-bottom: 40px; max-width: 500px; }

.pulse-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 150px; opacity: 0.05; pointer-events: none; }
.pulse-path { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: drawPulse 4s linear infinite; }

.image-wrapper { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.image-wrapper img { width: 100%; height: 600px; object-fit: cover; }
.floating-card {
  position: absolute; bottom: -30px; left: -30px; background: var(--surface);
  padding: 24px; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(10,37,64,0.15);
  border: 1px solid var(--border); display: flex; align-items: center; gap: 20px;
  animation: float 6s ease-in-out infinite; z-index: 10;
}
.fc-icon { width: 50px; height: 50px; background: var(--teal-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--teal); }
.fc-icon svg { width: 24px; height: 24px; }
.fc-text h4 { font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 2px;}
.fc-text p { font-size: 0.85rem; color: var(--slate); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px;}

/* --- Content Grids & Cards --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); transition: var(--transition); }
.card:hover { border-color: var(--teal); transform: translateY(-3px); }

/* Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: var(--teal-light); }
.t-item { position: relative; padding-left: 60px; margin-bottom: 40px; }
.t-item::before { content: ''; position: absolute; left: 7px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 4px solid var(--teal); box-shadow: 0 0 0 4px var(--bg); }
.t-year { font-family: 'Libre Baskerville'; font-size: 1.2rem; color: var(--teal); margin-bottom: 8px; font-weight: 700; }
.t-item h3 { font-family: 'Inter'; font-size: 1.25rem; margin-bottom: 8px; }

/* --- Forms --- */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--navy); }
.form-control { width: 100%; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); font-family: 'Inter'; font-size: 1rem; color: var(--navy); background: var(--surface); transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-light); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* --- Announcements --- */
.news-date { display: inline-block; color: var(--teal); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 12px; letter-spacing: 0.5px;}

/* --- Footer --- */
footer { background: var(--navy); color: var(--slate-light); padding: 80px 5% 30px; margin-top: 60px;}
.f-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 30px; }
.f-brand h2 { color: var(--surface); margin-bottom: 16px; }
.f-col h4 { color: var(--surface); font-family: 'Inter'; font-size: 1rem; margin-bottom: 20px;}
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.f-col a:hover { color: var(--teal); }
.f-bottom { text-align: center; font-size: 0.85rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; padding: 60px 0; }
  .floating-card { bottom: -20px; left: 20px; right: 20px; }
}
@media (max-width: 768px) {
  .top-bar, .nav-links { display: none; }
  .grid-2, .grid-3, .f-grid { grid-template-columns: 1fr; }
}