/* Escrow Hero */
.escrow-hero {
  background: linear-gradient(rgba(29, 32, 36, 0.8), rgba(29, 32, 36, 0.8)),
    url("../../images/hero-bg18.jpg") center/cover no-repeat;
  height: 100vh;
  min-height: 500px;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  position: relative;
  margin-top: 80px;
}

.escrow-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.escrow-hero .lead {
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 30px;
  margin-bottom: 30px;
}

.trust-badge i {
  margin-right: 8px;
  color: var(--accent-color);
}

/* Escrow Benefits */
.escrow-benefits {
  padding: 80px 0;
  background-color: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-card {
  background-color: #f9f9f9;
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(57, 125, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-color);
  font-size: 32px;
}

/* Escrow Process */
.escrow-process {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.process-steps {
  max-width: 800px;
  margin: 50px auto 0;
}

.process-step {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-start;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  flex-grow: 1;
}

.process-visual {
  position: relative;
  height: 100px;
  margin: 40px auto;
  max-width: 800px;
}

.process-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-color);
  transform: translateY(-50%);
}

.process-icons {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.process-icons i {
  width: 50px;
  height: 50px;
  background: white;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 20px;
}

/* Use Cases */
.escrow-use-cases {
  padding: 80px 0;
  background-color: white;
}

.use-case-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  gap: 10px;
  flex-wrap: wrap;
}

.use-case-tab {
  padding: 12px 25px;
  background-color: #f9f9f9;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.use-case-tab.active {
  background-color: var(--accent-color);
  color: white;
}

.use-case-content {
  display: none;
}

.use-case-content.active {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #f9f9f9;
  padding: 40px;
  border-radius: 8px;
}

.case-description {
  flex: 1;
}

.case-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.case-stats {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.stat {
  background: white;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  flex: 1;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Fee Structure */
.fee-structure {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.fee-tables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.fee-table {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.fee-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}

.fee-minimum {
  margin-top: 20px;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 5px;
  font-size: 0.9rem;
}

.fee-minimum i {
  color: var(--accent-color);
}

.fee-disclaimer {
  margin-top: 40px;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 5px;
  font-size: 0.9rem;
}

.fee-disclaimer i {
  color: var(--accent-color);
}

/* Security Measures */
.security-measures {
  padding: 80px 0;
  background-color: white;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.security-card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.security-card:hover {
  transform: translateY(-5px);
}

.security-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(57, 125, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-color);
  font-size: 32px;
}

.compliance-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.badge img {
  height: 60px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.badge img:hover {
  opacity: 1;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.testimonial-slider {
  max-width: 800px;
  margin: 50px auto 0;
  position: relative;
}

.testimonial {
  display: none;
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial.active {
  display: block;
}

.testimonial-content {
  position: relative;
}

.quote-icon {
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 60px;
  color: rgba(57, 125, 241, 0.1);
  z-index: 1;
}

.testimonial p {
  position: relative;
  z-index: 2;
  font-style: italic;
  margin-bottom: 30px;
  line-height: 1.7;
}

.client-info {
  display: flex;
  align-items: center;
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-rating {
  color: #f1c40f;
  margin-top: 5px;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 20px;
}

.testimonial-prev,
.testimonial-next {
  background: none;
  border: none;
  color: var(--accent-color);
  font-size: 20px;
  cursor: pointer;
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
}

.dot.active {
  background: var(--accent-color);
}

/* CTA Section */
.escrow-cta {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--primary-color)
  );
  color: white;
}

.cta-box {
  background: white;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.cta-content h2 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.cta-content p {
  color: var(--text-light);
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: white;
}

.faq-accordion {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: #f9f9f9;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--secondary-color);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

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

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

.faq-answer p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.faq-answer ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 8px;
  color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .escrow-hero h1 {
    font-size: 2.5rem;
  }

  .use-case-content.active {
    flex-direction: column;
  }

  .case-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .escrow-hero {
    height: auto;
    padding: 100px 0;
  }

  .process-step {
    flex-direction: column;
  }

  .step-number {
    margin-bottom: 15px;
  }

  .cta-box {
    text-align: center;
    justify-content: center;
  }

  .cta-buttons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .escrow-hero h1 {
    font-size: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .use-case-tabs {
    flex-direction: column;
  }

  .use-case-tab {
    width: 100%;
  }

  .case-stats {
    flex-direction: column;
  }
}

.client-avatar {
  display: none !important;
}
