.three-boxes-section {
  width: 100%;
  padding: 80px 20px;
  background-color: #ffffff;
}

.three-boxes-container {
  max-width: 1200px;
  margin: 0 auto;
}

.three-boxes-main-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.3;
}

.three-boxes-main-description {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  color: #666666;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.three-boxes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.three-box-item {
  background-color: white;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
  border: 1px solid #E7E7E7;
}

.three-box-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.three-box-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(74.77deg, rgba(24, 92, 183, 0.06) 25.83%, rgba(205, 48, 77, 0.06) 79.14%);
  border-radius: 50%;
  padding: 16px;
}

.three-box-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-placeholder {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
}

/* all boxes should have same dimensions */
.three-box-item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.three-box-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.4;
}

.three-box-description {
  font-size: 14px;
  font-weight: 400;
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

/* Tablet Responsive */
@media (max-width: 992px) {
  .three-boxes-section {
    padding: 60px 20px;
  }

  .three-boxes-main-title {
    font-size: 32px;
  }

  .three-boxes-main-description {
    font-size: 15px;
    margin-bottom: 50px;
  }

  .three-boxes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .three-box-item {
    padding: 35px 25px;
    min-height: 300px;
  }

  .three-box-item:last-child {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .three-boxes-section {
    padding: 50px 16px;
  }

  .three-boxes-main-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .three-boxes-main-description {
    font-size: 14px;
    margin-bottom: 40px;
    padding: 0 10px;
  }

  .three-boxes-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .three-box-item {
    padding: 32px 24px;
    min-height: auto;
  }

  .three-box-item:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .three-box-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    padding: 14px;
  }

  .three-box-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .three-box-description {
    font-size: 13px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .three-boxes-section {
    padding: 40px 12px;
  }

  .three-boxes-main-title {
    font-size: 24px;
  }

  .three-boxes-main-description {
    font-size: 13px;
  }

  .three-box-item {
    padding: 28px 20px;
  }

  .three-box-icon {
    width: 64px;
    height: 64px;
    padding: 12px;
  }

  .three-box-title {
    font-size: 17px;
  }

  .three-box-description {
    font-size: 12px;
  }
}
