/* ============================================================
   TalentMedNet — Main Stylesheet
   Healthcare Staffing & Talent Network
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --navy:        #0B2545;
  --blue:        #1B5E9B;
  --sky:         #3A9BD5;
  --ice:         #EAF4FB;
  --mint:        #D4EFE3;
  --white:       #FFFFFF;
  --off-white:   #F7FAFC;
  --text-dark:   #0D1B2A;
  --text-mid:    #3D5168;
  --text-light:  #6B8399;
  --border:      #D4E3EF;
  --accent:      #21C17C;
  --accent-dark: #17A266;
  --shadow-sm:   0 2px 8px rgba(11,37,69,.08);
  --shadow-md:   0 6px 24px rgba(11,37,69,.12);
  --shadow-lg:   0 16px 48px rgba(11,37,69,.16);
  --radius:      12px;
  --radius-lg:   20px;
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', sans-serif;
  --nav-h:       72px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--text-mid); }

/* ── Utility ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  display: inline-block;
  background: var(--ice);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(33,193,124,.3); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); transform: translateY(-2px); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(11,37,69,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--sky), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 24px; height: 24px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
}
.logo-sub {
  color: rgba(255,255,255,.55);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .04em;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: rgba(255,255,255,.78);
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-cta { margin-left: 12px; padding: 9px 20px !important; font-size: .85rem !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--navy);
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,.82);
  padding: 13px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 18px; width: 100%; justify-content: center; }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #061526 0%, var(--navy) 40%, #123362 100%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(58,155,213,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(33,193,124,.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(33,193,124,.15);
  border: 1px solid rgba(33,193,124,.3);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 24px;
}
.hero-tag::before { content: '●'; font-size: .5rem; }
.hero-content h1 {
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.hero-content h1 span { color: var(--sky); }
.hero-content p {
  color: rgba(255,255,255,.72);
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat { text-align: left; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.5); margin-top: 4px; font-weight: 500; letter-spacing: .03em; }

/* Hero image */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-img-wrap {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.07);
  position: relative;
}
.hero-img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: 24px; left: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge-icon {
  width: 40px; height: 40px;
  background: var(--ice);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.badge-text strong { display: block; font-size: .88rem; color: var(--text-dark); }
.badge-text span   { font-size: .75rem; color: var(--text-light); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  padding: 100px 0;
  background: var(--white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-stack {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 420px; object-fit: cover; }
.about-img-accent {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.about-img-accent img { width: 100%; height: 130px; object-fit: cover; }
.about-content { padding-left: 20px; }
.about-content h2 { color: var(--navy); margin-bottom: 20px; }
.about-content p { margin-bottom: 20px; line-height: 1.8; font-size: .97rem; }
.about-pills {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
.pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--ice);
  color: var(--blue);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 600;
}
.pill svg { width: 15px; height: 15px; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services {
  padding: 100px 0;
  background: var(--off-white);
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { color: var(--navy); margin-bottom: 14px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--ice);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--blue);
  transition: background .3s;
}
.service-card:hover .service-icon { background: var(--blue); color: var(--white); }
.service-card h3 { color: var(--navy); margin-bottom: 12px; font-size: 1.08rem; }
.service-card p { font-size: .9rem; line-height: 1.7; }

/* ============================================================
   PROFESSIONALS SECTION
   ============================================================ */
#professionals {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#professionals::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(58,155,213,.15) 0%, transparent 70%);
}
#professionals .section-header h2 { color: var(--white); }
#professionals .section-header p  { color: rgba(255,255,255,.6); }
#professionals .section-tag {
  background: rgba(58,155,213,.15);
  color: var(--sky);
}

.prof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}
.prof-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: background .25s, transform .25s, border-color .25s;
  cursor: default;
}
.prof-card:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--sky);
  transform: translateY(-4px);
}
.prof-icon {
  width: 52px; height: 52px;
  background: rgba(58,155,213,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--sky);
}
.prof-card h4 { color: var(--white); font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
.prof-card span { color: rgba(255,255,255,.45); font-size: .78rem; font-weight: 500; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how {
  padding: 100px 0;
  background: var(--white);
}
.steps-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  margin-top: 60px;
}
.steps-inner::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(16% + 20px);
  right: calc(16% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--accent));
}
.step { text-align: center; position: relative; }
.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(27,94,155,.3);
  position: relative;
  z-index: 1;
}
.step h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.05rem; }
.step p { font-size: .9rem; max-width: 220px; margin: 0 auto; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
#why {
  padding: 100px 0;
  background: var(--off-white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 60px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow .25s, transform .25s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.feature-card:nth-child(1) .feature-icon { background: #EAF4FB; color: var(--blue); }
.feature-card:nth-child(2) .feature-icon { background: #D4EFE3; color: var(--accent-dark); }
.feature-card:nth-child(3) .feature-icon { background: #FFF4E6; color: #E88A2D; }
.feature-card:nth-child(4) .feature-icon { background: #F0EEFF; color: #6B52D6; }
.feature-card h3 { color: var(--navy); font-size: 1.05rem; }
.feature-card p  { font-size: .9rem; line-height: 1.7; flex: 1; }

/* ============================================================
   CTA BAND
   ============================================================ */
#cta {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--navy), #1a4a7a);
  position: relative;
  overflow: hidden;
  text-align: center;
}
#cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(58,155,213,.15) 0%, transparent 60%);
}
#cta h2 { color: var(--white); margin-bottom: 16px; position: relative; }
#cta p  { color: rgba(255,255,255,.65); max-width: 500px; margin: 0 auto 36px; position: relative; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
#contact {
  padding: 100px 0;
  background: var(--off-white);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { color: var(--navy); margin-bottom: 20px; }
.contact-info p { margin-bottom: 32px; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.c-icon {
  width: 42px; height: 42px;
  background: var(--ice);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-detail strong { display: block; color: var(--navy); font-size: .88rem; margin-bottom: 2px; }
.contact-detail span  { color: var(--text-mid); font-size: .88rem; line-height: 1.5; }

/* Form */
.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-title { font-family: var(--font-display); color: var(--navy); font-size: 1.6rem; margin-bottom: 28px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .83rem; font-weight: 600; color: var(--text-mid); }
.form-group input,
.form-group select {
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(58,155,213,.12);
}
.form-group input::placeholder { color: #b0bec5; }
.form-group select { cursor: pointer; }
.form-group.full { grid-column: 1 / -1; }
.form-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1rem;
}
.form-note { font-size: .78rem; color: var(--text-light); text-align: center; margin-top: 14px; }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: var(--mint);
  border-radius: var(--radius);
  color: var(--accent-dark);
  font-weight: 600;
  margin-top: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #061526;
  padding: 70px 0 0;
  color: rgba(255,255,255,.65);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: .88rem; line-height: 1.8; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--sky); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px; font-size: .85rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--sky); }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer-bottom a:hover { color: var(--sky); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner    { grid-template-columns: 1fr; }
  .hero-visual   { display: none; }
  .about-inner   { grid-template-columns: 1fr; }
  .about-img-stack { display: none; }
  .about-content { padding-left: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.5rem; }
  .steps-inner { grid-template-columns: 1fr; }
  .steps-inner::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-box { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
}
