/* ═══════════════════════════════════════════════════════════════
   North Peak Care — Nurses Page Styles
   ═══════════════════════════════════════════════════════════════ */

/* Round Gothic font for headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

/* SECTION 1: HERO WITH FULL BACKGROUND (matching partnership page) */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 6rem 4rem;
  background: linear-gradient(135deg, rgba(38, 34, 98, 0.45) 0%, rgba(26, 38, 80, 0.55) 100%),
              url('../media/ThreeFingers-207.jpg') center/cover no-repeat;
  color: white;
  position: relative;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-eyebrow {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--npc-cyan);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 0 60px 30px rgba(38, 34, 98, 0.6);
}

.btn-hero {
  padding: 0.95rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  border: 2px solid #E8922F;
  background: #E8922F;
  color: white;
}
.btn-hero:hover {
  background: #d67d1a;
  color: white;
  border-color: #d67d1a;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    padding: 28px 16px 32px !important;
    gap: 1.5rem;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-eyebrow {
    white-space: normal;
    font-size: 0.75rem;
  }
  .hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .hero-content p {
    max-width: 100%;
  }
  .hero-image {
    width: 100%;
    height: auto !important;
  }
  .hero-image img {
    max-width: 100%;
    height: auto !important;
    box-shadow: none;
  }
}

/* SECTION 2: HOW IT WORKS */
.how-section {
  background: white;
  padding: 5rem 4rem;
}

.how-section h2 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 3rem;
  color: var(--npc-navy);
}

.how-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.how-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--npc-teal) 0,
    var(--npc-teal) 10px,
    transparent 10px,
    transparent 20px
  );
  z-index: 0;
}

.how-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.how-dot {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #E8922F;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 4px white;
}

.how-item h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--npc-navy);
  margin-bottom: 0.8rem;
}

.how-item p {
  color: var(--npc-charcoal);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .how-grid::before {
    display: none;
  }
  .how-section {
    padding: 1.5rem 1rem;
  }
  .how-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .how-dot {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .how-item p {
    font-size: 14px;
    color: var(--npc-charcoal) !important;
  }
}

/* SECTION 3: REQUIREMENTS */
.requirements-section {
  background: #D0D0D0;
  padding: 5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.requirements-section h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--npc-navy);
  grid-column: 1;
}

.req-intro {
  font-size: 1.1rem;
  color: var(--npc-charcoal);
  margin-top: 2rem;
  font-weight: 500;
  grid-column: 1;
}

.req-list {
  max-width: 600px;
  list-style: none;
  padding: 0;
  margin: 0;
  grid-column: 1;
}

.req-list li {
  font-size: 1.05rem;
  color: var(--npc-charcoal);
  line-height: 1.6;
  padding-left: 0;
  position: relative;
  margin-bottom: 0.5rem;
}

.req-list li::before {
  content: none;
  border-radius: 0;
  background: none;
  display: inline;
}

@media (max-width: 768px) {
  .requirements-section {
    background: var(--off-white);
    padding: 2rem 1rem;
    grid-template-columns: 1fr;
    display: block;
  }
  .requirements-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  .req-intro {
    text-align: center;
    color: var(--npc-charcoal) !important;
  }
  .requirements-section h2,
  .req-intro,
  .req-list {
    grid-column: 1;
  }
  .req-list {
    text-align: center;
    list-style: none;
    padding: 0 !important;
    max-width: 100%;
    margin: 0 auto;
  }
  .req-list li {
    font-size: 15px;
    margin-bottom: 0.5rem;
    padding-left: 0 !important;
    position: static !important;
    display: block;
    color: var(--npc-charcoal) !important;
  }
  .req-list li::before {
    display: none !important;
    content: none !important;
  }
  .faq-section {
    padding: 2rem 1rem;
  }
  .faq-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .faq-item .faq-answer {
    padding: 1rem;
    font-size: 14px;
  }
}

/* SECTION 7: FAQ */
.faq-section {
  background: white;
  padding: 5rem 4rem;
}

.faq-section h2 {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 3rem;
  color: var(--npc-navy);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--off-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: all 0.2s ease;
}

.faq-item.open {
  background: white;
  border-color: var(--npc-teal);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--npc-navy);
  -webkit-user-select: none;
  user-select: none;
  border: none;
  background: none;
  width: 100%;
  font-size: 1rem;
}

.faq-question:hover {
  background: rgba(0, 151, 178, 0.05);
}

.faq-item.open .faq-question:hover {
  background: none;
}

.faq-answer ul {
  list-style: disc;
  padding-left: 2rem;
  margin: 1rem 0;
}

.faq-answer ul li {
  margin-bottom: 0.5rem;
  color: #000;
}

.faq-toggle {
  color: var(--npc-teal);
  font-size: 1.3rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
  color: #000;
  background: linear-gradient(180deg, rgba(232, 146, 47, 0.12) 0%, rgba(232, 146, 47, 0.25) 100%);
  padding: 1.5rem;
  margin: 0 -1.5rem -1.5rem -1.5rem;
  border-radius: 0 0 8px 8px;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 2rem 1rem;
  }
}

/* SECTION 8: APPLICATION FORM */
.application-section {
  background: white;
  padding: 4rem 4rem;
}

.application-inner {
  max-width: 900px;
  margin: 0 auto;
}

.application-section h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--npc-navy);
  text-align: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 0.9rem;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--npc-navy);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.95rem 1.2rem;
  border: 1px solid #000;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--npc-teal);
  outline: 2px solid var(--npc-teal);
  outline-offset: -1px;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  outline: 2px solid var(--npc-teal);
  outline-offset: 1px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background: #E8922F;
  color: white;
  padding: 1.1rem 3rem;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s ease;
}

.form-submit:hover {
  background: #d67d1a;
}

.form-success {
  display: none;
  color: var(--npc-teal);
  font-weight: 700;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .application-section {
    padding: 2rem 1rem;
  }
}
