body {
  font-family: sans-serif;
  margin: 0;
}

.slider-wrapper {
  width: 100%; 
  overflow: hidden;
  position: relative;
}

.ms-slider-container {
  margin: 0; 
  width: 100%; 
  overflow: hidden;
  position: relative; 
}

.ms-slider {
  display: flex;
  width: 300%; 
  transition: transform 1s ease-in-out;
}

.ms-slide {
  width: calc(100% / 3); 
  height: 450px; 
  background-size: cover;
  background-position: center;
  position: relative; 
}

.ms-prev, .ms-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%); 
  width: 50px;
  height: 50px; 
  font-size: 25px;
  cursor: pointer;
  user-select: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999; 
}
.ms-prev { left: 0; }
.ms-next { right: 0; }

.content-wrapper {
  width: 100%; 
  display: flex; 
  justify-content: center;
  position: absolute; 
  top: 0; 
  left: 0;
  height: 100%; 
  pointer-events: none; 
}

.ms-slide-content {
  background-color: rgba(0, 0, 0, 0.5); 
  color: #fff;
  padding: 1rem;
  width: 65%;
  max-width: 500px; 
  position: absolute;
  bottom: 0px; 
  left: 0px; 
  transition: opacity 0.5s ease-in-out;
  pointer-events: auto; 
  opacity: 0; 
  z-index: 999;
}

.ms-slide-content.active {
  opacity: 1; 
}

.ms-slide-content h2 {
  color: white; 
  margin: 0.5rem 0; 
  font-size: 1.5rem; 
}

.ms-slide-content p {
  color: white; 
  margin: 0.5rem 0; 
  font-size: 1rem;
}

main {
  position: relative; 
  overflow: hidden;  
}

.diagonal-services {
  display: flex;
  position: relative;
  /*min-height: 600px;*/
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.diagonal-panel {
  flex: 1;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible; /* let text show outside */
}

/* === Buyers Panel Background === */
.buyers-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #007185, #009fbf);
  /* Bottom right cut at 85%, aligns with sellers' top left cut */
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  z-index: 0;
}

/* === Sellers Panel Background === */
.sellers-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f8f9fa;
  /* Top left cut at 15%, aligns with buyers' bottom right cut */
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

/* Keep content above backgrounds */
.panel-content {
  position: relative;
  max-width: 500px;
  z-index: 1;
}

.panel-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.panel-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.panel-subtitle {
  font-size: 1rem;
  font-weight: 500;
  margin: 24px 0 10px;
  color: #007185;
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.panel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.panel-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.panel-btn,
.panel-btn-outline {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.panel-btn {
  background-color: #fff;
  color: #007185;
}

.panel-btn:hover {
  background-color: #f0f0f0;
}

.panel-btn-outline {
  background: transparent;
  border: 1px solid #007185;
  color: #007185;
}

.panel-btn-outline:hover {
  background-color: #eaf6f9;
}

/* === Animation on Scroll === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  filter: blur(6px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* === Responsive === */
@media (max-width: 960px) {
  .diagonal-services {
    flex-direction: column;
  }

  .buyers-panel::before,
  .sellers-panel::before {
    clip-path: none; /* remove diagonals for mobile */
  }

  .diagonal-panel {
    padding: 40px 20px;
  }

  .panel-content {
    max-width: 100%;
  }
}


    /* Root component namespace */
    .ptype {
      --primary: #1e3a8a;
      /*--hover: #2563eb;*/
      --text-dark: #1f2937;
      /*--bg-light: #f9fafb;*/

      font-family: 'Segoe UI', sans-serif;
      background: var(--bg-light);
      color: var(--text-dark);
    }

    .ptype * {
      box-sizing: border-box;
    }

    .ptype-wrapper {
      max-width: 1200px;
      margin: auto;
      padding: 1rem 0rem;
      text-align: center;
    }

    .ptype-heading {
      color: var(--primary);
    }

    .ptype-options {
      display: grid;
      gap: 2.5rem;
      grid-template-columns: repeat(2, 1fr);
    }

    .ptype-option {
      background: #fff;
      border-radius: 16px;
      /*padding: 2.5rem 2rem;*/
      /*box-shadow: 0 8px 20px rgba(0,0,0,0.08);*/
      text-decoration: none;
      color: inherit;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    .ptype-option::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: var(--primary);
      transition: transform 0.3s ease;
      transform: scaleX(0);
      transform-origin: left;
    }

    .ptype-option:hover::after {
      transform: scaleX(1);
    }

    .ptype-option:hover {
      transform: translateY(-8px);
      /*box-shadow: 0 12px 24px rgba(0,0,0,0.12);*/
    }

    .ptype-icon {
      font-size: 3.5rem;
      /*margin-bottom: 1rem;*/
      display: block;
    }

    .ptype-title {
      font-size: 1.75rem;
      margin: 0;
    }

    @media (hover: none) {
      .ptype-option:hover {
        transform: none;
        /*box-shadow: 0 8px 20px rgba(0,0,0,0.08);*/
      }
      .ptype-option:hover::after {
        transform: none;
      }
    }
    
    
    /* FAQ Section */
.faq-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 16px;
}

.faq-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  background: linear-gradient(90deg, #4b6cb7, #182848);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f7f9fc;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* turns + into × */
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 16px;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* expand smoothly */
  padding: 12px 16px;
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
}

/* Responsive */
@media (max-width: 600px) {
  .faq-title {
    font-size: 1.6rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 14px;
  }
}
