:root {
  --teal-50: #f0fdfc;
  --teal-100: #ccfbf1;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --amber: #f59e0b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #fff;
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --max: 80rem;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-600); }
ul { padding-left: 1.1rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
.container.narrow { width: min(100% - 2rem, 48rem); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-800);
  font-weight: 700;
  font-size: 1.05rem;
}
.brand:hover { color: var(--teal-700); }
.brand-svg { width: 1.85rem; height: 1.85rem; color: var(--teal-600); flex-shrink: 0; }
.brand-prefix { font-weight: 700; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}
.primary-nav > a:not(.btn):not(.nav-signin) {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}
.primary-nav > a:not(.btn):not(.nav-signin):hover {
  color: var(--teal-600);
  background: var(--teal-50);
}
.nav-signin {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--gray-600) !important;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  margin-left: 0.25rem;
}
.nav-signin:hover {
  color: var(--teal-600) !important;
  background: var(--teal-50);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 2.5rem;
  height: 2.5rem;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 0.75rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: 0.2s ease;
  font-size: 1rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
  margin-left: 0.35rem;
}
.btn-block { width: 100%; margin-top: 0.75rem; }
.btn-primary {
  background: var(--teal-600);
  color: var(--white) !important;
  border-color: var(--teal-600);
}
.btn-primary:hover { background: var(--teal-700); border-color: var(--teal-700); }
.btn-outline {
  background: transparent;
  color: var(--teal-400) !important;
  border-color: var(--teal-400);
}
.btn-outline:hover { background: rgba(45, 212, 191, 0.12); }
.btn-outline-dark {
  background: transparent;
  color: var(--gray-800) !important;
  border-color: #d1d5db;
}
.btn-outline-dark:hover { border-color: var(--teal-600); color: var(--teal-700) !important; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(17, 24, 39, 0.85), rgba(19, 78, 74, 0.8));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0 4rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 800;
}
.hero-line { display: block; margin-bottom: 0.35rem; }
.hero-accent {
  display: block;
  background: linear-gradient(90deg, #2dd4bf, #99f6e4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 42rem;
  margin: 0 auto 2rem;
  color: #d1d5db;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto 2rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1rem;
  backdrop-filter: blur(6px);
  transition: transform 0.2s;
}
.stat-card:hover { transform: scale(1.03); }
.stat-num { font-size: 1.75rem; font-weight: 800; color: var(--teal-400); margin-bottom: 0.25rem; }
.stat-label { color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.trust-line { color: #9ca3af; font-size: 0.9rem; margin-bottom: 0.85rem; }
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  opacity: 0.7;
  font-weight: 500;
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: linear-gradient(180deg, var(--gray-50), var(--white)); }
.section-head {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2.75rem;
}
.section-head h1,
.section-head h2 {
  margin: 0 0 0.85rem;
  color: var(--gray-900);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.2;
  font-weight: 800;
}
.section-head p { margin: 0; color: var(--gray-600); font-size: 1.05rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-600), #14b8a6);
  color: var(--white);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 0.85rem;
}
.gradient-title {
  background: linear-gradient(90deg, var(--teal-700), var(--teal-500), #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
.subhead {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 1.75rem;
}

.cards-3, .cards-4 {
  display: grid;
  gap: 1.35rem;
}
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #99f6e4;
  transform: translateY(-2px);
}
.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.85rem;
  background: var(--teal-50);
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  color: var(--teal-600);
  transition: transform 0.25s;
}
.service-card:hover .card-icon { transform: scale(1.08); }
.card h3 { margin: 0 0 0.55rem; color: var(--gray-900); font-size: 1.15rem; }
.card p { margin: 0 0 1rem; color: var(--gray-600); font-size: 0.95rem; }
.text-link { font-weight: 600; color: var(--teal-600); display: inline-flex; align-items: center; gap: 0.25rem; }
.service-card:hover .text-link { gap: 0.5rem; }

.panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}
.panel-head h3 { margin: 0; font-size: 1.35rem; color: var(--gray-900); }
.panel-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.panel-icon.teal { background: var(--teal-600); }
.panel-icon.amber { background: var(--amber); }

