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

.hero {
  min-height: 100vh;
  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;
  white-space: nowrap;
  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-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.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 transparent;
}

.btn-primary-hero {
  background: var(--npc-orange);
  color: white;
}
.btn-primary-hero:hover {
  background: var(--npc-orange-hover);
  transform: translateY(-2px);
}

.btn-outline-hero {
  background: transparent;
  color: white;
  border-color: white;
}
.btn-outline-hero:hover {
  background: white;
  color: var(--npc-navy);
}

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

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .hero {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    padding: 28px 16px 32px !important;
    min-height: auto !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-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .btn-hero {
    text-align: center;
    width: 100%;
  }
  .hero-image {
    width: 100%;
    height: auto !important;
  }
  .hero-image img {
    max-width: 100%;
    height: auto !important;
  }
  .what-we-do {
    padding: 2rem 1rem !important;
  }
  .carousel-container {
    width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* How We Help Section - Carousel */
.what-we-do {
  background: white;
  padding: 4.5rem 3rem 4rem 3rem;
  position: relative;
}

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

.carousel-container {
  width: 90%;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  scroll-behavior: smooth;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-body);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--npc-teal);
  transform: scale(1.3);
}

.dot:hover {
  background: var(--text-dark);
}

.carousel-container::-webkit-scrollbar {
  display: none;
}
.carousel-container {
  scrollbar-width: none;  /* merged with main .carousel-container above */
}

.cards-grid {
  display: flex;
  gap: 2rem;
  width: auto;
  padding: 0;
}

.card {
  background: var(--tint-blue);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex: 0 0 calc(43.9% - 1.5rem);
  min-width: 270px;
  border-left: 4px solid var(--npc-orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: auto;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.card:active {
  cursor: grabbing;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--npc-navy);
  line-height: 1.2;
  min-height: auto;
}

.card p {
  margin: 0;
  color: var(--text-dark);
  line-height: 1.4;
  font-size: 0.9rem;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .what-we-do {
    padding: 2rem 1rem;
  }
  .cards-grid {
    flex-wrap: wrap;
    gap: 1.5rem;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .card {
    flex: 0 0 100%;
    min-width: 0;
    cursor: default;
  }
  .carousel-dots {
    display: none !important;
  }
}

/* Problem Section */
.problem-section {
  background: white;
  padding: 4rem;
}

.problem-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.problem-left h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--npc-navy);
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.problem-item {
  display: flex;
  gap: 1.5rem;
}

.problem-item::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  background: var(--npc-teal);
  border-radius: 50%;
  margin-top: 0.8rem;
  flex-shrink: 0;
}

.problem-item-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--npc-navy);
  margin-bottom: 0.5rem;
}

.problem-item-text p {
  color: #000000;
  line-height: 1.6;
}

.problem-right img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

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

/* Platform Showcase */
.showcase-section {
  background: #D0D0D0;
  color: var(--npc-navy);
  padding: 2.75rem 4rem;
}

.showcase-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: center;
}

.showcase-left h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--npc-navy);
}

.showcase-left p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--npc-navy);
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: var(--npc-navy);
}

.feature-list li::before {
  content: '\2713';
  color: var(--npc-teal);
  font-weight: bold;
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: -0.1rem;
}

/* Demo Banner */
.demo-banner {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.demo-banner p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--npc-navy);
  margin: 0;
}

.demo-btn {
  background: var(--npc-orange);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.demo-btn:hover {
  background: var(--npc-orange-hover);
  transform: translateY(-2px);
}

/* Browser frame */
.browser-frame {
  width: 100%;
  height: auto;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.browser-bar {
  display: none;
}

.browser-dot {
  display: none;
}

.browser-content {
  position: relative;
  overflow: visible;
  background: transparent;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 1.5rem 0;
}

.browser-carousel {
  position: relative;
  width: 95%;
  height: 95%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Showcase carousel dots */
.showcase-section .carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.showcase-section .dot {
  width: 12px;
  height: 12px;
}

@media (max-width: 768px) {
  .showcase-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .showcase-section {
    padding: 2rem 1rem;
    background: #D0D0D0;
  }
  .showcase-left h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .showcase-left p {
    font-size: 14px;
    margin-bottom: 1.5rem;
  }
  .feature-list {
    gap: 0.75rem;
  }
  .feature-list li {
    font-size: 14px;
  }
  .browser-content {
    height: auto;
    min-height: 200px;
    aspect-ratio: 16/10;
  }
  .browser-carousel {
    width: 100%;
    height: 100%;
  }
  .carousel-slide img {
    height: auto;
    width: 100%;
    object-fit: contain;
  }
  .demo-banner {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  .demo-banner p {
    font-size: 14px;
  }
}

/* Why Partner Section */
.partner-section {
  background: var(--npc-navy);
  padding: 5rem 4rem;
  color: white;
}

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

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

.partner-item {
  display: flex;
  gap: 2rem;
}

.partner-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--npc-orange);
  flex-shrink: 0;
  line-height: 1;
}

.partner-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 0.8rem;
}

.partner-content p {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .partner-section {
    padding: 2rem 1rem;
  }
  .partner-item {
    gap: 1rem;
  }
  .partner-number {
    font-size: 2.5rem;
  }
}

/* Timeline Section */
.timeline-section {
  background: var(--off-white);
  padding: 5rem 4rem;
}

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

.timeline {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-soft);
  z-index: 0;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--npc-orange);
  border: 4px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  margin-bottom: 2rem;
  box-shadow: 0 0 0 3px var(--off-white);
}

.timeline-item h3 {
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
  color: var(--npc-navy);
}

.timeline-item p {
  text-align: center;
  max-width: 180px;
  margin: 1rem auto 0 auto !important;
}

@media (max-width: 768px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .timeline::before {
    display: none;
  }
  .timeline-section {
    padding: 1.5rem 1rem;
  }
  .timeline-item {
    padding: 0.75rem 0;
  }
  .timeline-item p {
    margin-top: 0.25rem;
  }
}

/* Quote Section */
.quote-section {
  background: var(--npc-navy);
  color: white;
  padding: 5rem 4rem;
  border-top: 1px solid var(--npc-orange);
}

.quote-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.quote-text {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  font-style: italic;
  margin-bottom: 2rem;
}

.quote-author {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--npc-teal);
}

.quote-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.quote-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .quote-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .quote-section {
    padding: 2rem 1rem;
  }
  .quote-text {
    font-size: 1rem;
  }
  .quote-image img {
    height: auto;
    max-height: 250px;
  }
}

/* Contact Form Section */
.contact-section {
  background: white;
  padding: 3rem 4rem;
}

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

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

.contact-section > p {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

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

.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.3rem;
}

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

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

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

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

.form-submit:hover {
  background: var(--npc-orange-hover);
}

.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;
  }
  .contact-section {
    padding: 2rem 1rem;
  }
  .contact-section h2 {
    text-align: center;
  }
}
