/* ══════════════════════════════════════════════════════
   ClinicX — components.css
   Paste this into your style.css, OR link it separately.
   Contains navbar, footer, and mobile-menu styles.
   ══════════════════════════════════════════════════════ */

/* ─── NAVBAR ─── */
/* ─── NAVBAR ─── */
.navbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: all .4s cubic-bezier(.22,1,.36,1);
}

.navbar.scrolled{
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 12px rgba(26,79,186,.08);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { font-size: 1.4rem; color: var(--teal); filter: drop-shadow(0 0 6px rgba(0,201,167,.4)); }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--white); transition: color .3s; }
.navbar.scrolled .logo-text { color: var(--navy); }

/* Nav links */
.nav-links { display: flex; gap: 32px; margin-left: auto; }
.nav-links a {
  font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,.8); transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--teal); border-radius: 2px;
  transform: scaleX(0);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); font-weight: 700; }
.navbar.scrolled .nav-links a { color: var(--gray-700); }
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active { color: var(--navy); }

/* CTA row */
.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-contact { font-size: .8rem; color: rgba(255,255,255,.7); }
.navbar.scrolled .nav-contact { color: var(--gray-500); }
@media (max-width: 1100px) { .nav-contact { display: none; } }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  z-index: 1100;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
}
.navbar.scrolled .hamburger span { background: var(--navy); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE DRAWER ─── */
.mobile-menu {
  display: none; /* shown only on small screens */
  flex-direction: column;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(13,27,62,.97);
  backdrop-filter: blur(20px);
  padding: 24px 5% 36px;
  border-top: 1px solid rgba(255,255,255,.08);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s, transform .35s;
  z-index: 999;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }
.mobile-menu ul li { border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-menu ul li a {
  display: block; padding: 14px 0;
  font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.8);
  transition: color .2s;
}
.mobile-menu ul li a:hover { color: var(--teal); }
.mobile-cta { display: flex; flex-direction: column; gap: 12px; }
.mobile-phone { font-size: .85rem; color: rgba(255,255,255,.5); text-align: center; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links  { display: none; }
  .nav-cta .btn { display: none; }
  .mobile-menu { display: flex; }
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
   :root{
  --navy:#0d1b3e;
  --teal:#00c9a7;
  --blue-mid:#2563eb;

  --white:#ffffff;
  --gray-500:#6b7280;
  --gray-700:#374151;

  --font-display:'Syne', sans-serif;
  --font-body:'DM Sans', sans-serif;
}
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  position: relative; overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,201,167,.08) 0%, transparent 70%);
  pointer-events: none;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 80px 5% 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 48px;
}
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact-col { grid-column: 1 / -1; }
}

/* Brand */
.footer-brand { max-width: 320px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .logo-icon { font-size: 1.3rem; color: var(--teal); filter: drop-shadow(0 0 8px rgba(0,201,167,.5)); }
.footer-logo .logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: white; }
.footer-desc { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.45); margin-bottom: 24px; }

/* Newsletter */
.footer-newsletter { display: flex; gap: 8px; margin-bottom: 28px; }
.footer-newsletter input {
  flex: 1; background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12); border-radius: 50px;
  padding: 10px 18px; font-family: var(--font-body); font-size: .82rem;
  color: white; outline: none; transition: border-color .3s;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.3); }
.footer-newsletter input:focus { border-color: var(--teal); }
.footer-newsletter button {
  background: linear-gradient(135deg, var(--teal), var(--blue-mid));
  border: none; border-radius: 50px; padding: 10px 18px;
  color: white; font-family: var(--font-display); font-size: .8rem;
  font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .3s, box-shadow .3s;
}
.footer-newsletter button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,201,167,.4); }

/* Social */
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.social-btn:hover {
  background: var(--teal); border-color: var(--teal); color: white;
  transform: translateY(-3px) scale(1.1); box-shadow: 0 6px 18px rgba(0,201,167,.45);
}

/* Link columns */
.footer-col h4 {
  font-family: var(--font-display); font-size: .82rem; font-weight: 700;
  color: white; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 24px; height: 2px; background: var(--teal); border-radius: 2px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .85rem; color: rgba(255,255,255,.45);
  display: flex; align-items: center; gap: 6px;
  transition: color .2s, padding-left .2s;
}
.footer-col ul li a::before {
  content: '→'; font-size: .7rem; color: var(--teal);
  opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s;
}
.footer-col ul li a:hover { color: rgba(255,255,255,.9); padding-left: 8px; }
.footer-col ul li a:hover::before { opacity: 1; transform: translateX(0); }

/* Contact list */
.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .83rem; color: rgba(255,255,255,.5); line-height: 1.55;
  transition: all .2s; cursor: default;
}
.footer-contact-list li:hover span:last-child { color: rgba(255,255,255,.85); }
.fc-ico { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

/* Divider & bottom bar */
.footer-divider { max-width: 1280px; margin: 0 auto; height: 1px; background: rgba(255,255,255,.07); }
.footer-bottom { padding: 24px 5%; }
.footer-bottom-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: .78rem; color: rgba(255,255,255,.35); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--teal); }