@scope(.marketsegments){

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
}

.market-segments {
  padding: 40px 0;
  padding-bottom: 120px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0px;
}

.content-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
}

.image-section {
  flex: 1;
  /* max-width: 500px; */
}

.fabric-image {
  width: 100%;
  height: 550px;
  object-fit:cover;
  /* border-radius: 12px; */
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.text-section {
  flex: 1;
  /* max-width: 600px; */
}

.main-heading {
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #2c3e50;
}

.highlight {
  color: #4a90e2;
  /* font-weight: 400; */
}

.description {
  font-size: 1.125rem;
  max-width: 500px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.market-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.market-item {
  background-color: #f0f0f0;
  padding: 16px 28px;
  /* border-radius: 8px; */
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  color: #555;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.market-item:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}

.learn-more {
  color: #333;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.learn-more:hover {
  color: #4a90e2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .main-heading {
    font-size: 2.5rem;
  }
  
  .market-grid {
    justify-content: center;
    gap: 12px;
  }
  
  .market-item {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {

  p{
    paddding:0 20px;
  }

  h2{
    paddding: 0 20px;
  }

  .fabric-image{
    height:350px;
  }

  .market-segments {
    padding: 0 0;
  padding-bottom: 120px;
  }
  
  .main-heading {
    font-size: 2.3rem;
   
  }
  
  .market-grid {
    /*flex-direction: column;*/
    align-items: center;
  }
}
}
