/* public/css/process.css */

/* ============================================
   PROCESS HERO - MOBILE FIRST
   ============================================ */

.process-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/images/hero/process-hero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  /* margin-top: var(--nav-height); */
}

.process-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-green);
}

.process-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 0 var(--spacing-sm);
}

.process-hero-title {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.process-hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--white);
  max-width: 600px;
  margin: 0 auto;
}

/* Process Hero - Tablet */
@media (min-width: 768px) {
  .process-hero {
    height: 60vh;
    min-height: 400px;
  }
  
  .process-hero-title {
    font-size: 2.5rem;
  }
}

/* Process Hero - Desktop */
@media (min-width: 1024px) {
  .process-hero {
    background-attachment: fixed;
  }
  
  .process-hero-title {
    font-size: 3rem;
  }
}


/* ============================================
   PROCESS STEPS - MOBILE FIRST
   ============================================ */

.process-steps {
  background-color: var(--white);
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 2px solid var(--light-gray);
}

.process-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.step-visual {
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: bold;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.step-image {
  width: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.step-image img {
  width: 100%;
  height: auto;
  display: block;
}

.step-content h2 {
  color: var(--primary-green);
  margin-bottom: var(--spacing-sm);
}

.step-content p {
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-loose);
  color: var(--text-gray);
}

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.step-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-gray);
}

.step-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}

.step-note {
  background-color: var(--light-gray);
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--primary-green);
  margin: 0;
}

/* Process Steps - Desktop */
@media (min-width: 1024px) {
  .process-step {
    flex-direction: row;
    align-items: center;
  }
  
  .process-step-reverse {
    flex-direction: row-reverse;
  }
  
  .step-visual {
    flex: 1;
  }
  
  .step-content {
    flex: 1;
  }
  
  .step-number {
    left: -40px;
    transform: translateX(0);
  }
  
  .process-step-reverse .step-number {
    left: auto;
    right: -40px;
  }
}


/* ============================================
   WHY CHOOSE US - MOBILE FIRST
   ============================================ */

.why-choose {
  background-color: var(--light-gray);
}

.section-header h2 {
  color: var(--primary-green);
}

.section-header p {
  color: var(--text-gray);
  font-size: var(--font-size-lg);
}

.reasons-grid {
  margin-top: var(--spacing-lg);
}

.reason-card {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.reason-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto var(--spacing-sm);
}

.reason-card h3 {
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.reason-card p {
  margin: 0;
  color: var(--text-gray);
  font-size: var(--font-size-sm);
}

/* Reason Card - Tablet */
@media (min-width: 768px) {
  .reason-card {
    padding: var(--spacing-xl);
  }
  
  .reason-icon {
    width: 70px;
    height: 70px;
  }
  
  .reason-card p {
    font-size: var(--font-size-base);
  }
}


/* ============================================
   TIMELINE - MOBILE FIRST
   ============================================ */

.timeline-section {
  background-color: var(--white);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-md) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--primary-green);
}

.timeline-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: var(--spacing-lg);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 0;
  width: 80px;
  height: 80px;
  background-color: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--font-size-sm);
  box-shadow: var(--shadow-md);
}

.timeline-content {
  background-color: var(--light-gray);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
}

.timeline-content h4 {
  color: var(--primary-green);
  margin-bottom: var(--spacing-xs);
}

.timeline-content p {
  margin: 0;
  color: var(--text-gray);
}

.timeline-note {
  color: var(--text-gray);
  font-size: var(--font-size-sm);
}

/* Timeline - Tablet */
@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .timeline-item {
    padding-left: 0;
    width: 50%;
  }
  
  .timeline-item:nth-child(odd) {
    padding-right: 60px; /* Increased from 50px */
    text-align: right;
  }
  
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 60px; /* Increased from 50px */
  }
  
  .timeline-marker {
        left: 50%;
        bottom: -56px;
        transform: translateX(-50%);
  }
}


/* ============================================
   FAQ PREVIEW - MOBILE FIRST
   ============================================ */

.faq-preview {
  background-color: var(--light-gray);
}

.faq-preview h2 {
  color: var(--primary-green);
  margin-bottom: var(--spacing-sm);
}

.faq-preview p {
  color: var(--text-gray);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
}

.faq-cta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: center;
}

/* FAQ Preview - Tablet */
@media (min-width: 768px) {
  .faq-cta {
    flex-direction: row;
    justify-content: center;
  }
}


/* ============================================
   PROCESS CTA - MOBILE FIRST
   ============================================ */

.process-cta {
  background-color: var(--dark-green);
  color: var(--white);
}

.process-cta h2 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.process-cta p {
  color: var(--white);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: center;
}

/* Process CTA - Tablet */
@media (min-width: 768px) {
  .cta-options {
    flex-direction: row;
    justify-content: center;
  }
}