.section-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 24px 40px;
}
.flex-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.left-text {
  flex: 1;
  min-width: 300px;
}
.right-img {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  min-width: 300px;
}
.title-text {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 400px;
}
.title-text span {
  color: #4f46e5;
  font-weight: 800;
}
.desc-text {
  margin-top: 16px;
  color: #6b7280;
  font-size: 1rem;
  max-width: 400px;
  line-height: 1.6;
}
.btn-group {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-group a{
  text-decoration: none;
  color: white;
}
.btn-primary {
  background-color: #4f46e5;
  color: white;
  font-weight: 600;
  padding: 8px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: #4338ca;
}
.btn-link {
  color: #4f46e5;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-link:hover {
  text-decoration: underline;
}
.social-links {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 600;
  align-items: center;
}
.social-links a:hover {
  color: #4f46e5;
}
.main-img {
  width: 380px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  object-fit: cover;
}
.mini-imgs {
  position: absolute;
  top: 40px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}
.mini-imgs img {
  width: 100px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  object-fit: cover;
}
.decor-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  z-index: 20;
}
.logos-section {
  padding: 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  opacity: 0.3;
  user-select: none;
  flex-wrap: wrap;
}
.logos-section img {
  height: 24px;
  object-fit: contain;
}
.what-we-do {
  background-color: #4338ca;
  color: white;
  padding: 40px;
  border-radius: 24px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}
.what-we-do h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  max-width: 300px;
}
.what-we-do p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
}
.what-we-do button {
  margin-top: 24px;
  background-color: white;
  color: #4f46e5;
  font-weight: 600;
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.what-we-do button:hover {
  background-color: #f3f4f6;
}
.what-we-do .img1, .img2, .img3 {
  position: absolute;
  width: 56px;
  height: 56px;
}
.what-we-do .img1 {
  top: -24px;
  right: -24px;
}
.what-we-do .img2 {
  bottom: -24px;
  left: 24px;
}
.what-we-do .girl-img {
  position: absolute;
  bottom: 100px;
  left: 30px;
  width: 180px;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.products-section {
  padding: 3rem 0 2rem 0;
  background: #fafbfc;
  border-radius: 2rem;
  margin: 3rem 0;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.products-section h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
  font-weight: 700;
}

.product-card {
  background: #f3f4f6;
  padding: 20px;
  justify-content: space-between;
  border-radius: 1rem;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s;
}
.product-card a{
  text-decoration: none;
  color: #fff;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.10);
}

.product-image {
  width: auto;
  height: 250px;
  object-fit: cover;
  border-radius: 1.2rem 1.2rem 0 0;
  transition: filter 0.3s;
}

.product-card:hover .product-image {
  filter: brightness(0.92) blur(1px);
}

.product-card button {
  position: absolute;
  top: 125px; /* نصف ارتفاع عکس */
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  opacity: 0;
  background: linear-gradient(90deg, #312e81 0%, #7876b49a 100%);
  color: #fff;
  border: none;
  border-radius: 2rem;
  padding: 0.5rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(255,126,95,0.12);
  transition: 
    opacity 0.3s cubic-bezier(.4,0,.2,1),
    transform 0.3s cubic-bezier(.4,0,.2,1),
    background 0.2s;
  z-index: 2;
  pointer-events: none;
}

.product-card:hover button {
  opacity: 1;
  transform: translate(-50%, 0) scale(1.05);
  pointer-events: auto;
}

.product-card button:hover {
  background: linear-gradient(90deg, #6d43ce 0%, #185a9d 100%);
}

.products-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  padding-left: 12px;
  margin-bottom: 24px;
  display: inline-block;
}
    
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6rem;
  max-width: 1000px;
  margin: 0 auto 40px;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
    .title-text {
    font-size: 1.5rem;
    text-align: center;
    margin: 0 auto;
  }

  .desc-text {
    font-size: 0.875rem;
    text-align: center;
    margin: 0 auto;
  }

  .btn-group {
    justify-content: center;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .product-image {
    width: auto;
    height: 200px;
  }
  .product-card button {
    position: absolute;
    top: 100px;
  }
  .flex-row {
    flex-direction: column;
  }
  .collection-buttons {
    flex-direction: column;
  }
  .right-img {
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    flex-direction: column;
  }

  .main-img {
    width: 100%;
    max-width: 300px;
  }

  .mini-imgs {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 12px;
  }

  .mini-imgs img {
    width: 64px;
  }

  .what-we-do {
    padding: 24px 16px;
    text-align: center;
  }

  .what-we-do .girl-img {
    position: static;
    margin-top: 24px;
    width: 120px;
  }

  .what-we-do h2,
  .what-we-do p {
    max-width: 100%;
    margin: 0 auto;
  }

  .collection-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .logos-section {
    justify-content: center;
  }
}

.view-all-container {
  text-align: center;
  margin-bottom: 40px;
}
.view-all-button {
  background-color: #6b21a8;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  padding: 8px 24px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
}
.view-all-container a{
  text-decoration: none;
  color: #fff;
}



.view-all-button:hover {
  background: linear-gradient(90deg, #312e81 0%, #6b21a8 100%);
}

.reviews-section {
  max-width: 1000px;
  margin: 0 auto 3rem;
}
.reviews-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.reviews-highlight {
  width: 6px;
  height: 32px;
  background-color: #6b21a8;
  border-radius: 4px;
}
.reviews-title {
  font-size: 14px;
  font-weight: 600;
}

.review-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.carousel-button {
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  width: 32px;
  height: 32px;
  background: #fff;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.carousel-button:hover {
  color: #6b21a8;
}
.carousel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.review-avatar {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}
.review-text {
  font-size: 12px;
  color: #4b5563;
  font-style: italic;
  line-height: 1.4;
}
.highlight {
  color: #6b21a8;
  font-weight: 600;
}
.review-author {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 600;
  color: #111827;
}
.carousel-star {
  width: 40px;
  height: 40px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.review-card {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.review-card.featured {
  background-color: #6b21a8;
  color: #fff;
  border: none;
}
.review-card.highlighted {
  border-color: #fbbf24;
}
.review-stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  font-size: 10px;
}
.review-name {
  font-size: 9px;
  font-weight: 600;
  color: inherit;
}
.review-content {
  font-size: 8px;
  text-align: center;
  color: inherit;
}
.reviews-grid-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 24px;
}

.reviews-slider-window {
  overflow: hidden;
  max-width: 900px;
}

.reviews-slider-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(.5,1,.89,1);
  gap: 16px;
}

.review-card {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 200px;
  background: #fff;
  box-sizing: border-box;
  flex: 0 0 auto;
  transition: box-shadow 0.3s;
}
.review-card.featured {
  background-color: #6b21a8;
  color: #fff;
  border: none;
}
.review-card.highlighted {
  border-color: #fbbf24;
}
.review-stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
  font-size: 10px;
}
.review-name {
  font-size: 9px;
  font-weight: 600;
  color: inherit;
}
.review-content {
  font-size: 8px;
  text-align: center;
  color: inherit;
}

@media (max-width: 900px) {
  .reviews-slider-window {
    max-width: 100vw;
  }
}
@media (max-width: 640px) {
  .reviews-slider-track {
    gap: 8px;
  }
}
