:root {
  --bg-dark: #0a0f1d;
  --bg-card: rgba(16, 24, 48, 0.7);
  --primary: #00f2fe;
  --primary-glow: rgba(0, 242, 254, 0.25);
  --secondary: #4facfe;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 15, 29, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 18px;
}

.brand-text span {
  font-weight: 800;
  font-size: 16px;
  display: block;
}

.brand-text small {
  font-size: 10px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

/* Default mobile nav links state (hidden until toggled) */
.nav-links {
  display: none; 
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(10, 15, 29, 0.98);
  border-bottom: 1px solid var(--border-color);
  flex-direction: column;
  padding: 20px;
  gap: 16px;
  text-align: center;
}

.nav-links.active {
  display: flex;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}

.mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 120px 0 60px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 50px;
  color: var(--primary);
  font-size: 13px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 28px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 12px;
}

.stat-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 50px 0;
}

.section-tag {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.text-center {
  text-align: center;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.doctor-card {
  text-align: center;
  padding: 20px;
}

.doctor-card .info-icon {
  margin: 0 auto 12px;
}

.doctor-spec {
  color: var(--primary);
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 600;
}

.doctor-desc {
  color: var(--text-muted);
  font-size: 13px;
}

/* Tabs / Pillars */
.tab-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0;
}

.tab-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
  border-color: transparent;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Contact Info */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 12px;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.phone-link {
  color: var(--text-main);
  text-decoration: none;
}

.sub-text {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer {
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* Desktop & Tablet Layout Rules */
@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }

  .nav-links {
    display: flex !important;
    position: static;
    width: auto;
    background: none;
    border: none;
    flex-direction: row;
    padding: 0;
    gap: 24px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .btn {
    width: auto;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tab-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .tab-btn {
    width: auto;
  }
}
