.pro-bono-section {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 80px 16px;
}

.pro-bono-container {
  width: 100%;
  max-width: 1200px;
  background: #622FAB;
  border-radius: 10px;
  padding: 0;
  color: #FFFFFF;
}

.pro-bono-art {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pro-bono-image {
    position: absolute;
    width: 570px;
    height: 325px;
    clip-path: ellipse(285px 142.5px at center);
    top: 46%;
    margin-top: -155px;
    transform: rotate(45deg);
}

.pro-bono-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  
  
}

.pro-bono-image-left {
  left: -9%;
  
}

.pro-bono-image-left img {
    transform: rotate(316deg) scale(1.4);
}

.pro-bono-image-center {
  left: 29%;
  
}

.pro-bono-image-center img {
    transform: rotate(316deg) scale(1.56);
}


.pro-bono-image-right {
  left: 67%;
}

.pro-bono-image-right img {
    transform: rotate(333deg) scale(1.3);
}


.pro-bono-title {
  margin: 40px auto 16px auto;
  padding: 0 20px;
  font-family: 'Trap', system-ui, -apple-system, Segoe UI, Roboto, 'DM Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 120%;
  text-align: center;
}

.pro-bono-gallery,
.pro-bono-card,
.pro-bono-diamond { display: none; }

.pro-bono-cta {
  position: relative;
  margin: 0px auto 0px auto;
  padding: 0 20px 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  text-align: center;
}

.pro-bono-subtitle {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  color: #FFFFFF;
  opacity: 0.8;
  white-space: pre-line;
}

.pro-bono-button {
  min-width: 144px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 10px;
}

/* Tablet landscape and smaller desktops */
@media (max-width: 1280px) {
  .pro-bono-container {
    max-width: 1000px;
    padding: 50px 0;
  }
  
  
  
  .pro-bono-image {
    width: 450px;
    height: 260px;
    clip-path: ellipse(225px 130px at center);
    margin-top: -130px;
  }
  
  .pro-bono-image-left { left: -5%; }
  .pro-bono-image-center { left: 32%; }
  .pro-bono-image-right { left: 69%; }
}

/* Tablet portrait */
@media (max-width: 1024px) {
  .pro-bono-container {
    max-width: 800px;
    padding: 40px 0;
  }
  
  
  
  .pro-bono-image {
    width: 380px;
    height: 220px;
    clip-path: ellipse(190px 110px at center);
    margin-top: -110px;
  }
  
  .pro-bono-image-left { left: -2%; }
  .pro-bono-image-center { left: 35%; }
  .pro-bono-image-right { left: 72%; }
}

/* Mobile landscape and small tablets */
@media (max-width: 767px) {
  .pro-bono-section {
    padding: 60px 16px;
  }
  
  .pro-bono-container {
    padding: 30px 0px;
  }
  
  .pro-bono-title { 
    font-size: 28px;
    margin: 30px auto 12px auto;
  }
  
  .pro-bono-art { 
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    height: auto;
    padding: 20px calc(50vw - 120px);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .pro-bono-art::-webkit-scrollbar {
    display: none;
  }
  
  .pro-bono-image {
    position: static;
    width: 240px;
    height: 160px;
    clip-path: ellipse(120px 80px at center);
    margin: 0;
    transform: rotate(45deg);
    flex-shrink: 0;
    scroll-snap-align: center;
  }
  
  .pro-bono-image:nth-child(2) {
    scroll-snap-align: center;
  }
  
  .pro-bono-image img {
    transform: rotate(316deg) scale(1.4);
  }
  
  .pro-bono-image-left,
  .pro-bono-image-center,
  .pro-bono-image-right { 
    left: auto;
  }
  
  .pro-bono-subtitle {
    font-size: 16px;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .pro-bono-section {
    padding: 40px 12px;
  }
  
  .pro-bono-container {
    padding: 20px 12px;
  }
  
  .pro-bono-title { 
    font-size: 24px;
    margin: 20px auto 8px auto;
  }
  
  .pro-bono-art { 
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
    padding: 20px calc(50vw - 100px);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .pro-bono-art::-webkit-scrollbar {
    display: none;
  }
  
  .pro-bono-image {
    width: 200px;
    height: 130px;
    clip-path: ellipse(100px 65px at center);
    transform: rotate(45deg);
    flex-shrink: 0;
    scroll-snap-align: center;
  }
  
  .pro-bono-image:nth-child(2) {
    scroll-snap-align: center;
  }
  
  .pro-bono-image img {
    transform: rotate(316deg) scale(1.6);
  }
  
  .pro-bono-subtitle {
    font-size: 14px;
    line-height: 130%;
  }
  
  .pro-bono-button {
    min-width: 120px;
    height: 40px;
    font-size: 16px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .pro-bono-art { 
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 20px calc(50vw - 90px);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .pro-bono-art::-webkit-scrollbar {
    display: none;
  }
  
  .pro-bono-image {
    width: 180px;
    height: 110px;
    clip-path: ellipse(90px 55px at center);
    transform: rotate(45deg);
    flex-shrink: 0;
    scroll-snap-align: center;
  }
  
  .pro-bono-image:nth-child(2) {
    scroll-snap-align: center;
  }
  
  .pro-bono-image img {
    transform: rotate(316deg) scale(1.8);
  }
}

