.avatar-wrapper {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid white;
}

.avatar-cluster {
  position: relative;
  width: 400px;
  height: 320px;
}

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

.center {
  width: 170px;
  height: 170px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.klouders-section {
  padding: var(--section-padding, 80px) 0;
  background: var(--color-teal, #20B2AA);
  color: var(--color-white, #ffffff);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.klouders-section .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.klouders-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.klouders-image {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.klouders-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.klouders-text {
  flex: 1;
  max-width: 500px;
}

.klouders-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: inherit;
}

.klouders-text p {
  font-size: 16px;
  line-height: 1.6;
  color: inherit;
}

/* Diamond styling */
.diamond {
  position: absolute;
  width: 110px;
  height: 110px;
  transform: rotate(45deg);
  border: 4px solid white;
  overflow: hidden;
}

.diamond img {
  width: 150%;
  height: 150%;
  transform: rotate(-45deg);
  position: absolute;
  top: -25%;
  left: -25%;
  object-fit: cover;
}

/* Diamond positions based on screenshot */
.top-left {
  top: 20px;
  left: 50px;
}

.top-right {
  top: 20px;
  left: 200px;
}

.middle-left {
  top: 120px;
  left: 0;
}

.middle-right {
  top: 120px;
  left: 150px;
}

.bottom {
  top: 220px;
  left: 100px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .klouders-section {
    min-height: auto;
    padding: 60px 0;
  }
  
  .klouders-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .klouders-image {
    order: 1;
  }
  
  .klouders-text {
    order: 2;
    max-width: 100%;
  }
  
  .klouders-text h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .klouders-section {
    padding: 40px 0;
  }
  
  .klouders-content {
    gap: 1.5rem;
  }
  
  .klouders-image img {
    max-width: 300px;
  }
  
  .klouders-text h2 {
    font-size: 24px;
  }
  
  .klouders-text p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .klouders-section .container {
    padding: 0 15px;
  }
  
  .klouders-image img {
    max-width: 250px;
  }
}

.klouders-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-triangle {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.triangle1 {
  width: 400px;
  height: 400px;
  left: -100px;
  top: -200px;
  transform: rotate(25deg);
}

.triangle2 {
  width: 350px;
  height: 350px;
  left: 150px;
  top: -100px;
  transform: rotate(45deg);
}

.triangle3 {
  width: 300px;
  height: 300px;
  left: 50px;
  top: 200px;
  transform: rotate(-15deg);
}

.klouders-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.klouders-avatars {
  flex: 1;
}

.klouders-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
  .klouders-content-wrapper {
    flex-direction: column;
  }
  
  .klouders-avatars {
    margin-bottom: 60px;
  }
  
  .klouders-content {
    text-align: center;
    max-width: 600px;
  }
  
  .avatar-cluster {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .avatar-cluster {
    transform: scale(0.8);
  }
}

/* Diamond styling */
.diamond {
    position: absolute;
    width: 110px;
    height: 110px;
    transform: rotate(45deg);
    border: 4px solid white;
    overflow: hidden;
}

.diamond img {
    width: 150%;
    height: 150%;
    transform: rotate(-45deg);
    position: absolute;
    top: -25%;
    left: -25%;
    object-fit: cover;
}

/* Diamond positions based on screenshot */
.top-left {
    top: 20px;
    left: 50px;
}

.top-right {
    top: 20px;
    left: 200px;
}

.middle-left {
    top: 120px;
    left: 0;
}

.middle-right {
    top: 120px;
    left: 150px;
}

.bottom {
    top: 220px;
    left: 100px;
}

.klouders-text {
    flex: 1;
    padding-left: 20px;
}

.klouders-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.klouders-text p {
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .klouders-content-wrapper {
        flex-direction: column;
    }

    .klouders-content-grid {
        grid-template-columns: 1fr;
    }
    
    .klouders-avatars {
        margin: 0 auto 40px;
        max-width: 500px;
    }
    
    .klouders-text {
        text-align: center;
        padding-left: 0;
    }
}