/* Caring Nurse Consulting Color Theme */
:root {
  --navy: #132a6f;
  --deep-blue: #222b7b;
  --royal-purple: #535292;
  --lavender: #8f96c6;
  --soft-lavender: #c7c5e5;
  --sky-blue: #95c7f9;
  --light-blue: #d9eaff;
  --gold: #c49a32;
  --white: #ffffff;
  --off-white: #f7f8ff;
  --text-dark: #14275d;
  --text-muted: #5f6d91;
  --card-shadow: 0 8px 24px rgba(19, 42, 111, 0.15);
  --soft-border: 1px solid rgba(19, 42, 111, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background-color: var(--off-white);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--deep-blue);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

p {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 2000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 15px rgba(19, 42, 111, 0.1);
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, 100% - 32px);
  min-height: 94px;
  margin: auto;
  gap: 24px;
}

.brand {
  flex-shrink: 0;
}

.brand-logo {
  width: 215px;
  max-height: 82px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.nav-links a {
  position: relative;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--lavender);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 10px;
}

.hero {
  min-height: 610px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.25), transparent 28%),
    radial-gradient(circle at 90% 15%, rgba(217, 234, 255, 0.2), transparent 24%),
    linear-gradient(135deg, rgba(19, 42, 111, 0.98) 0%, rgba(83, 82, 146, 0.96) 55%, rgba(149, 199, 249, 0.92) 100%);
}

.hero-content {
  max-width: 920px;
}

.eyebrow,
.section-label {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(2.7rem, 7vw, 5.6rem);
}

.hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto 32px;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 9px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background-color: var(--navy);
}

.btn-primary:hover {
  color: var(--navy);
  background-color: var(--gold);
}

.btn-gold {
  color: var(--navy);
  background-color: var(--gold);
}

.btn-gold:hover {
  color: var(--white);
  background-color: var(--deep-blue);
}

.btn-light {
  color: var(--navy);
  background-color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-light:hover {
  color: var(--white);
  background-color: transparent;
}

.section {
  padding: 82px 24px;
}

.section-container {
  width: min(1160px, 100%);
  margin: auto;
}

.section-light {
  background-color: var(--white);
}

.section-lavender {
  background: linear-gradient(135deg, var(--off-white), rgba(199, 197, 229, 0.65));
}

.section-title {
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  max-width: 760px;
  margin: 0 auto 44px;
  color: var(--text-muted);
  text-align: center;
}

.centered {
  text-align: center;
}

.gold-divider {
  width: 90px;
  height: 3px;
  margin: 16px auto 30px;
  background-color: var(--gold);
  border: 0;
}

.left-divider {
  margin-left: 0;
}

.intro-grid,
.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.highlight-panel,
.mission-card,
.content-card {
  padding: 34px;
  background: var(--white);
  border: var(--soft-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

.highlight-panel {
  border-top: 5px solid var(--gold);
}

.mission-card {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--royal-purple));
  border: 0;
}

.mission-card h3 {
  color: var(--gold);
}

.mission-card p:last-child {
  margin-bottom: 0;
}

.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  content: "✓";
  font-weight: 900;
}

.card-grid,
.service-grid,
.consulting-grid,
.resource-grid,
.details-grid {
  display: grid;
  gap: 24px;
}

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

.card,
.service-card,
.consulting-card {
  padding: 30px;
  background-color: var(--white);
  border: var(--soft-border);
  border-top: 5px solid var(--gold);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
}

.card-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--royal-purple));
  border-radius: 50%;
  place-items: center;
  font-weight: 800;
}

.details-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 48px;
  padding: 36px;
  background: var(--off-white);
  border-radius: 16px;
}

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

.service-card {
  border-top-color: var(--lavender);
}

.service-card h3,
.consulting-card h3,
.resource-card h3 {
  font-size: 1.3rem;
}

.featured-card {
  position: relative;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--royal-purple));
  transform: translateY(-10px);
}

.featured-card h3,
.featured-card .text-link {
  color: var(--white);
}

.featured-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 800;
}

.resource-section {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.14), transparent 25%),
    linear-gradient(135deg, var(--navy), var(--royal-purple));
}

.light-title,
.light-label,
.light-text {
  color: var(--white);
}

.resource-grid {
  grid-template-columns: repeat(4, 1fr);
}

.resource-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}

.resource-card h3 {
  color: var(--gold);
}

.disclaimer {
  max-width: 900px;
  margin: 38px auto 0;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  font-size: 0.92rem;
}

.contact-grid {
  align-items: start;
}

.contact-details {
  margin-top: 28px;
  padding: 22px;
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}

.contact-details p {
  margin-bottom: 8px;
}

.contact-form {
  padding: 34px;
  background: var(--white);
  border: var(--soft-border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  color: var(--text-dark);
  background-color: var(--white);
  border: 1px solid var(--lavender);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(196, 154, 50, 0.2);
}

.privacy-note {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.site-footer {
  padding: 42px 24px;
  color: var(--white);
  background-color: #0d1d4d;
  text-align: center;
}

.footer-content {
  width: min(720px, 100%);
  margin: auto;
}

.footer-logo {
  width: 220px;
  margin: 0 auto 20px;
  border-radius: 10px;
}

.site-footer a {
  color: var(--sky-blue);
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--gold);
}

@media (max-width: 1000px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 94px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    background: var(--white);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 10px 18px rgba(19, 42, 111, 0.12);
  }

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

  .nav-links a {
    padding: 8px 0;
  }

  .service-grid,
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 92px;
  }

  .navbar {
    min-height: 84px;
  }

  .brand-logo {
    width: 180px;
    max-height: 72px;
  }

  .nav-links {
    top: 84px;
  }

  .hero {
    min-height: 540px;
    padding: 72px 20px;
  }

  .section {
    padding: 66px 20px;
  }

  .intro-grid,
  .two-column,
  .contact-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .consulting-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    transform: none;
  }
}

@media (max-width: 560px) {
  .navbar {
    width: min(100% - 20px, 1200px);
  }

  .brand-logo {
    width: 150px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .service-grid,
  .resource-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .highlight-panel,
  .mission-card,
  .content-card,
  .contact-form,
  .details-grid {
    padding: 24px;
  }
}
