/* How It Works Page Styles
-------------------------------------------------- */

/* Text Gradient Style */
.text-gradient {
  background: linear-gradient(to right, var(--primary-color), #ff9a8b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

/* Hero Section */
.hiw-hero {
  padding: 180px 0 100px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hiw-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hiw-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 90, 95, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hiw-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hiw-hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hiw-hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Process Steps Section */
.hiw-process {
  padding: 100px 0;
  background-color: #fff;
  position: relative;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.hiw-step-container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
}

.hiw-step-container.reverse {
  flex-direction: row-reverse;
}

.hiw-step-content {
  flex: 1;
  padding: 30px 0;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(255, 90, 95, 0.3);
}

.step-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark-color);
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.step-title .text-gradient {
  font-weight: 800;
  letter-spacing: 0.7px;
}

.step-description {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 30px;
}

.hiw-step-image {
  flex: 1;
  position: relative;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: none;
}

.hiw-step-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.hiw-step-container:hover .hiw-step-image img {
  transform: scale(1.03);
}

.hiw-step-container::after {
  content: '';
  position: absolute;
  left: 30px;
  top: 100%;
  height: 80px;
  width: 2px;
  background: linear-gradient(to bottom, rgba(255, 90, 95, 0.5), transparent);
  display: none;
}

.hiw-step-container:last-child::after {
  display: none;
}

/* Company Info Section */
.hiw-company {
  padding: 100px 0;
  background-color: #f8f9fa;
  position: relative;
}

.hiw-company-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.hiw-company-content {
  flex: 1;
  min-width: 300px;
}

.company-description {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

.company-values {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.value-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--dark-color);
}

.value-content p {
  font-size: 16px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

.hiw-company-image {
  flex: 1;
  min-width: 300px;
  position: relative;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: none;
}

.hiw-company-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.hiw-company-image:hover img {
  transform: scale(1.03);
}

/* FAQ Section */
.hiw-faq {
  padding: 100px 0;
  background-color: #fff;
}

.faq-container {
  max-width: 800px;
  margin: 60px auto 0;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px 30px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question {
  background-color: #f8f9fa;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--dark-color);
}

.faq-icon {
  font-size: 14px;
  color: #888;
  transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 30px 20px;
  max-height: 1000px;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* Call to Action Section */
.hiw-cta {
  padding: 80px 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.hiw-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/pattern-dots.png');
  opacity: 0.1;
  pointer-events: none;
}

.hiw-cta-container {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.hiw-cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.hiw-cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hiw-cta-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-outline:hover {
  background-color: #fff;
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hiw-step-container, .hiw-step-container.reverse {
    flex-direction: column;
    gap: 40px;
  }
  
  .hiw-step-content {
    order: 2;
    text-align: center;
  }
  
  .hiw-step-image {
    order: 1;
    width: 100%;
  }
  
  .step-number {
    margin: 0 auto 20px;
  }
  
  .hiw-company-wrapper {
    flex-direction: column;
  }
  
  .hiw-company-image {
    order: 1;
    margin-bottom: 40px;
  }
  
  .hiw-company-content {
    order: 2;
  }
}

@media (max-width: 767px) {
  .hiw-hero {
    padding: 150px 0 80px;
  }
  
  .hiw-hero-title {
    font-size: 36px;
  }
  
  .hiw-hero-subtitle {
    font-size: 18px;
  }
  
  .hiw-process, .hiw-company, .hiw-faq {
    padding: 60px 0;
  }
  
  .hiw-steps {
    gap: 80px;
  }
  
  .step-title {
    font-size: 24px;
  }
  
  .step-description {
    font-size: 16px;
  }
  
  .company-description {
    font-size: 16px;
  }
  
  .hiw-cta-content h2 {
    font-size: 28px;
  }
  
  .hiw-cta-content p {
    font-size: 16px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hiw-hero-title {
    font-size: 28px;
  }
  
  .value-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .faq-question {
    padding: 15px 20px;
  }
  
  .faq-question h3 {
    font-size: 16px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 15px;
  }
} 