/* About */
.about-section {
  background: linear-gradient(135deg, #f0fdfa 0%, #fff 45%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.about-photo-wrap {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}
.about-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, var(--teal-600), #0ea5e9, var(--amber));
  opacity: 0.35;
  filter: blur(12px);
  z-index: 0;
}
.about-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}
.expert-panel { margin-bottom: 1rem; }
.expert-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--teal-600);
}
.expert-head h3 {
  margin: 0;
  font-size: 1.35rem;
  background: linear-gradient(90deg, var(--teal-700), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.expert-panel p { margin: 0; color: var(--gray-600); line-height: 1.7; }

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.mini-stats div {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.85rem;
  padding: 1.15rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
}
.mini-stats strong {
  display: block;
  color: var(--teal-600);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.mini-stats span { color: var(--gray-600); font-size: 0.9rem; }

.edu-ach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.edu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.edu-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: linear-gradient(90deg, var(--gray-50), var(--white));
  border-radius: 0.75rem;
  border-left: 4px solid var(--teal-600);
}
.edu-list strong { display: block; color: var(--gray-900); font-size: 1rem; }
.edu-list span { display: block; color: var(--gray-700); font-size: 0.9rem; margin-top: 0.2rem; }
.edu-list em {
  flex-shrink: 0;
  font-style: normal;
  background: var(--teal-100);
  color: var(--teal-700);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.ach-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.ach-list li {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  background: linear-gradient(90deg, var(--gray-50), var(--white));
  border-radius: 0.75rem;
  border: 1px solid var(--gray-100);
}
.ach-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, #ccfbf1, #e0f2fe);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.ach-list strong { display: block; color: var(--gray-900); margin-bottom: 0.2rem; }
.ach-list p { margin: 0; color: var(--gray-700); font-size: 0.9rem; line-height: 1.55; }

/* Testimonials */
.testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.testimonial-head strong { display: block; color: var(--gray-900); font-size: 0.95rem; }
.testimonial-head span { display: block; color: var(--gray-500); font-size: 0.8rem; }
.stars { color: #fbbf24; letter-spacing: 0.08em; margin-bottom: 0.65rem; font-size: 0.95rem; }
.testimonial p {
  margin: 0;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Research */
.research-card {
  border-left: 4px solid var(--teal-600);
  border-radius: 0.85rem;
}
.research-card h4 { margin: 0 0 0.55rem; color: var(--gray-900); font-size: 1.05rem; }
.research-card p { margin: 0; color: var(--gray-700); }
.research-cards { margin-bottom: 2.5rem; }
.pubs-panel { margin-bottom: 1.75rem; }
.academic-box {
  background: var(--teal-50);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
}
.academic-box h3 { margin: 0 0 0.85rem; color: var(--gray-900); }
.academic-box p { margin: 0; color: var(--gray-600); line-height: 1.75; }

.video-embed {
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: #000;
}
.video-embed iframe { width: 100%; height: 100%; border: 0; }

.contact-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.contact-details { list-style: none; padding: 0; margin: 0; }
.contact-details li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-details span { font-size: 0.8rem; color: var(--gray-500); }
.cta-panel { background: linear-gradient(180deg, var(--teal-50), var(--white)); }

.center { text-align: center; }
.mt-lg { margin-top: 1.5rem; }

/* Blog */
.blog-hero { padding-top: 5rem; }
.blog-card { padding: 0; overflow: hidden; }
.blog-card-link { color: inherit; display: block; }
.blog-thumb img { width: 100%; height: 12rem; object-fit: cover; }
.blog-thumb-fallback {
  height: 12rem;
  background: linear-gradient(135deg, var(--teal-600), #115e59);
}
.blog-card-body { padding: 1.1rem; }
.blog-card-body h2 { font-size: 1.1rem; margin: 0 0 0.5rem; color: var(--gray-900); }
.post-header { margin-bottom: 1.5rem; }
.post-meta { color: var(--gray-500); }
.post-hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.post-hero-image img { width: 100%; max-height: 28rem; object-fit: cover; }
.entry-content h2, .entry-content h3 { color: var(--gray-900); margin-top: 1.75rem; }
.entry-content p { color: var(--gray-600); }
.post-cta { margin-top: 2.5rem; }

/* Footer */
.site-footer {
  background: var(--gray-900);
  color: #d1d5db;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr;
}
.footer-brand p { max-width: 28rem; color: #9ca3af; }
.site-footer h3 { color: var(--white); margin-top: 0; }
.site-footer a { color: #9ca3af; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #1f2937;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}
.footer-brand-row { color: var(--white); margin-bottom: 0.75rem; }
.footer-brand-row .brand-svg { color: var(--teal-400); }

/* WhatsApp FAB */
.wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: #25d366;
  color: var(--white) !important;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}
.wa-fab:hover { transform: scale(1.08); color: var(--white) !important; }

@media (max-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edu-ach-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .brand-prefix { display: none; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav .btn-sm { margin: 0.5rem 0 0; width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .about-photo { height: 360px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; }
}
